/* ============================================================
   TechClinic — bespoke design system
   Hand-written CSS. No framework, no build step.
   ============================================================ */

/* ---------- Fonts (self-hosted, variable weight) ---------- */
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/dmsans-1.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/dmsans-2.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/nunito-1.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/nunito-2.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/nunito-3.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/nunito-4.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/nunito-5.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* brand */
  --teal-50:  #E4F5F2;
  --teal-100: #C5EAE4;
  --teal-200: #98D9CF;
  --teal-300: #5FC2B4;
  --teal-400: #2BA593;
  --teal-500: #0B8A78;
  --teal-600: #076B5E;
  --teal-700: #06544A;
  --teal-800: #073F38;
  --teal-900: #052B26;
  --teal-950: #031D1A;
  --amber-50:  #FEF4DC;
  --amber-100: #FCE9B8;
  --amber-300: #F7C254;
  --amber-400: #F5A623;
  --amber-500: #DC8E12;
  --wa: #25D366;
  --wa-dark: #128C4B;

  /* semantic (light) */
  --page: #F7FAF9;
  --card: #FFFFFF;
  --sunken: #EDF5F3;
  --tint: var(--teal-50);
  --tint-amber: var(--amber-50);
  --ink-strong: #14231F;
  --ink-body: #33504A;
  --ink-muted: #587670;
  --ink-faint: #7E958F;
  --line: #D9EAE6;
  --line-strong: #BCD8D2;

  --shadow-xs: 0 1px 3px rgba(7,63,56,.07);
  --shadow-sm: 0 4px 20px -4px rgba(7,63,56,.12);
  --shadow-md: 0 10px 34px -8px rgba(7,63,56,.16);
  --shadow-lg: 0 24px 60px -16px rgba(7,63,56,.22);
  --glow-teal: 0 8px 28px -6px rgba(11,138,120,.45);
  --glow-wa: 0 8px 28px -6px rgba(37,211,102,.45);

  --font-display: 'Nunito', ui-rounded, system-ui, sans-serif;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.22,.9,.35,1);
  --header-h: 72px;
}
[data-theme="dark"] {
  --page: #0C1614;
  --card: #13201D;
  --sunken: #0A1210;
  --tint: #12241F;
  --tint-amber: #241C0E;
  --ink-strong: #F1F7F5;
  --ink-body: #CDDEDA;
  --ink-muted: #93ACA6;
  --ink-faint: #6F8782;
  --line: #22342F;
  --line-strong: #31473F;
  --teal-50: #12241F;
  --amber-50: #241C0E;
  --shadow-xs: 0 1px 3px rgba(0,0,0,.4);
  --shadow-sm: 0 4px 20px -4px rgba(0,0,0,.5);
  --shadow-md: 0 10px 34px -8px rgba(0,0,0,.55);
  --shadow-lg: 0 24px 60px -16px rgba(0,0,0,.6);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-body);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
img, svg { display: block; }
a { color: var(--teal-600); }
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--ink-strong); line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--amber-400); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--teal-200); color: var(--teal-900); }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); position: relative; }
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- Type scale ---------- */
.display {
  font-size: clamp(2.4rem, 4.8vw + .8rem, 4.35rem);
  font-weight: 900;
  letter-spacing: -0.022em;
  line-height: 1.04;
}
.h2 { font-size: clamp(1.75rem, 2.4vw + .6rem, 2.6rem); font-weight: 800; letter-spacing: -0.018em; }
.h3 { font-size: 1.25rem; font-weight: 800; }
.lead { font-size: clamp(1.05rem, .5vw + .95rem, 1.22rem); color: var(--ink-muted); line-height: 1.65; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800; font-size: .8rem;
  letter-spacing: .13em; text-transform: uppercase; color: var(--teal-600);
}
.eyebrow::before {
  content: ""; width: 22px; height: 10px; flex: none;
  background: no-repeat center / contain
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 44 20"><path d="M1 10h10l4-8 6 16 4-8h18" fill="none" stroke="%23F5A623" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head .h2 { margin-top: 14px; }
.section-head .lead { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  padding: 15px 28px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  text-decoration: none; min-height: 52px; position: relative;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease);
  will-change: transform;
}
.btn:active { transform: scale(.97); }
.btn .ic { width: 20px; height: 20px; flex: none; }
.btn-primary {
  color: #fff;
  background: linear-gradient(160deg, var(--teal-400), var(--teal-500) 55%, var(--teal-600));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), var(--glow-teal);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 14px 34px -8px rgba(11,138,120,.55); }
