/* =========================================================
   Dr. Sara Sarekar — Landing page styles
   Built on the Dr. Sara Dental Design System v1.0
   ========================================================= */

/* ---------- Self-hosted web font (Plus Jakarta Sans, SIL OFL) ---------- */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/PlusJakartaSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/PlusJakartaSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/PlusJakartaSans-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/PlusJakartaSans-Bold.woff2") format("woff2"); }

:root {
  --color-primary: #3B6EF5;
  --color-primary-hover: #2F5CDB;
  --color-primary-active: #2549B8;
  --color-primary-tint: #EEF4FF;
  --color-primary-tint-2: #DCE7FF;
  --color-ink: #121212;
  --color-ink-2: #1E1E1E;
  --color-ink-3: #2A2A2A;
  --color-text: #1F2430;
  --color-text-muted: #6B7280;
  --color-text-subtle: #9AA3B2;
  --color-bg: #FFFFFF;
  --color-surface: #F7F8FA;
  --color-surface-2: #EFF1F5;
  --color-ivory: #FBF7EC;
  --color-border: #E6E8EE;
  --color-border-strong: #D3D7E0;
  --color-success: #22A06B;
  --color-warning: #E0A100;
  --color-danger: #E5484D;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1EBE5A;

  --font-sans: "Plus Jakarta Sans", "Urbanist", "Outfit", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-md: 0 8px 24px -8px rgba(18, 18, 18, .12);
  --shadow-lg: 0 24px 48px -16px rgba(18, 18, 18, .18);
  --shadow-primary: 0 8px 20px -6px rgba(59, 110, 245, .45);
  --shadow-whatsapp: 0 8px 20px -6px rgba(37, 211, 102, .5);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --container-max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-gap: clamp(48px, 8vw, 96px);
  --section-padding: clamp(24px, 4vw, 48px);
  --nav-height: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.01em; text-wrap: balance; line-height: 1.15; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--color-primary-tint-2); }

.container { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type scale ---------- */
.display { font-size: clamp(2.35rem, 5.2vw, 4.25rem); line-height: 1.06; letter-spacing: -.02em; }
.h1 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; }
.h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--color-text-muted); max-width: 52ch; }
.hl { color: var(--color-primary); }
.muted { color: var(--color-text-muted); }
.intro { font-size: .95rem; color: var(--color-text-muted); max-width: 40ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--color-primary); background: var(--color-primary-tint);
  padding: 6px 12px 6px 10px; border-radius: var(--radius-pill); margin-bottom: 18px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-primary); animation: blink 2.2s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; transform: scale(1);} 50% { opacity: .45; transform: scale(.7);} }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: var(--radius-pill);
  font-size: .9rem; font-weight: 600; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .24s var(--ease-out), background .24s var(--ease-out), box-shadow .24s var(--ease-out), color .24s var(--ease-out), border-color .24s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn .ico { width: 18px; height: 18px; flex: none; }
