/* ══════════════════════════════════════════
   HEARING AID CENTER — OCEAN PARK, WA
   Global Stylesheet — WCAG 2.1 AA Compliant
   ══════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --navy:        #0c1e2d;
  --navy-mid:    #132a3a;
  --navy-deep:   #040a10;
  --teal-deep:   #1b5a54;
  --teal:        #1e7268;  /* darkened for 4.5:1 contrast on white */
  --teal-mid:    #2e9e91;
  --teal-light:  #6dd4c8;
  --teal-pale:   #b2ece6;
  --white:       #ffffff;
  --off-white:   #f2f8f7;
  --light-rule:  rgba(110,212,200,0.18);
  --text-body:   #1a2e38;  /* darker for contrast */
  --text-muted:  #3d5a64;  /* darkened to meet 4.5:1 on off-white */
  --font:        'Open Sans', sans-serif;
  --ease:        0.28s ease;
  --eout:        cubic-bezier(.16,1,.3,1);
  --r:           12px;
  --max:         1160px;
  --shadow:      0 6px 28px rgba(12,30,45,0.28);
  /* Focus ring — highly visible per WCAG 2.4.11 */
  --focus-ring:  0 0 0 3px #fff, 0 0 0 6px var(--teal-mid);
  --focus-ring-dark: 0 0 0 3px var(--navy), 0 0 0 6px var(--teal-light);

  /* ── Dark-section text tokens ───────────────────────────────────────────────
   * Warm teal-tinted near-whites — cohesive with the navy/teal palette.
   * Changing one value here updates every dark section at once.
   * All values verified against --navy (#0c1e2d) as the reference background.
   *   --text-on-dark:        14.7:1 ✓ AAA   headings
   *   --text-on-dark-body:   10.4:1 ✓ AAA   body paragraphs
   *   --text-on-dark-muted:   5.6:1 ✓ AA    labels, metadata            */
  --text-on-dark:        #e2f4f2;
  --text-on-dark-body:   rgba(208, 240, 236, .88);
  --text-on-dark-muted:  rgba(170, 218, 210, .68);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
/* Offset anchor scroll for fixed nav (~72px) */
main, section, [id] {
  scroll-margin-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--off-white);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; }

/* ── REDUCED MOTION — WCAG 2.3.3 ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .wave-track, .wave-track-2 { animation: none !important; }
  .reveal, .from-left, .from-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-text, .hero-logo-col { animation: none !important; opacity: 1 !important; }
}

/* ── SKIP LINK — WCAG 2.4.1 ── */
.skip {
  position: absolute;
  left: 1rem;
  top: -100%;
  background: var(--teal-mid);
  color: #fff;
  padding: .5rem 1.2rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 1rem;
  z-index: 9999;
  text-decoration: underline;
}
.skip:focus { top: 0; outline: none; box-shadow: var(--focus-ring); }

/* ── GLOBAL FOCUS STYLES — WCAG 2.4.7 & 2.4.11 ── */
:focus-visible {
  outline: 3px solid var(--teal-mid);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Remove default outline only when focus-visible is supported */
:focus:not(:focus-visible) { outline: none; }

/* ══════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 900;
  padding: .8rem 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(12,30,45,.92); backdrop-filter: blur(10px);
  transition: background var(--ease), padding var(--ease), box-shadow var(--ease);
}
.nav.scrolled {
  background: rgba(12,30,45,.99);
  padding: .55rem 2rem;
  box-shadow: 0 2px 20px rgba(0,0,0,.45);
}
.nav-logo img { height: 72px; width: auto; transition: height var(--ease); }
.nav.scrolled .nav-logo img { height: 52px; }

.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a {
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--ease);
  /* Minimum touch target padding */
  padding: 8px 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 4px; right: 100%;
  height: 2px;
  background: var(--teal-light);
  transition: right var(--ease);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after { right: 4px; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--teal-light); }
.nav-links a.active { color: var(--teal-light); }
.nav-links a.active::after { right: 4px; }
.nav-links a:focus-visible {
  outline: 3px solid var(--teal-light);
  outline-offset: 2px;
  border-radius: 3px;
}

