/* =========================================================================
   Samira Haider, Solicitor — main stylesheet
   Loaded after Bootstrap 5.3.3 (assets/vendor/bootstrap). Mobile-first.

   01 Fonts            07 Sections & cards      13 CTA band
   02 Design tokens    08 Timeline              14 Footer
   03 Base & type      09 Inner page hero       15 Floating contact / mobile bar
   04 Utilities        10 Service sections         16 Cookie banner
   05 Header           10b One-page sections    17 Scroll animations
                       11 Prose (legal pages)
   06 Hero             12 Forms                 18 Print
   ========================================================================= */

/* =========================================================================
   01. FONTS — self-hosted (no Google request = no third-party data transfer)
   Cormorant Garamond (headings) + Inter (body), SIL Open Font License.
   ========================================================================= */
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================================
   02. DESIGN TOKENS
   Brand: Dark Blue #182c4f, Gold #9b7c3a. No green anywhere.
   Gold shades below exist ONLY to meet WCAG AA contrast:
   - --gold        brand gold: icons, borders, dividers, large headings
   - --gold-deep   button backgrounds behind white text (4.9:1)
   - --gold-text   small gold text on white/ivory (6.0:1)
   - --gold-light  gold text and icons on navy (6.0:1)
   ========================================================================= */
:root {
  --navy: #182c4f;
  --navy-700: #1f3864;
  --navy-800: #13233f;
  --navy-900: #0e1a30;
  --gold: #9b7c3a;
  --gold-deep: #8a6d31;
  --gold-darker: #6e5626;
  --gold-text: #7a5f2c;
  --gold-light: #c9a55a;
  --gold-pale: #e9dcbc;
  --gold-tint: #f6f1e5;
  --ivory: #fbf9f4;
  --white: #ffffff;
  --ink: #182c4f;
  --text: #2a3447;
  --muted: #4d5a70;
  --line: #e7e1d3;
  --line-soft: #efeae0;
  --on-navy: rgba(255, 255, 255, 0.84);
  --on-navy-muted: rgba(255, 255, 255, 0.7);

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(24, 44, 79, 0.06);
  --shadow: 0 12px 32px rgba(24, 44, 79, 0.1);
  --shadow-lg: 0 24px 56px rgba(24, 44, 79, 0.22);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Header logo sizes (mobile first; overridden at breakpoints below) */
  --logo-h: 72px;
  --logo-h-sm: 56px;
  --mobile-bar-h: 64px;
  --focus-ring: var(--gold);

  /* Bootstrap overrides */
  --bs-body-font-family: var(--font-sans);
  --bs-body-color: var(--text);
  --bs-body-bg: var(--white);
  --bs-link-color: var(--navy);
  --bs-link-color-rgb: 24, 44, 79;
  --bs-link-hover-color: var(--gold-text);
  --bs-link-hover-color-rgb: 122, 95, 44;
  --bs-border-color: var(--line);
  --bs-emphasis-color: var(--navy);
}

@media (min-width: 768px) {
  :root {
    --logo-h: 84px;
    --logo-h-sm: 64px;
  }
}

@media (min-width: 1200px) {
  :root {
    --logo-h: 100px;
    --logo-h-sm: 70px;
  }
}

/* =========================================================================
   03. BASE & TYPOGRAPHY
   ========================================================================= */
html {
  scroll-behavior: smooth;
}

body {
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background: var(--white);
}

@media (max-width: 767.98px) {

  /* room for the fixed mobile contact bar */
  body {
    padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px));
  }
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.font-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.005em;
}

h1,
.h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
}

h2,
.h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
}

h3,
.h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
}

h4,
.h4 {
  font-size: 1.3rem;
}

h5,
h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--navy);
}

p {
  margin-bottom: 1.1rem;
}

a {
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  transition: color 0.2s var(--ease);
}

strong {
  font-weight: 600;
  color: inherit;
}

a[href^="tel:"] {
  white-space: nowrap;
}

/* keep "07400 784253" on one line */
::selection {
  background: var(--gold-pale);
  color: var(--navy);
}

/* Every anchored section clears the sticky header */
/* Anchored sections land 9rem below the top: 5.5rem of scroll-padding (also keeps
   keyboard-focused links clear of the sticky header) + 3.5rem of scroll-margin. */
html {
  scroll-padding-top: 5.5rem;
}

[id] {
  scroll-margin-top: 3.5rem;
}

@media (max-width: 767.98px) {

  /* keep focused links above the fixed mobile contact bar */
  html {
    scroll-padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px) + 8px);
  }
}

/* Visible, consistent keyboard focus (WCAG 2.4.7 / 2.4.11) */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

.on-navy,
.hero,
.page-hero,
.section-navy,
.cta-band,
.site-footer,
.announce-bar,
.mobile-bar,
.fab-stack,
.practice-card {
  --focus-ring: #e0c27f;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 2000;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  vertical-align: -0.125em;
  fill: currentColor;
}

/* =========================================================================
   04. UTILITIES, SECTION HEADINGS & BUTTONS
   ========================================================================= */
.section {
  padding: clamp(4rem, 8vw, 6.75rem) 0;
  position: relative;
}

.section-sm {
  padding: clamp(3rem, 5vw, 4.25rem) 0;
}

.section-ivory {
  background: var(--ivory);
}

.section-navy {
  background: var(--navy);
  color: var(--on-navy);
}

