/*
Theme Name: Centro da Dor
Theme URI: https://centrodador.com.br
Author: Studio Alonso
Description: Landing page para Dr. Luiz Eduardo · Medicina da Dor & Medicina Regenerativa · Votuporanga/SP
Version: 1.0.0
License: Proprietary
Text Domain: centro-da-dor
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Manrope:wght@400;500;600;700&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --brand-900: #0A2D6E;
  --brand-800: #11428F;
  --brand-700: #1B5BC9;
  --brand-600: #2E76EE;
  --brand-500: #4A90FF;
  --brand-400: #7AAFFF;
  --brand-300: #A9CAFF;
  --brand-200: #C9DBFF;
  --brand-100: #E4EEFF;
  --brand-050: #F3F7FF;

  --ink-900: #0A152B;
  --ink-800: #0F1F40;
  --ink-700: #1A2D52;
  --ink-600: #2B3F66;
  --ink-500: #475569;
  --ink-400: #64748B;
  --ink-300: #94A3B8;
  --ink-200: #CBD5E1;
  --ink-100: #E2E8F0;
  --ink-050: #F1F5F9;

  --surface: #FFFFFF;
  --surface-1: #F8FAFC;
  --surface-2: #F1F5F9;
  --surface-tint: #F3F7FF;

  --success: #1F8A5B;
  --danger: #C0473F;
  --danger-bg: #F8DEDA;
  --whatsapp: #1F8A5B;
  --whatsapp-hover: #1A7550;

  --fg: var(--ink-900);
  --border: var(--ink-100);
  --border-strong: var(--ink-200);

  --navy-800: var(--ink-800);
  --navy-700: var(--ink-700);
  --sand-100: var(--surface-1);
  --sand-200: var(--surface-2);
  --bordo-700: var(--danger);
  --text-700: var(--ink-700);
  --text-500: var(--ink-500);
  --text-400: var(--ink-400);

  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-in-out: cubic-bezier(.4,0,.2,1);

  --shadow-xs: 0 1px 2px rgba(15,31,64,.05);
  --shadow-brand: 0 8px 32px rgba(74,144,255,.28);

  --container-max: 1200px;
  --container-px: 24px;
  --section-py: 96px;
  --section-py-mobile: 56px;

  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 12px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background: #fff;
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-px);
}
section {
  padding-block: var(--section-py);
  position: relative;
}
@media (max-width: 768px) {
  section { padding-block: var(--section-py-mobile); }
}

/* ============================================================
   GSAP ANIMATION INITIAL STATES
   (GSAP will animate these — JS sets them, so we just ensure
    elements don't flash unstyled before JS loads)
   ============================================================ */
.gsap-fade-up,
.gsap-fade-in,
.gsap-stagger-item {
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
  .gsap-fade-up,
  .gsap-fade-in,
  .gsap-stagger-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--brand-900);
  color: rgba(255,255,255,.85);
  font-size: 12px;
  padding: 10px 0;
  position: relative;
  z-index: 51;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.top-bar a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s var(--ease-out);
}
.top-bar a:hover { color: var(--brand-300); }
.top-bar .creds {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,.6);
  letter-spacing: .06em;
}
.top-bar-r {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
/* ícone e texto sempre na mesma linha (corrige svg { display: block } do reset) */
.top-bar-r span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-bar-r span svg {
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .top-bar .creds { display: none; }
  .top-bar .container { justify-content: center; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(255,255,255,.94);
  box-shadow: 0 1px 0 rgba(10,45,110,.02), 0 8px 24px -16px rgba(10,45,110,.15);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand .mono {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-500);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
  box-shadow: 0 4px 12px rgba(74,144,255,.28);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.brand:hover .mono {
  transform: rotate(-6deg) scale(1.04);
  box-shadow: 0 6px 18px rgba(74,144,255,.4);
}
.brand .mono img { width: 100%; height: 100%; object-fit: contain; }
.brand .txt {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink-900);
  font-weight: 500;
  line-height: 1;
}
.brand .sub {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
  margin-top: 4px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-700);
}
.nav-links a {
  text-decoration: none;
  position: relative;
  padding-block: 6px;
  transition: color .2s var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--brand-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav-links a:hover { color: var(--brand-700); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
  box-shadow: 0 4px 12px rgba(31,138,91,.22);
}
.nav-cta:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(31,138,91,.32);
}
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }   /* CTA já está no drawer mobile */
  .brand .txt { font-size: 17px; }
}