.btn-wa {
  color: #06341C;
  background: linear-gradient(160deg, #3ee27c, var(--wa) 60%, #1eb857);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), var(--glow-wa);
}
.btn-wa:hover { transform: translateY(-2px); }
.btn-ghost {
  color: var(--teal-600); background: transparent;
  box-shadow: inset 0 0 0 2px var(--line-strong);
}
.btn-ghost:hover { background: var(--tint); box-shadow: inset 0 0 0 2px var(--teal-300); }
.btn-white { background: #fff; color: var(--teal-700); box-shadow: var(--shadow-sm); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 10px 20px; min-height: 44px; font-size: .92rem; }
.btn-lg { padding: 18px 34px; font-size: 1.08rem; min-height: 58px; }
.btn[disabled] { opacity: .55; cursor: default; transform: none !important; }

/* ---------- Header ---------- */
.progress-line {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform-origin: 0 0; transform: scaleX(0); z-index: 90;
  background: linear-gradient(90deg, var(--teal-400), var(--amber-400));
  pointer-events: none;
}
.site-header {
  position: sticky; top: 0; z-index: 80;
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  background: color-mix(in srgb, var(--page) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(7,63,56,.35);
  background: color-mix(in srgb, var(--page) 85%, transparent);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  background: linear-gradient(150deg, var(--teal-400), var(--teal-600));
  display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 4px 12px -3px rgba(11,138,120,.5);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-word { font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; letter-spacing: -.02em; color: var(--teal-600); }
.brand-word em { font-style: normal; color: var(--amber-400); }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  color: var(--ink-body); text-decoration: none;
  padding: 10px 14px; border-radius: var(--r-pill);
  transition: background .2s, color .2s;
}
.main-nav a:hover { color: var(--teal-600); background: var(--tint); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 44px; height: 44px; flex: none; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--teal-600); cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s, transform .2s var(--ease);
}
.icon-btn:hover { background: var(--tint); transform: translateY(-1px); }
.icon-btn .ic { width: 20px; height: 20px; }
.theme-toggle .ic-sun { display: none; }
[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
[data-theme="dark"] .theme-toggle .ic-moon { display: none; }

/* mobile nav sheet */
.nav-burger { display: none; }
.mobile-sheet {
  display: none; position: fixed; inset: var(--header-h) 0 auto 0; z-index: 79;
  background: var(--card); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg); padding: 10px var(--gutter) 26px;
}
.mobile-sheet.open { display: block; animation: sheet-in .3s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } }
.mobile-sheet a.nav-link {
  display: block; padding: 15px 4px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--ink-body); border-bottom: 1px solid var(--line);
}
.mobile-sheet .btn { width: 100%; margin-top: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; }
.hero-mesh, .hero-mesh::before, .hero-mesh::after { position: absolute; pointer-events: none; }
.hero-mesh { inset: 0; }
.hero-mesh::before {
  content: ""; width: 640px; height: 640px; top: -240px; right: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11,138,120,.14), transparent 65%);
  animation: drift 14s ease-in-out infinite;
}
.hero-mesh::after {
  content: ""; width: 520px; height: 520px; bottom: -220px; left: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,.12), transparent 65%);
  animation: drift 20s ease-in-out infinite reverse;
}
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px,-30px) scale(1.12); }
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px);
  align-items: center; padding-block: clamp(48px, 7vw, 104px);
}
.hero-copy .display { margin-top: 18px; }
.hero-copy .lead { margin-top: 20px; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.pulse-word { position: relative; white-space: nowrap; color: var(--teal-500); }
.pulse-line { position: absolute; left: 0; right: 0; bottom: -.18em; width: 100%; height: .3em; overflow: visible; }
.pulse-line path {
  fill: none; stroke: var(--amber-400); stroke-width: 3.5;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 320; stroke-dashoffset: 320;
  animation: draw 1.1s var(--ease) .6s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 19px; height: 19px; fill: var(--amber-400); }
.hero-trust .small { font-size: .92rem; color: var(--ink-muted); }
.hero-trust .small strong { color: var(--ink-strong); }

/* diagnosis card (hero visual) */
.diagnosis-wrap { position: relative; display: grid; }
.diagnosis-card {
  grid-area: 1 / 1;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); padding: clamp(22px, 2.6vw, 34px);
  opacity: 0; transform: translateY(14px) scale(.98); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.diagnosis-card.active { opacity: 1; transform: none; pointer-events: auto; position: relative; z-index: 2; }
.chart-top { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px dashed var(--line-strong); }
.chart-ic {
  width: 52px; height: 52px; flex: none; border-radius: 14px;
  background: var(--tint); color: var(--teal-500); display: grid; place-items: center;
}
.chart-ic .ic { width: 26px; height: 26px; }
.chart-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.chart-title { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--ink-strong); }
.chart-rows { display: grid; gap: 12px; padding-block: 18px; }
.chart-row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.chart-row dt { color: var(--ink-faint); }
.chart-row dd { margin: 0; font-weight: 600; color: var(--ink-body); text-align: right; }
.chart-status {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--tint); border-radius: var(--r-md); padding: 13px 16px;
}
.chart-status .label { font-size: .85rem; font-weight: 600; color: var(--ink-muted); }
.stamp {
  font-family: var(--font-display); font-weight: 900; font-size: 1rem; letter-spacing: .08em;
  color: var(--teal-600); border: 2.5px solid var(--teal-500); border-radius: 8px;
  padding: 3px 12px; transform: rotate(-6deg) scale(1); display: inline-flex; align-items: center; gap: 6px;
}
.stamp .ic { width: 16px; height: 16px; }
.diagnosis-card.active .stamp { animation: stamp-in .45s var(--ease) .9s backwards; }
@keyframes stamp-in {
  0% { transform: rotate(-14deg) scale(2.2); opacity: 0; }
  70% { transform: rotate(-4deg) scale(.95); opacity: 1; }
  100% { transform: rotate(-6deg) scale(1); }
}
.diagnosis-dots { display: flex; gap: 2px; justify-content: center; margin-top: 8px; }
.diagnosis-dots button {
  width: 44px; height: 44px; border: 0; padding: 0; cursor: pointer; background: none;
  display: grid; place-items: center;
}
.diagnosis-dots button::after {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--line-strong); transition: background .25s, transform .25s;
}
.diagnosis-dots button[aria-current="true"]::after { background: var(--teal-500); transform: scale(1.35); }
.float-badge {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-pill);
  box-shadow: var(--shadow-md); padding: 9px 16px;
  font-family: var(--font-display); font-weight: 800; font-size: .86rem; color: var(--ink-strong);
  animation: floaty 6s ease-in-out infinite;
}
.float-badge .ic { width: 17px; height: 17px; color: var(--teal-500); }
.float-badge.b1 { top: -18px; left: -14px; }
.float-badge.b2 { bottom: 26px; right: -12px; animation-delay: 1.6s; }
.float-badge.b2 .ic { color: var(--amber-500); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Marquee ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--card); overflow: hidden; padding-block: 15px; }
.ticker-track { display: flex; gap: 44px; width: max-content; animation: ticker 30s linear infinite; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: .93rem; color: var(--ink-muted);
}
.ticker-item .ic { width: 16px; height: 16px; color: var(--teal-400); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: clamp(32px, 4vw, 52px); }
.svc-card {
  position: relative; overflow: clip;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 34px); box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--teal-200); }