.section-navy h2,
.section-navy h3 {
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.text-center .eyebrow::after,
.eyebrow.eyebrow-center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.section-navy .eyebrow,
.hero .eyebrow,
.cta-band .eyebrow,
.page-hero .eyebrow {
  color: var(--gold-light);
}

.section-navy .eyebrow::before,
.section-navy .eyebrow::after,
.cta-band .eyebrow::before,
.cta-band .eyebrow::after {
  background: var(--gold-light);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-head.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-head p:not(.eyebrow) {
  font-size: 1.125rem;
  color: var(--muted);
}

.section-navy .section-head p:not(.eyebrow) {
  color: var(--on-navy);
}

/* Ornamental gold divider: line — diamond — line */
.ornament {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 120px;
  margin: 1.25rem 0 1.5rem;
  color: var(--gold);
}

.text-center .ornament,
.ornament.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
}

.ornament span {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border: 1px solid currentColor;
}

.section-navy .ornament,
.cta-band .ornament,
.hero .ornament {
  color: var(--gold-light);
}

.lead {
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  font-weight: 400;
  color: var(--muted);
}

.text-gold {
  color: var(--gold-text) !important;
}

.text-gold-light {
  color: var(--gold-light) !important;
}

.text-navy {
  color: var(--navy) !important;
}

.bg-ivory {
  background: var(--ivory) !important;
}

/* Editable placeholder tokens (e.g. meeting address) — easy to spot, easy to replace */
.placeholder-token {
  background: var(--gold-tint);
  border: 1px dashed var(--gold);
  border-radius: 4px;
  padding: 0 0.35em;
  color: var(--navy);
  font-weight: 600;
}

.on-navy .placeholder-token,
.site-footer .placeholder-token {
  background: rgba(201, 165, 90, 0.12);
  border-color: var(--gold-light);
  color: #fff;
}

/* Buttons — built on Bootstrap's CSS variables */
.btn {
  --bs-btn-font-family: var(--font-sans);
  --bs-btn-font-weight: 600;
  --bs-btn-font-size: 1rem;
  --bs-btn-padding-y: 0.85rem;
  --bs-btn-padding-x: 1.6rem;
  --bs-btn-border-radius: var(--radius-sm);
  --bs-btn-border-width: 1.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  letter-spacing: 0.01em;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  box-shadow: none;
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.btn .icon {
  font-size: 1.05em;
}

.btn-lg {
  --bs-btn-padding-y: 1rem;
  --bs-btn-padding-x: 2rem;
  --bs-btn-font-size: 1.05rem;
}

.btn-sm {
  --bs-btn-padding-y: 0.55rem;
  --bs-btn-padding-x: 1.1rem;
  --bs-btn-font-size: 0.9rem;
}

.btn-gold {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--gold-deep);
  --bs-btn-border-color: var(--gold-deep);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--gold-darker);
  --bs-btn-hover-border-color: var(--gold-darker);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #5d4820;
  --bs-btn-active-border-color: #5d4820;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--gold-deep);
  --bs-btn-disabled-border-color: var(--gold-deep);
  box-shadow: 0 8px 20px rgba(138, 109, 49, 0.25);
}

.btn-navy {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--navy);
  --bs-btn-border-color: var(--navy);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--gold-deep);
  --bs-btn-hover-border-color: var(--gold-deep);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--gold-darker);
  --bs-btn-active-border-color: var(--gold-darker);
}

.btn-outline-navy {
  --bs-btn-color: var(--navy);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--navy);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--navy);
  --bs-btn-hover-border-color: var(--navy);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--navy-800);
  --bs-btn-active-border-color: var(--navy-800);
}

/* For navy backgrounds */
.btn-outline-light {
  --bs-btn-color: #fff;
  --bs-btn-bg: transparent;
  --bs-btn-border-color: rgba(255, 255, 255, 0.6);
  --bs-btn-hover-color: var(--navy);
  --bs-btn-hover-bg: var(--gold-light);
  --bs-btn-hover-border-color: var(--gold-light);
  --bs-btn-active-color: var(--navy);
  --bs-btn-active-bg: #b8954a;
  --bs-btn-active-border-color: #b8954a;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.link-arrow .icon {
  transition: transform 0.25s var(--ease);
  color: var(--gold);
}

.link-arrow:hover {
  color: var(--gold-text);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.7rem;
}

.check-list li .icon {
  position: absolute;
  left: 0;
  top: 0.3rem;
  color: var(--gold);
  font-size: 1.15rem;
}

.diamond-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.diamond-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.45rem;
}

.diamond-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--gold);
}

/* =========================================================================
   05. ANNOUNCEMENT BAR & HEADER
   ========================================================================= */
.announce-bar {
  background: var(--navy-900);
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.4;
  position: relative;
  z-index: 1031;
}

.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 42px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

@media (min-width: 992px) {
  .announce-inner {
    justify-content: space-between;
  }
}

.announce-bar p {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.6rem;
  text-align: center;
}

.announce-bar strong {
  color: var(--gold-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.announce-bar .icon {
  color: var(--gold-light);
}

.announce-bar a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 165, 90, 0.6);
}

.announce-bar a:hover {
  color: var(--gold-light);
}

.announce-sep {
  color: var(--gold-light);
}

.announce-loc {
  color: var(--on-navy-muted);
  font-size: 0.82rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s var(--ease), margin-bottom 0.3s var(--ease);
}

@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(160%) blur(10px);
  }
}

/* When shrunk, the lost height is given back as margin so the page never jumps (no layout shift). */
.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(24, 44, 79, 0.09);
  margin-bottom: calc(var(--logo-h) - var(--logo-h-sm));
}

.site-header .navbar {
  padding: 0.6rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin-right: 1.5rem;
}

.brand picture {
  display: block;
}

.brand-logo {
  display: block;
  height: var(--logo-h);
  width: auto;
  transition: height 0.3s var(--ease);
}

.site-header.is-scrolled .brand-logo {
  height: var(--logo-h-sm);
}

.site-header .nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.975rem;
  color: var(--navy);
  padding: 0.6rem 0 !important;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible {
  color: var(--gold-text);
}

.site-header .nav-link:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  box-shadow: none;
  border-radius: 4px;
}

.site-header .nav-link[aria-current],
.site-header .nav-link[data-active="true"] {
  color: var(--navy);
  font-weight: 600;
}