/* Header mobile: logo + toggle apenas, sem overflow */
@media (max-width: 880px) {
  .nav {
    height: 64px;
    gap: 12px;
  }
  .brand .mono {
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-block: 96px 110px;
  background: linear-gradient(180deg, #F3F7FF 0%, #FFFFFF 100%);
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}
.hero-orb-1 {
  top: -220px; right: -180px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(74,144,255,.22) 0%, transparent 70%);
  animation: float-1 14s ease-in-out infinite;
}
.hero-orb-2 {
  bottom: -320px; left: -220px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(74,144,255,.12) 0%, transparent 70%);
  animation: float-2 18s ease-in-out infinite;
}
.hero-orb-3 {
  top: 40%; left: 42%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(74,144,255,.08) 0%, transparent 70%);
  animation: float-1 22s ease-in-out infinite reverse;
}
@keyframes float-1 { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-30px,30px); } }
@keyframes float-2 { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(40px,-40px); } }

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--brand-500);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -.018em;
  color: var(--navy-800);
  font-weight: 500;
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--brand-600);
  font-weight: 400;
  position: relative;
  display: inline-block;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: .06em;
  height: .18em;
  background: rgba(74,144,255,.16);
  z-index: -1;
  border-radius: 2px;
}
.hero p.lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-700);
  margin: 0 0 36px;
  max-width: 52ch;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-sm);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  letter-spacing: .005em;
  transition: all .25s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 4px 14px rgba(74,144,255,.32);
}
.btn-primary:hover {
  background: var(--brand-600);
  box-shadow: 0 8px 22px rgba(74,144,255,.42);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--brand-700);
  border: 1.5px solid var(--brand-500);
}
.btn-secondary:hover {
  background: var(--brand-050);
  transform: translateY(-2px);
}
.btn-wa {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 4px 14px rgba(31,138,91,.28);
}
.btn-wa:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 8px 22px rgba(31,138,91,.38);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn .arrow { transition: transform .25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-stats .num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--navy-800);
  font-weight: 500;
  line-height: 1;
  display: flex;
  align-items: baseline;
}
.hero-stats .num em {
  font-style: normal;
  color: var(--brand-600);
  font-size: 18px;
  margin-left: 2px;
  font-weight: 500;
}
.hero-stats .lbl {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-500);
  font-weight: 600;
  line-height: 1.4;
}

.hero-portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 8px;
  overflow: hidden;
  background: var(--brand-100);
  box-shadow: 0 30px 60px -20px rgba(10,45,110,.25), 0 18px 36px -18px rgba(10,45,110,.15);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transition: transform 1.2s var(--ease-out);
}
.hero-portrait:hover img { transform: scale(1.03); }
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,45,110,.45) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-badge {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  padding: 16px 18px;
  border-radius: var(--r-md);
  box-shadow: 0 14px 30px -10px rgba(10,45,110,.25);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}
.hero-badge .icn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--brand-050);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-600);
  flex-shrink: 0;
}
.hero-badge .name {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--navy-800);
  font-weight: 500;
  line-height: 1.15;
}
.hero-badge .role {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-600);
  font-weight: 600;
  margin-top: 3px;
}
.hero-badge .crm {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-500);
  margin-top: 2px;
  letter-spacing: .02em;
}

