:root{
  --white:#ffffff; --bg:#f5f9f8; --ink:#173430; --ink-2:#5b7370; --ink-3:#93a8a5;
  --teal:#0f9d8a; --teal-dark:#0b7f70; --teal-soft:#dcf2ee; --teal-ghost:#eef8f6;
  --peach:#ff9b6b; --peach-soft:#ffeee4; --line:#e2ecea;
  --font:'Nunito',system-ui,sans-serif;
  --radius:18px; --radius-lg:28px;
  --shadow:0 2px 4px rgba(23,52,48,.04),0 14px 34px rgba(23,52,48,.08);
  --shadow-lg:0 4px 8px rgba(23,52,48,.05),0 28px 60px rgba(23,52,48,.12);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}
body{
  font-family:var(--font);background:var(--bg);color:var(--ink);
  font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden;
}
::selection{background:var(--teal-soft)}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
button{font:inherit;cursor:pointer;border:none;background:none;color:inherit}
.container{max-width:1160px;margin:0 auto;padding:0 24px}
h1,h2,h3{font-weight:800;letter-spacing:-.015em;line-height:1.12}

/* nav */
.nav{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:76px}
.logo{display:flex;align-items:center;gap:10px;font-weight:900;font-size:22px;color:var(--ink)}
.logo .drop{
  width:34px;height:34px;border-radius:50% 50% 50% 6px;transform:rotate(-45deg);
  background:linear-gradient(135deg,var(--teal),#3fc4b1);display:grid;place-items:center;
}
.logo .drop svg{transform:rotate(45deg);width:16px;height:16px}
.nav-links{display:flex;gap:30px}
.nav-links a{font-size:14.5px;font-weight:700;color:var(--ink-2);transition:color .2s}
.nav-links a:hover,.nav-links a:focus-visible{color:var(--teal)}
.nav-phone{text-align:right}
.nav-phone a{font-weight:800;font-size:16px;white-space:nowrap}
.nav-phone small{display:block;font-size:11.5px;color:var(--ink-3);font-weight:600}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;
  padding:14px 28px;border-radius:100px;font-weight:800;font-size:15px;
  transition:transform .2s,box-shadow .2s,background .2s;
}
.btn:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
.btn-teal{background:var(--teal);color:#fff;box-shadow:0 8px 22px rgba(15,157,138,.35)}
.btn-teal:hover{background:var(--teal-dark);transform:translateY(-2px);box-shadow:0 12px 28px rgba(15,157,138,.45)}
.btn-ghost{background:var(--teal-ghost);color:var(--teal-dark)}
.btn-ghost:hover{background:var(--teal-soft)}
.btn-white{background:#fff;color:var(--teal-dark);box-shadow:var(--shadow)}
.btn-white:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}
.btn-lg{padding:17px 34px;font-size:16px}
.menu-btn{display:none;width:44px;height:44px;align-items:center;justify-content:center;border-radius:12px}

/* hero */
.hero{padding:140px 0 80px}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:52px;align-items:center}
.hero-badge{
  display:inline-flex;align-items:center;gap:9px;background:var(--white);border-radius:100px;
  padding:8px 18px;font-size:13.5px;font-weight:700;color:var(--teal-dark);box-shadow:var(--shadow);margin-bottom:24px;
}
h1{font-size:clamp(36px,5.2vw,58px);font-weight:900;margin-bottom:20px}
h1 .hl{color:var(--teal)}
.hero p{font-size:17.5px;color:var(--ink-2);max-width:470px;margin-bottom:32px;font-weight:600}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:36px}
.hero-trust{display:flex;gap:26px;flex-wrap:wrap}
.ht{display:flex;align-items:center;gap:11px}
.ht .ic{width:44px;height:44px;border-radius:14px;background:var(--white);box-shadow:var(--shadow);display:grid;place-items:center;flex:none}
.ht .ic svg{width:21px;height:21px;stroke:var(--teal)}
.ht b{font-size:15px;display:block;line-height:1.3}
.ht span{font-size:12.5px;color:var(--ink-3);font-weight:600}
.hero-img{position:relative}
.hero-img img{width:100%;aspect-ratio:5/6;object-fit:cover;border-radius:36px;box-shadow:var(--shadow-lg)}
.float-card{
  position:absolute;background:var(--white);border-radius:18px;box-shadow:var(--shadow-lg);
  padding:14px 18px;display:flex;align-items:center;gap:12px;
}
.float-card.f1{top:26px;left:-26px}
.float-card.f2{bottom:30px;right:-18px}
.float-card .fc-ic{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;flex:none}
.float-card b{font-size:14px;display:block;line-height:1.25}
.float-card span{font-size:12px;color:var(--ink-3);font-weight:600}

