/*
Theme Name: Elton Solicitors
Theme URI: https://eltonsolicitors.co.uk
Author: Xpose
Description: A premium bespoke WordPress theme for Elton Solicitors, Norwich. Navy blue and gold — built to convey class, trust, and legal excellence.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: elton-solicitors
Tags: law, solicitors, professional, bespoke
*/

/* =========================================================
   CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
  --navy:        #0d1b3e;
  --navy-dark:   #091228;
  --navy-mid:    #162447;
  --navy-light:  #1e3461;
  --gold:        #c9a84c;
  --gold-light:  #e2c07a;
  --gold-pale:   #f5e9c8;
  --white:       #ffffff;
  --off-white:   #f8f7f4;
  --grey-100:    #f2f1ee;
  --grey-200:    #e4e2dd;
  --grey-400:    #9a9590;
  --grey-600:    #5a5650;
  --grey-800:    #2e2c28;
  --text:        #1a1916;
  --text-light:  #5a5650;

  --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:   'Inter', 'Segoe UI', system-ui, sans-serif;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);
  --shadow-gold: 0 4px 20px rgba(201,168,76,.25);

  --transition:  0.25s ease;
  --container:   1200px;
  --container-wide: 1400px;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold); }

ul, ol { padding-left: 1.4em; }
li { margin-bottom: .3em; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

blockquote {
  border-left: 4px solid var(--gold);
  padding: 1em 1.5em;
  margin: 1.5em 0;
  background: var(--gold-pale);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--grey-800);
}

hr {
  border: none;
  border-top: 1px solid var(--grey-200);
  margin: 2em 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
}
th, td {
  padding: .75em 1em;
  text-align: left;
  border-bottom: 1px solid var(--grey-200);
}
th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: .9rem;
  letter-spacing: .04em;
}
tr:nth-child(even) td { background: var(--grey-100); }

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.container--wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section--sm { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section--lg { padding: clamp(4rem, 10vw, 8rem) 0; }

.grid {
  display: grid;
  gap: 2rem;
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.flex { display: flex; gap: 1rem; }
.flex--center { align-items: center; }
.flex--between { justify-content: space-between; }
.flex--wrap { flex-wrap: wrap; }

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .85em 2em;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-dark);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 1.1em 2.5em;
  font-size: 1rem;
}

/* =========================================================
   GOLD DIVIDER
   ========================================================= */
.gold-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.gold-rule::before,
.gold-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.gold-rule .diamond {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

/* =========================================================
   SITE HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(201,168,76,.2);
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(9,18,40,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 2rem;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .9rem;
  text-decoration: none;
}
.site-logo img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}
.site-logo__text {
  display: flex;
  flex-direction: column;
}
.site-logo__name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .03em;
  line-height: 1.1;
}
.site-logo__tag {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Primary nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-nav > li {
  position: relative;
  margin: 0;
}

.primary-nav > li > a {
  display: flex;
  align-items: center;
  gap: .3em;
  padding: .6em 1em;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.primary-nav > li > a:hover,
.primary-nav > li > a:focus,
.primary-nav > li.current-menu-item > a,
.primary-nav > li.current-menu-ancestor > a {
  color: var(--gold);
  background: rgba(201,168,76,.08);
}

/* Dropdown arrow */
.primary-nav > li.menu-item-has-children > a::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
}
.primary-nav > li.menu-item-has-children:hover > a::after {
  transform: rotate(-135deg) translateY(-2px);
}

/* Dropdown */
.primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: var(--navy-dark);
  border: 1px solid rgba(201,168,76,.2);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: .5rem 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 500;
}

.primary-nav > li:hover > .sub-menu,
.primary-nav > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav .sub-menu li { margin: 0; }
.primary-nav .sub-menu a {
  display: block;
  padding: .65em 1.4em;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: rgba(255,255,255,.8);
  border-left: 2px solid transparent;
  transition: all var(--transition);
}
.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu li.current-menu-item a {
  color: var(--gold);
  background: rgba(201,168,76,.07);
  border-left-color: var(--gold);
  padding-left: 1.7em;
}