.hero-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
.float-pill {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 28px -10px rgba(10,45,110,.25);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: .02em;
}
.float-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(31,138,91,.18);
}
.float-pill.fp-1 { top: 18%; left: 14px; animation: pill-float-a 8s ease-in-out infinite; }
.float-pill.fp-2 { bottom: 30%; right: 14px; animation: pill-float-b 10s ease-in-out infinite; }
@keyframes pill-float-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pill-float-b { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

@media (max-width: 880px) {
  .hero { padding-block: 56px 64px; }
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-portrait { aspect-ratio: 4/4.5; max-width: 480px; margin: 0 auto; width: 100%; }
  .hero-floats { display: none; }
}

@media (max-width: 600px) {
  .hero { padding-block: 40px 52px; }
  .hero h1 { font-size: clamp(34px, 9vw, 48px); }
  .hero p.lead { font-size: 16px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  /* Stats: 3 colunas iguais sempre, sem quebra de linha estranha */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 24px;
  }
  .hero-stats .stat { gap: 4px; }
  .hero-stats .num { font-size: 26px; }
  .hero-stats .lbl { font-size: 9px; letter-spacing: .12em; }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  padding-block: 32px;
  background: #fff;
  border-block: 1px solid var(--border);
  overflow: hidden;
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-400);
  font-weight: 600;
}
.trust-inner > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.trust-inner svg { width: 14px; height: 14px; color: var(--brand-500); }
.trust-divider { width: 1px; height: 18px; background: var(--border-strong, var(--ink-200)); }

@media (max-width: 640px) {
  .trust { padding-block: 24px; }
  .trust-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
    text-align: left;
  }
  /* especificidade maior que .trust-inner > span para sobrescrever display */
  .trust-inner > span.trust-divider { display: none; }
  .trust-inner > span { gap: 8px; font-size: 11px; }
}

/* ============================================================
   INTRO
   ============================================================ */
.intro {
  background: var(--brand-050);
  text-align: center;
  overflow: hidden;
}
.intro::before, .intro::after {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,144,255,.1) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.intro::before { top: -100px; left: -100px; }
.intro::after { bottom: -100px; right: -100px; }
.intro .container { max-width: 880px; position: relative; z-index: 1; }

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: "";
  display: block;
  width: 24px; height: 1px;
  background: var(--brand-500);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--navy-800);
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--brand-600); font-weight: 400; }
.intro .lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-700);
  margin: 30px auto 0;
  max-width: 62ch;
  text-wrap: pretty;
}
.intro .lead strong { color: var(--navy-800); font-weight: 600; }

/* ============================================================
   CASES
   ============================================================ */
.cases { background: #fff; }
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start; /* cada linha alinha pelo topo, sem esticar individualmente */
}
.case {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;           /* preenche a célula do grid */
  box-shadow: var(--shadow-xs);
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out), border-color .3s var(--ease-out);
}
.case:hover {
  box-shadow: 0 20px 40px -16px rgba(10,45,110,.18), 0 8px 18px -8px rgba(10,45,110,.1);
  transform: translateY(-4px);
  border-color: var(--brand-200);
}
.case-img {
  aspect-ratio: 5/3;
  background: var(--sand-200);
  position: relative;
  overflow: hidden;
}
.case-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out), filter .4s var(--ease-out);
  filter: grayscale(15%) contrast(1.02);
}
.case:hover .case-img img {
  transform: scale(1.06);
  filter: grayscale(0%) contrast(1.05);
}
.case-img .tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy-800);
  font-weight: 600;
}
.case-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.case-body h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy-800);
  margin: 0;
  line-height: 1.15;
}
.case-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.case-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.case-row .lbl {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.case-row.problem .lbl { color: var(--bordo-700); }
.case-row.problem .lbl::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--bordo-700); }
.case-row.solution .lbl { color: var(--brand-600); }
.case-row.solution .lbl::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500); }
.case-row p { font-size: 14px; line-height: 1.6; color: var(--text-700); margin: 0; }
.case-row p strong { color: var(--navy-800); font-weight: 600; }
.cases-cta { text-align: center; margin-top: 56px; }

@media (max-width: 1000px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .case-body { padding: 20px; }
  .case-body h3 { font-size: 20px; }
  .case-img { aspect-ratio: 16/9; } /* imagem mais larga em mobile */
}