.navbar-toggler {
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.navbar-toggler .icon-close {
  display: none;
}

.navbar-toggler[aria-expanded="true"] .icon-open {
  display: none;
}

.navbar-toggler[aria-expanded="true"] .icon-close {
  display: inline-block;
}

.dropdown-menu {
  --bs-dropdown-border-color: var(--line);
  --bs-dropdown-border-radius: 0 0 var(--radius) var(--radius);
  --bs-dropdown-link-color: var(--navy);
  --bs-dropdown-link-hover-color: var(--navy);
  --bs-dropdown-link-hover-bg: var(--gold-tint);
  --bs-dropdown-link-active-color: var(--navy);
  --bs-dropdown-link-active-bg: var(--gold-tint);
  --bs-dropdown-item-padding-y: 0.6rem;
  --bs-dropdown-item-padding-x: 1.25rem;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  min-width: 290px;
}

.dropdown-item {
  font-weight: 500;
  white-space: normal;
}

.dropdown-item[aria-current="page"] {
  background: var(--gold-tint);
  font-weight: 600;
}

.dropdown-toggle::after {
  border-top-color: var(--gold);
  vertical-align: 0.2em;
}

/* Mobile menu (below xl) */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    border-top: 1px solid var(--line-soft);
    margin-top: 0.6rem;
    padding: 0.5rem 0 1rem;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
  }

  .site-header .nav-link {
    padding: 0.8rem 0 !important;
    border-bottom: 1px solid var(--line-soft);
  }

  .site-header .nav-link[aria-current] {
    color: var(--gold-text);
  }

  .dropdown-menu {
    border: 0;
    box-shadow: none;
    border-left: 2px solid var(--gold);
    border-radius: 0;
    margin-left: 0.25rem;
    padding: 0;
  }

  .nav-cta {
    width: 100%;
    margin-top: 1rem;
  }
}

@media (min-width: 1200px) {
  .site-header .navbar-nav {
    gap: 1.7rem;
    align-items: center;
  }

  .site-header .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.2rem;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
  }

  .site-header .nav-link.dropdown-toggle::after {
    /* keep Bootstrap caret */
    position: static;
    height: auto;
    background: none;
    transform: none;
    display: inline-block;
    margin-left: 0.35em;
  }

  .site-header .nav-link:hover::after,
  .site-header .nav-link[aria-current]::after {
    transform: scaleX(1);
  }

  .site-header .dropdown-toggle[data-active="true"] {
    box-shadow: inset 0 -2px 0 var(--gold);
  }

  .nav-cta {
    margin-left: 2rem;
    --bs-btn-padding-y: 0.75rem;
    --bs-btn-padding-x: 1.3rem;
    --bs-btn-font-size: 0.92rem;
    white-space: nowrap;
  }
}

/* =========================================================================
   06. HERO (homepage)
   ========================================================================= */
.hero,
.page-hero,
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--on-navy);
  background:
    radial-gradient(ellipse 70% 60% at 15% 0%, rgba(47, 78, 128, 0.55) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(155, 124, 58, 0.16) 0%, transparent 70%),
    linear-gradient(160deg, #1d355f 0%, var(--navy) 45%, var(--navy-900) 100%);
}

/* Subtle gold lattice pattern */
.hero::before,
.page-hero::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23c9a55a' stroke-width='0.7'%3E%3Cpath d='M28 0 56 28 28 56 0 28Z'/%3E%3Ccircle cx='28' cy='28' r='2'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 56px;
  opacity: 0.08;
  -webkit-mask-image: linear-gradient(100deg, transparent 5%, #000 55%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 5%, #000 55%, #000 100%);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-light) 50%, var(--gold) 80%, transparent);
}

.hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 6.5rem);
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero h1 .accent {
  display: block;
  color: var(--gold-light);
  font-style: italic;
  font-weight: 500;
}

.hero .lead {
  color: var(--on-navy);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.badge-free {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #d9b96c 0%, var(--gold-light) 55%, #b8954a 100%);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  margin-bottom: 1.75rem;
}

.badge-free .icon {
  font-size: 1rem;
}

@media (max-width: 399.98px) {
  .badge-free {
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    padding: 0.6rem 0.95rem;
  }

  .badge-free .free {
    font-size: 0.9rem;
  }
}

.badge-free .free {
  font-size: 1.05rem;
  letter-spacing: 0.1em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

@media (max-width: 575.98px) {
  .hero-actions .btn {
    width: 100%;
  }
}

.hero-location {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 165, 90, 0.3);
  color: #fff;
  font-weight: 500;
  margin: 0;
  max-width: 34rem;
}

.hero-location .icon {
  color: var(--gold-light);
  font-size: 1.25rem;
  margin-top: 0.15rem;
}

/* "To help me respond to your enquiry, please include…" box beside the form */
.hero-tips {
  margin-top: 1.5rem;
  max-width: 34rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(201, 165, 90, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.hero-tips-title {
  margin: 0 0 0.6rem;
  color: #fff;
  font-weight: 600;
}

.hero-tips ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-tips li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.4rem;
  color: var(--on-navy);
  font-size: 0.95rem;
  line-height: 1.55;
}

.hero-tips li:last-child {
  margin-bottom: 0;
}

.hero-tips li .icon {
  position: absolute;
  left: 0;
  top: 0.2rem;
  color: var(--gold-light);
}

/* Logo plaque */
.hero-plaque {
  position: relative;
  background: var(--ivory);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 3.5vw, 3rem);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  max-width: 540px;
  margin: 0 auto;
}

.hero-plaque::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--gold);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.hero-plaque::after {
  content: "";
  position: absolute;
  inset: 17px;
  border: 1px solid rgba(155, 124, 58, 0.35);
  border-radius: calc(var(--radius-lg) - 9px);
  pointer-events: none;
}

