/* ==========================================================================
   Cornerstone Financial Solutions — site.css
   Design language: clean white foundation + isometric geometry drawn from
   the cube mark. The mark's face edges run at a slope of 1.8 (dx/dy); that
   same ratio drives every angled cut on the site, so the geometry reads as
   one system rather than decoration.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy:        #062a5e;
  --teal:        #41b6c8;

  /* Navy ramp (mixed toward white / black for depth) */
  --navy-950:    #041c40;
  --navy-800:    #0a3874;
  --navy-700:    #14498c;
  --navy-100:    #e7eef7;
  --navy-050:    #f4f7fb;

  /* Teal ramp */
  --teal-700:    #2b8fa1;
  --teal-100:    #e2f4f7;

  /* Neutrals */
  --ink:         #101c2e;
  --body:        #45536a;
  --muted:       #6b7891;
  --line:        #dfe5ee;
  --line-soft:   #eef2f7;
  --white:       #ffffff;
  --shell:       #f7f9fc;

  /* Typography */
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale */
  --fs-display: clamp(2.5rem, 1.4rem + 4.4vw, 4.5rem);
  --fs-h1:      clamp(2.05rem, 1.4rem + 2.7vw, 3.25rem);
  --fs-h2:      clamp(1.65rem, 1.25rem + 1.7vw, 2.5rem);
  --fs-h3:      clamp(1.15rem, 1.02rem + 0.5vw, 1.4rem);
  --fs-lead:    clamp(1.06rem, 0.99rem + 0.34vw, 1.28rem);
  --fs-body:    1rem;
  --fs-sm:      0.9375rem;
  --fs-xs:      0.8125rem;

  /* Spacing */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 2.75rem;  --sp-8: 3.5rem;
  --sp-9: 5rem;     --sp-10: 7rem;

  /* Layout */
  --container: 1180px;
  --container-narrow: 860px;
  --gutter: clamp(1.25rem, 0.7rem + 2.2vw, 2.5rem);
  --header-h: 84px;

  /* Geometry — the logo's own edge slope */
  --iso-slope: 1.8;
  --cut-y: 20px;                                  /* vertical leg of a corner cut */
  --cut-x: 36px;                                  /* 20 x 1.8, matching the mark  */

  /* Effects */
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(6, 42, 94, 0.06), 0 2px 8px rgba(6, 42, 94, 0.04);
  --shadow-md: 0 4px 12px rgba(6, 42, 94, 0.07), 0 12px 32px rgba(6, 42, 94, 0.07);
  --shadow-lg: 0 8px 24px rgba(6, 42, 94, 0.10), 0 24px 60px rgba(6, 42, 94, 0.10);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0 0 var(--sp-4);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.022em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.012em; line-height: 1.3; }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-700); text-decoration: none; transition: color 0.18s var(--ease); }
a:hover { color: var(--navy); }

img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.15em; }
li { margin-bottom: var(--sp-2); }
strong { color: var(--ink); font-weight: 700; }

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

::selection { background: var(--teal); color: var(--navy); }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.section--tint  { background: var(--navy-050); }
.section--shell { background: var(--shell); }

/* Navy section, with the angled top edge that echoes the mark */
.section--navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  position: relative;
}
.section--navy h2,
.section--navy h3 { color: var(--white); }
.section--navy strong { color: var(--white); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy);
  color: var(--white);
  padding: var(--sp-3) var(--sp-5);
  font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--white); }

/* --------------------------------------------------------------------------
   4. Type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  margin: 0 0 var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--on-navy { color: var(--teal); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--body);
}
.section--navy .lead { color: rgba(255, 255, 255, 0.8); }

.section-head { max-width: 720px; margin-bottom: var(--sp-8); }
.section-head--center { margin-inline: auto; text-align: center; }

.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-cut: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
  /* corner cut on the trailing edge, at the mark's 1.8 slope */
  clip-path: polygon(
    0 0,
    calc(100% - (var(--btn-cut) * 1.8)) 0,
    100% var(--btn-cut),
    100% 100%,
    calc(var(--btn-cut) * 1.8) 100%,
    0 calc(100% - var(--btn-cut))
  );
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--lg svg { width: 19px; height: 19px; }