/* ============================================================
   COMPARE
   ============================================================ */
.compare { background: var(--brand-050); }
.compare-table {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 22px -10px rgba(10,45,110,.12);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.compare-row:last-child { border-bottom: 0; }
.compare-row > div {
  padding: 20px 22px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-700);
}
.compare-row.header > div {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--sand-100);
  color: var(--text-500);
}
.compare-row .col-criteria {
  font-weight: 600;
  color: var(--navy-800);
  background: var(--sand-100);
  font-size: 13px;
}
.compare-row .col-ours {
  background: linear-gradient(180deg, var(--brand-050) 0%, #fff 100%);
  color: var(--navy-800);
  font-weight: 500;
}
.compare-row.header .col-ours {
  background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-700) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.compare-row.header .col-ours::after { content: "★"; margin-left: auto; opacity: .9; }
.compare-row .col-ours strong { color: var(--brand-700); font-weight: 700; }

@media (max-width: 880px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-row.header { display: none; }
  .compare-row > div { border-bottom: 1px solid var(--border); }
  .compare-row > div:last-child { border-bottom: 0; }
  .compare-row .col-criteria { font-size: 14px; background: var(--brand-050); }
  .compare-row > div::before {
    content: attr(data-lbl);
    display: block;
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-400);
    font-weight: 600;
    margin-bottom: 6px;
  }
}

/* ============================================================
   WHY (dark)
   ============================================================ */
.why {
  background: var(--brand-900);
  color: #fff;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute;
  top: -200px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,144,255,.22) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.why::after {
  content: "";
  position: absolute;
  bottom: -150px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,144,255,.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.why .container { position: relative; z-index: 1; }
.why .section-eyebrow { color: var(--brand-300); }
.why .section-eyebrow::before, .why .section-eyebrow::after { background: var(--brand-300); }
.why .section-title { color: #fff; }
.why .section-title em { color: var(--brand-300); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  padding: 34px 26px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.01) 100%);
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out), transform .3s var(--ease-out);
}
.why-card:hover {
  border-color: rgba(74,144,255,.4);
  background: linear-gradient(180deg, rgba(74,144,255,.06) 0%, rgba(74,144,255,.02) 100%);
  transform: translateY(-3px);
}
.why-card .icn {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(74,144,255,.14);
  color: var(--brand-300);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform .3s var(--ease-out);
}
.why-card:hover .icn { transform: scale(1.05) rotate(-4deg); }
.why-card h4 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.2;
}
.why-card p { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,.72); margin: 0; }

@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 14px; } }

/* ============================================================
   HOW
   ============================================================ */
.how { background: #fff; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 32px; left: 10%; right: 10%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--brand-300) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step .num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-600);
  border: 1.5px solid var(--brand-300);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  line-height: 1;
  box-shadow: 0 0 0 8px #fff, 0 6px 18px -6px rgba(74,144,255,.3);
  transition: all .3s var(--ease-out);
}
.step:hover .num {
  background: var(--brand-500);
  color: #fff;
  border-color: var(--brand-500);
  transform: scale(1.06);
  box-shadow: 0 0 0 8px #fff, 0 10px 26px -6px rgba(74,144,255,.5);
}
.step h4 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy-800);
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.2;
}
.step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-500);
  margin: 0;
  max-width: 24ch;
  margin-inline: auto;
}
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps::before { display: none; }
}

/* ============================================================
   DOCTOR
   ============================================================ */