/* CTA button in nav */
.header-cta {
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
}
.nav-toggle span:nth-child(2) { width: 70%; margin-left: auto; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  background: var(--navy-mid);
  border-top: 1px solid rgba(201,168,76,.15);
  padding: 1rem 0 1.5rem;
}
.nav-mobile.is-open { display: block; }
.nav-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-mobile li { margin: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-mobile a {
  display: block;
  padding: .85em 1.5em;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  letter-spacing: .03em;
}
.nav-mobile a:hover { color: var(--gold); background: rgba(201,168,76,.06); }
.nav-mobile .sub-menu a {
  padding-left: 2.5em;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  background: rgba(0,0,0,.15);
}
.nav-mobile .sub-menu a:hover { color: var(--gold); }

/* =========================================================
   TOP BAR
   ========================================================= */
.top-bar {
  background: var(--navy);
  border-bottom: 1px solid rgba(201,168,76,.1);
  padding: .45rem 0;
}
.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.65);
}
.top-bar a { color: rgba(255,255,255,.65); transition: color var(--transition); }
.top-bar a:hover { color: var(--gold); }
.top-bar__contact,
.top-bar__accreditations {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.top-bar__contact-item {
  display: flex;
  align-items: center;
  gap: .4em;
}
.top-bar__contact-item svg { width: 13px; height: 13px; opacity: .7; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--navy-dark);
  overflow: hidden;
  min-height: 88vh;
  min-height: 88dvh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: .18;
  z-index: 0;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,.07) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(22,36,71,.6) 0%, transparent 50%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: clamp(3rem, 10vh, 6rem) 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.hero__eyebrow span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero__lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.hero__scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(.7); opacity: .5; }
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar {
  background: var(--navy);
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(201,168,76,.15);
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .03em;
}
.trust-item svg { color: var(--gold); flex-shrink: 0; }
.trust-item span em {
  font-style: normal;
  color: var(--gold);
  font-weight: 700;
}

/* =========================================================
   PRACTICE AREAS (HOME)
   ========================================================= */
.practice-areas { background: var(--off-white); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header .section-label { display: block; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin: 0;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 2rem;
}

.practice-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,168,76,.3);
}

.practice-card__icon {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 2.5rem 2rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.practice-card__icon-wrap {
  width: 56px; height: 56px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.practice-card__icon-wrap svg { color: var(--gold); width: 26px; height: 26px; }
.practice-card__icon-text {}
.practice-card__icon-text h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: .25rem;
}
.practice-card__icon-text .count {
  font-size: .75rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.practice-card__body {
  padding: 1.75rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.practice-card__body p {
  color: var(--text-light);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

.practice-card__links {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  border-top: 1px solid var(--grey-200);
  padding-top: 1rem;
}
.practice-card__links li { margin: 0; }
.practice-card__links a {
  display: flex;
  align-items: center;
  gap: .5em;
  padding: .4em 0;
  font-size: .85rem;
  font-weight: 500;
  color: var(--navy);
  transition: color var(--transition), gap var(--transition);
}
.practice-card__links a::before {
  content: '›';
  color: var(--gold);
  font-size: 1.1em;
  font-weight: 700;
}
.practice-card__links a:hover { color: var(--gold); gap: .75em; }

.practice-card__cta {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: .4em;
  transition: gap var(--transition);
}
.practice-card:hover .practice-card__cta { gap: .7em; }
.practice-card__cta::after { content: '→'; }

/* =========================================================
   WHY CHOOSE ELTON
   ========================================================= */
.why-elton { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.why-content {}
.why-content h2 { margin-bottom: 1rem; }
.why-content .lead {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.why-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.why-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 0;
}
.why-feature__icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(201,168,76,.12), rgba(201,168,76,.05));
  border: 1px solid rgba(201,168,76,.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}
.why-feature__icon svg { color: var(--gold); width: 20px; height: 20px; }
.why-feature__text h4 { font-size: 1rem; color: var(--navy); margin-bottom: .25rem; }
.why-feature__text p { font-size: .9rem; color: var(--text-light); margin: 0; }

.why-image {
  position: relative;
}
.why-image__main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: var(--grey-100);
}
.why-image__main img { width: 100%; height: 100%; object-fit: cover; }
.why-image__badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--navy-dark);
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  text-align: center;
  min-width: 140px;
  box-shadow: var(--shadow-lg);
}
.why-image__badge .badge-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.why-image__badge .badge-text {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  display: block;
  margin-top: .25rem;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { background: var(--navy-dark); overflow: hidden; position: relative; }
.testimonials::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,.08) 0%, transparent 70%);
}