.nav-phone {
  background: var(--teal-mid);
  color: #fff;
  padding: .55rem 1.3rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 700;
  transition: background var(--ease), transform var(--ease);
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-phone:hover { background: var(--teal-light); color: var(--navy); transform: translateY(-1px); }
.nav-phone:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Mobile nav toggle — min 44×44px tap target */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  padding: .55rem .8rem;
  border-radius: 6px;
  font-size: 1.2rem;
  transition: border-color var(--ease);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { border-color: var(--teal-light); }
.nav-toggle:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 2px; }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(12,30,45,.97);
  backdrop-filter: blur(12px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: color var(--ease);
  padding: 8px 16px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.mobile-menu a:hover { color: var(--teal-light); }
.mobile-menu a:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 4px; border-radius: 4px; }
.mobile-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: none;
  border: 2px solid rgba(255,255,255,.3);
  color: var(--teal-light);
  font-size: 1.4rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--ease), background var(--ease);
}
.mobile-close:hover { border-color: var(--teal-light); background: rgba(109,212,200,.1); }
.mobile-close:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; }

/* ══════════════════════════════════════════
   ANIMATED WAVE SEPARATORS
   ══════════════════════════════════════════ */
.wave-sep {
  display: block;
  overflow: hidden;
  line-height: 0;
  margin: 0; padding: 0;
  position: relative;
  height: 80px;
}
.wave-sep.tall  { height: 110px; }
.wave-sep.short { height: 50px; }
.wave-track {
  display: flex;
  width: 200%;
  height: 100%;
}
.wave-track svg  { flex: 0 0 50%; height: 100%; display: block; }
.wave-track.animate      { animation: waveScroll 16s linear infinite; }
.wave-track.animate-slow { animation: waveScroll 24s linear infinite; }
.wave-track.animate-rev  { animation: waveScroll 20s linear infinite reverse; }
@keyframes waveScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════
   SHARED SECTION STYLES
   ══════════════════════════════════════════ */
.sec    { padding: 4rem 2rem; }
.sec-sm { padding: 2.5rem 2rem; }
.inner  { max-width: var(--max); margin: 0 auto; }

.sec-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .55rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.sec-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}
.sec-title {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: .85rem;
}
.sec-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
/* On dark backgrounds */
.on-dark .sec-label  { color: var(--teal-light); }
.on-dark .sec-label::before { background: var(--teal-light); }
.on-dark .sec-title  { color: #fff; }
.on-dark .sec-sub    { color: rgba(210,240,236,.82); }
/* h3 headings in on-dark sections — the semantically correct heading level
   for card/component headings within sections that already have an h2.
   Component-specific rules (e.g. .cred h3) may also apply; this is the
   catch-all that ensures no h3 is ever invisible on a dark background.    */
.on-dark h3          { color: var(--text-on-dark); }

/* ── BUTTONS — min 44px touch target ── */
.btn-p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: linear-gradient(135deg, var(--teal-mid), var(--teal));
  color: #fff;
  padding: .75rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 4px 22px rgba(46,158,145,.38);
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  text-decoration: none;
}
.btn-p:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(46,158,145,.5); }
.btn-p:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: var(--focus-ring);
}

.btn-s {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: transparent;
  border: 2px solid rgba(255,255,255,.35);
  color: #fff;
  padding: .75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: border-color var(--ease), background var(--ease), color var(--ease);
  cursor: pointer;
  font-family: var(--font);
  text-decoration: none;
}
.btn-s:hover { border-color: var(--teal-light); background: rgba(109,212,200,.1); }
.btn-s:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .75rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  border: 2px solid rgba(109,212,200,.45);
  color: var(--teal-light);
  background: transparent;
  transition: border-color var(--ease), background var(--ease);
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--teal-light); background: rgba(109,212,200,.1); }
.btn-outline:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; }

/* ══════════════════════════════════════════
   HERO — FULL (HOME PAGE)
   ══════════════════════════════════════════ */
