/* ==========================================================================
   L&L Accounting — design system
   Tokens derived from homeloangurus.com, reconciled with L&L's brand colours.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */

:root {
  /* Brand.
     `--brand-blue` and `--brand-gold` are the identity colours (reference site and
     L&L respectively). Neither reaches 4.5:1 against white text — #3d9be9 is 2.97,
     #b89300 is 2.91 — so they are used for fills, borders and large type only.
     The `-ink` variants are the darkened versions used wherever white text or a
     link sits on top, keeping the palette WCAG AA. */
  --brand-navy: #1a395a;
  --brand-navy-dark: #12283f;
  --brand-blue: #3d9be9;
  --brand-blue-ink: #1f6fb2;       /* 5.28:1 with white */
  --brand-blue-ink-dark: #155f9e;  /* 6.64:1 with white */
  --brand-gold: #b89300;
  --brand-gold-ink: #8a6f00;       /* 4.82:1 with white */
  --brand-gold-ink-dark: #7d6400;  /* 5.68:1 with white */

  /* Neutrals */
  --neutral-lightest: #f4f5f8;
  --neutral-lighter: #d8ebfb;
  --neutral-light: #9ecdf4;
  --neutral: #e6e8ee;
  --neutral-dark: #61646c;
  --white: #fff;

  /* Semantic */
  --text-primary: #23222b;
  --text-secondary: #61646c;
  --text-inverse: #fff;
  --bg-primary: #fff;
  --bg-secondary: var(--neutral-lightest);
  --bg-navy: var(--brand-navy);
  --border: #e2e5ea;
  --link: var(--brand-blue-ink);

  /* Spacing scale */
  --s-0-25: .25rem;
  --s-0-5: .5rem;
  --s-0-75: .75rem;
  --s-1: 1rem;
  --s-1-25: 1.25rem;
  --s-1-5: 1.5rem;
  --s-2: 2rem;
  --s-2-5: 2.5rem;
  --s-3: 3rem;
  --s-4: 4rem;
  --s-5: 5rem;
  --s-6: 6rem;

  /* Section rhythm */
  --section-pad: var(--s-6);
  --section-pad-sm: var(--s-3);

  /* Radius */
  --radius-sm: .375rem;
  --radius: .5rem;
  --radius-lg: .75rem;
  --radius-xl: 1rem;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 3px #0000001a, 0 1px 2px #0000000f;
  --shadow: 0 4px 24px #96a3b514;
  --shadow-md: 0 4px 8px -2px #0000001a, 0 2px 4px -2px #0000000f;
  --shadow-lg: 0 12px 16px -4px #00000014, 0 4px 6px -2px #00000008;
  --shadow-xl: 0 20px 24px -4px #00000014, 0 8px 8px -4px #00000008;

  /* Type */
  --font-sans: "Archivo", "Noto Sans Thai", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --header-h: 76px;

  --transition: all .2s ease;
}

/* --- Reset -------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* The mobile nav drawer parks itself off-canvas to the right; without this it
     widens the document and the whole page scrolls sideways. `clip` is used instead
     of `hidden` because `hidden` on the root would break the sticky header. */
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

/* --- Type --------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--s-1);
  font-weight: 500;
  color: var(--text-primary);
  text-wrap: balance;
}

h1, .h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); line-height: 1.15; }
h2, .h2 { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.5rem); line-height: 1.2; }
h3, .h3 { font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); line-height: 1.25; }
h4, .h4 { font-size: 1.5rem; line-height: 1.3; }
h5, .h5 { font-size: 1.25rem; line-height: 1.4; }
h6, .h6 { font-size: 1.125rem; line-height: 1.4; }

p { margin: 0 0 var(--s-1); }
p:last-child { margin-bottom: 0; }

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

strong, b { font-weight: 600; }

.lead { font-size: 1.125rem; color: var(--text-secondary); line-height: 1.7; }
.text-muted { color: var(--text-secondary); }
.text-gold { color: var(--brand-gold); }
.text-navy { color: var(--brand-navy); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-blue-ink);
  margin-bottom: var(--s-0-75);
}

hr { border: 0; border-top: 1px solid var(--border); margin: var(--s-2) 0; }

/* --- Accessibility ------------------------------------------------------ */

