:root {
  --white: #FFFFFF;
  --bg: #F6FAF9;
  --mint: #20B2A0;
  --mint-2: #1A9C8C;
  --mint-soft: #E3F5F2;
  --navy: #12324A;
  --muted: #5F7380;
  --line: #E1ECEA;
  --radius: 24px;
  --head: 'Raleway', system-ui, sans-serif;
  --body: 'Golos Text', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--navy); font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-soft { background: var(--bg); }
.label { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--mint-soft); color: var(--mint-2); font-size: .8rem; font-weight: 600; }
.title { font-size: clamp(1.9rem, 7vw, 3rem); margin-top: 14px; }
.title span { color: var(--mint); }
.sub { margin-top: 12px; color: var(--muted); max-width: 56ch; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border: 0; border-radius: 999px; font-weight: 600; cursor: pointer; transition: background .2s, transform .2s; }
.btn:active { transform: scale(.98); }
.btn-mint { background: var(--mint); color: #fff; }
.btn-mint:hover { background: var(--mint-2); }
.btn-ghost { background: var(--mint-soft); color: var(--mint-2); }
.btn-ghost:hover { background: #D2EEE9; }
.btn-block { width: 100%; }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 1.2rem; }
.logo i { display: inline-block; width: 30px; height: 30px; border-radius: 10px 10px 16px 16px; background: var(--mint); position: relative; }
.logo i::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 3px; height: 9px; border-radius: 2px; background: #fff; transform: translateX(-50%); }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .93rem; color: var(--muted); white-space: nowrap; }
.nav a:hover { color: var(--navy); }
.nav a.is-active { background: var(--mint-soft); color: var(--mint-2); font-weight: 600; }
.header-in .nav { display: none; }
.header-phone { display: none; font-weight: 600; }
.subnav { border-top: 1px solid var(--line); padding: 6px 12px; }
.subnav .nav { justify-content: space-between; }

/* hero */
.hero { padding: 28px 0 56px; background: linear-gradient(180deg, var(--bg), var(--white)); }
.hero-in { display: grid; gap: 28px; }
.hero h1 { font-size: clamp(2.3rem, 9.5vw, 4rem); margin-top: 16px; }
.hero h1 span { color: var(--mint); }
.lead { margin-top: 16px; color: var(--muted); font-size: 1.06rem; max-width: 48ch; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; background: #fff; box-shadow: 0 18px 40px -18px rgba(18, 50, 74, .35); font-size: .85rem; }
.float b { display: block; font-family: var(--head); font-size: 1.2rem; }
.float-a { left: 12px; bottom: -22px; }
.float-b { right: 12px; top: 12px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px var(--mint-soft); flex-shrink: 0; }

/* features */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; }
.features li { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.features b { display: block; font-family: var(--head); font-size: 1.05rem; }
.features span { font-size: .85rem; color: var(--muted); }

/* services preview */
.svc-grid { display: grid; gap: 12px; margin-top: 28px; }
.svc { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.svc:hover { border-color: var(--mint); transform: translateY(-3px); }
.svc h3 { font-size: 1.2rem; }
.svc p { color: var(--muted); font-size: .94rem; }
.svc .from { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--mint-2); }

/* doctors */
.doc-grid { display: grid; gap: 20px; margin-top: 28px; }
.doc { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.doc img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--bg); }
.doc div { padding: 18px 20px 22px; }
.doc h3 { font-size: 1.2rem; }
.doc .spec { color: var(--mint-2); font-weight: 600; font-size: .9rem; margin-top: 2px; }
.doc p { color: var(--muted); font-size: .92rem; margin-top: 10px; }

/* reviews */
.reviews { display: grid; gap: 14px; margin-top: 28px; }
.reviews blockquote { margin: 0; padding: 24px; border-radius: var(--radius); background: #fff; }
.reviews .stars { color: #F5B400; letter-spacing: 2px; }
.reviews p { margin-top: 10px; }
.reviews cite { display: block; margin-top: 12px; font-style: normal; font-weight: 600; font-size: .9rem; color: var(--muted); }

/* page hero */
.page-hero { padding: 40px 0 36px; background: var(--bg); }
.page-hero h1 { font-size: clamp(2.2rem, 8vw, 3.4rem); margin-top: 14px; }
.page-hero p { margin-top: 12px; color: var(--muted); max-width: 56ch; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }

/* price list */
.price-cat { padding: 28px 0; border-bottom: 1px solid var(--line); }
.price-cat h2 { font-size: 1.5rem; margin-bottom: 12px; }
.price-cat li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.price-cat li:last-child { border-bottom: 0; }
.price-cat span { color: var(--muted); }
.price-cat b { white-space: nowrap; color: var(--navy); }
.price-layout { display: grid; gap: 32px; }
.side-card { padding: 24px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.side-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; margin-bottom: 18px; }
.side-card h3 { font-size: 1.3rem; }
.side-card p { margin: 10px 0 18px; color: rgba(255, 255, 255, .75); font-size: .95rem; }

/* split */
.split { display: grid; gap: 28px; align-items: center; }
.split img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.checks { display: grid; gap: 10px; margin-top: 18px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--mint-soft); color: var(--mint-2); font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* cta */
.cta { padding: 28px 22px; border-radius: var(--radius); background: var(--mint); color: #fff; display: grid; gap: 18px; }
.cta h2 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
.cta p { margin-top: 8px; opacity: .9; }
.cta .btn { background: #fff; color: var(--mint-2); }

/* contacts */
.contact-grid { display: grid; gap: 28px; }
.info-cards { display: grid; gap: 12px; }
.info-cards div { padding: 20px; border-radius: 18px; background: var(--bg); }
.info-cards span { display: block; font-size: .82rem; color: var(--muted); }
.info-cards b { font-size: 1.1rem; }
.form { display: grid; gap: 12px; padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(18, 50, 74, .35); }
.form h2 { font-size: 1.6rem; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--navy); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--mint); outline-offset: -1px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* footer */
.footer { padding: 32px 0; background: var(--navy); color: rgba(255, 255, 255, .7); font-size: .9rem; }
.footer-in { display: grid; gap: 16px; }
.footer .logo { color: #fff; }
.footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer nav a:hover { color: #fff; }

@media (min-width: 768px) {
  .wrap { padding: 0 32px; }
  .header-in .nav { display: flex; }
  .header-phone { display: inline; }
  .subnav { display: none; }
  .hero { padding: 64px 0 80px; }
  .hero-in { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 56px; }
  .hero-actions { flex-direction: row; }
  .hero-media img { aspect-ratio: 5 / 4; }
  .features { grid-template-columns: repeat(4, 1fr); }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .doc-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .price-layout { grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
  .side-card { position: sticky; top: 90px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .cta { grid-template-columns: 1fr auto; align-items: center; padding: 40px 48px; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
  .info-cards { grid-template-columns: 1fr 1fr; }
  .form { padding: 36px; }
  .footer-in { grid-template-columns: 1fr auto; align-items: center; }
}

/* ===== Головна: віджет запису в героїні ===== */
[hidden] { display: none !important; }
.bk-hero { padding: 26px 0 60px; background: radial-gradient(circle at 15% 20%, var(--mint-soft), transparent 45%), var(--white); }
.bk-in { display: grid; gap: 30px; align-items: center; }
.capsule { position: relative; margin: 0 auto; width: min(320px, 78%); }
.capsule img { width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; border-radius: 999px; border: 8px solid #fff; box-shadow: 0 30px 60px -30px rgba(18, 50, 74, .4); }
.capsule figcaption { position: absolute; left: -12px; bottom: 34px; padding: 10px 16px; border-radius: 18px; background: #fff; box-shadow: 0 16px 34px -14px rgba(18, 50, 74, .35); font-size: .82rem; color: var(--muted); }
.capsule figcaption b { display: block; font-family: var(--head); font-size: 1.3rem; color: var(--navy); }
.capsule::before { content: ''; position: absolute; inset: -18px -18px auto auto; width: 90px; height: 90px; border-radius: 50%; border: 2px dashed var(--mint); }
.bk-copy h1 { font-size: clamp(2.4rem, 10vw, 4rem); margin-top: 14px; }
.bk-copy h1 span { color: var(--mint); }
.widget { display: grid; gap: 10px; margin-top: 24px; padding: 20px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(18, 50, 74, .45); }
.w-step { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.w-days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.w-days button { display: flex; flex-direction: column; align-items: center; padding: 8px 0; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.w-days small { font-size: .72rem; color: var(--muted); }
.w-days b { font-family: var(--head); font-size: 1.15rem; }
.w-days .is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.w-days .is-on small { color: rgba(255, 255, 255, .7); }
.w-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.w-times button { padding: 10px 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 600; font-size: .88rem; cursor: pointer; }
.w-times button:hover:not(:disabled) { border-color: var(--mint); }
.w-times button:disabled { color: #B9C6CC; text-decoration: line-through; background: var(--bg); cursor: not-allowed; }
.w-times .is-on { background: var(--mint); border-color: var(--mint); color: #fff; }
.w-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; animation: rise .35s ease both; }
.w-contact input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.w-contact input:focus { outline: 2px solid var(--mint); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
@keyframes rise { from { opacity: 0; translate: 0 8px; } }

.acc-wrap { display: grid; gap: 28px; }
.acc details { margin-bottom: 8px; border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 20px; font-family: var(--head); font-weight: 700; font-size: 1.05rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--mint-soft); color: var(--mint-2); font-size: .8rem; }
.acc summary::after { content: '+'; margin-left: auto; color: var(--mint); font-size: 1.4rem; transition: rotate .25s; }
.acc details[open] summary::after { rotate: 45deg; }
.acc details[open] summary span { background: var(--mint); color: #fff; }
.acc ul { padding: 0 20px 16px 68px; }
.acc li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: .94rem; }
.acc li span { color: var(--muted); }

.doc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 26px; }
.doc-head .title { margin-bottom: 0; }
.more { font-weight: 600; color: var(--mint-2); white-space: nowrap; }
.pills { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill-doc { flex: 0 0 72%; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 12px 22px; border-radius: 200px 200px 28px 28px; background: var(--bg); transition: background .25s; }
.pill-doc:hover { background: var(--mint-soft); }
.pill-doc img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 999px; margin-bottom: 14px; }
.pill-doc b { font-family: var(--head); font-size: 1.15rem; }
.pill-doc span { font-size: .88rem; color: var(--mint-2); font-weight: 600; }

.score-wrap { display: grid; gap: 22px; }
.score { padding: 28px; border-radius: 28px; background: var(--navy); color: #fff; }
.score > b { font-family: var(--head); font-size: 4.6rem; line-height: 1; }
.score > p { color: #F5B400; letter-spacing: 3px; font-size: 1.2rem; }
.score > span { font-size: .85rem; opacity: .7; }
.bars { margin-top: 18px; display: grid; gap: 6px; }
.bars li { display: grid; grid-template-columns: 16px 1fr; align-items: center; gap: 10px; font-size: .8rem; }
.bars i { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .15); position: relative; overflow: hidden; }
.bars i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--mint); border-radius: 999px; }
.quotes { display: grid; gap: 14px; }
.quotes blockquote { margin: 0; padding: 24px; border-radius: 24px; background: #fff; }
.quotes p { font-family: var(--head); font-weight: 600; font-size: 1.15rem; line-height: 1.4; }
.quotes cite { display: block; margin-top: 12px; font-style: normal; color: var(--muted); font-weight: 600; }

@media (min-width: 768px) {
  .bk-hero { padding: 56px 0 80px; }
  .bk-in { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .capsule { width: 100%; max-width: 380px; }
  .w-times { grid-template-columns: repeat(8, 1fr); }
  .acc-wrap { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .pills { overflow: visible; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .score-wrap { grid-template-columns: .7fr 1.3fr; gap: 24px; align-items: stretch; }
  .quotes { grid-template-columns: 1fr 1fr; }
}

/* ===== Послуги: конструктор плану лікування ===== */
.plan-hero { padding: 32px 0 20px; background: radial-gradient(circle at 85% 10%, var(--mint-soft), transparent 50%); }
.plan-hero-in { position: relative; display: grid; gap: 22px; align-items: center; }
.plan-hero h1, .meet-title { font-size: clamp(2.2rem, 9vw, 3.8rem); margin-top: 14px; }
.plan-hero h1 span, .meet-title span { color: var(--mint); }
.tooth-badge { position: absolute; right: 0; top: -8px; width: 78px !important; display: grid; justify-items: center; width: 130px; color: var(--mint); animation: bob 4s ease-in-out infinite; }
.tooth-badge svg { width: 100%; filter: drop-shadow(0 18px 24px rgba(32, 178, 160, .25)); }
.tooth-badge b { position: absolute; top: 32%; font-family: var(--head); font-size: clamp(1rem, 3vw, 1.7rem); color: var(--navy); }
.tooth-badge small { position: absolute; top: 56%; font-size: clamp(.5rem, 1.5vw, .72rem); font-weight: 600; color: var(--muted); }
@keyframes bob { 50% { translate: 0 -8px; rotate: 4deg; } }
.plan-section { padding-top: 24px; }
.plan-layout { display: grid; gap: 28px; }
.plan-layout > * { min-width: 0; }
.seg { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex-shrink: 0; padding: 10px 16px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.seg .is-on { background: var(--navy); color: #fff; }
.svc-list { display: grid; gap: 10px; margin-top: 18px; }
.svc-list li { display: flex; align-items: center; gap: 14px; padding: 16px 16px 16px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); animation: rise .35s ease both; transition: border-color .2s, background .2s; }
.svc-list li:nth-child(2) { animation-delay: .05s; } .svc-list li:nth-child(3) { animation-delay: .1s; } .svc-list li:nth-child(4) { animation-delay: .15s; }
.svc-list li > div { flex: 1; display: grid; }
.svc-list span { font-weight: 500; }
.svc-list b { font-family: var(--head); color: var(--mint-2); }
.svc-list button { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mint-soft); color: var(--mint-2); font-size: 1.4rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, rotate .3s; }
.svc-list button:hover { rotate: 90deg; }
.svc-list .is-in { border-color: var(--mint); background: var(--mint-soft); }
.svc-list .is-in button { background: var(--mint); color: #fff; rotate: 0deg; }
.plan-card { padding: 24px; border-radius: 28px; background: var(--navy); color: #fff; scroll-margin-top: 120px; }
.plan-card .w-step { color: rgba(255, 255, 255, .6); }
.plan-items { display: grid; gap: 8px; margin: 14px 0 18px; }
.plan-items li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed rgba(255, 255, 255, .15); font-size: .92rem; animation: rise .3s ease both; }
.plan-items b { white-space: nowrap; }
.plan-empty { color: rgba(255, 255, 255, .55); justify-content: flex-start !important; }
.plan-total, .plan-month { display: flex; justify-content: space-between; align-items: baseline; }
.plan-total b { font-family: var(--head); font-size: 2rem; }
.plan-month { margin: 4px 0 20px; color: var(--mint); font-size: .92rem; }
.plan-dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; justify-content: space-between; align-items: center; padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--navy); color: #fff; box-shadow: 0 18px 40px -14px rgba(18, 50, 74, .6); animation: rise .3s ease both; }
.plan-dock a { padding: 10px 18px; border-radius: 999px; background: var(--mint); font-weight: 600; }
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.incl div { padding: 20px; border-radius: 22px; background: #fff; }
.incl b { display: block; font-family: var(--head); font-size: 1.7rem; color: var(--mint); }
.incl span { font-size: .88rem; color: var(--muted); }

/* ===== Лікарі: вибір лікаря + точки на фото ===== */
.meet { padding: 32px 0 64px; }
.avatars { display: flex; gap: 14px; margin: 24px 0 26px; }
.avatars button { display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; font-weight: 600; font-size: .88rem; color: var(--muted); }
.avatars img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); transition: box-shadow .25s, scale .25s; }
.avatars .is-on { color: var(--navy); }
.avatars .is-on img { box-shadow: 0 0 0 3px var(--mint); scale: 1.08; }
.profile { display: grid; gap: 24px; padding: 18px; border-radius: 32px; background: var(--bg); }
.profile.swap .profile-photo img, .profile.swap .profile-body > * { animation: rise .45s cubic-bezier(.34, 1.56, .64, 1) both; }
.profile.swap .profile-body > *:nth-child(2) { animation-delay: .04s; } .profile.swap .profile-body > *:nth-child(3) { animation-delay: .08s; } .profile.swap .profile-body > *:nth-child(4) { animation-delay: .12s; } .profile.swap .profile-body > *:nth-child(5) { animation-delay: .16s; }
.profile-photo { margin: 0; }
.profile-photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 200px 200px 24px 24px; }
.profile-spec { color: var(--mint-2); font-weight: 600; }
.profile h2 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
.profile-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.profile-nums li { padding: 14px 10px; border-radius: 18px; background: #fff; text-align: center; }
.profile-nums b { display: block; font-family: var(--head); font-size: 1.5rem; }
.profile-nums span { font-size: .76rem; color: var(--muted); }
.qa { margin-top: 18px; padding: 18px 20px; border-radius: 22px 22px 22px 6px; background: #fff; }
.qa .q { font-size: .82rem; font-weight: 600; color: var(--muted); }
.qa .a { margin-top: 6px; font-family: var(--head); font-weight: 700; font-size: 1.1rem; line-height: 1.4; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.chips span { padding: 7px 14px; border-radius: 999px; background: var(--mint-soft); color: var(--mint-2); font-size: .85rem; font-weight: 600; }
.hotspots { position: relative; margin-top: 26px; }
.hotspots img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.hotspots button { position: absolute; translate: -50% -50%; width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; background: var(--mint); color: #fff; font-weight: 700; cursor: pointer; box-shadow: 0 0 0 0 rgba(32, 178, 160, .6); animation: ping 2s infinite; }
.hotspots button.is-on { background: var(--navy); animation: none; scale: 1.15; }
@keyframes ping { 70% { box-shadow: 0 0 0 14px rgba(32, 178, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(32, 178, 160, 0); } }
.hot-caption { margin-top: 14px; min-height: 3.2em; padding: 14px 18px; border-radius: 18px; background: #fff; color: var(--muted); }
.hot-caption b { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-right: 6px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .8rem; }

/* ===== Контакти: покрокова форма ===== */
.intake { padding: 32px 0 64px; background: radial-gradient(circle at 10% 90%, var(--mint-soft), transparent 45%); }
.intake-in { display: grid; gap: 26px; align-items: start; }
.steps-form { display: grid; gap: 14px; padding: 22px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(18, 50, 74, .45); }
.sf-progress { height: 6px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.sf-progress i { display: block; height: 100%; width: 33%; border-radius: 999px; background: var(--mint); transition: width .4s cubic-bezier(.34, 1.56, .64, 1); }
.sf-step { display: none; margin: 0; padding: 0; border: 0; min-width: 0; }
.sf-step.is-on { display: grid; gap: 12px; animation: rise .35s ease both; }
.sf-step legend { padding: 0; margin-bottom: 12px; font-family: var(--head); font-weight: 800; font-size: 1.5rem; }
.sym { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sym-3 { grid-template-columns: repeat(3, 1fr); }
.sym input { position: absolute; opacity: 0; pointer-events: none; }
.sym span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 54px; padding: 10px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 600; font-size: .9rem; cursor: pointer; transition: border-color .2s, background .2s, scale .2s; }
.sym label { position: relative; }
.sym input:checked + span { border-color: var(--mint); background: var(--mint-soft); color: var(--mint-2); scale: 1.03; }
.sym input:focus-visible + span { outline: 2px solid var(--navy); }
.sf-field { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.sf-field input, .sf-field select { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--navy); }
.sf-field input:focus, .sf-field select:focus { outline: 2px solid var(--mint); }
.sf-nav { display: flex; gap: 10px; }
.sf-nav .btn { flex: 1; }
.visit { display: grid; gap: 20px; }
.hours, .route { padding: 24px; border-radius: 28px; background: #fff; }
.hours h2, .route h2 { font-size: 1.5rem; margin-bottom: 14px; }
.hours ul { display: grid; gap: 2px; margin-bottom: 18px; }
.hours li { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 12px; color: var(--muted); }
.hours li.is-today { background: var(--mint-soft); color: var(--navy); font-weight: 600; }
.hours em { font-style: normal; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--mint); color: #fff; font-size: .72rem; }
.route ol { position: relative; display: grid; gap: 18px; }
.route ol::before { content: ''; position: absolute; left: 13px; top: 8px; bottom: 8px; border-left: 2px dashed var(--mint); }
.route li { position: relative; display: grid; padding-left: 42px; }
.route li::before { content: ''; position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--mint); }
.route li:last-child::before { background: var(--mint); }
.route b { font-family: var(--head); }
.route span { font-size: .9rem; color: var(--muted); }

@media (min-width: 768px) {
  .plan-hero { padding: 56px 0 24px; }
  .plan-hero-in { grid-template-columns: 1fr auto; }
  .tooth-badge { position: relative; top: 0; width: 170px !important; }
  .plan-layout { grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
  .plan-card { position: sticky; top: 90px; }
  .plan-dock { display: none !important; }
  .incl { grid-template-columns: repeat(4, 1fr); }
  .meet { padding-top: 56px; }
  .avatars img { width: 84px; height: 84px; }
  .profile { grid-template-columns: .8fr 1.2fr; gap: 40px; padding: 28px; align-items: center; }
  .hotspots img { aspect-ratio: 16 / 9; }
  .intake { padding-top: 56px; }
  .intake-in { grid-template-columns: .9fr 1.1fr; gap: 56px; }
  .steps-form { padding: 32px; }
  .visit { grid-template-columns: 1fr 1fr; }
}
