/* =========================================================================
   HHLegalCo — Core Stylesheet
   A bespoke identity for a premium Islamabad law firm.
   Palette: ink navy, royal blue, and paper white, nothing borrowed.
   Type: Fraunces (display) paired with Inter (text/UI).
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------------------- */
:root {
  /* Color: deep navy through royal blue, resting on near-white paper */
  --ink: #0b1c34;              /* primary text, deepest navy */
  --navy: #0f2a4d;             /* header / footer / dark sections */
  --navy-700: #16345c;
  --blue-royal: #1c4f91;       /* primary brand accent */
  --blue-bright: #2f6fd1;      /* interactive / hover accent */
  --blue-mist: #eef3fa;        /* tinted section backgrounds */
  --blue-mist-deep: #dfe9f7;
  --paper: #fcfdfe;            /* page background */
  --white: #ffffff;
  --slate: #55677e;            /* secondary text */
  --slate-light: #8695a8;      /* tertiary / muted text */
  --line: #dde5ef;             /* hairline borders */
  --line-strong: #c3d1e3;

  /* Type */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Rhythm */
  --gutter: clamp(24px, 5vw, 64px);
  --radius-sm: 3px;
  --radius-md: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-soft: 0 1px 2px rgba(11, 28, 52, 0.04), 0 12px 32px -16px rgba(11, 28, 52, 0.12);
  --shadow-lift: 0 20px 48px -20px rgba(11, 28, 52, 0.28);
}

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

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; background: none; border: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Visible keyboard focus, always */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: 860px;
}

section { position: relative; }

/* -------------------------------------------------------------------------
   3. Type scale
   ------------------------------------------------------------------------- */
.display-1 {
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  font-weight: 600;
  font-optical-sizing: auto;
}

.display-2 {
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  font-weight: 600;
}

.display-3 {
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 600;
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  color: var(--slate);
  line-height: 1.65;
  font-weight: 400;
}

.body-text {
  font-size: 1.03rem;
  color: var(--slate);
  line-height: 1.75;
}

/* The clause eyebrow: our recurring structural device.
   Legal documents number their clauses; we borrow that grammar
   to label sections, so the numbering always means something. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-royal);
}

.eyebrow::before {
  content: '§';
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.eyebrow--on-dark { color: #9dc0f2; }

/* -------------------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-royal);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--blue-royal);
  color: var(--blue-royal);
  transform: translateY(-2px);
}

.btn-on-dark {
  background: var(--white);
  color: var(--navy);
}

.btn-on-dark:hover {
  background: var(--blue-mist);
  transform: translateY(-2px);
}

.btn-outline-on-dark {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline-on-dark:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-arrow {
  transition: transform 0.35s var(--ease);
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue-royal);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), gap 0.25s var(--ease);
}

.text-link:hover {
  border-color: var(--blue-royal);
  gap: 12px;
}

/* -------------------------------------------------------------------------
   5. Header / navigation
   ------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 22px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
  /* Default (unscrolled) state overlays a dark hero/page-intro section, so header
     text needs to be light. These variables get flipped in .is-scrolled below. */
  --header-text: #ffffff;
  --header-text-muted: rgba(255, 255, 255, 0.75);
  --header-accent: #a9c8f5;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(252, 253, 254, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(11, 28, 52, 0.25);
  --header-text: var(--ink);
  --header-text-muted: var(--slate);
  --header-accent: var(--blue-royal);
}