.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-800); color: var(--white); }

.btn--teal { background: var(--teal); color: var(--navy); }
.btn--teal:hover { background: #55c6d7; color: var(--navy); }

/* Secondary buttons use a tinted fill rather than a border: clip-path cuts a
   border along with the box, which leaves the outline visibly broken at the
   angled corners. A fill keeps the geometry clean on every button. */
.btn--outline {
  background: var(--navy-100);
  color: var(--navy);
  border-color: transparent;
}
.btn--outline:hover { background: #d8e4f2; color: var(--navy); }

.btn--on-navy {
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
  border-color: transparent;
}
.btn--on-navy:hover { background: rgba(255, 255, 255, 0.22); color: var(--white); }

.btn--lg { padding: 1.1em 2.1em; font-size: var(--fs-body); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}
.btn-row--center { justify-content: center; }

/* --------------------------------------------------------------------------
   6. Announcement banner
   -------------------------------------------------------------------------- */
.announce {
  background: var(--teal);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
}
.announce__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding-block: 0.55rem;
  /* keep centred text clear of the close button at every width */
  padding-inline: calc(var(--gutter) + 2rem);
  text-align: center;
}
.announce__text { margin: 0; line-height: 1.45; }
.announce a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.announce a:hover { color: var(--navy-800); }

.announce__close {
  position: absolute;
  right: calc(var(--gutter) - 0.5rem);
  top: 50%;
  translate: 0 -50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.18s var(--ease), background-color 0.18s var(--ease);
}
.announce__close svg { width: 15px; height: 15px; }
.announce__close:hover { opacity: 1; background: rgba(6, 42, 94, 0.1); }

@media (max-width: 620px) {
  .announce { font-size: 0.78rem; }
  .announce__inner { padding-inline: calc(var(--gutter) + 1.5rem); }
}

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.site-header.is-stuck {
  box-shadow: 0 1px 20px rgba(6, 42, 94, 0.08);
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

/* Logo lockup — inline SVG built from the official artwork's measurements.
   Sized by height; the 1078:274 viewBox carries the proportions. */
.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  transition: opacity 0.18s var(--ease);
}
.logo:hover { opacity: 0.82; }
.logo__lockup { height: 52px; width: auto; display: block; }

/* Nav */
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
/* The in-nav call button is for the mobile drawer only — the header already
   shows a phone link on desktop. */
.nav > .btn { display: none; }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list li { margin: 0; }
.nav__link {
  position: relative;
  display: inline-block;
  padding-block: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: var(--sp-4); flex: none; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1em;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; flex: none; color: var(--teal); }
.header-phone:hover { color: var(--teal-700); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex: none;
}
.nav-toggle__bars { position: relative; width: 20px; height: 2px; background: var(--navy); display: block; transition: background 0.2s var(--ease); }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.24s var(--ease), top 0.24s var(--ease);
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { top: 0; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* soft teal wash from the lower right, behind the facet art */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 620px at 88% 104%, rgba(65, 182, 200, 0.28), transparent 62%),
    radial-gradient(760px 520px at 6% -12%, rgba(20, 73, 140, 0.62), transparent 68%);
  z-index: -2;
}
.hero__facets {
  position: absolute;
  top: 50%;
  right: -6%;
  translate: 0 -50%;
  width: min(780px, 62%);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3.75rem, 2rem + 8vw, 7.5rem);
}

.hero h1 {
  color: var(--white);
  font-size: var(--fs-display);
  letter-spacing: -0.032em;
  line-height: 1.02;
  margin-bottom: var(--sp-4);
}
.hero h1 .accent { color: var(--teal); }

.hero__tagline {
  font-size: clamp(1.1rem, 0.98rem + 0.6vw, 1.45rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-5);
}
.hero__copy {
  max-width: 46ch;
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: var(--sp-6);
}
.hero .btn-row { margin-bottom: var(--sp-6); }

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.78);
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0;
}
.hero__points svg { width: 17px; height: 17px; color: var(--teal); flex: none; }