.svc-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.svc-card::after {
  content: ""; position: absolute; top: 0; right: 0; width: 160px; height: 160px;
  background: radial-gradient(circle at top right, var(--tint), transparent 70%);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.svc-card:hover::after { opacity: 1; }
.svc-ic {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--tint); color: var(--teal-500);
  transition: transform .3s var(--ease);
}
.svc-card:hover .svc-ic { transform: rotate(-6deg) scale(1.08); }
.svc-ic.amber { background: var(--tint-amber); color: var(--amber-500); }
.svc-ic .ic { width: 26px; height: 26px; }
.svc-card .h3 { margin-top: 18px; }
.svc-card p { margin-top: 10px; color: var(--ink-muted); font-size: .98rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  font-family: var(--font-display); font-weight: 700; font-size: .82rem;
  background: var(--sunken); color: var(--ink-muted); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 6px 13px;
}
.svc-cta {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 12px;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem;
  color: var(--teal-600); text-decoration: none;
  min-height: 44px; padding-block: 8px;
}
.svc-cta .ic { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.svc-cta:hover .ic { transform: translateX(4px); }

/* ---------- How it works ---------- */
.band { background: var(--card); border-block: 1px solid var(--line); }
[data-theme="dark"] .band { background: var(--sunken); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); margin-top: clamp(36px, 4.5vw, 56px); position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: calc(16.6% + 34px); right: calc(16.6% + 34px); height: 2px;
  background: repeating-linear-gradient(to right, var(--line-strong) 0 9px, transparent 9px 19px);
}
.step { position: relative; text-align: center; padding-inline: 6px; }
.step-num {
  width: 68px; height: 68px; margin-inline: auto; border-radius: 22px; position: relative;
  background: linear-gradient(150deg, var(--teal-400), var(--teal-600)); color: #fff;
  font-family: var(--font-display); font-weight: 900; font-size: 1.5rem;
  display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), var(--glow-teal);
}
.step:nth-child(2) .step-num { background: linear-gradient(150deg, var(--amber-300), var(--amber-500)); color: #4A3204; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 8px 28px -6px rgba(245,166,35,.45); }
.step .h3 { margin-top: 20px; }
.step p { margin-top: 10px; color: var(--ink-muted); font-size: .97rem; max-width: 34ch; margin-inline: auto; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(36px, 4.5vw, 56px); }
.why-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.why-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.why-ic {
  width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center;
  background: var(--tint); color: var(--teal-500);
}
.why-item:nth-child(3n+2) .why-ic { background: var(--tint-amber); color: var(--amber-500); }
.why-ic .ic { width: 21px; height: 21px; }
.why-item h4 { font-size: 1.02rem; font-weight: 800; }
.why-item p { margin-top: 6px; font-size: .92rem; color: var(--ink-muted); }

/* ---------- Review ---------- */
.review-wrap { display: grid; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
.review-card {
  max-width: 660px; position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); padding: clamp(26px, 3vw, 40px);
}
.review-card .quote-mark {
  position: absolute; top: 22px; right: 28px; width: 44px; height: 44px; color: var(--teal-100);
}
[data-theme="dark"] .review-card .quote-mark { color: var(--teal-800); }
.review-head { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  background: linear-gradient(150deg, var(--teal-400), var(--teal-600)); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
}
.review-name { font-family: var(--font-display); font-weight: 800; color: var(--ink-strong); }
.review-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: .82rem; color: var(--ink-faint); }
.review-card blockquote { margin: 20px 0 0; font-size: 1.08rem; line-height: 1.65; color: var(--ink-body); }
.google-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 18px;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--ink-muted);
}