/* sections */
.section{padding:96px 0}
.sec-head{text-align:center;max-width:620px;margin:0 auto 56px}
.kicker{
  display:inline-block;background:var(--teal-soft);color:var(--teal-dark);font-size:13px;
  font-weight:800;padding:7px 18px;border-radius:100px;margin-bottom:16px;
}
h2{font-size:clamp(28px,4vw,44px);margin-bottom:14px}
.sec-head p{color:var(--ink-2);font-weight:600}

/* features */
.feats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.feat{background:var(--white);border-radius:var(--radius-lg);padding:32px;box-shadow:var(--shadow);transition:transform .25s,box-shadow .25s}
.feat:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.feat .ic{width:54px;height:54px;border-radius:16px;background:var(--teal-ghost);display:grid;place-items:center;margin-bottom:20px}
.feat .ic svg{width:25px;height:25px;stroke:var(--teal)}
.feat h3{font-size:19px;margin-bottom:10px}
.feat p{font-size:14.5px;color:var(--ink-2);font-weight:600}

/* services */
.svc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.svc{
  background:var(--white);border-radius:var(--radius-lg);padding:30px;box-shadow:var(--shadow);
  display:flex;gap:20px;align-items:flex-start;
}
.svc .ic{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;flex:none}
.svc .ic svg{width:24px;height:24px}
.svc h3{font-size:18px;margin-bottom:6px}
.svc p{font-size:14px;color:var(--ink-2);font-weight:600;margin-bottom:12px}
.svc .price{font-weight:900;font-size:17px;color:var(--teal-dark);font-variant-numeric:tabular-nums}
.svc .price small{font-weight:700;font-size:12.5px;color:var(--ink-3)}

/* doctor */
.doc{background:var(--white);border-radius:36px;box-shadow:var(--shadow);overflow:hidden;display:grid;grid-template-columns:.9fr 1.1fr}
.doc-img{position:relative;min-height:420px}
.doc-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.doc-body{padding:clamp(30px,4.5vw,60px);display:flex;flex-direction:column;justify-content:center}
.doc-body .kicker{align-self:flex-start}
.doc-body h2{margin-bottom:6px}
.doc-role{color:var(--teal-dark);font-weight:800;margin-bottom:18px}
.doc-body>p{color:var(--ink-2);font-weight:600;margin-bottom:24px}
.doc-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:30px}
.df{background:var(--teal-ghost);border-radius:16px;padding:16px}
.df b{font-size:22px;font-weight:900;color:var(--teal-dark);display:block;font-variant-numeric:tabular-nums}
.df span{font-size:12.5px;color:var(--ink-2);font-weight:700}
.doc-note{font-size:13.5px;color:var(--ink-3);font-weight:600}

/* steps */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;counter-reset:s}
.step{background:var(--white);border-radius:var(--radius-lg);padding:30px 26px;box-shadow:var(--shadow);position:relative}
.step::before{
  counter-increment:s;content:counter(s,decimal-leading-zero);
  font-weight:900;font-size:15px;color:#fff;background:var(--teal);
  width:42px;height:42px;border-radius:50%;display:grid;place-items:center;margin-bottom:18px;
}
.step h3{font-size:17px;margin-bottom:8px}
.step p{font-size:13.5px;color:var(--ink-2);font-weight:600}