.skip-link {
  position: absolute;
  left: var(--s-1);
  top: -100px;
  z-index: 200;
  padding: var(--s-0-75) var(--s-1-25);
  background: var(--brand-navy);
  color: var(--white);
  border-radius: var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: var(--s-1); color: var(--white); text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Layout ------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-1-25);
}
.container--narrow { max-width: var(--container-narrow); }

/* Reference rhythm: 3rem on mobile, 6rem from tablet up. */
.section { padding-block: var(--section-pad-sm); }
.section--tight { padding-block: var(--s-2-5); }

@media (min-width: 768px) {
  .section { padding-block: var(--section-pad); }
  .section--tight { padding-block: var(--s-3); }
}
.section--alt { background: var(--bg-secondary); }
.section--navy { background: var(--bg-navy); color: var(--text-inverse); }
.section--navy h1, .section--navy h2, .section--navy h3,
.section--navy h4, .section--navy h5, .section--navy h6 { color: var(--text-inverse); }
.section--navy .lead, .section--navy .text-muted { color: #c5d3e2; }
.section--navy a { color: var(--neutral-light); }

.section-header { max-width: 46rem; margin-bottom: var(--s-2-5); }
.section-header--center { margin-inline: auto; text-align: center; }
.section-header p { color: var(--text-secondary); font-size: 1.0625rem; }

.grid { display: grid; gap: var(--s-1-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }

.stack > * + * { margin-top: var(--s-1); }

/* --- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-0-5);
  padding: var(--s-0-75) var(--s-1-5);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand-blue-ink);
  border-color: var(--brand-blue-ink);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--brand-blue-ink-dark);
  border-color: var(--brand-blue-ink-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--navy {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: var(--white);
}
.btn--navy:hover { background: var(--brand-navy-dark); color: var(--white); box-shadow: var(--shadow-md); }

.btn--gold {
  background: var(--brand-gold-ink);
  border-color: var(--brand-gold-ink);
  color: var(--white);
}
.btn--gold:hover { background: var(--brand-gold-ink-dark); color: var(--white); box-shadow: var(--shadow-md); }

.btn--outline {
  background: transparent;
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}
.btn--outline:hover { background: var(--brand-navy); color: var(--white); }

.btn--light { background: var(--white); border-color: var(--white); color: var(--brand-navy); }
.btn--light:hover { background: var(--neutral-lightest); color: var(--brand-navy); }

.btn--lg { padding: var(--s-1) var(--s-2); font-size: 1.0625rem; }
.btn--sm { padding: var(--s-0-5) var(--s-1); font-size: .9375rem; }
.btn--block { width: 100%; }

.btn .icon { flex: none; }

/* --- Cards -------------------------------------------------------------- */

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--neutral-lightest); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }

.card__body { padding: var(--s-1-5); display: flex; flex-direction: column; flex: 1; gap: var(--s-0-75); }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: var(--radius);
  background: var(--neutral-lighter);
  color: var(--brand-navy);
  flex: none;
}

.card__title { font-size: 1.1875rem; font-weight: 600; line-height: 1.4; margin: 0; }
.card__title a { color: var(--text-primary); }
.card__title a:hover { color: var(--brand-blue-ink); text-decoration: none; }

.card__text { color: var(--text-secondary); font-size: .9688rem; margin: 0; flex: 1; }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-0-25);
  font-weight: 500;
  font-size: .9375rem;
  margin-top: auto;
}
.card__link .icon { transition: transform .2s; }
.card__link:hover { text-decoration: none; }
.card__link:hover .icon { transform: translateX(3px); }

/* Whole card clickable, link still keyboard-reachable */
.card--link { position: relative; }
.card--link .card__title a::after { content: ""; position: absolute; inset: 0; }