.btn-lg { height: 52px; padding: 0 26px; font-size: .95rem; }
.btn-sm { height: 38px; padding: 0 16px; font-size: .82rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--color-primary-hover); transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(59,110,245,.55); }
.btn-primary:active { background: var(--color-primary-active); transform: translateY(0); }
.btn-outline { background: transparent; color: var(--color-ink); border-color: currentColor; }
.btn-outline:hover { background: var(--color-surface); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--color-primary); }
.btn-white:hover { background: var(--color-primary-tint); transform: translateY(-2px); }
.btn-whatsapp { background: var(--color-whatsapp); color: #fff; box-shadow: var(--shadow-whatsapp); }
.btn-whatsapp:hover { background: var(--color-whatsapp-hover); transform: translateY(-2px); }
.btn .ico-arrow { transition: transform .24s var(--ease-out); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--color-primary); font-weight: 500; font-size: .9rem; }
.link span { transition: transform .24s var(--ease-out); }
.link:hover { text-decoration: underline; }
.link:hover span { transform: translateX(4px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Spinner inside submit button */
.btn-spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-loading .btn-label { opacity: .7; }
.btn.is-loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Panels ---------- */
.panel { border-radius: var(--radius-xl); padding: var(--section-padding); }
.panel.dark { background: var(--color-ink); color: #fff; }
.panel.blue { background: var(--color-primary); color: #fff; background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px); background-size: 14px 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--color-border); box-shadow: 0 6px 20px -12px rgba(18,18,18,.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--nav-height); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--color-primary); color: #fff; display: grid; place-items: center; flex: none; box-shadow: var(--shadow-primary); }
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-weight: 600; font-size: .92rem; color: var(--color-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { font-size: .76rem; color: var(--color-text-muted); }
.header-cta { display: flex; gap: 8px; flex: none; }
@media (max-width: 860px) {
  .header-cta .btn span { display: none; }
  .header-cta .btn { width: 40px; padding: 0; }
  .header-cta .btn .ico { width: 20px; height: 20px; }
  .brand-name { font-size: .8rem; max-width: 56vw; white-space: normal; line-height: 1.15; }
}

/* ---------- Hero ---------- */
.hero-wrap { padding-top: 16px; }
.hero {
  background: var(--color-surface);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: auto -10% -30% auto; width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--color-primary-tint-2), transparent 70%); opacity: .8; pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; padding-block: clamp(8px, 2vw, 24px); }
.hero-copy .display { max-width: 15ch; margin-bottom: 20px; }
.hero-copy .lead { margin-bottom: 4px; }
.micro-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: .86rem; color: var(--color-text-muted); }
.micro-trust li { display: inline-flex; align-items: center; gap: 6px; }
.micro-trust svg { width: 16px; height: 16px; color: var(--color-success); }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.avatars { display: flex; }
.avatars span {
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--color-surface);
  background: linear-gradient(135deg, #5B8DEF, #3B6EF5); color: #fff; font-size: .75rem; font-weight: 600;
  display: grid; place-items: center; margin-left: -10px; position: relative; z-index: calc(4 - var(--i));
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: linear-gradient(135deg, #F2B84B, #E0A100); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, #34C38F, #22A06B); }
.avatars span:nth-child(4) { background: linear-gradient(135deg, #7C6CF5, #5A48E0); }
.proof-text { font-size: .84rem; color: var(--color-text-muted); line-height: 1.3; }
.stars { color: #F5A623; letter-spacing: 1px; font-size: 1rem; line-height: 1; }
.stars.small { font-size: .85rem; margin-bottom: 10px; }

.hero-visual { position: relative; z-index: 1; }
.hero-photo { margin: 0; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--color-surface-2); box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease-out); }
.hero-visual:hover .hero-photo img { transform: scale(1.06); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: var(--radius-lg); padding: 10px 14px 10px 10px;
  box-shadow: var(--shadow-md); font-size: .8rem; line-height: 1.2; color: var(--color-text-muted);
  animation: floatY 6s ease-in-out infinite;
}
.float-card b { display: block; color: var(--color-ink); font-weight: 600; font-size: .86rem; }
.float-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--color-primary-tint); color: var(--color-primary); display: grid; place-items: center; flex: none; }
.float-ico.green { background: #E6F7EE; color: var(--color-success); }
.float-ico svg { width: 18px; height: 18px; }
.float-a { top: 6%; left: -6%; animation-delay: 0s; }
.float-b { bottom: 18%; right: -6%; animation-delay: -2s; }
.float-c { bottom: 4%; left: 8%; animation-delay: -4s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-photo { aspect-ratio: 4 / 3.4; }
  .float-a { left: 3%; top: 4%; }
  .float-b { right: 3%; bottom: 8%; }
  .float-c { display: none; }
}
@media (max-width: 480px) {
  .hero-photo { aspect-ratio: 1 / 1; }
  .float-card { padding: 8px 10px 8px 8px; font-size: .72rem; }
  .float-card b { font-size: .78rem; }
  .float-ico { width: 28px; height: 28px; }
  .cta-row .btn { width: 100%; }
}

/* ---------- Trust strip ---------- */
.trust-strip { padding-block: 22px 0; }
.trust-list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--color-border);
}
.trust-list li {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px;
  font-size: .9rem; font-weight: 500; color: var(--color-text); border-left: 1px solid var(--color-border);
}
.trust-list li:first-child { border-left: 0; padding-left: 0; }
.t-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--color-primary-tint); color: var(--color-primary); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease-out), background .3s, color .3s; }
.t-ico svg { width: 20px; height: 20px; }
.trust-list li:hover .t-ico { background: var(--color-primary); color: #fff; transform: rotate(-6deg) scale(1.06); }
@media (max-width: 900px) {
  .trust-list { grid-template-columns: 1fr 1fr; }
  .trust-list li { border-left: 0; padding-left: 0; font-size: .85rem; }
}
@media (max-width: 480px) { .trust-list { grid-template-columns: 1fr; } .trust-list li { padding-block: 12px; } }

/* ---------- Offer + Form ---------- */
.offer-section { padding-top: var(--section-gap); }
.offer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.offer-copy p { color: var(--color-text-muted); max-width: 52ch; margin-top: 14px; }
.offer-copy .h1 { max-width: 16ch; }
.offer-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.offer-card { border-radius: var(--radius-lg); padding: 24px; position: relative; overflow: hidden; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.offer-card.ivory { background: var(--color-ivory); }
.offer-card.tint { background: var(--color-primary-tint); }
.offer-card b { font-size: clamp(2.4rem, 4vw, 3.25rem); font-weight: 600; color: var(--color-primary); line-height: 1; letter-spacing: -.02em; display: block; }
.offer-card p { margin-top: 12px; font-size: .88rem; color: var(--color-text-muted); }
.offer-glyph { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; color: var(--color-primary-tint-2); }
.offer-card.tint .offer-glyph { color: #fff; }
.fineprint { font-size: .78rem !important; color: var(--color-text-subtle) !important; margin-top: 16px !important; }
@media (max-width: 480px) { .offer-cards { grid-template-columns: 1fr; } }

.form-col { position: sticky; top: calc(var(--nav-height) + 16px); scroll-margin-top: calc(var(--nav-height) + 12px); }
.form-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-xl);
  padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.form-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--color-primary); }