.hero-full {
  position: relative;
  min-height: 80vh;
  background: linear-gradient(160deg, var(--navy) 0%, #102435 45%, #183e4c 75%, var(--teal-deep) 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto;
  padding: 5.5rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}
.hero-text { animation: fadeUp .75s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(61,181,166,.18);
  border: 1px solid rgba(61,181,166,.35);
  color: var(--teal-pale);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: .38rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.6rem;
}
.hero-badge::before { content: '●'; font-size: .5rem; animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.hero-h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1.1rem;
}
.hero-h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--teal-light), var(--teal-pale));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub    { font-size: 1rem; color: rgba(210,240,236,.9); margin-bottom: .5rem; }
.hero-mission {
  font-size: .95rem;
  color: var(--teal-pale);
  font-style: italic;
  border-left: 3px solid var(--teal-mid);
  padding-left: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-hours { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.h-chip {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  padding: .55rem .9rem;
  color: var(--off-white);
  font-size: .8rem;
}
.h-chip b {
  color: var(--teal-light);
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .1rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-logo-col {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp .75s .2s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}
.hero-logo-col img {
  max-width: 600px;
  filter: drop-shadow(0 10px 44px rgba(61,181,166,.38));
}

/* ── HERO MINI (sub-pages) ── */
.hero-mini {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, #102435 55%, var(--teal-deep) 100%);
  padding: 8rem 2rem 2rem;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
}
.hero-mini-inner {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto; width: 100%;
}
.hero-mini h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: .5rem;
}
.hero-mini p {
  font-size: 1rem;
  color: rgba(210,240,236,.82);
  max-width: 520px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: rgba(178,236,230,.6);
  margin-bottom: .9rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--teal-light); transition: color var(--ease); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb a:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; border-radius: 2px; }
.breadcrumb-sep { opacity: .5; }

/* ══════════════════════════════════════════
   TRUST BAR
   ══════════════════════════════════════════ */
.trust {
  background: var(--navy);
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  border-bottom: 1px solid var(--light-rule);
}
.t-item {
  color: var(--teal-pale);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* ══════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════ */
.about-bg { background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 5rem;
  align-items: center;
}
.about-photo { position: relative; }
.about-photo img {
  width: 100%;
  max-width: 340px;
  border-radius: 22px;
}
.about-stamp {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--navy);
  color: #fff;
  padding: 1.3rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-stamp strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--teal-light);
  line-height: 1;
}
.about-stamp span {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .8;
}
.about-body {
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: .9rem;
  font-size: .97rem;
}
.values { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.3rem 0; }
.val {
  background: rgba(30,114,104,.1);
  border: 1px solid rgba(30,114,104,.28);
  color: var(--teal-deep);
  font-size: .78rem;
  font-weight: 700;
  padding: .28rem .8rem;
  border-radius: 50px;
}
.ins-box {
  background: var(--navy);
  color: var(--teal-pale);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  font-size: .85rem;
  margin-top: 1.4rem;
  line-height: 1.7;
}
.ins-box strong { color: var(--teal-light); }

/* Timeline */
.timeline { margin: 2.5rem 0; }
.tl-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 36px;
  bottom: -1.5rem;
  width: 2px;
  background: var(--light-rule);
}
.tl-item:last-child::before { display: none; }
.tl-year {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--teal-light);
  font-size: .72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: .03em;
  line-height: 1.2;
}
/* Timeline — light-section defaults (about-bg sections if ever used there) */
.tl-copy h3,
.tl-copy h4 { font-size: 1.07rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; padding-top: .8rem; }
.tl-copy p  { font-size: .98rem; color: var(--text-muted); line-height: 1.6; }

/* Timeline — dark-section overrides.
   Higher specificity (.on-dark .tl-copy vs .tl-copy) means these always
   win when the timeline is inside an on-dark section, regardless of
   cascade order. This is the correct structural fix — no inline styles. */
.on-dark .tl-copy h3,
.on-dark .tl-copy h4 { color: var(--text-on-dark); }
.on-dark .tl-copy p  { color: var(--text-on-dark-body); }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; margin-top: 2.5rem; }
.t-card {
  background: var(--navy);
  border-radius: 16px;
  padding: 1.8rem;
  position: relative;
}
.t-card::before {
  content: '\201C';
  position: absolute;
  top: .8rem; left: 1.2rem;
  font-size: 3rem;
  color: var(--teal-mid);
  line-height: 1;
  font-family: Georgia, serif;
}
.t-quote {
  font-size: .9rem;
  font-style: italic;
  color: var(--teal-pale);
  line-height: 1.7;
  margin-bottom: .9rem;
  padding-top: 1.2rem;
}
.t-cite { font-size: .75rem; color: var(--teal-light); font-weight: 700; }

/* Credentials */
.creds { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2rem; }
.cred {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--light-rule);
  border-radius: 12px;
  padding: 1.4rem;
  text-align: center;
}
.cred-icon { font-size: 1.6rem; margin-bottom: .6rem; display: flex; align-items: center; justify-content: center; }
.cred-icon svg { display: block; }
.cred h3,
.cred h4   { color: var(--text-on-dark); font-size: .85rem; font-weight: 700; margin-bottom: .3rem; }
.cred p    { color: var(--teal-pale); font-size: .78rem; line-height: 1.5; }
.cred a    { color: var(--teal-light); text-decoration: underline; text-underline-offset: 3px; }