.hero-plaque img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-plaque .plaque-caption {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  font-weight: 600;
}

.seal {
  position: absolute;
  right: -30px;
  top: -36px;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: radial-gradient(circle at 30% 25%, #a7853f 0%, var(--gold-deep) 55%, var(--gold-darker) 100%);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35), inset 0 0 0 5px rgba(255, 255, 255, 0.14);
  line-height: 1.05;
  transform: rotate(8deg);
}

.seal::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.seal-top,
.seal-bottom {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.seal-main {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0.15rem 0;
}

@media (max-width: 575.98px) {
  .seal {
    width: 104px;
    height: 104px;
    right: -6px;
    top: -34px;
  }

  .seal-main {
    font-size: 1.7rem;
  }

  .seal-top,
  .seal-bottom {
    font-size: 0.56rem;
  }
}

/* Enquiry form card in the hero (right column) */
.hero-form {
  --focus-ring: var(--gold);
  /* white card: use the darker gold ring, not the on-navy one */
  position: relative;
  background: #fff;
  color: var(--text);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  max-width: 560px;
  margin: 0 auto;
}

.hero-form-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line-soft);
}

.hero-form-head picture {
  flex: none;
  width: 52px;
}

.hero-form-head img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-form-head h2 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  margin: 0;
}

.hero-form-sub {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-text);
}

.hero-form .row {
  --bs-gutter-y: 1rem;
  --bs-gutter-x: 1rem;
}

.hero-form .form-label {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.hero-form .form-control,
.hero-form .form-select {
  padding: 0.65rem 0.85rem;
}

.hero-form textarea.form-control {
  min-height: 0;
  height: 104px;
}

.hero-form #f-message-hint {
  display: none;
}

/* the note below the form covers this */
.hero-form [type="submit"] {
  width: 100%;
}

.hero-form .col-12.d-flex>.form-text {
  font-size: 0.82rem;
}

.hero-form .error-summary {
  margin-bottom: 1.25rem;
}

.hero-form .form-status {
  margin-top: 0;
}

/* Gold "20 Minute FREE" seal on the card's top-right corner; the heading keeps clear of it */
.hero-form .seal {
  right: -22px;
  top: -46px;
  width: 150px;
  height: 150px;
  z-index: 2;
}

.hero-form .seal-main {
  font-size: 2rem;
}

.hero-form-head {
  padding-right: 88px;
}

@media (max-width: 575.98px) {
  .hero-form .seal {
    right: 0;
    top: -40px;
    width: 150px;
    height: 150px;
  }

  .hero-form .seal-main {
    font-size: 1.6rem;
  }

  .hero-form-head {
    padding-right: 76px;
  }
}

.hero-form-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-form .col-md-6 {
    flex: 0 0 auto;
    width: 100%;
  }

  /* narrow column: stack the fields */
}

/* Trust strip under hero (facts only — no statistics) */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}

.trust-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.trust-strip li:last-child {
  border-bottom: 0;
}

.trust-strip .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex: none;
}

.trust-strip strong {
  display: block;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.35;
}

.trust-strip span.sub {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .trust-strip ul {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
  }

  .trust-strip li:nth-last-child(2) {
    border-bottom: 0;
  }
}

@media (min-width: 1200px) {
  .trust-strip ul {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-strip li {
    border-bottom: 0;
    padding: 1.6rem 0;
  }

  .trust-strip li+li {
    border-left: 1px solid var(--line-soft);
    padding-left: 1.75rem;
  }
}

/* =========================================================================
   07. SECTIONS & CARDS
   ========================================================================= */
/* Intro */
.intro-quote {
  position: relative;
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  padding: 2rem 2rem 2rem 2.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.intro-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  line-height: 1.35;
  color: var(--navy);
  font-style: italic;
  margin-bottom: 1rem;
}

.intro-quote .sig {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
  font-weight: 600;
  margin: 0;
}

/* Areas of practice — three large clickable cards */
.practice-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, var(--navy-700) 0%, var(--navy) 55%, var(--navy-800) 100%);
  color: var(--on-navy);
  border: 1px solid rgba(201, 165, 90, 0.22);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.practice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.practice-card:hover,
.practice-card:focus-within {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 165, 90, 0.6);
}

.practice-card:hover::before,
.practice-card:focus-within::before {
  transform: scaleX(1);
}

.practice-icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid rgba(201, 165, 90, 0.5);
  display: grid;
  place-items: center;
  color: var(--gold-light);
  margin-bottom: 1.75rem;
  position: relative;
  transition: background-color 0.4s var(--ease);
}

.practice-icon::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 165, 90, 0.25);
}

.practice-icon .icon {
  width: 50px;
  height: 50px;
}

.practice-card:hover .practice-icon {
  background: rgba(201, 165, 90, 0.1);
}

.practice-card h3 {
  color: #fff;
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  margin-bottom: 0.9rem;
}

.practice-card p {
  color: var(--on-navy);
}

.practice-card .diamond-list {
  margin: 0.25rem 0 1.5rem;
  font-size: 0.97rem;
  color: #fff;
}

.practice-card .diamond-list li::before {
  background: var(--gold-light);
}

.practice-card .card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: none;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.practice-card .card-link .icon {
  transition: transform 0.3s var(--ease);
}

.practice-card:hover .card-link .icon {
  transform: translateX(5px);
}

/* whole card clickable via the link's ::after (Bootstrap .stretched-link) */
.practice-card .stretched-link::after {
  border-radius: var(--radius-lg);
}