.testimonials .section-header h2 { color: var(--white); }
.testimonials .section-header p { color: rgba(255,255,255,.6); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.15);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: background var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(201,168,76,.3);
}

.testimonial-stars {
  display: flex;
  gap: .2rem;
  margin-bottom: 1.25rem;
}
.testimonial-stars svg { color: var(--gold); width: 16px; height: 16px; }

.testimonial-card blockquote {
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  margin: 0 0 1.5rem;
  font-size: .95rem;
  line-height: 1.75;
  color: rgba(255,255,255,.8);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.testimonial-author__avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  border: 2px solid rgba(201,168,76,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author__info strong {
  display: block;
  font-size: .9rem;
  color: var(--white);
  font-weight: 600;
}
.testimonial-author__info span {
  font-size: .78rem;
  color: var(--gold);
  letter-spacing: .04em;
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
  border-top: 1px solid rgba(201,168,76,.2);
  border-bottom: 1px solid rgba(201,168,76,.2);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}
.cta-band__inner { position: relative; z-index: 1; }
.cta-band h2 {
  color: var(--white);
  margin-bottom: .75rem;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}
.cta-band p {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}
.cta-band__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: clamp(3rem, 8vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a84c' fill-opacity='0.03'%3E%3Cpath d='M40 40c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm20 0c0 11.046 8.954 20 20 20s20-8.954 20-20-8.954-20-20-20-20 8.954-20 20z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero__inner { position: relative; z-index: 1; }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  flex-wrap: wrap;
}
.breadcrumbs a { color: rgba(255,255,255,.55); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { color: rgba(255,255,255,.3); }
.breadcrumbs .current { color: var(--gold); }

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
}
.page-hero__lead {
  color: rgba(255,255,255,.72);
  font-size: 1.1rem;
  max-width: 640px;
  line-height: 1.8;
}

.page-hero__gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
  margin-top: 1.5rem;
}

/* =========================================================
   PAGE CONTENT LAYOUT
   ========================================================= */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
@media (max-width: 980px) {
  .page-layout { grid-template-columns: 1fr; }
  .page-sidebar { order: -1; }
}

/* Entry content styling */
.entry-content {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text);
}
.entry-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gold-pale);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 {
  margin-top: 2rem;
  margin-bottom: .75rem;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}
.entry-content ul, .entry-content ol {
  margin-bottom: 1.25em;
}
.entry-content ul li { list-style: none; padding-left: 1.5em; position: relative; }
.entry-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
}
.entry-content a { color: var(--navy); border-bottom: 1px solid rgba(201,168,76,.4); }
.entry-content a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* =========================================================
   SIDEBAR
   ========================================================= */
.page-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sidebar-card__header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 1.25rem 1.5rem;
  border-bottom: 2px solid var(--gold);
}
.sidebar-card__header h3 {
  color: var(--white);
  font-size: 1rem;
  margin: 0;
}

.sidebar-card__body { padding: 1.5rem; }

/* Contact sidebar */
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1rem;
  font-size: .9rem;
}
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail svg { color: var(--gold); flex-shrink: 0; margin-top: .15em; }
.contact-detail a { color: var(--navy); font-weight: 600; }
.contact-detail a:hover { color: var(--gold); }