/* ══════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════ */
.serv-bg { background: var(--navy); }
.serv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.s-card {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--light-rule);
  border-radius: var(--r);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
  cursor: pointer;
  text-decoration: none;
}
.s-card:hover, .s-card:focus-visible {
  background: rgba(46,158,145,.14);
  border-color: rgba(109,212,200,.5);
  transform: translateY(-3px);
}
.s-card:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 2px; }
.s-bar {
  width: 28px; height: 2px;
  background: var(--teal-mid);
  border-radius: 1px;
  margin-bottom: .3rem;
  transition: width var(--ease);
}
.s-card:hover .s-bar { width: 52px; }
.s-name  { color: #fff; font-weight: 700; font-size: .97rem; }
.s-desc  { color: var(--teal-pale); font-size: .86rem; line-height: 1.65; flex: 1; }
.s-arrow {
  color: var(--teal-light);
  font-size: .78rem;
  font-weight: 700;
  margin-top: .4rem;
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: gap var(--ease);
}
.s-card:hover .s-arrow { gap: .6rem; }

/* Service detail sections */
.serv-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--light-rule);
}
.serv-detail:last-of-type { border-bottom: none; }
.serv-detail.reverse { direction: rtl; }
.serv-detail.reverse > * { direction: ltr; }
.serv-detail-icon { font-size: 3rem; margin-bottom: 1rem; }
.serv-detail h3 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: .9rem; }
.serv-detail p  { color: var(--text-muted); line-height: 1.82; margin-bottom: .8rem; font-size: .97rem; }
.serv-detail ul { color: var(--text-muted); font-size: .9rem; line-height: 1.75; padding-left: 1.4rem; margin-bottom: 1rem; }
.serv-detail li { margin-bottom: .35rem; }
.serv-img {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}
.serv-img img { width: 100%; height: 380px; object-fit: cover; }
.serv-img-ph {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, rgba(46,158,145,.15), rgba(27,90,84,.3));
  border: 2px dashed rgba(109,212,200,.3);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--teal-pale);
  text-align: center;
}
.serv-img-ph span { font-size: 2rem; opacity: .5; }
.serv-img-ph p { font-size: .8rem; font-weight: 600; }

/* ══════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════ */
.faq-bg  { background: var(--navy-mid); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

details {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--light-rule);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color var(--ease), background var(--ease);
}
details[open] {
  border-color: rgba(109,212,200,.48);
  background: rgba(46,158,145,.08);
}
summary {
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  /* Minimum touch target */
  min-height: 44px;
  transition: color var(--ease);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--teal-light);
  transition: transform var(--ease);
  line-height: 1;
}
details[open] summary { color: var(--teal-light); }
details[open] summary::after { transform: rotate(45deg); }
summary:focus-visible {
  outline: 3px solid var(--teal-light);
  outline-offset: -3px;
}
.faq-a {
  padding: 0 1.5rem 1.2rem;
  color: var(--teal-pale);
  font-size: .88rem;
  line-height: 1.75;
}
/* Light-bg FAQ variant */
.faq-light details { background: #fff; border-color: rgba(30,114,104,.18); }
.faq-light details[open] { border-color: var(--teal); background: rgba(30,114,104,.04); }
.faq-light summary { color: var(--navy); }
.faq-light details[open] summary { color: var(--teal); }
.faq-light summary::after { color: var(--teal); }
.faq-light .faq-a { color: var(--text-muted); }

/* ══════════════════════════════════════════
   CALLOUT CARDS
   ══════════════════════════════════════════ */
.call-bg  { background: var(--off-white); }
.call-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.call-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.4rem;
  border: 1px solid rgba(46,158,145,.2);
  box-shadow: 0 2px 14px rgba(12,30,45,.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.call-card:hover { border-color: rgba(46,158,145,.45); box-shadow: 0 6px 24px rgba(12,30,45,.14); }
.call-badge {
  align-self: flex-start;
  background: rgba(30,114,104,.1);
  color: var(--teal-deep);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .28rem .8rem;
  border-radius: 50px;
}
.call-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy); }
.call-card p  { color: var(--text-muted); font-size: .9rem; line-height: 1.72; }
.call-link {
  color: var(--teal);
  font-weight: 700;
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: gap var(--ease);
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.call-link:hover { gap: .7rem; }
.call-link:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 3px; }

/* ══════════════════════════════════════════
   CONTACT SECTION
   ══════════════════════════════════════════ */