/* About teaser / portrait */
.portrait-frame {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.portrait-frame>* {
  position: relative;
  z-index: 1;
}

@media (max-width: 575.98px) {
  .portrait-frame::before {
    inset: 12px -10px -12px 10px;
  }
}

.portrait-frame img.portrait {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Placeholder shown until a professional headshot is supplied */
.portrait-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 38%, #fff 0%, var(--ivory) 55%, var(--gold-tint) 100%);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.portrait-placeholder picture {
  display: block;
  width: 52%;
}

.portrait-placeholder img {
  display: block;
  width: 100%;
  height: auto;
}

.portrait-placeholder .name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin: 0;
}

.portrait-placeholder .role {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  font-weight: 600;
  margin: 0;
}

/* Approach values */
.value-card {
  height: 100%;
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 165, 90, 0.25);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 165, 90, 0.55);
}

.value-card .icon-wrap {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(201, 165, 90, 0.12);
  color: var(--gold-light);
  margin-bottom: 1.4rem;
  font-size: 1.6rem;
}

.value-card .icon-wrap .icon-line {
  width: 34px;
  height: 34px;
}

.value-card h3 {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 0.6rem;
}

.value-card p {
  margin: 0;
  color: var(--on-navy);
  font-size: 1rem;
}

/* light variant */
.value-card.light {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.value-card.light:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.value-card.light .icon-wrap {
  background: var(--gold-tint);
  color: var(--gold);
}

.value-card.light h3 {
  color: var(--navy);
}

.value-card.light p {
  color: var(--muted);
}

/* Meeting options */
.meet-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.meet-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.meet-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 1.6rem;
}

.meet-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.meet-card p {
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.meet-card p:last-child {
  margin-bottom: 0;
}

/* Meeting address + "View on Google Maps" link */
.meet-address {
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.6rem;
}

/* The address itself is the map link */
.map-link {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.2em;
}

.map-link:hover {
  color: var(--gold-text);
}

.map-hint {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-size: 0.92rem;
  color: var(--gold-text);
}

.map-hint .icon,
.map-link-inline .icon {
  color: var(--gold);
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
}

.platforms li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--gold-tint);
  border: 1px solid var(--gold-pale);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

/* Generic info card */
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.info-card h3,
.info-card h4 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

/* Titles line up with the top of every card (beats the general .content-block h4 spacing) */
.info-card > h3:first-child,
.info-card > h4:first-child {
  margin-top: 0;
}

/* VAT: a full-width row under the funding cards, title beside the text on wider screens */
@media (min-width: 768px) {
  .vat-card {
    display: grid;
    grid-template-columns: 9rem 1fr;
    align-items: baseline;
    gap: 1.5rem;
  }

  .vat-card h4,
  .vat-card p {
    margin: 0;
  }
}

/* Linktree QR code in the Contact section */
.qr-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font-size: 0.92rem;
}

.qr-card img {
  flex: none;
  width: 104px;
  height: 104px;
}

.side-box.navy .qr-card a {
  color: var(--navy);
}

.info-card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.info-card .icon-wrap .icon-line {
  width: 30px;
  height: 30px;
}

.fee-card .icon-wrap .icon-line {
  width: 32px;
  height: 32px;
}

.info-card p:last-child,
.info-card ul:last-child {
  margin-bottom: 0;
}

/* =========================================================================
   08. "HOW I WORK" TIMELINE
   ========================================================================= */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  counter-reset: step;
}

.timeline>li {
  position: relative;
  padding: 0 0 2.25rem 5rem;
}

.timeline>li:last-child {
  padding-bottom: 0;
}

.timeline>li::before {
  /* vertical connector (mobile) */
  content: "";
  position: absolute;
  left: 27px;
  top: 58px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(155, 124, 58, 0.25));
}

.timeline>li:last-child::before {
  display: none;
}

.step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 0 6px var(--ivory);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.timeline>li:hover .step-num {
  background: var(--navy);
  color: var(--gold-light);
}

.timeline h3 {
  font-size: 1.5rem;
  margin: 0.6rem 0 0.4rem;
}

.timeline p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
}

@media (min-width: 992px) {
  .timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.75rem;
  }

  .timeline::before {
    /* horizontal connector */
    content: "";
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, rgba(155, 124, 58, 0.2), var(--gold) 15%, var(--gold) 85%, rgba(155, 124, 58, 0.2));
  }

  .timeline>li {
    padding: 0;
    text-align: center;
  }

  .timeline>li::before {
    display: none;
  }

  .step-num {
    position: relative;
    margin: 0 auto 1.25rem;
  }

  .timeline h3 {
    margin-top: 0;
  }
}

.section:not(.section-ivory) .step-num {
  box-shadow: 0 0 0 6px #fff;
}

/* Detailed steps (#how-more panel, index.html) */
.step-detail {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.step-detail:last-child {
  border-bottom: 0;
}

.step-detail .step-num {
  position: relative;
  width: 64px;
  height: 64px;
  font-size: 1.8rem;
  box-shadow: none;
}

.step-detail h2,
.step-detail h3 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  margin-bottom: 0.6rem;
}

.step-detail p:last-child,
.step-detail ul:last-child {
  margin-bottom: 0;
}

/* =========================================================================
   09. INNER PAGE HERO & BREADCRUMBS
   ========================================================================= */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  margin-bottom: 0.9rem;
}

.page-hero .lead {
  color: var(--on-navy);
  max-width: 46rem;
  margin-bottom: 0;
}

.page-hero .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.75rem;
  font-size: 0.95rem;
  color: #fff;
}

.page-hero .hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.page-hero .hero-meta .icon {
  color: var(--gold-light);
}

.breadcrumb {
  --bs-breadcrumb-divider-color: var(--gold-light);
  --bs-breadcrumb-item-active-color: var(--on-navy-muted);
  --bs-breadcrumb-margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 165, 90, 0.5);
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

/* =========================================================================
   10. SERVICE SECTIONS (index.html)
   ========================================================================= */