/* --- Header ------------------------------------------------------------- */

.topbar {
  background: var(--brand-navy);
  color: #cddcea;
  font-size: .875rem;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-0-5) var(--s-1);
  padding-block: var(--s-0-5);
}
.topbar__list { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1); list-style: none; margin: 0; padding: 0; }
/* The region list is nice-to-have; below tablet it wraps onto its own line and
   pushes the contact details out of view, so it is hidden there. */
.topbar__list--regions { display: none; }
@media (min-width: 768px) { .topbar__list--regions { display: flex; } }
@media (max-width: 767px) { .topbar__inner { justify-content: center; } }
.topbar__item { display: inline-flex; align-items: center; gap: var(--s-0-25); }
.topbar a { color: #cddcea; display: inline-flex; align-items: center; gap: var(--s-0-25); }
.topbar a:hover { color: var(--white); text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--border);
}

/* `backdrop-filter` is desktop-only on purpose. A non-none backdrop-filter makes the
   header a containing block for its `position: fixed` descendants, which collapsed the
   mobile nav drawer into the 80px header box instead of the full viewport. The nav is
   only a fixed drawer below 1024px, so the frosted effect is safe from there up. */
@media (min-width: 1024px) {
  .site-header { backdrop-filter: blur(10px); }
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-1);
  min-height: var(--header-h);
  padding-block: var(--s-0-5);
}

.site-logo { display: inline-flex; align-items: center; gap: var(--s-0-75); flex: none; }
.site-logo img { height: 52px; width: auto; }
.site-logo__text { font-weight: 600; font-size: 1rem; color: var(--brand-navy); line-height: 1.25; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--brand-navy);
  cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* The open drawer covers the header with its backdrop, so the hamburger cannot be
   tapped again to close. The drawer carries its own close button instead. */
.main-nav__close {
  display: none;
  position: absolute;
  top: var(--s-1);
  right: var(--s-1);
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--brand-navy);
  cursor: pointer;
}

.header-actions { display: flex; align-items: center; gap: var(--s-0-75); }

.main-nav__list { list-style: none; margin: 0; padding: 0; }
.main-nav__link {
  display: block;
  padding: var(--s-0-75);
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius);
}
.main-nav__link:hover { color: var(--brand-blue-ink); text-decoration: none; }
.main-nav__link[aria-current="page"],
.main-nav__item--active > .main-nav__link { color: var(--brand-blue-ink); }

.main-nav__item--has-children > .main-nav__link { display: flex; align-items: center; gap: var(--s-0-25); }
/* The external-links dropdown has no page of its own, so its trigger is a button.
   Strip the UA button chrome so it matches the anchors beside it. */
.main-nav__link--toggle {
  width: 100%;
  font: inherit;
  font-weight: 500;
  text-align: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.dropdown-caret { width: 16px; height: 16px; transition: transform .2s; flex: none; }

.main-nav__sub { list-style: none; margin: 0; padding: 0; }
.main-nav__sub a {
  display: block;
  padding: var(--s-0-5) var(--s-0-75);
  color: var(--text-secondary);
  font-size: .9375rem;
}
.main-nav__sub a:hover { color: var(--brand-blue-ink); text-decoration: none; }

/* Mobile-first: nav is an off-canvas drawer */
@media (max-width: 1023px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 22rem);
    background: var(--white);
    box-shadow: -8px 0 32px #0000001f;
    padding: var(--s-4) var(--s-1-25) var(--s-3);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    /* visibility keeps the closed drawer out of the tab order; delaying it until the
       slide-out finishes preserves the animation. */
    visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
    z-index: 120;
  }
  .main-nav__close { display: inline-flex; }
  .main-nav[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
    transition: transform .25s ease, visibility 0s;
  }
  .main-nav__sub { padding-left: var(--s-1); border-left: 2px solid var(--border); margin-block: var(--s-0-25); }
  .nav-backdrop {
    position: fixed; inset: 0; background: #0009; z-index: 110;
    opacity: 0; visibility: hidden; transition: opacity .25s;
  }

  /* The drawer lives inside .site-header, and that header is a stacking context
     (position: sticky + z-index: 100). The drawer's z-index: 120 is therefore scoped
     *inside* that context, so the root-level backdrop (z-index: 110) painted over the
     whole header subtree and swallowed every click on the menu. Lifting the header
     above the backdrop while the drawer is open puts its subtree back on top. */
  body[data-nav-open="true"] .site-header { z-index: 130; }
  .nav-backdrop[data-open="true"] { opacity: 1; visibility: visible; }
  body[data-nav-open="true"] { overflow: hidden; }
}