.con-bg { background: var(--navy); }
.con-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
/* Contact form panel heading — .form-wrap h3 handles the generic variant;
   .con-form h3 handles the con-bg (dark) page implementation.            */
.con-form h3 { color: var(--text-on-dark); font-size: 1.05rem; font-weight: 700; margin-bottom: 1.5rem; }
.con-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--light-rule);
}
.con-detail:last-child { border: none; margin: 0; padding: 0; }
.con-icon { font-size: 1.1rem; color: var(--teal-mid); flex-shrink: 0; margin-top: .1rem; }
.con-lbl  { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-light); }
.con-val  { color: var(--off-white); font-size: .93rem; margin-top: .2rem; line-height: 1.65; }
.con-val a { color: var(--teal-light); text-decoration: underline; text-underline-offset: 3px; }
.con-val a:hover { color: var(--teal-pale); }
.con-val a:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; border-radius: 2px; }

/* Map */
.con-map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: var(--r);
  display: block;
  filter: saturate(.65) brightness(.82) hue-rotate(158deg);
}
.con-map-link {
  font-size: .76rem;
  color: var(--teal-light);
  margin-top: .35rem;
  text-align: right;
  display: block;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ══════════════════════════════════════════
   CONTACT / QUESTIONNAIRE FORMS
   WCAG 2.1 AA — Labels, Errors, Autocomplete
   ══════════════════════════════════════════ */
.form-wrap {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--light-rule);
  border-radius: 20px;
  padding: 2.2rem;
}
.form-wrap h3 { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 1.5rem; }

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f-grp { margin-bottom: 1.1rem; }
.f-grp label {
  display: block;
  color: var(--teal-pale);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: .4rem;
  /* Labels must always be visible — WCAG 1.3.1 */
}
.f-grp label .req {
  color: #ff8c8c;
  margin-left: .2rem;
  font-weight: 700;
}
.f-grp input,
.f-grp select,
.f-grp textarea {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(109,212,200,.22);
  border-radius: 8px;
  padding: .7rem .95rem;
  color: #fff;
  font-family: var(--font);
  font-size: .9rem;
  transition: border-color var(--ease), box-shadow var(--ease);
  min-height: 44px;
}
.f-grp input::placeholder,
.f-grp textarea::placeholder { color: rgba(255,255,255,.3); }
.f-grp input:focus,
.f-grp select:focus,
.f-grp textarea:focus {
  outline: none;
  border-color: var(--teal-mid);
  box-shadow: 0 0 0 3px rgba(46,158,145,.25);
}
/* Error state — WCAG 3.3.1 */
.f-grp input[aria-invalid="true"],
.f-grp select[aria-invalid="true"],
.f-grp textarea[aria-invalid="true"] {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255,107,107,.2);
}
.f-error {
  color: #ff8c8c;
  font-size: .78rem;
  margin-top: .35rem;
  display: none;
}
.f-error.show { display: block; }
.f-grp select option { background: var(--navy); color: #fff; }
.f-grp textarea { resize: vertical; min-height: 100px; }

.f-consent {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  font-size: .8rem;
  color: var(--teal-pale);
  margin-bottom: 1.2rem;
  line-height: 1.55;
}
.f-consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex-shrink: 0;
  margin-top: .15rem;
  accent-color: var(--teal-mid);
  cursor: pointer;
}
.f-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--teal-mid), var(--teal));
  color: #fff;
  border: none;
  cursor: pointer;
  padding: .9rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  min-height: 44px;
  transition: transform var(--ease), box-shadow var(--ease);
  font-family: var(--font);
}
.f-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(46,158,145,.4); }
.f-submit:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: var(--focus-ring); }
.f-note { color: var(--teal-pale); font-size: .73rem; text-align: center; opacity: .65; margin-top: .6rem; }