/* Hero card — the "at a glance" panel */
.hero__card {
  position: relative;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: clamp(1.6rem, 1rem + 2vw, 2.5rem);
  clip-path: polygon(0 0, calc(100% - 54px) 0, 100% 30px, 100% 100%, 54px 100%, 0 calc(100% - 30px));
}
.hero__card h2 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: var(--sp-5);
}
.hero__card ul { list-style: none; margin: 0; padding: 0; }
.hero__card li {
  display: flex;
  gap: 0.85em;
  align-items: flex-start;
  padding-block: 0.72rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
}
.hero__card li:first-child { border-top: 0; padding-top: 0; }
.hero__card li svg { width: 19px; height: 19px; color: var(--teal); flex: none; margin-top: 1px; }

/* --------------------------------------------------------------------------
   8. Trust strip
   -------------------------------------------------------------------------- */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
}
.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  padding-block: var(--sp-6);
}
.trust__item {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding-inline: var(--sp-4);
  border-left: 2px solid var(--teal);
}
.trust__item:first-child { padding-left: 0; border-left: 0; }
.trust__value {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.trust__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   9. Cards / grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.15rem);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease),
              border-color 0.24s var(--ease);
  /* clipped corner at the mark's slope */
  clip-path: polygon(
    0 0,
    calc(100% - var(--cut-x)) 0,
    100% var(--cut-y),
    100% 100%,
    0 100%
  );
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--navy-100); }

/* Whole-card links keep normal text colours rather than inheriting link blue */
a.card, a.card:hover { color: var(--body); }
a.card p { color: var(--body); }
a.card:hover h3 { color: var(--teal-700); }

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--sp-5);
  background: var(--teal-100);
  color: var(--navy);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 9px, 100% 100%, 16px 100%, 0 calc(100% - 9px));
}
.card__icon svg { width: 25px; height: 25px; }
.card h3 { margin-bottom: var(--sp-3); }
.card p { font-size: var(--fs-sm); }

/* Opt-in: reserve two heading lines so body copy starts at a consistent height
   in rows where some headings wrap and others do not. */
.grid--balance .card h3 { min-height: 2.6em; }
@media (max-width: 620px) { .grid--balance .card h3 { min-height: 0; } }

.card__list {
  list-style: none;
  margin: var(--sp-4) 0 0;
  padding: 0;
  font-size: var(--fs-sm);
}
.card__list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: var(--sp-2);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--teal);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* --------------------------------------------------------------------------
   10. Past-due spotlight
   -------------------------------------------------------------------------- */
.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}
.spotlight__stack { display: grid; gap: var(--sp-4); }
.spotlight__row {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  padding: var(--sp-5);
}
.spotlight__row h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.spotlight__row p { font-size: var(--fs-sm); margin: 0; }
.spotlight__num {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--teal-700);
  letter-spacing: 0.06em;
  flex: none;
  padding-top: 0.15rem;
}

/* --------------------------------------------------------------------------
   11. Process
   -------------------------------------------------------------------------- */
.process { counter-reset: step; }
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
}
.process__step { position: relative; padding-top: var(--sp-6); counter-increment: step; }
.process__step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--navy-100);
}
.process__step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 3px;
  background: var(--teal);
}
.process__num {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: var(--sp-3);
}
.process__step h3 { font-size: 1.05rem; margin-bottom: var(--sp-2); }
.process__step p { font-size: var(--fs-sm); margin: 0; }

/* --------------------------------------------------------------------------
   12. Dual-brand panel (Cornerstone + BC Tax)
   -------------------------------------------------------------------------- */
.brands__kicker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--sp-3) var(--sp-5);
  margin: 0 0 var(--sp-8);
  padding: 0;
  list-style: none;
  font-size: clamp(0.82rem, 0.74rem + 0.3vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
}
.brands__kicker li { margin: 0; display: flex; align-items: center; gap: var(--sp-5); }
.brands__kicker li + li::before {
  content: "";
  width: 1px;
  height: 1.1em;
  background: rgba(255, 255, 255, 0.28);
}