.subarea-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .subarea-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.subarea {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.subarea:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.subarea .letter {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

.subarea h3 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.subarea p {
  font-size: 0.97rem;
  color: var(--muted);
  margin-bottom: 0;
}

.subarea p + p {
  margin-top: 0.6rem;
}

.subarea .link-arrow {
  margin-top: 0.9rem;
  font-size: 0.92rem;
}

.content-block {
  margin-bottom: 3rem;
}

.content-block>h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-bottom: 0.4rem;
}

.content-block>h2+.ornament {
  margin-top: 0.75rem;
}

.content-block h3 {
  font-size: 1.5rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.content-block h4 {
  font-size: 1.35rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.help-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 768px) {
  .help-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.help-grid li {
  background: var(--ivory);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.25rem 3.4rem;
  position: relative;
}

.help-grid li .icon {
  position: absolute;
  left: 1.2rem;
  top: 1.45rem;
  color: var(--gold);
  font-size: 1.25rem;
}

.help-grid li strong {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
  margin-bottom: 0.2rem;
}

.help-grid li span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.callout {
  display: flex;
  gap: 1rem;
  background: var(--gold-tint);
  border: 1px solid var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0;
}

.callout .icon {
  color: var(--gold-text);
  font-size: 1.35rem;
  margin-top: 0.2rem;
}

.callout p {
  margin: 0;
  color: var(--text);
}

.callout p+p {
  margin-top: 0.6rem;
}

.callout.navy {
  background: var(--navy);
  border-color: var(--navy);
  border-left-color: var(--gold-light);
  color: var(--on-navy);
}

.callout.navy .icon {
  color: var(--gold-light);
}

.callout.navy p {
  color: var(--on-navy);
}

.callout.navy strong {
  color: #fff;
}

.callout.navy a {
  color: #fff;
}

.service-cta {
  background: var(--navy);
  color: var(--on-navy);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}

.service-cta::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(201, 165, 90, 0.35);
  box-shadow: 0 0 0 22px rgba(201, 165, 90, 0.05);
}

.service-cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.service-cta p:not(.eyebrow) {
  color: var(--on-navy);
}

.service-cta .eyebrow {
  color: var(--gold-light);
}

.service-cta .eyebrow::before {
  background: var(--gold-light);
}

.service-cta a:not(.btn) {
  color: #fff;
  font-weight: 600;
}

.service-cta a:not(.btn):hover {
  color: var(--gold-light);
}

/* Sidebar */
.side-sticky {
  position: sticky;
  top: 9rem;
}

.side-box.side-sticky {
  max-height: calc(100vh - 10rem);
  overflow-y: auto;
}

@media (max-height: 860px) {
  div.side-sticky:not(.side-box) {
    position: static;
  }
}

.side-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.side-box h2,
.side-box .side-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  font-weight: 700;
  margin-bottom: 1rem;
}

.toc {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc li {
  border-bottom: 1px solid var(--line-soft);
}

.toc li:last-child {
  border-bottom: 0;
}

.toc a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
}

.toc a .icon {
  color: var(--gold);
  font-size: 0.85rem;
  transition: transform 0.25s var(--ease);
}

.toc a:hover {
  color: var(--gold-text);
}

.toc a:hover .icon {
  transform: translateX(3px);
}

.toc a[aria-current="page"] {
  color: var(--gold-text);
  font-weight: 600;
}

.toc a.sub {
  padding-left: 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.side-box.navy {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--on-navy);
}

.side-box.navy h2,
.side-box.navy .side-title {
  color: var(--gold-light);
}

.side-box.navy .free-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.side-box.navy p {
  font-size: 0.97rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list .icon-wrap {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-tint);
  color: var(--gold);
  font-size: 1.05rem;
}

.contact-list .label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.3;
}

.contact-list a,
.contact-list .value {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
  line-height: 1.45;
}

.contact-list a:hover {
  color: var(--gold-text);
  text-decoration: underline;
}

.side-box.navy .contact-list li {
  border-color: rgba(255, 255, 255, 0.12);
}

.side-box.navy .contact-list .icon-wrap {
  background: rgba(201, 165, 90, 0.15);
  color: var(--gold-light);
}

.side-box.navy .contact-list .label {
  color: var(--on-navy-muted);
}

.side-box.navy .contact-list a,
.side-box.navy .contact-list .value {
  color: #fff;
}

/* Fees section (#fees, index.html) */
.feature-free {
  position: relative;
  display: grid;
  gap: 1.75rem;
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, var(--gold-tint) 100%);
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}

@media (min-width: 768px) {
  .feature-free {
    grid-template-columns: auto 1fr auto;
  }
}

.feature-free .seal {
  position: relative;
  right: auto;
  top: auto;
  transform: rotate(-6deg);
}

.feature-free h2,
.feature-free h3 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.feature-free p {
  color: var(--muted);
  margin: 0;
}

/* "How my fees are agreed" panel */
.fees-terms {
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.fees-terms h3 {
  margin-bottom: 1.25rem;
}

@media (min-width: 992px) {
  .fees-terms-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem 2.5rem;
  }
}

.fee-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.fee-card .icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 1.45rem;
  margin-bottom: 1.25rem;
}

.fee-card h2,
.fee-card h3 {
  font-size: 1.9rem;
  margin-bottom: 0.7rem;
}

.fee-card p {
  color: var(--muted);
}

.fee-card .quote-note {
  font-weight: 600;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}

/* =========================================================================
   10b. ONE-PAGE SECTIONS (About, service sections, detail panels)
   ========================================================================= */
/* Programmatic focus after an in-page jump: no box around whole sections */
[tabindex="-1"]:focus {
  outline: none;
}

#about-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
}

#about .content-block>h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.service-head {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  max-width: 920px;
  margin-bottom: 2.5rem;
}

.service-head h2 {
  margin-bottom: 0.6rem;
}

.practice-icon.light {
  flex: none;
  margin: 0.25rem 0 0;
  color: var(--gold);
  border-color: var(--gold-pale);
  background: #fff;
}