/* ---------- Areas ---------- */
.areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.area-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.area-pill {
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  border: 1.5px solid var(--line-strong); color: var(--ink-body);
  border-radius: var(--r-pill); padding: 9px 17px; background: var(--card);
  transition: border-color .2s, color .2s, background .2s;
}
.area-pill:hover { border-color: var(--teal-400); color: var(--teal-600); }
.area-pill.hot { background: var(--teal-500); border-color: var(--teal-500); color: #fff; }
.radar {
  position: relative; height: clamp(260px, 30vw, 360px); border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(140deg, var(--tint), var(--sunken));
  background-size: 42px 42px, 42px 42px, 100% 100%;
}
.radar-ring {
  position: absolute; top: 50%; left: 50%; border-radius: 50%;
  border: 2px solid var(--teal-300); opacity: 0;
  transform: translate(-50%,-50%);
  animation: ping 3.6s ease-out infinite;
}
.radar-ring:nth-child(2) { animation-delay: 1.2s; }
.radar-ring:nth-child(3) { animation-delay: 2.4s; }
@keyframes ping {
  0% { width: 60px; height: 60px; opacity: .8; }
  100% { width: 340px; height: 340px; opacity: 0; }
}
.radar-pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: grid; justify-items: center; gap: 8px; }
.radar-pin .pin-dot {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--teal-400), var(--teal-600)); color: #fff;
  box-shadow: var(--glow-teal);
}
.radar-pin .pin-dot .ic { width: 26px; height: 26px; }
.radar-pin .pin-label {
  font-family: var(--font-display); font-weight: 800; color: var(--teal-800);
  background: color-mix(in srgb, var(--card) 80%, transparent); border-radius: var(--r-pill); padding: 4px 14px;
  backdrop-filter: blur(4px);
}
[data-theme="dark"] .radar-pin .pin-label { color: var(--teal-100); }