/* Sub-page nav */
.sub-nav { list-style: none; padding: 0; margin: 0; }
.sub-nav li { margin: 0; border-bottom: 1px solid var(--grey-100); }
.sub-nav li:last-child { border-bottom: none; }
.sub-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75em 1.5em;
  font-size: .88rem;
  font-weight: 500;
  color: var(--navy);
  border-left: 3px solid transparent;
  transition: all var(--transition);
}
.sub-nav a:hover,
.sub-nav .current-menu-item a {
  color: var(--gold);
  background: var(--gold-pale);
  border-left-color: var(--gold);
}
.sub-nav a::after { content: '›'; color: var(--gold); font-size: 1.1em; }

/* =========================================================
   FREE CONSULTATION FORM
   ========================================================= */
.consultation-form { background: var(--off-white); }

.cf-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 860px) { .cf-wrap { grid-template-columns: 1fr; gap: 2.5rem; } }

.cf-intro h2 { margin-bottom: 1rem; }
.cf-intro p { color: var(--text-light); margin-bottom: 1.5rem; }
.cf-assurances { list-style: none; padding: 0; margin: 0; }
.cf-assurances li {
  display: flex;
  align-items: center;
  gap: .6em;
  padding: .4em 0;
  font-size: .9rem;
  font-weight: 500;
  color: var(--grey-800);
  margin: 0;
}
.cf-assurances li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
}

.cf-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  border-top: 4px solid var(--gold);
}
.cf-form-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--grey-200);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .8em 1em;
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* =========================================================
   STATS SECTION
   ========================================================= */
.stats-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-top: .5rem;
  display: block;
}

/* =========================================================
   TEAM SECTION
   ========================================================= */
.team-section { background: var(--white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-200);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card__photo {
  aspect-ratio: 1/1;
  background: var(--grey-200);
  overflow: hidden;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__info { padding: 1.5rem; }
.team-card__info h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.team-card__info .role { font-size: .8rem; color: var(--gold); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* =========================================================
   BLOG / NEWS
   ========================================================= */
.news-section { background: var(--off-white); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 2rem;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-200);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card__thumb {
  aspect-ratio: 16/9;
  background: var(--grey-100);
  overflow: hidden;
}
.news-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-card__thumb img { transform: scale(1.04); }
.news-card__body { padding: 1.5rem 1.75rem 2rem; flex: 1; display: flex; flex-direction: column; }
.news-card__cat {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.news-card__body h3 { font-size: 1.1rem; margin-bottom: .75rem; }
.news-card__body h3 a { color: var(--navy); }
.news-card__body h3 a:hover { color: var(--gold); }
.news-card__body p { font-size: .9rem; color: var(--text-light); flex: 1; margin-bottom: 1rem; }
.news-card__meta { font-size: .75rem; color: var(--grey-400); }

/* =========================================================
   SITE FOOTER
   ========================================================= */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  border-top: 1px solid rgba(201,168,76,.15);
}

.footer-main {
  padding: clamp(3rem, 7vw, 5.5rem) 0 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
}
.footer-logo img { height: 44px; filter: brightness(0) invert(1); }
.footer-logo__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--white);
  line-height: 1.1;
}
.footer-brand p {
  font-size: .87rem;
  line-height: 1.8;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.25rem;
}
.footer-social {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: rgba(201,168,76,.15);
  border-color: rgba(201,168,76,.4);
  color: var(--gold);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(201,168,76,.2);
}

.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: .5rem; }
.footer-nav a {
  font-size: .87rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition), padding-left var(--transition);
}
.footer-nav a:hover { color: var(--gold); padding-left: .4em; }

.footer-contact {}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: 1rem;
  font-size: .87rem;
}
.footer-contact-item svg { color: var(--gold); flex-shrink: 0; margin-top: .15em; width: 15px; height: 15px; }
.footer-contact-item a { color: rgba(255,255,255,.7); }
.footer-contact-item a:hover { color: var(--gold); }