.practice-icon.light::after {
  border-color: rgba(155, 124, 58, 0.3);
}

@media (max-width: 575.98px) {
  .service-head {
    flex-direction: column;
    gap: 1rem;
  }

  .practice-icon.light {
    width: 72px;
    height: 72px;
  }

  .practice-icon.light .icon {
    width: 40px;
    height: 40px;
  }
}

.service-section .subarea-grid {
  margin-bottom: 0;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 575.98px) {
  .service-actions .btn {
    width: 100%;
  }
}

.detail-toggle .chevron {
  transition: transform 0.3s var(--ease);
}

.detail-toggle:not(.collapsed) .chevron {
  transform: rotate(180deg);
}

.detail-toggle.collapsed .when-open,
.detail-toggle:not(.collapsed) .when-closed {
  display: none;
}

.service-more-inner {
  max-width: 980px;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.justify-content-center+.service-more .service-more-inner {
  margin-left: auto;
  margin-right: auto;
}

#how-more .service-more-inner {
  max-width: none;
}

/* Without JavaScript the panels can't open, so show them and hide the toggles */
html:not(.js) .service-more.collapse {
  display: block;
}

html:not(.js) .detail-toggle {
  display: none;
}

.service-more .content-block>h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.service-more .content-block:last-child {
  margin-bottom: 0;
}

.service-more .step-detail:first-child {
  padding-top: 0;
}

.side-box .free-title-dark {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

/* =========================================================================
   11. PROSE (legal & policy pages)
   ========================================================================= */
.prose {
  max-width: 800px;
}

.prose h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.15rem);
  margin: 2.75rem 0 0.9rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.prose h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose h3 {
  font-size: 1.4rem;
  margin: 1.75rem 0 0.6rem;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
  margin-bottom: 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose li::marker {
  color: var(--gold);
}

.prose a:not(.btn) {
  color: var(--navy);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.prose a:not(.btn):hover {
  color: var(--gold-text);
}

.prose table {
  width: 100%;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.prose th {
  background: var(--ivory);
  color: var(--navy);
  font-weight: 600;
}

.prose th,
.prose td {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  vertical-align: top;
}

.prose address {
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: normal;
}

.updated {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 2rem;
}

.dev-note {
  /* visible reminder only where legally necessary details are still missing */
  background: #fff8e6;
  border: 1px dashed var(--gold);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  color: var(--navy);
}

/* =========================================================================
   12. FORMS (enquiry)
   ========================================================================= */
.notice-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .notice-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.notice {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.notice .icon {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  display: block;
}

.notice h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.notice p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.6;
}

.notice.urgent {
  border-top-color: var(--navy);
  background: var(--gold-tint);
}

.notice.urgent .icon {
  color: var(--navy);
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow);
}

.form-card h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
}

.form-label,
.form-legend {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.97rem;
  margin-bottom: 0.4rem;
}

.form-legend {
  float: none;
  width: auto;
  padding: 0;
}

.req {
  color: #9a2a2a;
  margin-left: 0.15rem;
}

.optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.88rem;
  margin-left: 0.25rem;
}

.form-control,
.form-select {
  border: 1.5px solid #c9c2b2;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 1rem;
  color: var(--text);
  background-color: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-control::placeholder {
  color: #7a8292;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(155, 124, 58, 0.25);
  outline: 0;
}

.form-control:focus-visible,
.form-select:focus-visible {
  outline: 0;
}

.form-text {
  color: var(--muted);
  font-size: 0.87rem;
}

.form-check-input {
  width: 1.25em;
  height: 1.25em;
  border: 1.5px solid #8f8778;
  margin-top: 0.2em;
}

.form-check-input:checked {
  background-color: var(--navy);
  border-color: var(--navy);
}

.form-check-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(155, 124, 58, 0.3);
}

.form-check-label {
  cursor: pointer;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
}

/* Error states — never colour alone: icon + text message */
.form-control.is-invalid,
.form-select.is-invalid,
.form-check-input.is-invalid {
  border-color: #b3261e;
  background-image: none;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.2);
}

.invalid-feedback {
  color: #a1221b;
  font-weight: 500;
  font-size: 0.9rem;
}

.invalid-feedback::before {
  content: "\26A0\FE0E  ";
}

.form-check-input.is-invalid~.form-check-label {
  color: inherit;
}

.error-summary {
  border: 2px solid #b3261e;
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.75rem;
  background: #fdf3f2;
}

.error-summary h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #8c1d18;
  margin-bottom: 0.5rem;
}

.error-summary ul {
  margin: 0;
  padding-left: 1.2rem;
}

.error-summary a {
  color: #8c1d18;
  font-weight: 600;
}

.char-count {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: right;
  margin-top: 0.3rem;
}

/* Honeypot — hidden from people, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-top: 1rem;
}

.form-status h3 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.form-status.success {
  background: var(--gold-tint);
  border: 1px solid var(--gold-pale);
  border-left: 4px solid var(--gold);
}

.form-status.error {
  background: #fdf3f2;
  border: 1px solid #efc6c2;
  border-left: 4px solid #b3261e;
}

.form-status.error h3 {
  color: #8c1d18;
}

.form-status:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.btn .spinner-border {
  width: 1.1rem;
  height: 1.1rem;
  border-width: 0.16em;
}

/* =========================================================================
   13. CTA BAND
   ========================================================================= */
.cta-band {
  padding: clamp(4rem, 8vw, 6rem) 0;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 0.9rem;
}

.cta-band h2 .accent {
  color: var(--gold-light);
  font-style: italic;
  font-weight: 500;
}

.cta-band p:not(.eyebrow):not(.cta-sub) {
  color: var(--on-navy);
  font-size: 1.15rem;
  max-width: 40rem;
  margin: 0 auto 2.25rem;
}