.form-head p { color: var(--color-text-muted); font-size: .9rem; margin-top: 8px; }
.lead-form { display: grid; gap: 14px; margin-top: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--color-ink); }
.field label em { font-style: normal; font-weight: 400; color: var(--color-text-subtle); }
.field label span { color: var(--color-danger); margin-left: 2px; }
.field input, .field select {
  width: 100%; height: 48px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--color-text);
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.field input::placeholder { color: var(--color-text-subtle); }
.field input:focus, .field select:focus { outline: none; border-color: var(--color-primary); background: #fff; box-shadow: 0 0 0 4px var(--color-primary-tint); }
.field.is-invalid input { border-color: var(--color-danger); box-shadow: 0 0 0 4px rgba(229,72,77,.12); }
.err { display: none; font-size: .78rem; color: var(--color-danger); }
.field.is-invalid .err { display: block; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--color-text-muted); border-bottom: 2px solid var(--color-text-muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select-wrap select { padding-right: 40px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-trust { display: flex; gap: 8px; align-items: flex-start; font-size: .78rem; color: var(--color-text-muted); line-height: 1.45; }
.form-trust svg { width: 16px; height: 16px; flex: none; color: var(--color-success); margin-top: 1px; }
.form-error { font-size: .84rem; color: var(--color-danger); line-height: 1.5; }
.form-error .link { color: var(--color-danger); font-weight: 600; }
.form-error .link:hover { text-decoration: underline; }
.form-state--thanks { text-align: center; padding-block: 12px; }
.form-state--thanks p { color: var(--color-text-muted); margin-top: 12px; }
.form-state--thanks .btn { margin-top: 12px; }
.thanks-ico { width: 84px; height: 84px; margin: 0 auto 18px; }
.tick-circle { stroke: var(--color-success); stroke-width: 2.5; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 0.7s var(--ease-out) forwards; }
.tick-path { stroke: var(--color-success); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.5s .45s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (max-width: 900px) {
  .offer-grid { grid-template-columns: 1fr; }
  .form-col { position: static; }
}

/* ---------- Common Treatments ---------- */
.treatments-wrap { padding-top: var(--section-gap); }
.treat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.treat-card {
  position: relative; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 28px 24px; text-align: left;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out), background .35s var(--ease-out);
}
.treat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--color-primary-tint-2); background: #fff; }
.treat-ico {
  position: relative; width: 56px; height: 56px; border-radius: 16px;
  background: var(--color-primary-tint); color: var(--color-primary);
  display: grid; place-items: center; margin-bottom: 18px;
  transition: transform .4s var(--ease-out), background .35s var(--ease-out), color .35s var(--ease-out);
}
.treat-ico svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.treat-card:hover .treat-ico { background: var(--color-primary); color: #fff; transform: rotate(-8deg) scale(1.08); }
/* Tiny sparkle accents on the whitening icon, active on hover */
.treat-spark { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--color-primary); opacity: 0; transform: scale(.4); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.treat-spark.s1 { top: 6px; right: 8px; transition-delay: .05s; }
.treat-spark.s2 { bottom: 10px; right: 4px; width: 3px; height: 3px; transition-delay: .15s; }
.treat-card:hover .treat-spark { background: #fff; opacity: 1; transform: scale(1); }
.treat-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.treat-card p { font-size: .88rem; color: var(--color-text-muted); margin-bottom: 16px; }
.treat-card .link { font-size: .85rem; }
@media (max-width: 900px) { .treat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .treat-grid { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.services-wrap { padding-top: var(--section-gap); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head .h1 { max-width: 16ch; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center .h1 { max-width: none; }
.panel.dark .intro { color: #B4B8C2; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc {
  background: var(--color-ink-2); border-radius: var(--radius-lg); padding: 14px 14px 20px;
  display: flex; flex-direction: column; position: relative;
  transition: transform .35s var(--ease-out), background .35s;
}
.svc:hover { transform: translateY(-6px); background: var(--color-ink-3); }
.svc-img { aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; background: linear-gradient(135deg, #3a3f4a, #20232a); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.svc:hover .svc-img img { transform: scale(1.06); }
.svc-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--color-primary); color: #fff; display: grid; place-items: center; margin: -22px 0 0 14px; position: relative; box-shadow: var(--shadow-primary); transition: transform .35s var(--ease-out); }
.svc-ico svg { width: 22px; height: 22px; }
.svc:hover .svc-ico { transform: rotate(-8deg) scale(1.08); }
.svc h3 { margin: 14px 0 8px; font-size: 1.25rem; }
.svc p { font-size: .88rem; color: #B4B8C2; flex: 1; }
.svc .link { margin-top: 16px; color: #fff; }
.svc .link:hover { color: var(--color-primary-tint-2); }
@media (max-width: 1024px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Why ---------- */
.why-section { padding-top: var(--section-gap); }
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.why-visual { position: relative; }
.why-photo { margin: 0; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow-lg); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.stat-chip {
  position: absolute; background: #fff; border-radius: var(--radius-lg); padding: 14px 18px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 2px; max-width: 200px; font-size: .78rem; color: var(--color-text-muted); line-height: 1.3;
}
.stat-chip b { font-size: 1.75rem; font-weight: 600; color: var(--color-primary); letter-spacing: -.02em; line-height: 1; }
.stat-chip-a { top: 8%; right: -8%; }
.stat-chip-b { bottom: 8%; left: -8%; }
.why-copy .h1 { max-width: 18ch; }
.why-list { display: grid; gap: 18px; margin-top: 28px; }
.why-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border-radius: var(--radius-lg); transition: background .3s, transform .3s var(--ease-out); }
.why-list li:hover { background: var(--color-surface); transform: translateX(4px); }
.why-list b { display: block; font-weight: 600; color: var(--color-ink); margin-bottom: 4px; }
.why-list p { font-size: .9rem; color: var(--color-text-muted); }
.why-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--color-primary-tint); color: var(--color-primary); display: grid; place-items: center; flex: none; transition: background .3s, color .3s, transform .3s var(--ease-out); }
.why-ico svg { width: 22px; height: 22px; }
.why-list li:hover .why-ico { background: var(--color-primary); color: #fff; transform: scale(1.06); }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-photo { aspect-ratio: 4 / 3; }
  .stat-chip-a { right: 4%; top: 6%; }
  .stat-chip-b { left: 4%; bottom: 6%; }
}

/* ---------- How ---------- */
.how-section { padding-top: var(--section-gap); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 44px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--color-border-strong) 0 8px, transparent 8px 16px); }
.step { position: relative; background: var(--color-surface); border-radius: var(--radius-lg); padding: 28px 24px 26px; text-align: center; transition: transform .35s var(--ease-out), box-shadow .35s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num { position: absolute; top: 16px; left: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--color-ink); color: #fff; font-size: .8rem; font-weight: 600; display: grid; place-items: center; }
.step-ico { width: 64px; height: 64px; border-radius: 18px; background: #fff; color: var(--color-primary); display: grid; place-items: center; margin: 0 auto 16px; box-shadow: var(--shadow-md); transition: transform .35s var(--ease-out), background .35s, color .35s; }
.step-ico svg { width: 28px; height: 28px; }
.step:hover .step-ico { background: var(--color-primary); color: #fff; transform: rotate(-6deg); }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--color-text-muted); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

/* ---------- Reviews ---------- */
.reviews-section { padding-top: var(--section-gap); }
.reviews-summary { display: flex; align-items: center; gap: 14px; font-size: .84rem; color: var(--color-text-muted); }
.big-rating { font-size: 3rem; font-weight: 600; color: var(--color-primary); letter-spacing: -.02em; line-height: 1; }
.reviews-track-wrap { position: relative; }
.reviews-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.testi { flex: 0 0 min(360px, 84vw); scroll-snap-align: start; border-radius: var(--radius-lg); padding: 26px; font-size: .92rem; line-height: 1.6; display: flex; flex-direction: column; transition: transform .35s var(--ease-out); }
.testi:hover { transform: translateY(-4px); }
.testi.ivory { background: var(--color-ivory); } .testi.tint { background: var(--color-primary-tint); } .testi.grey { background: var(--color-surface); }
.testi .q { color: var(--color-primary); font-size: 2.4rem; line-height: .6; font-weight: 600; margin-bottom: 14px; }
.testi p { flex: 1; color: var(--color-text); }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: .8rem; color: var(--color-text-muted); }
.testi .who b { display: block; font-size: .86rem; font-weight: 600; color: var(--color-ink); }
.testi .av { width: 36px; height: 36px; border-radius: 50%; background: var(--color-ink); color: #fff; font-weight: 600; font-size: .8rem; display: grid; place-items: center; flex: none; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-border); background: #fff; color: var(--color-text-subtle); display: grid; place-items: center; cursor: pointer; transition: all .24s var(--ease-out); }
.arrow svg { width: 18px; height: 18px; }
.arrow:hover, .arrow.on { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.dots { display: flex; gap: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--color-border-strong); transition: all .3s; }
.dots i.on { width: 20px; border-radius: 3px; background: var(--color-primary); }

/* ---------- FAQ ---------- */
.faq-section { padding-top: var(--section-gap); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--nav-height) + 24px); }
.faq-head .h1 { max-width: 14ch; }
.faq-head .intro { margin: 14px 0 20px; }
.faq-list { display: grid; gap: 10px; }
.faq { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: #fff; transition: border-color .3s, box-shadow .3s; }
.faq[open] { border-color: var(--color-primary-tint-2); box-shadow: var(--shadow-md); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: .98rem; color: var(--color-ink); }
.faq summary::-webkit-details-marker { display: none; }
.chev { width: 28px; height: 28px; border-radius: 50%; background: var(--color-primary-tint); position: relative; flex: none; transition: background .3s, transform .3s var(--ease-out); }
.chev::before, .chev::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 2px; background: var(--color-primary); transform: translate(-50%, -50%); transition: transform .3s var(--ease-out); }
.chev::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .chev { background: var(--color-primary); }
.faq[open] .chev::before, .faq[open] .chev::after { background: #fff; }
.faq[open] .chev::after { transform: translate(-50%, -50%) rotate(0); }
.faq-body { padding: 0 20px 20px; color: var(--color-text-muted); font-size: .93rem; animation: fadeUp .35s var(--ease-out); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-head { position: static; } }

/* ---------- Final CTA ---------- */
.final-wrap { padding-top: var(--section-gap); }
.final-cta { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; overflow: hidden; position: relative; }
.final-copy .h1 { max-width: 16ch; }
.final-copy p { margin-top: 14px; color: #DCE7FF; max-width: 46ch; }
.final-cta .btn-outline { color: #fff; }
.final-cta .btn-outline:hover { background: rgba(255,255,255,.12); }
.final-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); transform: rotate(2deg); transition: transform .6s var(--ease-out); }
.final-cta:hover .final-photo { transform: rotate(0); }
.final-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .final-cta { grid-template-columns: 1fr; } .final-photo { max-height: 260px; aspect-ratio: 16 / 9; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--section-gap); background: var(--color-surface); padding-block: 48px 120px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand-name { white-space: normal; }
.footer-small { margin-top: 14px; font-size: .86rem; color: var(--color-text-muted); max-width: 32ch; }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--color-text-subtle); font-weight: 600; margin-bottom: 12px; }
.footer-col p { font-size: .9rem; color: var(--color-text-muted); }
.footer-link { display: block; font-size: .9rem; color: var(--color-text); margin-top: 8px; transition: color .2s; }
.footer-link:hover { color: var(--color-primary); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--color-border); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .76rem; color: var(--color-text-subtle); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px 0 14px;
  background: var(--color-whatsapp); color: #fff; border-radius: var(--radius-pill); box-shadow: var(--shadow-whatsapp);
  font-weight: 600; font-size: .9rem; transition: transform .3s var(--ease-out), background .3s;
}
.wa-float:hover { background: var(--color-whatsapp-hover); transform: translateY(-3px) scale(1.02); }
.wa-float svg { width: 28px; height: 28px; position: relative; }
.wa-pulse { position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.5); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.4); opacity: 0; } }
@media (max-width: 900px) {
  .wa-float { bottom: calc(76px + env(safe-area-inset-bottom)); right: 14px; width: 56px; padding: 0; justify-content: center; }
  .wa-label { display: none; }
}

/* ---------- Mobile sticky bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border); transform: translateY(110%); transition: transform .4s var(--ease-out);
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar .btn { flex: 1; height: 50px; font-size: .88rem; }
.mobile-bar .btn-whatsapp { flex: 0 0 auto; padding: 0 16px; }
@media (max-width: 900px) { .mobile-bar { display: flex; } }

/* ---------- Popup ---------- */
.popup { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.popup-backdrop { position: absolute; inset: 0; background: rgba(18,18,18,.55); backdrop-filter: blur(4px); animation: fadeIn .3s; }
.popup-card { position: relative; width: min(460px, 100%); background: #fff; border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow-lg); animation: popIn .45s var(--ease-out); max-height: 92vh; overflow: auto; }
.popup-card > p { color: var(--color-text-muted); font-size: .92rem; margin-top: 10px; }
.popup-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--color-surface); color: var(--color-text-muted); font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.popup-close:hover { background: var(--color-surface-2); color: var(--color-ink); }
.popup-thanks { text-align: center; padding-top: 8px; }
.popup-thanks .btn { margin-top: 16px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

/* Utility: hidden attr wins */
[hidden] { display: none !important; }

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

/* ---------- Print / PDF ---------- */
@media print {
  .site-header { position: static; }
  .wa-float, .mobile-bar, .popup, .carousel-controls { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .form-col { position: static; }
  .reviews-track { flex-wrap: wrap; overflow: visible; }
  .testi { flex-basis: calc(50% - 10px); }
  .panel, .form-card, .faq, .testi, .svc, .step, .offer-card, .why-grid, .trust-list, .stat-chip, .float-card { break-inside: avoid; page-break-inside: avoid; }
  .services-wrap, .why-section, .reviews-section, .faq-section, .final-wrap { break-before: auto; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .form-col { position: static; }
  .faq-head { position: static; }
  .site-footer { padding-bottom: 40px; break-inside: avoid; }
  .hero { min-height: 0; }
}