.doctor { background: var(--brand-050); overflow: hidden; }
.doctor::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,144,255,.15) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.doctor .container {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.doctor-image {
  aspect-ratio: 3/4;
  border-radius: 8px;
  background: var(--brand-100);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(10,45,110,.28), 0 18px 36px -18px rgba(10,45,110,.18);
  position: relative;
}
.doctor-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.doctor-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,45,110,.18) 100%);
  pointer-events: none;
}
.doctor-body .role {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-600);
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.doctor-body .role::before { content: ""; width: 24px; height: 1px; background: var(--brand-500); }
.doctor-body h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 500;
  color: var(--navy-800);
  margin: 0 0 24px;
  line-height: 1.08;
  letter-spacing: -.01em;
}
.doctor-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-700);
  margin: 0 0 16px;
}
.doctor-body p strong { color: var(--navy-800); font-weight: 600; }
.doctor-creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.doctor-creds .item {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.doctor-creds .item:hover { border-color: var(--brand-300); transform: translateY(-2px); }
.doctor-creds .item .lbl {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-400);
  font-weight: 600;
  margin-bottom: 8px;
}
.doctor-creds .item .val {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy-800);
  font-weight: 500;
  line-height: 1.15;
}
.doctor-creds .item .val small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-500);
  font-weight: 400;
  margin-top: 4px;
  letter-spacing: 0;
  line-height: 1.4;
}
@media (max-width: 880px) {
  .doctor .container { grid-template-columns: 1fr; gap: 48px; }
  .doctor-image { max-width: 380px; margin: 0 auto; }
}

/* ============================================================
   QUOTE
   ============================================================ */
.quote-section {
  background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-700) 100%);
  padding-block: 104px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.12) 0%, transparent 60%);
  pointer-events: none;
}
.quote-section::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
}
.quote-section .container {
  max-width: 880px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 140px;
  line-height: 0;
  color: rgba(255,255,255,.45);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 28px;
  height: 48px;
}
.quote-body {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 40px);
  font-style: italic;
  line-height: 1.28;
  color: #fff;
  margin: 0 0 36px;
  font-weight: 400;
  text-wrap: balance;
}
.quote-attr {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  font-weight: 600;
}
.quote-attr strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  margin-bottom: 4px;
  font-style: italic;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--brand-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,144,255,.22) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.contact::after {
  content: "";
  position: absolute;
  top: -150px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,144,255,.14) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.contact .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.contact .section-eyebrow { color: var(--brand-300); }
.contact .section-eyebrow::before, .contact .section-eyebrow::after { background: var(--brand-300); }
.contact .section-title { color: #fff; }
.contact .section-title em { color: var(--brand-300); }
.contact .lead {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,.75);
  max-width: 46ch;
  margin-top: 24px;
}
.contact-info { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item a {
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform .25s var(--ease-out);
}
.info-item a:hover { transform: translateX(4px); }
.info-item .icn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--brand-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .25s var(--ease-out);
}
.info-item a:hover .icn { background: rgba(74,144,255,.18); }
.info-item .lbl {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-300);
  font-weight: 600;
  margin-bottom: 5px;
}
.info-item .val {
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  font-weight: 500;
  line-height: 1.2;
}
.info-item .val.small { font-size: 17px; }
.info-item .sub { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 3px; }

.contact-map {
  aspect-ratio: 5/4;
  background: linear-gradient(135deg, #11428F 0%, #0A2D6E 100%);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.4);
}
.map-pattern {
  position: absolute;
  inset: 0;
  opacity: .4;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-roads { position: absolute; inset: 0; opacity: .35; }
.map-pin {
  position: absolute;
  top: 46%; left: 50%;
  transform: translate(-50%, -100%);
  text-align: center;
  z-index: 2;
}
.map-pin .dot {
  width: 18px; height: 18px;
  background: var(--brand-400);
  border-radius: 50%;
  margin: 0 auto;
  border: 4px solid #fff;
  box-shadow: 0 0 0 4px rgba(74,144,255,.4), 0 0 0 12px rgba(74,144,255,.18);
  animation: pin-pulse 2.2s ease-in-out infinite;
}
@keyframes pin-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74,144,255,.4), 0 0 0 12px rgba(74,144,255,.18); }
  50% { box-shadow: 0 0 0 4px rgba(74,144,255,.5), 0 0 0 20px rgba(74,144,255,.08); }
}
.map-pin .lbl {
  margin-top: 14px;
  background: #fff;
  color: var(--navy-800);
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(0,0,0,.25);
  text-align: left;
  font-family: var(--font-body);
}
.map-pin .lbl small { display: block; font-weight: 400; font-size: 10px; color: var(--text-500); margin-top: 2px; }