.cta-band .cta-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.2;
  color: var(--gold-light);
  margin: 0 0 0.25rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

@media (max-width: 575.98px) {
  .cta-actions .btn {
    width: 100%;
  }
}

/* =========================================================================
   14. FOOTER
   ========================================================================= */
.site-footer {
  background: var(--navy);
  color: var(--on-navy);
  border-top: 3px solid var(--gold);
  font-size: 0.95rem;
  position: relative;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.footer-main {
  padding: clamp(3.5rem, 6vw, 5rem) 0 2.5rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-logo img {
  width: 230px;
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.footer-based {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* SRA number and VAT status, next to the name */
.footer-meta {
  margin-bottom: 0.6rem;
  color: var(--on-navy);
  font-size: 0.92rem;
}

.footer-meta .sep {
  margin: 0 0.5rem;
  color: var(--gold-light);
}

.footer-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201, 165, 90, 0.3);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links>li {
  margin-bottom: 0.9rem;
}

.footer-links>li>a {
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  padding: 0.35rem 0 0 0.9rem;
  margin: 0;
  border-left: 1px solid rgba(201, 165, 90, 0.35);
}

.footer-links ul li {
  margin-bottom: 0.3rem;
}

.footer-links ul a {
  color: var(--on-navy);
  font-size: 0.9rem;
  font-weight: 400;
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}

.footer-contact .icon {
  color: var(--gold-light);
  margin-top: 0.3rem;
  flex: none;
}

.footer-contact .label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
}

.footer-contact a {
  font-weight: 600;
  word-break: break-word;
}

/* Linktree QR code in the footer (white background keeps it scannable on navy) */
.footer-qr {
  display: block;
  width: 96px;
  height: 96px;
  margin-top: 1rem;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: #fff;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.footer-reg {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--on-navy);
}

.footer-reg p {
  margin-bottom: 0.75rem;
}

.footer-reg a {
  text-decoration: underline;
  text-decoration-color: var(--gold-light);
  text-underline-offset: 0.2em;
}

.footer-reg .reg-placeholder {
  border: 1px dashed rgba(201, 165, 90, 0.6);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--gold-light);
}

.sra-badge-slot {
  min-height: 60px;
}

/* TODO: SRA digital badge embed goes here if required */
.footer-bottom {
  background: var(--navy-900);
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: var(--on-navy-muted);
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-bottom ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin: 0;
  padding: 0;
}

.footer-bottom a,
.footer-bottom button {
  color: var(--on-navy);
}

.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.link-button:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* =========================================================================
   15. FLOATING CONTACT BUTTONS (desktop) & MOBILE CONTACT BAR
   ========================================================================= */
.fab-stack {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  display: none;
  flex-direction: column;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .fab-stack {
    display: flex;
  }
}

.fab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  border: 2px solid var(--gold-light);
  box-shadow: 0 10px 26px rgba(14, 26, 48, 0.35);
  font-size: 1.35rem;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.fab:hover,
.fab:focus-visible {
  background: var(--gold-deep);
  color: #fff;
  transform: scale(1.06);
}

.fab-label {
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translate(8px, -50%);
  white-space: nowrap;
  background: var(--navy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.fab:hover .fab-label,
.fab:focus-visible .fab-label {
  opacity: 1;
  transform: translate(0, -50%);
}

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy);
  border-top: 2px solid var(--gold);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -8px 24px rgba(14, 26, 48, 0.25);
}

@media (min-width: 768px) {
  .mobile-bar {
    display: none;
  }
}

.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  height: var(--mobile-bar-h);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.mobile-bar a+a {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-bar a .icon {
  color: var(--gold-light);
  font-size: 1.3rem;
}

.mobile-bar a:active {
  background: var(--navy-700);
}

.mobile-bar a.enquire {
  background: var(--gold-deep);
}

.mobile-bar a.enquire .icon {
  color: #fff;
}

.mobile-bar a:focus-visible {
  outline-offset: -4px;
}

/* =========================================================================
   16. COOKIE BANNER
   ========================================================================= */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px) + 0.75rem);
  z-index: 1050;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(14, 26, 48, 0.3);
  padding: 1.35rem 1.4rem;
  max-width: 520px;
  font-size: 0.93rem;
}

@media (min-width: 768px) {
  .cookie-banner {
    left: 1.25rem;
    right: auto;
    bottom: 1.25rem;
  }
}

.cookie-banner h2 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cookie-banner p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.cookie-actions .btn {
  --bs-btn-padding-y: 0.6rem;
  --bs-btn-padding-x: 1.1rem;
  --bs-btn-font-size: 0.9rem;
}

/* =========================================================================
   17. SCROLL ANIMATIONS (progressive enhancement; off for reduced motion)
   ========================================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal[data-delay="1"] {
  transition-delay: 0.1s;
}

.js .reveal[data-delay="2"] {
  transition-delay: 0.2s;
}

.js .reveal[data-delay="3"] {
  transition-delay: 0.3s;
}

.js .reveal[data-delay="4"] {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .practice-card:hover,
  .practice-card:focus-within,
  .value-card:hover,
  .meet-card:hover,
  .subarea:hover {
    transform: none;
  }
}

/* =========================================================================
   18. PRINT
   ========================================================================= */
@media print {

  .announce-bar,
  .site-header .navbar-collapse,
  .navbar-toggler,
  .fab-stack,
  .mobile-bar,
  .cookie-banner,
  .cta-band,
  .hero::before,
  .page-hero::before {
    display: none !important;
  }

  .site-header {
    position: static;
    box-shadow: none;
  }

  .hero,
  .page-hero,
  .section-navy,
  .site-footer {
    background: #fff !important;
    color: #000 !important;
  }

  .hero h1,
  .page-hero h1,
  .site-footer a {
    color: #000 !important;
  }

  body {
    padding-bottom: 0;
    font-size: 11pt;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}