/* ---------- Quote wizard ---------- */
.quote-section { background: linear-gradient(180deg, var(--page), var(--sunken)); border-top: 1px solid var(--line); }
.wizard {
  max-width: 860px; margin: clamp(36px, 4.5vw, 54px) auto 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.wizard-head { padding: 24px clamp(22px, 3.5vw, 40px) 0; }
.wizard-progress { display: flex; align-items: center; gap: 10px; }
.w-step-label {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 800; font-size: .84rem; color: var(--ink-faint);
  white-space: nowrap;
}
.w-step-label .dot {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--sunken); color: var(--ink-faint); border: 1.5px solid var(--line-strong);
  font-size: .85rem; transition: all .3s var(--ease);
}
.w-step-label.current { color: var(--teal-600); }
.w-step-label.current .dot { background: var(--teal-500); border-color: var(--teal-500); color: #fff; box-shadow: var(--glow-teal); }
.w-step-label.done .dot { background: var(--teal-100); border-color: var(--teal-300); color: var(--teal-700); }
.w-bar { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.w-bar::after { content: ""; position: absolute; inset: 0; background: var(--teal-400); transform: scaleX(0); transform-origin: 0 0; transition: transform .45s var(--ease); }
.w-bar.filled::after { transform: scaleX(1); }
.w-step-label .txt { display: block; }

.wizard-body { padding: clamp(24px, 3.5vw, 40px); }
.wizard-pane { display: none; }
.wizard-pane.active { display: block; animation: pane-in .35s var(--ease); }
@keyframes pane-in { from { opacity: 0; transform: translateX(14px); } }
.wizard-q { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink-strong); }
.wizard-hint { margin-top: 6px; font-size: .93rem; color: var(--ink-muted); }

.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 22px; }
.device-tile {
  display: grid; justify-items: center; gap: 10px; text-align: center;
  padding: 20px 12px 16px; cursor: pointer;
  background: var(--page); border: 1.5px solid var(--line); border-radius: var(--r-md);
  font-family: var(--font-display); font-weight: 800; font-size: .92rem; color: var(--ink-body);
  transition: border-color .2s, background .2s, transform .2s var(--ease), box-shadow .2s;
}
.device-tile:hover { transform: translateY(-3px); border-color: var(--teal-300); box-shadow: var(--shadow-sm); }
.device-tile .ic { width: 30px; height: 30px; color: var(--teal-500); }
.device-tile[aria-pressed="true"] {
  background: var(--tint); border-color: var(--teal-500);
  box-shadow: inset 0 0 0 1px var(--teal-500);
  color: var(--teal-700);
}
.symptom-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.symptom-chip {
  font-family: var(--font-display); font-weight: 700; font-size: .93rem;
  border: 1.5px solid var(--line-strong); background: var(--page); color: var(--ink-body);
  border-radius: var(--r-pill); padding: 11px 19px; cursor: pointer; min-height: 44px;
  transition: all .18s var(--ease);
}
.symptom-chip:hover { border-color: var(--teal-400); transform: translateY(-2px); }
.symptom-chip[aria-pressed="true"] { background: var(--teal-500); border-color: var(--teal-500); color: #fff; box-shadow: var(--glow-teal); }

.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-display); font-weight: 800; font-size: .88rem; color: var(--ink-strong); }
.field label .req { color: var(--amber-500); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink-strong);
  background: var(--page); border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 13px 15px; min-height: 50px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-400); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal-400) 18%, transparent);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.form-grid .full { grid-column: 1 / -1; }
.pref-row { display: flex; gap: 10px; }
.pref-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800; font-size: .92rem;
  border: 1.5px solid var(--line-strong); background: var(--page); color: var(--ink-body);
  border-radius: var(--r-sm); padding: 12px; min-height: 50px; cursor: pointer;
  transition: all .18s var(--ease);
}
.pref-btn .ic { width: 18px; height: 18px; }
.pref-btn[aria-pressed="true"] { background: var(--tint); border-color: var(--teal-500); color: var(--teal-700); box-shadow: inset 0 0 0 1px var(--teal-500); }

.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.back-link {
  display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: var(--ink-muted);
  padding: 10px 14px; border-radius: var(--r-pill); min-height: 44px;
}
.back-link:hover { color: var(--teal-600); background: var(--tint); }
.back-link .ic { width: 17px; height: 17px; }
.wizard-note { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px; border-top: 1px solid var(--line); background: var(--sunken); font-size: .85rem; color: var(--ink-muted); }
.wizard-note .ic { width: 15px; height: 15px; color: var(--teal-500); flex: none; }