.brands__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-5);
  align-items: stretch;
}
.brand-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  padding: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem);
  clip-path: polygon(0 0, calc(100% - var(--cut-x)) 0, 100% var(--cut-y), 100% 100%, 0 100%);
}
.brand-card__logo {
  display: flex;
  align-items: center;
  min-height: 62px;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--line);
}
.brand-card__logo img { max-height: 54px; width: auto; }
.brand-card__role {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: var(--sp-3);
}
.brand-card ul { list-style: none; margin: 0; padding: 0; }
.brand-card li {
  display: flex;
  gap: 0.75em;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--body);
  margin-bottom: var(--sp-3);
}
.brand-card li:last-child { margin-bottom: 0; }
.brand-card li svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 3px; }

.brands__values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-7);
  padding-top: var(--sp-7);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.brands__value h3 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--sp-2);
  min-height: 2.4em; /* keeps the four descriptions on a common baseline */
}
@media (max-width: 620px) { .brands__value h3 { min-height: 0; } }
.brands__value p { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.75); margin: 0; }

/* --------------------------------------------------------------------------
   13. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding-block: var(--sp-5);
  border-top: 1px solid var(--line);
  margin: 0;
}
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  background: var(--teal-100);
  color: var(--navy);
}
.contact-list__icon svg { width: 20px; height: 20px; }
.contact-list__label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.contact-list__value {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
}
.contact-list__value a { color: var(--navy); }
.contact-list__value a:hover { color: var(--teal-700); }
.contact-list__note {
  display: block;
  margin-top: 0.15rem;
  font-size: var(--fs-sm);
  color: var(--muted);
  font-weight: 400;
}

.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--navy-050);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - var(--cut-x)) 0, 100% var(--cut-y), 100% 100%, 0 100%);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Big call-to-action band */
.cta-band { text-align: center; }
.cta-band h2 { color: var(--white); max-width: 21ch; margin-inline: auto; }
.cta-band p { max-width: 56ch; margin-inline: auto; }
.cta-phones {
  margin-top: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}
.cta-primary { margin: 0; }
.cta-primary__label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.45rem;
}
.cta-primary__num {
  display: inline-block;
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.35rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.cta-primary__num:hover { color: var(--teal); }

.cta-secondary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem 0.85rem;
  margin: var(--sp-5) 0 0;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.62);
}
.cta-secondary a { color: rgba(255, 255, 255, 0.86); font-weight: 600; }
.cta-secondary a:hover { color: var(--teal); }

/* CTA band on a light section */
.section--tint .cta-band h2,
.section--shell .cta-band h2 { color: var(--navy); }
.section--tint .cta-phones,
.section--shell .cta-phones { border-top-color: var(--line); }
.section--tint .cta-primary__label,
.section--shell .cta-primary__label { color: var(--teal-700); }
.section--tint .cta-primary__num,
.section--shell .cta-primary__num { color: var(--navy); }
.section--tint .cta-primary__num:hover,
.section--shell .cta-primary__num:hover { color: var(--teal-700); }
.section--tint .cta-secondary,
.section--shell .cta-secondary { color: var(--muted); }
.section--tint .cta-secondary a,
.section--shell .cta-secondary a { color: var(--navy); }
.section--tint .cta-secondary a:hover,
.section--shell .cta-secondary a:hover { color: var(--teal-700); }

/* --------------------------------------------------------------------------
   14. Page header (interior pages)
   -------------------------------------------------------------------------- */
.page-head {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(3rem, 2rem + 5vw, 5.5rem);
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 460px at 92% 118%, rgba(65, 182, 200, 0.26), transparent 64%);
  z-index: -2;
}
.page-head__facets {
  position: absolute;
  top: 50%;
  right: -4%;
  translate: 0 -50%;
  width: min(520px, 46%);
  opacity: 0.36;
  z-index: -1;
  pointer-events: none;
}
.page-head h1 { color: var(--white); margin-bottom: var(--sp-4); }
.page-head .lead { max-width: 58ch; color: rgba(255, 255, 255, 0.8); }

