:root {
  --blue: #1f6bff;
  --blue-dark: #1550c8;
  --blue-deep: #0b2a6b;
  --blue-soft: #eaf1ff;
  --blue-soft-2: #f5f8ff;
  --ink: #0f1e38;
  --muted: #5c6b85;
  --white: #ffffff;
  --line: #e7eefb;
  --shadow-sm: 0 6px 20px rgba(31, 107, 255, .08);
  --shadow-md: 0 16px 40px rgba(31, 107, 255, .13);
  --shadow-lg: 0 34px 80px rgba(11, 42, 107, .20);
  --radius: 22px;
  --radius-lg: 32px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink); background: var(--white); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { width: min(1180px, 92%); margin-inline: auto; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.02em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  border: none; border-radius: 999px; padding: .85rem 1.5rem;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(180deg, #3f86ff 0%, var(--blue) 52%, var(--blue-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(31,107,255,.45), 0 4px 9px rgba(31,107,255,.32), inset 0 1px 0 rgba(255,255,255,.38);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #4f90ff 0%, #2f78ff 52%, var(--blue) 100%);
  box-shadow: 0 18px 36px rgba(31,107,255,.55), 0 6px 14px rgba(31,107,255,.38), inset 0 1px 0 rgba(255,255,255,.45);
  transform: translateY(-3px);
}
.btn-primary:active {
  transform: translateY(2px) scale(.99);
  box-shadow: 0 4px 10px rgba(31,107,255,.40), inset 0 2px 6px rgba(11,42,107,.28);
}
.btn-white { background: #fff; color: var(--blue); box-shadow: 0 12px 26px rgba(11,42,107,.28), 0 4px 9px rgba(11,42,107,.18), inset 0 1px 0 rgba(255,255,255,.9); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(11,42,107,.34), 0 8px 16px rgba(11,42,107,.20); }
.btn-white:active { transform: translateY(2px) scale(.99); box-shadow: 0 4px 10px rgba(11,42,107,.30); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--blue-soft-2); }
.btn-sm { padding: .62rem 1.15rem; font-size: .92rem; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-link { background: none; color: var(--muted); box-shadow: none; font-weight: 600; padding: .5rem; }
.btn-link:hover { color: var(--blue); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.2rem; padding: .8rem 0; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; background: var(--blue-soft); border-radius: 12px; }
.brand-text { font-size: 1.08rem; letter-spacing: -.02em; }
.brand-text strong { color: var(--blue); font-weight: 800; margin-left: 3px; }
.nav { margin-left: auto; display: flex; gap: 1.5rem; }
.nav a { color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--blue); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: clamp(2.2rem, 5vw, 4.5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(820px 520px at 88% -8%, #d7e6ff 0%, transparent 62%),
    radial-gradient(680px 480px at -6% 18%, #eef4ff 0%, transparent 58%);
}
.hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.badge-pill {
  display: inline-flex; align-items: center; gap: .4rem; background: #fff; color: var(--blue-deep);
  font-weight: 700; font-size: .82rem; padding: .5rem .9rem; border-radius: 999px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2.15rem, 5vw, 3.55rem); font-weight: 800; }
.hero h1 .accent { color: var(--blue); }
.lead { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.14rem); margin: 1.15rem 0 1.8rem; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-trust { display: flex; align-items: center; gap: .9rem; margin-top: 2rem; }
.avatars { display: flex; }
.avatars span {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; font-size: .75rem; font-weight: 700;
  border: 3px solid #fff; margin-left: -12px; box-shadow: var(--shadow-sm);
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2){ background:#2f8bff } .avatars span:nth-child(3){ background:#5a6cff } .avatars span:nth-child(4){ background:#12b3a8 }
.trust-text { display: flex; flex-direction: column; font-size: .88rem; color: var(--muted); }
.trust-text .stars { color: #f5a623; font-weight: 700; }
.trust-text .stars b { color: var(--ink); }

/* Hero visual */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero-photo-wrap {
  position: relative; z-index: 2; width: min(420px, 88%); aspect-ratio: 1/1;
  border-radius: 40% 40% 42% 42% / 46% 46% 40% 40%;
  background: linear-gradient(160deg, var(--blue) 0%, #3f86ff 60%, #6aa4ff 100%);
  padding: 14px; box-shadow: var(--shadow-lg); animation: morph 10s ease-in-out infinite;
}
@keyframes morph {
  0%,100% { border-radius: 42% 58% 55% 45% / 50% 44% 56% 50%; }
  50% { border-radius: 55% 45% 44% 56% / 46% 55% 45% 54%; }
}
.hero-photo { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.promise-card {
  position: absolute; z-index: 3; left: -6%; bottom: 10%; display: flex; align-items: center; gap: .7rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px); padding: .8rem 1rem;
  border-radius: 16px; box-shadow: var(--shadow-md); animation: bob 5.5s ease-in-out infinite;
}
.promise-card b { display: block; font-size: .95rem; }
.promise-card span { font-size: .78rem; color: var(--muted); }
.stat-chip {
  position: absolute; z-index: 3; background: #fff; border-radius: 16px; padding: .7rem 1rem;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; line-height: 1.1;
  animation: bob 4.5s ease-in-out infinite;
}
.stat-chip b { color: var(--blue); font-size: 1.2rem; }
.stat-chip span { font-size: .72rem; color: var(--muted); }
.chip-1 { top: 6%; right: -2%; } .chip-2 { top: 40%; left: -8%; animation-delay: 1.2s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===== Why / features ===== */
.why { position: relative; z-index: 5; }
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  background: #fff; border-radius: var(--radius-lg); padding: 1.6rem;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.feature { text-align: center; padding: 1rem .6rem; border-radius: 18px; transition: background .2s; }
.feature:hover { background: var(--blue-soft-2); }
.feature-icon { width: 84px; height: 84px; margin: 0 auto .7rem; display: grid; place-items: center; background: var(--blue-soft-2); border-radius: 20px; }
.feature-icon img { width: 64px; height: 64px; object-fit: contain; }
.feature h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.feature p { font-size: .88rem; color: var(--muted); }

/* ===== Section head ===== */
.section-head { text-align: center; max-width: 660px; margin: 0 auto clamp(1.8rem, 4vw, 2.8rem); }
.eyebrow { display: inline-block; color: var(--blue); font-weight: 800; font-size: .8rem; letter-spacing: .12em; margin-bottom: .7rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.section-head p { color: var(--muted); margin-top: .6rem; }

/* ===== Services ===== */
.services { background: linear-gradient(180deg, #fff 0%, var(--blue-soft-2) 100%); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.service-card {
  position: relative; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; cursor: pointer; font-family: inherit; display: flex; flex-direction: column; gap: .35rem;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #cfe0ff; }
.svc-ic { width: 84px; height: 84px; display: grid; place-items: center; background: var(--blue-soft-2); border-radius: 20px; margin-bottom: .5rem; }
.svc-ic img { width: 72px; height: 72px; object-fit: contain; }
.svc-name { font-weight: 800; font-size: 1.2rem; }
.svc-desc { color: var(--muted); font-size: .92rem; }
.svc-go { margin-top: .6rem; color: var(--blue); font-weight: 700; font-size: .9rem; opacity: .85; transition: opacity .2s, transform .2s; }
.service-card:hover .svc-go { opacity: 1; transform: translateX(3px); }

/* ===== Doctor intro band ===== */
.doctor-band { background: #fff; text-align: center; padding-bottom: 0; }
.doctor-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.doctor-role { color: var(--blue); font-weight: 700; margin: .3rem 0 .9rem; }
.doctor-desc { color: var(--muted); max-width: 58ch; margin: 0 auto; }
.doctor-stats { display: flex; justify-content: center; gap: clamp(1.5rem, 5vw, 3.2rem); margin: 1.8rem auto 0; flex-wrap: wrap; }
.doctor-stats b { display: block; font-size: 1.9rem; color: var(--blue); }
.doctor-stats span { font-size: .85rem; color: var(--muted); }

/* ===== Reviews ===== */
.reviews { background: linear-gradient(180deg, var(--blue-soft-2) 0%, #fff 100%); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.review-card .stars { color: #f5a623; margin-bottom: .7rem; letter-spacing: 2px; }
.review-card p { font-size: .96rem; color: #23324c; margin-bottom: 1.2rem; }
.reviewer { display: flex; align-items: center; gap: .7rem; }
.rv-av { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.reviewer b { display: block; font-size: .95rem; }
.reviewer small { color: var(--muted); font-size: .82rem; }

/* ===== CTA band ===== */
.cta-inner {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--blue-deep) 0%, var(--blue) 62%, var(--blue-dark) 100%);
  border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.4rem);
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; color: #fff; box-shadow: var(--shadow-lg);
}
.cta-glow { width: 118px; height: 118px; display: grid; place-items: center; }
.cta-glow img { width: 110px; height: 110px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,0,0,.25)); }
.cta-text { flex: 1 1 300px; }
.cta-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-text p { opacity: .9; margin-top: .4rem; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-inner p { color: var(--muted); font-size: .88rem; }

/* ===== Modal ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
  padding: 1.2rem; background: rgba(11, 42, 107, .45); backdrop-filter: blur(6px);
}
.modal-overlay.is-open { display: flex; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative; width: min(460px, 100%); background: #fff; border-radius: 28px;
  padding: 2.2rem 1.9rem 1.9rem; box-shadow: var(--shadow-lg);
  animation: pop .28s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes pop { from { transform: translateY(16px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border: none; border-radius: 50%; background: var(--blue-soft-2); color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background .2s; }
.modal-close:hover { background: var(--blue-soft); color: var(--ink); }

.progress { display: flex; justify-content: center; gap: .5rem; margin-bottom: 1.6rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: all .3s ease; }
.dot.is-active { background: var(--blue); width: 30px; border-radius: 6px; }
.dot.is-done { background: #9dc0ff; }

.step { display: none; }
.step.is-active { display: block; animation: slide .3s ease; }
@keyframes slide { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.step h3 { font-size: 1.5rem; text-align: center; }
.step-sub { text-align: center; color: var(--muted); margin: .3rem 0 1.3rem; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.choice {
  font-family: inherit; font-weight: 700; font-size: 1rem; color: var(--ink);
  background: var(--blue-soft-2); border: 2px solid transparent; border-radius: 16px;
  padding: 1.05rem 1rem; cursor: pointer; text-align: center; transition: all .18s ease;
}
.choice:hover { border-color: var(--blue); background: var(--blue-soft); transform: translateY(-2px); }
.choice.is-selected { border-color: var(--blue); background: var(--blue-soft); }

.field {
  width: 100%; font-family: inherit; font-size: 1.05rem; padding: 1rem 1.1rem;
  border: 2px solid var(--line); border-radius: 16px; margin-bottom: 1rem; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,107,255,.12); }
.field.err { border-color: #ff5a5a; box-shadow: 0 0 0 4px rgba(255,90,90,.12); }
.js-back { display: block; margin: .4rem auto 0; }

.step-done { text-align: center; }
.done-check {
  width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 50%;
  background: linear-gradient(135deg, #12b3a8, #1f6bff); color: #fff;
  display: grid; place-items: center; font-size: 2.4rem; font-weight: 800; box-shadow: var(--shadow-md); animation: pop .4s ease;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 340px; }
  .lead { max-width: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .service-grid, .review-grid { grid-template-columns: 1fr 1fr; }
  .doctor-inner { grid-template-columns: 1fr; }
  .doctor-photo { max-width: 420px; margin: 0 auto; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .feature-grid, .service-grid, .review-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .header-inner .btn-primary { display: none; }
  .modal { padding: 2rem 1.3rem 1.5rem; }
  .cta-inner { text-align: center; justify-content: center; }
  .promise-card { left: 0; }
}