.wizard-success { text-align: center; padding-block: 18px; }
.success-ic {
  width: 84px; height: 84px; margin-inline: auto; border-radius: 50%;
  background: var(--tint); color: var(--teal-500); display: grid; place-items: center;
  animation: pop-in .5s var(--ease);
}
.success-ic .ic { width: 40px; height: 40px; }
@keyframes pop-in { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); } }
.wizard-success h3 { font-size: 1.5rem; font-weight: 900; margin-top: 20px; }
.wizard-success p { margin: 12px auto 0; max-width: 44ch; color: var(--ink-muted); }
.wizard-success .btn { margin-top: 24px; }
.form-error {
  display: none; margin-top: 18px; padding: 13px 16px; border-radius: var(--r-sm);
  background: var(--tint-amber); border: 1px solid var(--amber-300);
  color: #6B4A05; font-size: .93rem;
}
[data-theme="dark"] .form-error { color: var(--amber-100); }
.form-error.show { display: block; }

/* contact methods row */
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 860px; margin: 22px auto 0; }
.method {
  display: flex; align-items: center; gap: 13px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 15px 17px; transition: transform .2s var(--ease), box-shadow .2s;
}
.method:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.method-ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--teal-600); }
.method-ic.wa { background: rgba(37,211,102,.14); color: var(--wa-dark); }
.method-ic .ic { width: 20px; height: 20px; }
.method-label { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.method-value { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--ink-strong); }

/* ---------- CTA band ---------- */
.cta-band { padding-inline: var(--gutter); }
.cta-inner {
  max-width: var(--container); margin-inline: auto; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 90% 120%, rgba(245,166,35,.25), transparent 60%),
    linear-gradient(140deg, var(--teal-500), var(--teal-700));
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  padding: clamp(34px, 5vw, 60px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  transform: translateY(56px); z-index: 2;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 900; }
.cta-inner p { color: rgba(255,255,255,.9); margin-top: 10px; max-width: 44ch; }
.cta-inner .btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-pulse { position: absolute; left: 0; right: 0; bottom: 10px; opacity: .2; pointer-events: none; }
.cta-pulse path { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, var(--teal-900), var(--teal-950)); padding: 128px var(--gutter) 40px; }
.footer-inner { max-width: var(--container); margin-inline: auto; }
.footer-cols { display: flex; justify-content: space-between; gap: 36px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { max-width: 320px; }
.footer-brand .brand-word { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: .93rem; color: var(--teal-100); line-height: 1.6; }
.footer-nav { display: grid; gap: 2px; }
.footer-nav a { font-family: var(--font-display); font-weight: 700; font-size: .93rem; color: var(--teal-100); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.footer-nav a:hover { color: #fff; }
.footer-contact { display: grid; gap: 2px; align-content: start; }
.footer-contact a { display: inline-flex; align-items: center; gap: 9px; color: var(--teal-100); text-decoration: none; font-size: .95rem; min-height: 44px; }
.footer-contact a:hover { color: #fff; }
.footer-contact a.big { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: #fff; }
.footer-contact .ic { width: 17px; height: 17px; }
.footer-legal { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 22px; font-size: .8rem; color: var(--teal-200); }

/* ---------- Mobile dock ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: none;
  gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--page) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -18px rgba(7,63,56,.4);
}
.dock a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem; text-decoration: none;
  padding: 13px 6px; border-radius: var(--r-md); min-height: 50px;
}
.dock .ic { width: 19px; height: 19px; }
.dock-call { background: var(--card); color: var(--teal-600); border: 1.5px solid var(--line-strong); }
.dock-wa { background: var(--wa); color: #06341C; }
.dock-quote { background: linear-gradient(160deg, var(--teal-400), var(--teal-600)); color: #fff; box-shadow: var(--glow-teal); }

/* ---------- Reveal (hidden state only when JS is running — no-JS users see everything) ---------- */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.rise-in { animation: rise .7s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .18s; } .d3 { animation-delay: .28s; } .d4 { animation-delay: .4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
  .nav-burger { display: grid; }
  .header-actions .btn-quote { display: none; }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  body { padding-bottom: 76px; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 40px 56px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .diagnosis-wrap { margin-top: 6px; }
  .float-badge.b1 { left: 2px; top: -14px; }
  .float-badge.b2 { right: 2px; }
  .svc-grid { grid-template-columns: 1fr; gap: 14px; }
  .svc-card.featured { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps::before { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 13px; }
  .areas-grid { grid-template-columns: 1fr; }
  .device-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .methods { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-inner .btn-row { flex-direction: column; }
  .cta-inner p { margin-inline: auto; }
  .footer-cols { flex-direction: column; }
  .dock { display: flex; }
  .w-step-label .txt { display: none; }
  .w-step-label.current .txt { display: block; }
}

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