/* Success message — aria-live region */
.f-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--teal-pale);
}
.f-success .success-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.f-success h4 { color: #fff; font-size: 1.2rem; font-weight: 800; margin-bottom: .6rem; }
.f-success p  { font-size: .9rem; line-height: 1.7; }

/* Light-bg form variant (questionnaire page) */
.form-light .f-grp label      { color: var(--text-muted); }
.form-light .f-grp input,
.form-light .f-grp select,
.form-light .f-grp textarea   {
  background: #fff;
  border-color: #ccddd9;
  color: var(--navy);
}
.form-light .f-grp input::placeholder,
.form-light .f-grp textarea::placeholder { color: #9ab5b0; }
.form-light .f-consent        { color: var(--text-muted); }
.form-light .f-note           { color: var(--text-muted); }

/* ══════════════════════════════════════════
   QUESTIONNAIRE
   ══════════════════════════════════════════ */
.q-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.q-list { list-style: none; margin-bottom: 1rem; }
.q-list li {
  padding: .7rem 0;
  border-bottom: 1px solid rgba(46,158,145,.18);
  font-size: .9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  line-height: 1.55;
}
.q-list li::before { content: '◈'; color: var(--teal-mid); flex-shrink: 0; margin-top: .05rem; }
.q-box {
  background: var(--navy);
  border-radius: 18px;
  padding: 2.2rem;
  text-align: center;
}
.q-box h3  { color: #fff; font-size: 1.2rem; font-weight: 800; margin-bottom: .7rem; }
.q-box p   { color: var(--teal-pale); font-size: .88rem; line-height: 1.7; margin-bottom: 1.6rem; }
.q-open-btn {
  background: linear-gradient(135deg, var(--teal-mid), var(--teal));
  color: #fff;
  border: none;
  cursor: pointer;
  padding: .9rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  min-height: 44px;
  box-shadow: 0 4px 22px rgba(46,158,145,.3);
  transition: transform var(--ease), box-shadow var(--ease);
  font-family: var(--font);
}
.q-open-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(46,158,145,.42); }
.q-open-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Modal overlay */
.modal-ov {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10,20,30,.92);
  backdrop-filter: blur(6px);
  overflow-y: auto;
  padding: 2rem 1rem;
}
.modal-ov.open { display: flex; align-items: flex-start; justify-content: center; }
.modal {
  background: #fff;
  border-radius: 20px;
  max-width: 740px;
  width: 100%;
  padding: 2.5rem;
  margin: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.modal-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.modal-title { font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.modal-sub   { color: var(--text-muted); font-size: .86rem; margin-top: .2rem; }
.modal-close {
  background: none;
  border: 2px solid #ccddd9;
  cursor: pointer;
  color: var(--text-muted);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: border-color var(--ease), color var(--ease);
}
.modal-close:hover { border-color: var(--navy); color: var(--navy); }
.modal-close:focus-visible { outline: 3px solid var(--teal-mid); outline-offset: 3px; }

.prog-bar {
  background: #e0edeb;
  border-radius: 10px;
  height: 8px;
  margin-bottom: 2rem;
  overflow: hidden;
}
.prog-fill {
  background: linear-gradient(90deg, var(--teal-mid), var(--teal-light));
  height: 100%;
  border-radius: 10px;
  transition: width .4s ease;
}
.q-sec-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.2rem;
  margin-top: 1.4rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid #ddeeed;
}
.q-item { margin-bottom: 1.3rem; }
.q-q    { font-size: .93rem; font-weight: 600; color: var(--navy); margin-bottom: .65rem; line-height: 1.5; }
.q-opts { display: flex; gap: .6rem; flex-wrap: wrap; }
.q-opt input { display: none; }
.q-opt label {
  display: inline-flex;
  align-items: center;
  padding: .45rem 1rem;
  border-radius: 50px;
  border: 2px solid #ccddd9;
  font-size: .83rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  min-height: 44px;
  transition: border-color var(--ease), background var(--ease), color var(--ease);
}
.q-opt input:checked + label {
  border-color: var(--teal-mid);
  background: rgba(46,158,145,.12);
  color: var(--teal-deep);
}
.q-opt label:hover { border-color: var(--teal-mid); color: var(--teal-deep); }
/* Keyboard focus on radio via label */
.q-opt input:focus-visible + label {
  outline: 3px solid var(--teal-mid);
  outline-offset: 2px;
  border-radius: 50px;
}
.q-submit-row {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ddeeed;
}
.q-calc-btn {
  background: linear-gradient(135deg, var(--teal-mid), var(--teal));
  color: #fff;
  border: none;
  cursor: pointer;
  padding: .9rem 2.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  min-height: 44px;
  transition: transform var(--ease), box-shadow var(--ease);
  font-family: var(--font);
}
.q-calc-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(46,158,145,.38); }
.q-calc-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

/* Results */
.q-results { display: none; }
.q-results.show { display: block; }
.score-box {
  text-align: center;
  padding: 2.2rem;
  background: linear-gradient(135deg, var(--navy), var(--teal-deep));
  border-radius: 16px;
  margin-bottom: 1.6rem;
}
.score-box h3  { color: #fff; font-size: 1rem; margin-bottom: .4rem; font-weight: 700; }
.score-num     { font-size: 3.8rem; font-weight: 800; color: var(--teal-light); line-height: 1; }
.score-of      { color: var(--teal-pale); font-size: .88rem; margin-top: .3rem; }
.result-msg    { color: var(--navy); font-size: .93rem; line-height: 1.8; margin-bottom: 1.6rem; }
.result-acts   { display: flex; gap: 1rem; flex-wrap: wrap; }
.result-acts .q-open-btn { flex: 1; min-width: 140px; }
.print-btn {
  flex: 1; min-width: 140px;
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: .88rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .93rem;
  cursor: pointer;
  min-height: 44px;
  transition: background var(--ease);
  font-family: var(--font);
}
.print-btn:hover { background: var(--off-white); }
.print-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

/* ══════════════════════════════════════════
   CAPTIONCLALL PAGE
   ══════════════════════════════════════════ */
.cc-steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.cc-step {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--light-rule);
  border-radius: 14px;
  padding: 1.8rem;
  text-align: center;
}
.cc-step-num { font-size: 2.5rem; font-weight: 800; color: var(--teal-light); line-height: 1; margin-bottom: .8rem; }
.cc-step h3,
.cc-step h4  { color: var(--text-on-dark); font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.cc-step p   { color: var(--teal-pale); font-size: .85rem; line-height: 1.65; }
.cc-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2.5rem; }
.cc-feat { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: 12px; padding: 1.3rem; }
.cc-feat-icon { font-size: 1.5rem; flex-shrink: 0; }
.cc-feat h4  { color: var(--navy); font-size: .9rem; font-weight: 700; margin-bottom: .25rem; }
.cc-feat p   { color: var(--text-muted); font-size: .83rem; line-height: 1.6; }

/* ══════════════════════════════════════════
   STATS ROW
   ══════════════════════════════════════════ */
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin: 2.5rem 0; }
.stat-item { text-align: center; }
.stat-num   { font-size: 2.8rem; font-weight: 800; color: var(--teal-light); line-height: 1; }
.stat-label { font-size: .78rem; color: var(--teal-pale); text-transform: uppercase; letter-spacing: .1em; margin-top: .3rem; }