.footer-bar {
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.25rem 0;
}
.footer-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .75rem;
  color: rgba(255,255,255,.4);
}
.footer-bar a { color: rgba(255,255,255,.5); }
.footer-bar a:hover { color: var(--gold); }
.footer-bar__links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-regulatory {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 1rem 0;
  text-align: center;
}
.footer-regulatory p {
  font-size: .7rem;
  color: rgba(255,255,255,.35);
  margin: 0;
  line-height: 1.6;
}

/* =========================================================
   ACCORDION / FAQ
   ========================================================= */
.accordion { border-top: 1px solid var(--grey-200); }
.accordion-item { border-bottom: 1px solid var(--grey-200); }
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25em 0;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  gap: 1rem;
  transition: color var(--transition);
}
.accordion-trigger:hover { color: var(--gold); }
.accordion-trigger[aria-expanded="true"] { color: var(--gold); }
.accordion-icon {
  width: 28px; height: 28px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.accordion-trigger[aria-expanded="true"] .accordion-icon {
  background: var(--gold);
  transform: rotate(45deg);
}
.accordion-icon svg { color: var(--navy); width: 14px; height: 14px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon svg { color: var(--navy-dark); }
.accordion-panel { display: none; padding-bottom: 1.25em; }
.accordion-panel.is-open { display: block; }
.accordion-panel p { font-size: .95rem; color: var(--text-light); margin: 0; }

/* =========================================================
   404 PAGE
   ========================================================= */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding: 4rem 1rem;
}
.error-page__number {
  font-family: var(--font-serif);
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 700;
  color: var(--gold-pale);
  line-height: 1;
  display: block;
  margin-bottom: -.5em;
}
.error-page h1 { position: relative; margin-bottom: 1rem; }
.error-page p { color: var(--text-light); font-size: 1.1rem; margin-bottom: 2rem; }

/* =========================================================
   SEARCH RESULTS
   ========================================================= */
.search-result {
  border-bottom: 1px solid var(--grey-200);
  padding: 2rem 0;
}
.search-result h2 { font-size: 1.25rem; margin-bottom: .5rem; }
.search-result h2 a { color: var(--navy); }
.search-result h2 a:hover { color: var(--gold); }
.search-result p { color: var(--text-light); font-size: .95rem; margin: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .header-inner { height: 70px; }
  .site-logo img { height: 44px; }
}

@media (max-width: 860px) {
  .primary-nav,
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { min-height: 70vh; min-height: 70dvh; }
}

@media (max-width: 600px) {
  .top-bar__accreditations { display: none; }
}

/* =========================================================
   PRINT
   ========================================================= */
@media print {
  .site-header, .site-footer, .nav-toggle, .cta-band { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
  .page-layout { grid-template-columns: 1fr; }
}

/* =========================================================
   ACCESSIBILITY — FOCUS STYLES
   ========================================================= */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  padding: .75em 1.5em;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-ready.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   MOBILE NAV — SUB-MENU ACCORDION
   ========================================================= */
.nav-mobile .mobile-menu .menu-item-has-children {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-mobile .mobile-menu .menu-item-has-children li {
  border-bottom: none;
}
.nav-mobile .mobile-menu .menu-item-has-children > a {
  flex: 1;
  border-bottom: none;
}
.nav-mobile .mobile-menu .menu-item-has-children > .sub-menu {
  display: none;
  width: 100%;
}
.nav-mobile .mobile-menu .menu-item-has-children.is-open > .sub-menu {
  display: block;
}
.sub-menu-toggle {
  background: none;
  border: none;
  color: rgba(255,255,255,.55);
  padding: .5rem .85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.sub-menu-toggle svg { display: block; transition: transform var(--transition); }
.menu-item-has-children.is-open > .sub-menu-toggle svg { transform: rotate(180deg); }
.sub-menu-toggle:hover { color: var(--gold); }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  background: var(--navy);
  border: 1px solid rgba(201,168,76,.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition), border-color var(--transition);
  pointer-events: none;
  box-shadow: var(--shadow-md);
}
.back-to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

/* =========================================================
   FORM — GDPR CONSENT & FEEDBACK
   ========================================================= */
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: .6em;
  font-size: .82rem;
  color: var(--text-light);
  cursor: pointer;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
}
.consent-label input[type="checkbox"] {
  width: auto;
  flex-shrink: 0;
  margin-top: .2em;
  accent-color: var(--gold);
  cursor: pointer;
}
.cf-feedback {
  padding: .85em 1.25em;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
  margin-top: .75rem;
}
.cf-feedback--success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.cf-feedback--error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}
.btn--full {
  width: 100%;
  justify-content: center;
  margin-top: .25rem;
}

/* =========================================================
   FOOTER — SUB-NAV INDENT
   ========================================================= */
.footer-nav__sub { padding-left: .85em; }
.footer-nav__sub a { color: rgba(255,255,255,.45); }

/* Footer context overrides for contact-detail__label */
.site-footer .contact-detail__label {
  color: rgba(255,255,255,.4);
}

/* =========================================================
   PAGE — SIDEBAR UTILITIES
   ========================================================= */
.contact-detail__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: .15rem;
}
.sidebar-reassurance-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.sidebar-reassurance-list li {
  display: flex;
  align-items: center;
  gap: .6em;
  font-size: .87rem;
  color: var(--grey-800);
  margin: 0;
}
.sidebar-reassurance-list .check-icon {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.practice-subpage-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--off-white);
  border: 1px solid var(--grey-200);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-decoration: none;
  transition: box-shadow var(--transition), transform var(--transition);
}
.practice-subpage-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.practice-subpage-card__body { flex: 1; }
.practice-subpage-card__body h3 { font-size: 1rem; color: var(--navy); margin-bottom: .4rem; }
.practice-subpage-card__body p { font-size: .87rem; color: var(--text-light); margin: 0; }
.practice-subpage-card__arrow { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; margin-top: .1rem; }