.breadcrumb {
  display: flex;
  gap: 0.55em;
  align-items: center;
  margin: 0 0 var(--sp-5);
  padding: 0;
  list-style: none;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.55);
}
.breadcrumb li { margin: 0; }
.breadcrumb a { color: rgba(255, 255, 255, 0.72); }
.breadcrumb a:hover { color: var(--teal); }

/* --------------------------------------------------------------------------
   15. Prose blocks (interior copy)
   -------------------------------------------------------------------------- */
.prose h2 { margin-top: var(--sp-8); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--sp-6); }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: var(--sp-3);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 9px;
  height: 9px;
  background: var(--teal);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.callout {
  background: var(--navy-050);
  border-left: 3px solid var(--teal);
  padding: var(--sp-5) var(--sp-6);
  margin-block: var(--sp-6);
}
.callout p { font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--fs-sm);
  padding-block: var(--sp-8) var(--sp-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: var(--sp-7) var(--sp-6);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .logo { margin-bottom: var(--sp-5); }
.footer-about { max-width: 34ch; }
.site-footer h3 {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-4);
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: var(--sp-3); }
.footer-list a { color: rgba(255, 255, 255, 0.68); }
.footer-list a:hover { color: var(--teal); }
.footer-list address { font-style: normal; line-height: 1.7; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3) var(--sp-5);
  padding-top: var(--sp-5);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom a:hover { color: var(--teal); }
.footer-bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   17. Reveal-on-scroll
   -------------------------------------------------------------------------- */
/* Content is visible by default and only hidden once JS has confirmed it is
   running — otherwise a JS failure would leave whole sections blank. */
.reveal { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }

  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); }
  .hero__facets { width: 66%; opacity: 0.3; right: -14%; }
  .hero__card { max-width: 560px; }

  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brands__values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spotlight { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .trust__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
  .trust__item:nth-child(3) { padding-left: 0; border-left: 0; }

  /* Mobile navigation.
     Anchored to the header itself (absolute + top:100%) rather than pinned to a
     fixed --header-h offset — otherwise the announcement banner pushes the
     header down and the drawer opens on top of it. */
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: var(--sp-5) var(--gutter) var(--sp-6);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line-soft); }
  .nav__link { display: block; padding-block: var(--sp-4); font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav > .btn { display: inline-flex; width: 100%; margin-top: var(--sp-5); }
}

@media (max-width: 620px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .process__grid { grid-template-columns: minmax(0, 1fr); }
  .brands__grid { grid-template-columns: minmax(0, 1fr); }
  .brands__values { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
  .trust__inner { grid-template-columns: minmax(0, 1fr); }
  .trust__item { padding-left: 0; border-left: 0; border-top: 2px solid var(--teal); padding-top: var(--sp-3); }
  .trust__item:first-child { border-top: 2px solid var(--teal); padding-top: var(--sp-3); }

  .logo__lockup { height: 38px; }

  /* Not enough room for the full number, but calling is the primary action on
     a phone — so it becomes a tappable icon button rather than disappearing. */
  .header-phone__num { display: none; }
  .header-phone {
    width: 44px;
    height: 44px;
    justify-content: center;
    background: var(--teal);
    clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 7px, 100% 100%, 13px 100%, 0 calc(100% - 7px));
  }
  .header-phone svg { width: 20px; height: 20px; color: var(--navy); }
  .header-phone:hover svg { color: var(--navy); }

  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .brands__kicker { flex-direction: column; gap: var(--sp-2); }
  .brands__kicker li + li::before { display: none; }
  .cta-phones { flex-direction: column; gap: var(--sp-5); }
  .hero__card { clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 20px, 100% 100%, 36px 100%, 0 calc(100% - 20px)); }
}

/* --------------------------------------------------------------------------
   19. Motion / print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav, .hero__facets, .map-frame, .btn { display: none !important; }
  body { color: #000; }
  .hero, .page-head, .section--navy, .site-footer { background: #fff !important; color: #000 !important; }
  .hero h1, .page-head h1, .section--navy h2, .section--navy h3 { color: #000 !important; }
}