/* ══════════════════════════════════════════
   PHOTO ELEMENTS
   ══════════════════════════════════════════ */
.storefront-img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); }
.photo-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.2rem; }
.photo-grid .ph-main img      { width: 100%; height: 380px; object-fit: cover; border-radius: 16px; }
.photo-grid .ph-secondary img { width: 100%; height: 178px; object-fit: cover; border-radius: 12px; }

/* ══════════════════════════════════════════
   ACCESSIBILITY STATEMENT PAGE
   ══════════════════════════════════════════ */
.a11y-content { max-width: 780px; }
.a11y-content h2 { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin: 2.5rem 0 .8rem; padding-top: 2rem; border-top: 1px solid rgba(46,158,145,.18); }
.a11y-content h2:first-of-type { border-top: none; margin-top: 1rem; }
.a11y-content p  { color: var(--text-muted); line-height: 1.82; margin-bottom: .9rem; font-size: .97rem; }
.a11y-content ul { color: var(--text-muted); font-size: .95rem; line-height: 1.8; padding-left: 1.5rem; margin-bottom: 1rem; }
.a11y-content li { margin-bottom: .4rem; }
.a11y-contact { background: var(--off-white); border: 1px solid rgba(46,158,145,.2); border-radius: 14px; padding: 1.8rem; margin-top: 2rem; }
.a11y-contact h3 { color: var(--navy); font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.a11y-contact p  { color: var(--text-muted); font-size: .9rem; line-height: 1.7; margin: 0; }
.a11y-contact a  { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.ft { background: var(--navy-deep); }
.ft-statement {
  padding: 3.5rem 2rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--light-rule);
}
.ft-statement-quote {
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(210,240,236,.82);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 1rem;
  letter-spacing: .01em;
}
.ft-statement-quote strong { font-weight: 700; font-style: normal; color: var(--teal-light); }
.ft-statement-since {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
}
.ft-mid {
  max-width: var(--max); margin: 0 auto;
  padding: 2.4rem 2rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
  align-items: start;
  border-bottom: 1px solid var(--light-rule);
}
.ft-identity img { height: 80px; width: auto; margin-bottom: 1rem; }
.ft-addr { color: rgba(210,240,236,.55); font-size: .83rem; line-height: 1.78; font-style: normal; }
.ft-addr a { color: var(--teal-light); text-decoration: underline; text-underline-offset: 3px; transition: color var(--ease); }
.ft-addr a:hover { color: var(--teal-pale); }
.ft-addr a:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; border-radius: 2px; }
.ft-member { color: var(--teal-mid); font-size: .72rem; margin-top: .7rem; }
.ft-nav-block { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.ft-nav-block h4 {
  color: var(--teal-light);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .85rem;
}
.ft-links { list-style: none; }
.ft-links li { margin-bottom: .48rem; }
.ft-links a { color: rgba(210,240,236,.62); font-size: .82rem; transition: color var(--ease); text-decoration: underline; text-underline-offset: 3px; }
.ft-links a:hover { color: var(--teal-light); }
.ft-links a:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; border-radius: 2px; }
.ft-bot {
  max-width: var(--max); margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.ft-copy { color: rgba(210,240,236,.55); font-size: .73rem; }
.ft-legal { display: flex; gap: 1.4rem; }
.ft-legal a { color: rgba(210,240,236,.55); font-size: .73rem; transition: color var(--ease); text-decoration: underline; text-underline-offset: 3px; }
.ft-legal a:hover { color: var(--teal-light); }
.ft-legal a:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; border-radius: 2px; }