/* Subpage cards wrapper (replaces inline style) */
.subpage-cards-wrap { margin-top: 3rem; }
.subpage-cards-wrap__heading { margin-bottom: 1.5rem; }

/* =========================================================
   SECTION LABEL LIGHT VARIANT (testimonials dark bg)
   ========================================================= */
.section-label--light { color: var(--gold); }
.section-heading--light { color: var(--white); }

/* =========================================================
   TEAM SECTION
   ========================================================= */
.team-section { background: var(--off-white); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.team-card__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--grey-200);
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.team-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-family: var(--font-serif);
  font-weight: 700;
}
.team-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.team-card__name {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0;
  font-family: var(--font-serif);
}
.team-card__role {
  font-size: .85rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0;
}
.team-card__quals {
  font-size: .8rem;
  color: var(--text-light);
  margin: 0;
}
.team-card__linkedin {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  margin-top: auto;
  padding-top: .75rem;
  font-size: .8rem;
  font-weight: 600;
  color: #0a66c2;
  text-decoration: none;
}
.team-card__linkedin:hover { text-decoration: underline; }

/* Stretch-link: make the name link cover the whole card.
   LinkedIn sits above it via z-index. */
.team-card { position: relative; }
.team-card__profile-link {
  color: inherit;
  text-decoration: none;
}
.team-card__profile-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
}
.team-card__linkedin {
  position: relative;
  z-index: 1;
}

/* =========================================================
   TEAM MEMBER PROFILE PAGE (single-elton_team)
   ========================================================= */
.team-profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  padding: 3.5rem 0 4rem;
  align-items: start;
}
@media (max-width: 768px) {
  .team-profile { grid-template-columns: 1fr; gap: 2rem; }
}

.team-profile__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--grey-200);
  margin-bottom: 1.25rem;
}
.team-profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.team-profile__photo .team-card__placeholder {
  width: 100%;
  height: 100%;
}

.team-profile__meta-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0 0 .6rem;
}