/* reviews */
.revs{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.rev{background:var(--white);border-radius:var(--radius-lg);padding:30px;box-shadow:var(--shadow)}
.rev .stars{color:#ffb547;font-size:16px;letter-spacing:3px;margin-bottom:14px}
.rev p{font-size:14.5px;color:var(--ink-2);font-weight:600;margin-bottom:20px}
.rev .who{display:flex;align-items:center;gap:12px}
.rev .ava{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;font-size:14px;flex:none}
.rev .name{font-weight:800;font-size:14.5px}
.rev .what{font-size:12.5px;color:var(--ink-3);font-weight:700}

/* booking */
.book{background:linear-gradient(140deg,var(--teal),#128c7c 60%,#0b7f70);border-radius:36px;color:#fff;overflow:hidden;position:relative}
.book::after{
  content:'';position:absolute;right:-120px;top:-120px;width:380px;height:380px;border-radius:50%;
  background:rgba(255,255,255,.08);pointer-events:none;
}
.book-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;padding:clamp(36px,5.5vw,64px);position:relative;z-index:1}
.book h2{color:#fff;margin-bottom:14px}
.book>div>p, .book-left p{color:#cdeee8;font-weight:600}
.book-perks{display:grid;gap:14px;margin-top:28px}
.bp{display:flex;gap:13px;align-items:flex-start;font-weight:700;font-size:15px}
.bp svg{width:20px;height:20px;stroke:#9fe8da;flex:none;margin-top:2px}
.book-form{background:var(--white);border-radius:24px;padding:32px;color:var(--ink);box-shadow:var(--shadow-lg)}
.book-form h3{font-size:20px;margin-bottom:20px}
.bf-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.book-form label{font-size:12.5px;font-weight:800;color:var(--ink-2);display:block;margin-bottom:7px}
.book-form input,.book-form select{
  width:100%;background:var(--bg);border:2px solid transparent;border-radius:14px;
  padding:13px 16px;font:inherit;font-size:15px;font-weight:600;color:var(--ink);min-height:49px;
  margin-bottom:16px;
}
.book-form input:focus,.book-form select:focus{outline:none;border-color:var(--teal);background:#fff}
.book-form input::placeholder{color:var(--ink-3)}
.form-msg{font-size:13.5px;font-weight:700;display:none;margin-top:12px}
.form-msg.err{display:block;color:#d64545}
.form-msg.ok{display:block;color:var(--teal-dark)}

/* contacts */
.contacts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.contact{background:var(--white);border-radius:var(--radius-lg);padding:30px;box-shadow:var(--shadow);text-align:center}
.contact .ic{width:50px;height:50px;border-radius:16px;background:var(--teal-ghost);display:grid;place-items:center;margin:0 auto 16px}
.contact .ic svg{width:23px;height:23px;stroke:var(--teal)}
.contact b{display:block;font-size:16.5px;margin-bottom:4px}
.contact span{font-size:14px;color:var(--ink-2);font-weight:600}

/* footer */
footer{padding:52px 0 38px}
.foot{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap;align-items:center}
.foot-links{display:flex;gap:24px;flex-wrap:wrap}
.foot-links a{font-size:14px;font-weight:700;color:var(--ink-2)}
.foot-links a:hover{color:var(--teal)}
.foot-bottom{margin-top:34px;padding-top:22px;border-top:1px solid var(--line);font-size:12.5px;color:var(--ink-3);font-weight:600;max-width:860px}

/* reveal */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease}
.reveal.visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none}}

@media (max-width:1020px){
  .hero-grid{grid-template-columns:1fr;gap:56px}
  .feats,.revs,.contacts{grid-template-columns:1fr;max-width:480px;margin:0 auto}
  .svc-grid{grid-template-columns:1fr}
  .doc{grid-template-columns:1fr}
  .doc-img{min-height:380px}
  .steps{grid-template-columns:1fr 1fr}
  .book-grid{grid-template-columns:1fr}
  .nav-links,.nav-phone{display:none}
  .nav-links.open{
    display:flex;flex-direction:column;position:absolute;top:76px;left:0;right:0;
    background:#fff;padding:26px 24px;gap:20px;border-bottom:1px solid var(--line);
  }
  .menu-btn{display:flex}
}
@media (max-width:600px){
  .steps{grid-template-columns:1fr}
  .bf-row{grid-template-columns:1fr}
  .float-card.f1{left:8px}
  .float-card.f2{right:8px}
  .section{padding:70px 0}
}

/* ---- cross-document View Transitions (progressive enhancement) ---- */
@media (prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto}
  .hero{view-transition-name:page-hero}
  ::view-transition-old(page-hero),::view-transition-new(page-hero){
    animation-duration:.45s;animation-timing-function:cubic-bezier(.4,0,.2,1);
  }
  ::view-transition-old(root),::view-transition-new(root){animation-duration:.35s}
}