@media (min-width: 1024px) {
  .nav-toggle, .nav-backdrop { display: none; }
  .main-nav { display: block !important; visibility: visible; transform: none; }
  .main-nav__list { display: flex; align-items: center; gap: var(--s-0-25); }
  .main-nav__item { position: relative; }
  .main-nav__link { padding: var(--s-0-75) var(--s-1); white-space: nowrap; }

  .main-nav__sub {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 17rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--s-0-5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: var(--transition);
  }
  .main-nav__item--has-children:hover .main-nav__sub,
  .main-nav__item--has-children:focus-within .main-nav__sub {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
  .main-nav__item--has-children:hover .dropdown-caret { transform: rotate(180deg); }
  .main-nav__sub a { padding: var(--s-0-75); border-radius: var(--radius-sm); }
  .main-nav__sub a:hover { background: var(--neutral-lightest); }
}

/* --- Hero carousel ------------------------------------------------------ */

.hero { position: relative; background: var(--brand-navy); overflow: hidden; }
.hero__viewport { position: relative; }

.hero__slide {
  position: relative;
  display: none;
  min-height: clamp(26rem, 52vh, 34rem);
  background-size: cover;
  background-position: center;
}
.hero__slide[data-active="true"] { display: block; animation: heroFade .5s ease; }

@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }

.hero__slide::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #12283fe6 0%, #12283fb3 45%, #12283f4d 100%);
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(26rem, 52vh, 34rem);
  padding-block: var(--s-3);
  max-width: 40rem;
  color: var(--white);
}
.hero__content h2 { color: var(--white); font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); }
.hero__content p, .hero__content li { color: #e3ecf5; }
.hero__text { margin-bottom: var(--s-1-5); font-size: 1.0625rem; }
.hero__text ul { padding-left: 1.25rem; }

.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #ffffff26;
  border: 1px solid #ffffff4d;
  border-radius: var(--radius-pill);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}
.hero__nav:hover { background: #ffffff40; }
.hero__nav--prev { left: var(--s-1); transform: translateY(-50%) rotate(180deg); }
.hero__nav--next { right: var(--s-1); }

.hero__dots {
  position: absolute;
  bottom: var(--s-1-25);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--s-0-5);
  z-index: 2;
}
.hero__dot {
  width: 10px; height: 10px; padding: 0;
  border: 0; border-radius: 50%;
  background: #ffffff80;
  cursor: pointer;
  transition: var(--transition);
}
.hero__dot[aria-current="true"] { background: var(--white); width: 28px; border-radius: var(--radius-pill); }

@media (max-width: 767px) {
  .hero__nav { display: none; }
}

/* --- Page hero (inner pages) -------------------------------------------- */

