/* «Белая линия» — белый + мятный */
:root {
  --bg: #ffffff;
  --surface: #effaf6;
  --surface-2: #d6f1e7;
  --text: #0f2a2a;
  --muted: #5a7471;
  --line: rgba(15, 42, 42, .1);
  --accent: #10a37f;
  --accent-hover: #0b8667;
  --accent-ink: #fff;
  --accent-2: #ffb547;
  --dark: #0d2624;
  --radius: 20px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Golos Text", system-ui, sans-serif;
}
.h1 { font-weight: 800; font-size: clamp(32px, 4.6vw, 56px); }
.h2 { font-weight: 800; }
.h3 { font-weight: 700; }

/* hero */
.hero { padding: 48px 0 72px; background: radial-gradient(1000px 500px at 85% 20%, #e3f7ef, transparent 70%); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(16,163,127,.2); animation: blink 1.6s infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 8px rgba(16,163,127,0); } }
.hero__offer { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 16px 20px; border: 2px dashed var(--accent); border-radius: 18px; max-width: 520px; background: #fff; }
.hero__offer-price { display: grid; text-align: center; line-height: 1.1; white-space: nowrap; flex-shrink: 0; }
.hero__offer-price s { color: var(--muted); font-size: 14px; }
.hero__offer-price b { font-family: var(--font-head); font-size: 32px; color: var(--accent); }
.hero__offer span { display: block; color: var(--muted); font-size: 14px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__visual { position: relative; }
.hero__blob { position: absolute; inset: 8% -10% -6% 10%; background: linear-gradient(135deg, var(--accent), #6fe0bf); border-radius: 46% 54% 42% 58% / 52% 38% 62% 48%; animation: morph 12s ease-in-out infinite; opacity: .9; }
@keyframes morph { 50% { border-radius: 58% 42% 55% 45% / 40% 60% 40% 60%; } }
.hero__img { position: relative; aspect-ratio: 5 / 6; border-radius: 200px 200px 28px 28px; box-shadow: var(--shadow-lg); }
.hero__badge { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; padding: 12px 18px; border-radius: 16px; box-shadow: var(--shadow-lg); animation: floaty 6s ease-in-out infinite; }
.hero__badge b { font-family: var(--font-head); font-size: 30px; color: var(--accent); }
.hero__badge span { font-size: 13px; line-height: 1.3; color: var(--muted); }
.hero__badge--1 { left: -28px; top: 18%; }
.hero__badge--1 span { color: var(--accent-2); }
.hero__badge--2 { right: -16px; bottom: 12%; animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.feat { text-align: left; border: 0; }

/* price tabs */
.price-tabs .tabs__btn { font-size: 16px; padding: 14px 24px; }
.price-panel { display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: start; }
.price-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 28px; }
button.price-row { width: 100%; text-align: left; cursor: pointer; transition: background .2s, padding .25s var(--ease); border-radius: 0; }
button.price-row:last-child { border-bottom: 0; }
button.price-row:hover { padding-left: 10px; padding-right: 10px; background: var(--surface); }
button.price-row:hover .price-row__val { color: var(--accent); }
.price-row__val::after { content: " →"; opacity: 0; transition: opacity .2s; }
button.price-row:hover .price-row__val::after { opacity: 1; }
.price-aside { background: linear-gradient(150deg, var(--accent), #2cc59c); color: #fff; border-radius: var(--radius); padding: 28px; position: sticky; top: calc(var(--header-h) + 20px); }
.price-aside b { font-family: var(--font-head); font-size: 26px; display: block; margin-bottom: 8px; }

/* doctors */
.doctor { background: #fff; border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; }
.doctor:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.doctor__photo { aspect-ratio: 4 / 5; border-radius: 0; }
.doctor:hover .doctor__photo img { transform: scale(1.05); }
.doctor__body { padding: 20px; display: grid; gap: 4px; flex: 1; align-content: start; }
.doctor__body p { color: var(--muted); }
.doctor__exp { display: inline-block; width: fit-content; margin: 8px 0 14px; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--accent); font-size: 13px; font-weight: 700; }
.doctor .btn { margin-top: auto; }

/* clinic */
.checks { display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); color: var(--accent); font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.clinic-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.clinic-gallery .media { aspect-ratio: 1; display: block; cursor: zoom-in; }
.clinic-gallery .media:nth-child(1) { border-radius: 120px 20px 20px 20px; }
.clinic-gallery .media:nth-child(4) { border-radius: 20px 20px 120px 20px; }

.contact-card { background: var(--surface); border-radius: 28px; padding: 40px; }

/* booking modal */
.book { max-width: 560px; }
.book .chips { gap: 8px; }
.book .chip span { padding: 8px 14px; font-size: 14px; display: grid; text-align: center; line-height: 1.25; }
.book .chip small { font-weight: 500; opacity: .75; font-size: 12px; }
.book .chip input:disabled + span { opacity: .35; text-decoration: line-through; pointer-events: none; }
.book .chip input:disabled { pointer-events: none; }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .price-panel { grid-template-columns: 1fr; }
  .price-aside { position: static; }
}
@media (max-width: 640px) {
  .hero { padding-top: 28px; }
  .hero__actions .btn { width: 100%; }
  .hero__badge--1 { left: 0; }
  .hero__badge--2 { right: 0; }
  .hero__offer { gap: 12px; padding: 14px; }
  .price-tabs .tabs__list { flex-wrap: nowrap; overflow-x: auto; margin-left: -20px; margin-right: -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .price-tabs .tabs__btn { flex-shrink: 0; padding: 12px 18px; font-size: 15px; }
  .price-list { padding: 4px 16px; }
  .doctors { grid-template-columns: 1fr 1fr; gap: 12px; }
  .doctor__body { padding: 14px; }
  .doctor__body .h3 { font-size: 16px; }
  .doctor__body p { font-size: 14px; }
  .contact-card { padding: 24px; }
}