/* ══════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--eout), transform .7s var(--eout);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.from-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .7s var(--eout), transform .7s var(--eout);
}
.from-left.in { opacity: 1; transform: translateX(0); }
.from-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .7s var(--eout), transform .7s var(--eout);
}
.from-right.in { opacity: 1; transform: translateX(0); }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .serv-grid   { grid-template-columns: repeat(2, 1fr); }
  .cc-steps    { grid-template-columns: 1fr 1fr; }
  .creds       { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤920px)
   ══════════════════════════════════════════ */
@media (max-width: 920px) {
  .hero-content, .about-grid, .q-intro, .con-grid, .call-grid, .faq-grid, .serv-detail { grid-template-columns: 1fr; }
  .serv-detail.reverse { direction: ltr; }
  .hero-logo-col { order: -1; }
  .hero-logo-col img { max-width: 240px; }
  .about-stamp { position: static; display: inline-block; margin-top: 1rem; }
  .ft-mid { grid-template-columns: 1fr; gap: 2rem; }
  .photo-grid { grid-template-columns: 1fr; }
  .stats-row  { grid-template-columns: repeat(3, 1fr); }
  .cc-features { grid-template-columns: 1fr; }
  .cc-steps { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr 1fr 1fr; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤768px)
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links   { display: none; }
  .nav-phone   { display: none; }
  .nav-toggle  { display: flex; }
  .sec         { padding: 3rem 1.4rem; }
  .wave-sep    { height: 50px; }
  .wave-sep.tall { height: 70px; }
  .hero-mini   { min-height: 220px; padding: 6rem 1.4rem 1.5rem; }
  .f-row       { grid-template-columns: 1fr; }
  .result-acts { flex-direction: column; }
  .ft-nav-block { grid-template-columns: 1fr; }
  .faq-grid    { grid-template-columns: 1fr; }
  .modal       { padding: 1.8rem; }
}

@media (max-width: 600px) {
  .hero-btns   { flex-direction: column; }
  .hero-btns .btn-p,
  .hero-btns .btn-s { width: 100%; text-align: center; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — EXTRA SMALL (≤480px)
   ══════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-h1 { font-size: 2.2rem; }
  .hero-logo-col img { max-width: 180px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .serv-grid { grid-template-columns: 1fr; }
  .creds     { grid-template-columns: 1fr; }
  .trust     { flex-direction: column; align-items: center; text-align: center; gap: 1rem; padding: 1.2rem; }
}

/* ══════════════════════════════════════════
   PRINT
   ══════════════════════════════════════════ */
@media print {
  .nav, .hero-full, .hero-mini, .trust, .wave-sep, .ft, .mobile-menu { display: none !important; }
  .modal-ov { position: static !important; display: block !important; background: none !important; }
  .modal { box-shadow: none !important; max-width: 100% !important; padding: 0 !important; }
  .modal-close, .prog-bar, .q-calc-btn, .result-acts { display: none !important; }
  .q-results { display: block !important; }
  body { color: #000 !important; background: #fff !important; }
  a { color: #000 !important; text-decoration: underline !important; }
}