.page-hero {
  position: relative;
  background: var(--brand-navy) center / cover no-repeat;
  color: var(--white);
  padding-block: var(--s-4);
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #12283fd9, #12283fbf);
}
.page-hero > .container { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: var(--s-0-5); }
.page-hero p { color: #d3e0ed; max-width: 44rem; margin-inline: auto; }

/* --- Breadcrumbs -------------------------------------------------------- */

.breadcrumbs { margin-top: var(--s-1); }
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--s-0-5); list-style: none; margin: 0; padding: 0;
  font-size: .875rem;
}
.breadcrumbs li { display: flex; align-items: center; gap: var(--s-0-5); color: #c5d3e2; }
.breadcrumbs li + li::before { content: "/"; color: #ffffff59; }
.breadcrumbs a { color: #c5d3e2; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs [aria-current="page"] { color: var(--white); }

/* --- Rich text / prose -------------------------------------------------- */

.prose { font-size: 1.0313rem; line-height: 1.8; color: var(--text-primary); }
.prose > * + * { margin-top: var(--s-1); }
.prose h2 { margin-top: var(--s-2-5); }
.prose h3, .prose h4 { margin-top: var(--s-2); }
.prose ul, .prose ol { padding-left: 1.5rem; margin-block: var(--s-1); }
.prose li + li { margin-top: var(--s-0-25); }
.prose img { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin-block: var(--s-1-5); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote {
  margin: var(--s-1-5) 0;
  padding: var(--s-1) var(--s-1-5);
  border-left: 3px solid var(--brand-blue);
  background: var(--bg-secondary);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-secondary);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
}
.prose th, .prose td { padding: var(--s-0-75); border: 1px solid var(--border); text-align: left; }
.prose th { background: var(--bg-secondary); font-weight: 600; }

.table-wrap { overflow-x: auto; margin-block: var(--s-1-5); }

/* --- Blocks ------------------------------------------------------------- */

.block + .block { margin-top: var(--s-3); }
.block--flush + .block--flush { margin-top: 0; }

.figure { margin: 0; }
.figure--narrow { max-width: 32rem; margin-inline: auto; }
.figure--normal { max-width: 48rem; margin-inline: auto; }
.figure--wide { max-width: 64rem; margin-inline: auto; }
.figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.figure figcaption {
  margin-top: var(--s-0-75);
  font-size: .875rem;
  color: var(--text-secondary);
  text-align: center;
}

.quote-block {
  display: flex; gap: var(--s-1);
  padding: var(--s-1-5);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--brand-blue);
}
.quote-block__icon { color: var(--brand-blue); flex: none; }
.quote-block p { font-size: 1.0625rem; }
.quote-block cite { display: block; margin-top: var(--s-0-5); font-size: .9375rem; color: var(--text-secondary); font-style: normal; }

.two-col { display: grid; gap: var(--s-2-5); align-items: center; }
@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col--image-right .two-col__media { order: 2; }
}
.two-col__media img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow); }

.stats { display: grid; gap: var(--s-1-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); text-align: center; }
.stat__value { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 600; color: var(--brand-blue); line-height: 1.1; }
.stat__label { color: var(--text-secondary); font-size: .9375rem; }

.cta-band {
  padding: var(--s-3);
  border-radius: var(--radius-xl);
  text-align: center;
}
.cta-band--navy { background: var(--brand-navy); color: var(--white); }
.cta-band--navy h2, .cta-band--navy h3 { color: var(--white); }
.cta-band--navy p { color: #c5d3e2; }
.cta-band--light { background: var(--bg-secondary); }
.cta-band--blue { background: var(--brand-blue-ink); color: var(--white); }
.cta-band--blue h2, .cta-band--blue h3 { color: var(--white); }
.cta-band--blue p { color: #eaf4fd; }
.cta-band p { margin-bottom: var(--s-1-5); max-width: 42rem; margin-inline: auto; }

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
}
.faq__item + .faq__item { margin-top: var(--s-0-75); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-1);
  padding: var(--s-1-25);
  background: none; border: 0;
  font: inherit; font-weight: 500; text-align: left;
  color: var(--text-primary);
  cursor: pointer;
}
.faq__q:hover { background: var(--bg-secondary); }
.faq__icon { flex: none; transition: transform .2s; color: var(--brand-blue); }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 var(--s-1-25) var(--s-1-25); color: var(--text-secondary); }
.faq__a[hidden] { display: none; }

.embed-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--brand-navy-dark);
}
.embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-block__caption {
  margin-top: var(--s-0-75);
  font-size: .875rem;
  color: var(--text-secondary);
  text-align: center;
}