/* Logo lockup: a monogram mark beside a wordmark, in the firm's own hand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.32rem;
  color: var(--header-text, var(--ink));
  letter-spacing: -0.01em;
  transition: color 0.4s var(--ease);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(11, 28, 52, 0.15);
}

.brand-word em {
  font-style: normal;
  color: var(--header-accent, var(--blue-royal));
  transition: color 0.4s var(--ease);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  position: relative;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--header-text, var(--ink));
  padding: 6px 0;
  transition: color 0.4s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--header-accent, var(--blue-royal));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover::after,
.nav-links a[aria-current='page']::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a[aria-current='page'] {
  color: var(--header-accent, var(--blue-royal));
}

/* --- Dropdown nav (Our Team / Services) --- */
.nav-links .has-dropdown > .nav-top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-caret {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.has-dropdown:hover .nav-caret,
.has-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  padding: 10px;
  margin-top: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  z-index: 40;
  max-height: 70vh;
  overflow-y: auto;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 5px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.nav-dropdown a::after { display: none; }

.nav-dropdown a:hover {
  background: var(--blue-mist);
  color: var(--blue-royal);
}

.nav-dropdown-view-all {
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 10px !important;
  font-weight: 600 !important;
  color: var(--blue-royal) !important;
}

@media (max-width: 920px) {
  .has-dropdown > .nav-top-link { pointer-events: none; }
  .nav-caret { display: none; }
  .nav-dropdown {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    margin: 10px 0 0 0;
    padding: 0 0 0 18px;
    max-height: none;
    background: transparent;
  }
  /* #main-nav prefix boosts specificity above ".nav-links a" (section 6 below),
     since dropdown links are technically nested inside .nav-links too and would
     otherwise inherit the oversized 1.7rem top-level nav font by source order. */
  #main-nav .nav-dropdown a {
    font-size: 1.05rem;
    font-family: var(--font-body);
    padding: 9px 0;
    color: var(--slate);
  }
  .nav-dropdown-view-all { border-top: none; color: var(--blue-royal) !important; }
}

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--header-text-muted, var(--slate));
  transition: color 0.4s var(--ease);
}

.nav-phone svg { width: 15px; height: 15px; stroke: var(--header-accent, var(--blue-royal)); transition: stroke 0.4s var(--ease); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  z-index: 600;
}

.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--header-text, var(--ink));
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.4s var(--ease);
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------------------------------------------------
   6. Mobile navigation
   ------------------------------------------------------------------------- */
@media (max-width: 920px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 104px var(--gutter) 60px;
    gap: 40px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    visibility: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    /* The mobile overlay always has a light background, so force dark text
       here regardless of the page's scroll state. */
    --header-text: var(--ink);
    --header-text-muted: var(--slate);
    --header-accent: var(--blue-royal);
  }

  /* The toggle button sits on top of the light overlay once open, even
     though it lives outside .main-nav, so it needs its own override. */
  .nav-toggle[aria-expanded='true'] span {
    background: var(--ink);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .nav-links a { font-size: 1.7rem; font-family: var(--font-display); }
  .nav-cta { flex-direction: column; align-items: flex-start; gap: 22px; }
}

/* -------------------------------------------------------------------------
   7. Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 200px 0 140px;
  overflow: hidden;
}

/* Signature motif: a faint colonnade, columns of varying height,
   the architecture of institutions rendered as pure line */
.colonnade {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 var(--gutter);
  opacity: 0.5;
  pointer-events: none;
}

.colonnade span {
  width: 1px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

.hero .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: end;
}

.hero-eyebrow {
  margin-bottom: 26px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.7rem, 5.6vw, 4.9rem);
  max-width: 15ch;
}

.hero h1 em {
  font-style: normal;
  color: #a9c8f5;
}

.hero-lede {
  margin-top: 26px;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  flex-wrap: wrap;
}

.hero-aside {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 36px;
}

.hero-aside p {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 40px;
  margin-top: 90px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--white);
  font-weight: 600;
}

.stat-label {
  margin-top: 6px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
}