.specialism-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.specialism-list li {
  font-size: .85rem;
  color: var(--navy);
  padding: .3rem .75rem;
  background: var(--off-white);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.team-profile__linkedin {
  width: 100%;
  justify-content: center;
  margin-bottom: .5rem;
}

.team-profile__content {
  padding-top: .5rem;
}

/* =========================================================
   FAQ SECTION
   ========================================================= */
.faq-section { background: var(--white); }

.faq-section--page {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--grey-200);
}
.faq-section--page h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 1.5rem;
  color: var(--navy);
}

.faq-accordion { margin-top: 1.5rem; }

/* =========================================================
   PAGE REVIEWS (practice area pages)
   ========================================================= */
.page-reviews {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--grey-200);
}
.page-reviews h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 1.5rem;
  color: var(--navy);
}
.testimonials-grid--sm {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin-top: 0;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-page {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-page__grid { grid-template-columns: 1fr; }
}

/* Contact details column */
.contact-page__details h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: .75rem;
}
.contact-page__intro {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-details-list__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-details-list__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.contact-details-list__icon svg { display: block; }
.contact-details-list__item strong {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
  margin-bottom: .2rem;
}
.contact-details-list__item a,
.contact-details-list__item address,
.contact-details-list__item span {
  font-size: .95rem;
  color: var(--grey-800);
  font-style: normal;
  text-decoration: none;
}
.contact-details-list__item a:hover { color: var(--gold); }

/* Map embed */
.contact-page__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
  aspect-ratio: 16 / 9;
}
.contact-page__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contact-page__map--placeholder {
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  padding: 2rem;
}
.map-placeholder-link:hover { color: var(--gold); }

.contact-page__regulatory {
  font-size: .78rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

/* Form card */
.contact-page__form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: sticky;
  top: calc(var(--header-h, 72px) + 1.5rem);
}
.contact-page__form-card h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  color: var(--navy);
  margin-bottom: .5rem;
}
.contact-page__form-card > p {
  font-size: .88rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* =========================================================
   PAGE HERO — CONTACT VARIANT
   ========================================================= */
.page-hero--contact {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

/* =========================================================
   CHAT WIDGET
   ========================================================= */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .75rem;
}

/* Tray */
.chat-widget__tray {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(13,27,62,.22), 0 2px 8px rgba(0,0,0,.12);
  width: 300px;
  overflow: hidden;
  transform: translateY(12px) scale(.97);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  transform-origin: bottom right;
}
.chat-widget__tray.is-open {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.chat-widget__tray-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--navy);
  padding: 1.1rem 1.25rem;
  color: var(--white);
}
.chat-widget__tray-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.chat-widget__tray-header strong {
  display: block;
  font-size: .95rem;
  color: var(--white);
}
.chat-widget__online {
  display: block;
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  margin-top: .1rem;
}
.chat-widget__online::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  margin-right: .4em;
  vertical-align: middle;
}