@media (max-width: 880px) { .contact .container { grid-template-columns: 1fr; gap: 48px; } }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  position: relative;
  background: #fff;
  color: var(--ink-900);
  overflow: hidden;
}
.foot-bg { position: absolute; inset: 0 0 auto 0; height: 340px; z-index: 0; pointer-events: none; }
.foot-bg svg { display: block; width: 100%; height: 100%; }
.foot-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 72px 24px 48px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.foot-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-top: 8px;
}
.foot-logo { width: 220px; height: auto; margin-bottom: 32px; align-self: center; }
.foot-line {
  font-size: 15px;
  color: var(--ink-800);
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
  padding-left: 24px;
}
.foot-line strong { font-weight: 700; color: var(--ink-900); display: block; margin-top: 2px; }
.foot-tag {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink-700);
  line-height: 1.45;
  margin: 0;
  max-width: 42ch;
  padding-left: 24px;
  font-style: italic;
}
.foot-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 32px;
  box-shadow: 0 20px 50px rgba(10,45,110,.18), 0 4px 12px rgba(10,45,110,.06);
  align-self: start;
}
.foot-card h3 {
  font-family: var(--font-display);
  color: var(--brand-500);
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 18px;
  line-height: 1;
}
.foot-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.foot-card li a, .foot-card .addr {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-800);
  text-decoration: none;
  transition: color .2s var(--ease-out);
}
.foot-card li a:hover { color: var(--brand-600); }
.foot-card .ic-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand-050);
  color: var(--brand-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s var(--ease-out);
}
.foot-card li a:hover .ic-circle { transform: scale(1.08); }
.foot-card .ic-circle svg { width: 14px; height: 14px; }
.foot-card .ic-wa { background: #E0F0E8; color: #1F8A5B; }
.foot-card .ic-pin { background: #FCE6E4; color: #C0473F; }
.foot-card .addr { align-items: flex-start; line-height: 1.5; }
.foot-card .addr small { color: var(--ink-500); font-size: 12px; }
.foot-card .addr-2 { color: var(--ink-500); font-size: 13px; margin-top: 2px; }
.foot-legal {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 13px;
  color: var(--ink-500);
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

@media (max-width: 880px) {
  .foot-bg { height: 260px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; padding: 56px 24px 40px; }
  .foot-brand { align-items: center; text-align: center; }
  .foot-line, .foot-tag { text-align: center; padding-left: 0; }
  .foot-logo { width: 180px; margin-bottom: 16px; }
}

/* ============================================================
   FAB WHATSAPP
   ============================================================ */
.wa-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(31,138,91,.45);
  z-index: 60;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
  text-decoration: none;
}
.wa-fab::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  opacity: .6;
  animation: wa-ring 2.4s ease-out infinite;
}
@keyframes wa-ring {
  0% { transform: scale(.95); opacity: .6; }
  100% { transform: scale(1.4); opacity: 0; }
}
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 12px 28px rgba(31,138,91,.55); }

/* ============================================================
   UTILITIES
   ============================================================ */
.ic { width: 1em; height: 1em; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.ic-f { width: 1em; height: 1em; fill: currentColor; }

/* Mobile menu toggle (hidden on desktop) */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink-700);
}
@media (max-width: 880px) {
  .nav-mobile-toggle { display: flex; align-items: center; justify-content: center; }
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,21,43,.7);
  z-index: 100;
  backdrop-filter: blur(4px);
}
.mobile-nav.is-open { display: block; }
.mobile-nav-drawer {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 90vw);
  height: 100%;
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: -20px 0 60px rgba(10,21,43,.2);
}
.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink-500);
  margin-bottom: 16px;
}
.mobile-nav-drawer a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-800);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: background .15s, color .15s;
}
.mobile-nav-drawer a:hover { background: var(--brand-050); color: var(--brand-700); }
.mobile-nav-drawer .btn-wa {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}