/* Promo video: capped so it stays a feature rather than a wall of video on wide screens. */
.promo-video__frame { max-width: 60rem; margin-inline: auto; }
.promo-video .embed-wrap { box-shadow: var(--shadow-xl); }

/* The promo video and the intro blocks under it read as one unit, so they use a tighter
   45px rhythm instead of the 3rem/6rem section default that would split them apart.
   Declared after the `.section` rules above so the shorthand doesn't win on source order. */
.promo-video { padding-bottom: 45px; }
.section--home-intro { padding-top: 45px; }
/* Targets the `block-<type>` wrappers `include_block` emits, not `.block` itself:
   each `.block` sits inside its own wrapper, so the two are never adjacent siblings
   and `.block + .block` matches nothing here. */
.section--home-intro > .container > * + * { margin-top: 45px; }

/* --- Service areas ------------------------------------------------------ */

.area-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 15rem;
  display: flex;
  align-items: flex-end;
  background: var(--brand-navy);
  box-shadow: var(--shadow);
}
.area-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.area-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #12283f00 30%, #12283fe6 100%);
}
.area-card__body { position: relative; padding: var(--s-1-5); color: var(--white); z-index: 1; }
.area-card__body h3 { color: var(--white); margin-bottom: var(--s-0-25); font-size: 1.25rem; }
.area-card__body p { color: #d3e0ed; font-size: .9375rem; }

/* --- Pagination --------------------------------------------------------- */

.pagination {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: var(--s-0-5);
  margin-top: var(--s-3);
  list-style: none; padding: 0;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding-inline: var(--s-0-75);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: .9375rem;
}
.pagination a:hover { background: var(--bg-secondary); text-decoration: none; border-color: var(--neutral-light); }
.pagination [aria-current="page"] { background: var(--brand-navy); border-color: var(--brand-navy); color: var(--white); font-weight: 500; }

/* --- Footer ------------------------------------------------------------- */

.site-footer {
  background: var(--brand-navy-dark);
  color: #b9c8d8;
  padding-top: var(--s-4);
  font-size: .9375rem;
}
.site-footer h2, .site-footer h3 { color: var(--white); font-size: 1.0625rem; font-weight: 600; margin-bottom: var(--s-1); }
.site-footer a { color: #b9c8d8; }
.site-footer a:hover { color: var(--white); text-decoration: none; }

.footer-grid {
  display: grid;
  gap: var(--s-2-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  padding-bottom: var(--s-3);
}
.footer-col--brand { grid-column: span 1; }
@media (min-width: 1024px) { .footer-col--brand { grid-column: span 1; max-width: 24rem; } }

.footer-logo img { height: 64px; width: auto; margin-bottom: var(--s-1); }

.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li + li { margin-top: var(--s-0-5); }
.footer-list a { display: inline-flex; align-items: flex-start; gap: var(--s-0-5); }

.footer-contact li { display: flex; align-items: flex-start; gap: var(--s-0-75); }
.footer-contact .icon { flex: none; margin-top: 3px; color: var(--neutral-light); }

.footer-office + .footer-office { margin-top: var(--s-1-25); }
.footer-office strong { color: var(--white); display: block; font-weight: 600; }

.footer-bottom {
  border-top: 1px solid #ffffff1f;
  padding-block: var(--s-1-25);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s-0-75);
  font-size: .875rem;
}

/* --- Floating contact --------------------------------------------------- */

.float-contact {
  position: fixed;
  right: var(--s-1);
  bottom: var(--s-1);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: var(--s-0-5);
}
.float-contact__btn {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.float-contact__btn:hover { transform: scale(1.06); color: var(--white); }
.float-contact__btn--line { background: #06c755; }
.float-contact__btn--phone { background: var(--brand-navy); }

@media print {
  .site-header, .topbar, .site-footer, .float-contact, .hero__nav, .hero__dots { display: none !important; }
}