/* Channel list */
.chat-widget__channels {
  list-style: none;
  padding: .5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.chat-widget__channel {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--grey-800);
  font-size: .9rem;
  font-weight: 500;
  transition: background var(--transition);
  border: 1px solid transparent;
}
.chat-widget__channel:hover {
  background: rgba(0,0,0,.04);
  border-color: var(--grey-200);
}
.chat-widget__channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--channel-color, var(--navy));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-widget__channel-label { flex: 1; }
.chat-widget__channel-arrow {
  color: var(--grey-400);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.chat-widget__channel:hover .chat-widget__channel-arrow {
  transform: translateX(3px);
  color: var(--grey-600);
}

/* Toggle button */
.chat-widget__toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background var(--transition), transform var(--transition);
  position: relative;
  flex-shrink: 0;
}
.chat-widget__toggle:hover {
  background: var(--navy-dark);
  transform: scale(1.08);
}
.chat-widget__toggle[aria-expanded="true"] {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* Icon swap */
.chat-widget__icon { display: flex; align-items: center; justify-content: center; }
.chat-widget__icon--close { display: none; }
.chat-widget__toggle[aria-expanded="true"] .chat-widget__icon--open { display: none; }
.chat-widget__toggle[aria-expanded="true"] .chat-widget__icon--close { display: flex; }

/* Pulse ring */
.chat-widget__pulse {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: chat-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes chat-pulse {
  0%   { opacity: .7; transform: scale(1);    }
  70%  { opacity: 0;  transform: scale(1.5);  }
  100% { opacity: 0;  transform: scale(1.5);  }
}
.chat-widget__toggle[aria-expanded="true"] .chat-widget__pulse { display: none; }

/* Mobile: hide the floating bubble, reposition tray above the sticky bar */
@media (max-width: 767px) {
  .chat-widget {
    bottom: 64px; /* matches mobile bar height */
    right: 0;
    left: 0;
    align-items: stretch;
    gap: 0;
  }
  .chat-widget__toggle,
  .chat-widget__pulse {
    display: none;
  }
  .chat-widget__tray {
    width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform-origin: bottom center;
    box-shadow: 0 -6px 40px rgba(13,27,62,.2), 0 -1px 8px rgba(0,0,0,.1);
  }
}

/* =========================================================
   MOBILE CTA BAR
   Fixed bottom nav for mobile — integrates the chat trigger
   so the floating bubble and bar never overlap.
   ========================================================= */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--navy);
    border-top: 1px solid rgba(201,168,76,.22);
    z-index: 9998;
    align-items: stretch;
    box-shadow: 0 -4px 24px rgba(0,0,0,.28);
  }

  .mobile-cta-bar__btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .22rem;
    background: none;
    border: none;
    border-right: 1px solid rgba(255,255,255,.07);
    color: rgba(255,255,255,.65);
    font-size: .62rem;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
    transition: color var(--transition), background var(--transition);
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-cta-bar__btn:last-child {
    border-right: none;
  }
  .mobile-cta-bar__btn:active,
  .mobile-cta-bar__btn:focus-visible {
    color: var(--white);
    background: rgba(255,255,255,.06);
    outline: none;
  }

  /* Centre "Contact" button — gold, prominent */
  .mobile-cta-bar__btn--chat {
    color: var(--gold);
    position: relative;
  }
  .mobile-cta-bar__btn--chat::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 2px;
    background: var(--gold);
    border-radius: 0 0 3px 3px;
    opacity: .85;
  }
  .mobile-cta-bar__btn--chat[aria-expanded="true"] {
    color: var(--gold);
    background: rgba(201,168,76,.1);
  }

  /* Icon visibility toggle for chat button */
  .mob-chat-icon { display: flex; }
  .mob-chat-icon--close { display: none; }
  .mobile-cta-bar__btn--chat[aria-expanded="true"] .mob-chat-icon--open  { display: none; }
  .mobile-cta-bar__btn--chat[aria-expanded="true"] .mob-chat-icon--close { display: flex; }

  /* Push body content above the bar */
  body { padding-bottom: 64px; }

  /* Nudge back-to-top above the bar */
  .back-to-top {
    bottom: 80px;
    right: 1rem;
  }
}

/* =========================================================
   REDUCED MOTION
   Respect the OS/browser "prefers-reduced-motion" setting.
   Kill all transitions, animations, and scroll-reveal effects
   for users who have requested reduced motion.
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  /* Override the global transition token */
  :root {
    --transition: 0s;
  }

  /* Kill all transitions and animations site-wide */
  *,
  *::before,
  *::after {
    animation-duration:   0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration:  0.01ms !important;
    scroll-behavior:      auto !important;
  }

  /* Ensure scroll-reveal elements are fully visible immediately */
  .reveal-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Remove the hero scroll-indicator bounce */
  .hero__scroll .scroll-line {
    animation: none;
  }

  /* Remove the chat widget pulse ring */
  .chat-widget__pulse {
    animation: none;
    display: none;
  }
}