@media (max-width: 860px) {
  .hero { padding: 150px 0 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-aside { border-left: none; border-top: 1px solid rgba(255,255,255,0.18); padding-left: 0; padding-top: 24px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
}

/* -------------------------------------------------------------------------
   8. Sections, generic
   ------------------------------------------------------------------------- */
.section { padding: 120px 0; }
.section--tight { padding: 90px 0; }
.section--mist { background: var(--blue-mist); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .body-text { color: rgba(255,255,255,0.68); }
.section--bordered { border-top: 1px solid var(--line); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 64px;
}

.section-head h2 { margin-top: 18px; max-width: 18ch; }
.section-head .lede { margin-top: 18px; max-width: 42ch; }
.section-head-side { max-width: 360px; text-align: right; }

@media (max-width: 760px) {
  .section { padding: 84px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head-side { text-align: left; }
}

/* -------------------------------------------------------------------------
   9. Reveal-on-scroll
   ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.34s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.42s; }

/* -------------------------------------------------------------------------
   10. Practice / value grid (Home + Services share this component)
   ------------------------------------------------------------------------- */
.clause-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.clause-card {
  background: var(--white);
  padding: 44px 38px;
  transition: background 0.35s var(--ease);
}

.clause-card:hover { background: var(--blue-mist); }

.clause-num {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue-royal);
}

.clause-card h3 {
  margin-top: 18px;
  font-size: 1.28rem;
}

.clause-card p {
  margin-top: 14px;
  color: var(--slate);
  font-size: 0.96rem;
  line-height: 1.7;
}

.clause-card .text-link { margin-top: 22px; }

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

/* -------------------------------------------------------------------------
   11. Attorney cards (Home preview + About deep-dive)
   ------------------------------------------------------------------------- */
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* Used for the 3-person "Also on the Team" grid on individual bio pages */
.people-grid.people-grid--trio {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1180px) {
  .people-grid,
  .people-grid.people-grid--trio {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

.person-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.person-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}

.person-portrait {
  position: relative;
  aspect-ratio: 4 / 4.6;
  background: linear-gradient(155deg, var(--navy) 0%, var(--blue-royal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.person-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 34px);
}

.person-initials {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.person-body { padding: 30px 30px 32px; }

.person-name { font-size: 1.2rem; }

.person-title {
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-royal);
  letter-spacing: 0.01em;
}

.person-blurb {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.7;
}

.person-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.person-tags span {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  color: var(--slate);
}

@media (max-width: 900px) {
  .people-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/* -------------------------------------------------------------------------
   12. Logos / trust strip
   ------------------------------------------------------------------------- */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px 44px;
  padding: 40px 0;
}

.trust-strip span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--slate-light);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* -------------------------------------------------------------------------
   13. CTA band
   ------------------------------------------------------------------------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 72px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-band h2 { color: var(--white); max-width: 20ch; }
.cta-band p { margin-top: 14px; color: rgba(255,255,255,0.68); max-width: 42ch; }
.cta-band-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* -------------------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.68);
  padding: 90px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .brand { color: var(--white); }
.footer-brand .brand-mark { background: var(--white); color: var(--navy); }
.footer-brand p { margin-top: 20px; max-width: 34ch; font-size: 0.92rem; line-height: 1.75; }

.footer-heading {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
}

.footer-links li { margin-bottom: 13px; }
.footer-links a { font-size: 0.92rem; transition: color 0.25s var(--ease); }
.footer-links a:hover { color: var(--white); }

.footer-contact li { margin-bottom: 15px; font-size: 0.92rem; line-height: 1.6; }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 30px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.footer-social a:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); }
.footer-social svg { width: 15px; height: 15px; stroke: var(--white); }

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

/* -------------------------------------------------------------------------
   15. Breadcrumb / page intro (About, Services, FAQ, Contact headers)
   ------------------------------------------------------------------------- */
.page-intro {
  background: var(--navy);
  color: var(--white);
  padding: 168px 0 96px;
  position: relative;
  overflow: hidden;
}

.page-intro .container { position: relative; z-index: 2; }
.page-intro h1 { color: var(--white); max-width: 20ch; }
.page-intro .lede { margin-top: 20px; max-width: 56ch; color: rgba(255,255,255,0.7); }

.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 22px;
}
.crumb a:hover { color: var(--white); }

/* -------------------------------------------------------------------------
   16. Utility
   ------------------------------------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.hide-mobile { display: initial; }
@media (max-width: 760px) { .hide-mobile { display: none !important; } }

.divider {
  height: 1px;
  background: var(--line);
  width: 100%;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy);
  color: var(--white);
  padding: 14px 22px;
  z-index: 1000;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: 20px;
  top: 20px;
}
