/* Глубина поверхностей и движение · 14.10.2026 */
:root {
  --brand-red: #ef443b;
  --lift: inset 0 -8px 0 #eaeaea, inset 0 2px 0 #fff,
    0 3px 3px #2526290d, 0 12px 24px #2526290c;
  --button-lift: inset 0 -3px 0 #e9e9e9, inset 0 1px 0 #fff,
    0 3px 3px #25262912, 0 8px 18px #2526290b;
  --glow: inset 0 -4px 0 #c92f27, inset 0 2px 0 #ff938966,
    0 4px 4px #9822131c, 0 14px 28px #ef443b26, 0 30px 68px #ef443b3b;
}

.raised, .hero-stage, .hub-node, .step-detail, .pricing-card,
.faq-list details, .pricing-wrap {
  border: 0;
  box-shadow: var(--lift);
}
.raised, .hub-node, .faq-list details {
  background: linear-gradient(145deg, #fdfdfc, #f5f5f3);
}
.hero-stage { padding: 12px 12px 20px; background: #f9f9f7; }
.feature-card { padding-bottom: 33px; }
.hub-node { padding-bottom: 25px; }
.hub-node.active {
  background: linear-gradient(145deg, #fff8f5, #fceee8);
  box-shadow: inset 0 -8px 0 #f2d8d1, inset 0 2px 0 #fff,
    0 3px 3px #2526290d, 0 12px 26px #ef443b14;
}
.hub-core {
  box-shadow: inset 0 -9px 0 #c93227, inset 0 3px 0 #ff9c8580,
    0 5px 5px #98221326, 0 22px 45px #ef443b38, 0 45px 95px #ef443b2e;
}
.step-detail { background: #fafaf8; padding-bottom: 33px; }
.pricing-wrap { --lift: inset 0 -8px 0 #dededb, inset 0 2px 0 #fff9, 0 14px 28px #2526290a; }
.pricing-card { --lift: inset 0 -8px 0 #eaeaea, inset 0 2px 0 #fff, 0 10px 24px #2526290c; }
.pilot-form { padding-bottom: 42px; }
.faq-list summary { padding-bottom: 27px; }
.floating-chip { border: 0; background: #fffdfb; box-shadow: inset 0 -5px 0 #eaeaea, 0 12px 24px #3032381c; padding-bottom: 18px; }
.tile-icon { border: 0; background: linear-gradient(150deg, #fff, #eeefec); box-shadow: inset 0 -4px 0 #dedfdb, inset 0 1px 0 #fff, 0 4px 6px #2526290c; }
.feedback-strip { border: 0; border-radius: 24px; background: #f8f8f5; padding: 30px 28px 38px; box-shadow: var(--lift); }

.button, .menu-toggle, .round-play, .close-dialog { border: 0; }
.button { padding-bottom: 18px; }
.button-small { padding-bottom: 14px; }
.button-light, .menu-toggle, .close-dialog { background: linear-gradient(165deg, #fff, #f7f7f5); box-shadow: var(--button-lift); }
.button-light:hover { box-shadow: inset 0 -3px 0 #e2e2e2, inset 0 1px 0 #fff, 0 5px 6px #25262912, 0 14px 24px #25262913; }
.button-red { background: linear-gradient(165deg, #ef5146, #df382e); box-shadow: var(--glow); }
.button-red:hover { box-shadow: inset 0 -4px 0 #c72d25, inset 0 2px 0 #ff938966, 0 6px 6px #9822131c, 0 18px 35px #ef443b35, 0 35px 78px #ef443b42; }
.button:active { transform: translateY(2px); }
.button-light:active, .menu-toggle:active, .close-dialog:active { box-shadow: inset 0 -1px 0 #e9e9e9, 0 2px 4px #2526290c; }
.button-red:active { box-shadow: inset 0 -1px 0 #c92f27, 0 5px 20px #ef443b30; }
.round-play { background: #fffffff5; box-shadow: inset 0 -4px 0 #e4e4e4, 0 8px 22px #1820232b; }
.faq-plus { background: #f8f8f6; box-shadow: inset 0 -3px 0 #dedfda, 0 2px 4px #25262917; }
.faq-list details[open] .faq-plus { background: var(--brand-red); box-shadow: inset 0 -3px 0 #ce322a, 0 3px 8px #ef443b30; }

/* Декорация занимает ширину окна, контент остаётся в общем контейнере. */
.hero { position: relative; isolation: isolate; }
.hero-inner { position: relative; }
.hero-backdrop {
  position: absolute; inset: -92px 0 auto; z-index: -1;
  height: 100dvh; min-height: 0; max-height: none;
  overflow: hidden; pointer-events: none;
  background: #efefef;
  -webkit-mask-image: none;
  mask-image: none;
}
.hero-shader { position: absolute; inset: 0; opacity: 1; }
.hero-shader canvas { display: block; width: 100%; height: 100%; }
.hero-backdrop::after { content: none; }
.hero-eyebrow { font-size: 13px; background: #fbfaf8ed; box-shadow: inset 0 -3px 0 #e6e5e2, 0 5px 12px #3032380a; padding: 10px 18px 13px; }
.hero-value { max-width: 740px; margin: 18px auto 0; font-size: 15px; line-height: 1.65; font-weight: 600; color: var(--ink); }
@media (min-width: 561px) { .hero h1 { font-size: clamp(34px, 4.3vw, 62px); } }
@media (max-width: 560px) { .hero-value { font-size: 13px; } }
.hero h1 > span { background-image: linear-gradient(105deg, #5d6166, #85888b); }
.hero-proof { gap: 24px; flex-wrap: wrap; }
.hero-proof > span { font-size: 15px; font-weight: 550; color: #555a5e; }
.hero-proof svg { width: 20px; height: 20px; }
.card-number { font-size: 15px; font-weight: 650; color: #61666a; }

/* Объёмные акцентные подзаголовки разделов. */
.eyebrow, .feedback-strip .eyebrow, .clinic-cta .eyebrow {
  max-width: 100%; padding: 8px 14px 11px; border: 0; border-radius: 12px;
  line-height: 1.45; color: #b7372c; background: linear-gradient(155deg, #fffdfb, #f9f1ed);
  box-shadow: inset 0 -3px 0 #e9dfda, inset 0 1px 0 #fff, 0 4px 10px #42302b09;
}
.hero-eyebrow { border-radius: 40px; padding-inline: 18px; }
.photo-caption { top: 24px; bottom: auto; left: 26px; }
.photo-caption p { font-size: 22px; margin-top: 9px; }
.photo-shade { inset: 0; background: linear-gradient(180deg, #17201d75, transparent 50%); }
.hero-photo .round-play { top: 28px; bottom: auto; right: 24px; width: 48px; height: 48px; }
.doctor-app {
  position: absolute; left: 22px; right: 22px; bottom: 22px;
  border-radius: 22px; padding: 18px 20px 22px; background: #fdfdfb;
  box-shadow: inset 0 -7px 0 #dedfdb, inset 0 2px 0 #fff, 0 20px 36px #15202145;
  transform: rotate(-1.5deg); color: var(--ink);
}
.doctor-app-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 9px; color: #707572; padding-bottom: 12px; border-bottom: 1px solid #e7e8e3; }
.doctor-app-brand { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; color: #303338; }
.doctor-app-brand img { width: 23px; height: auto; }
.doctor-app-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 15px 0 13px; }
.doctor-app-heading h3 { font-size: 19px; letter-spacing: -.025em; }
.doctor-app-heading p { color: #737975; font-size: 9px; margin-top: 5px; }
.doctor-record-status { display: flex; gap: 5px; align-items: center; border-radius: 20px; padding: 5px 8px; background: #fff0ea; font-size: 9px; font-weight: 650; color: #b7372c; }
.doctor-record-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-red); }
.doctor-recording { display: flex; align-items: center; gap: 15px; padding: 11px 13px 14px; background: #f7eee8; border-radius: 14px; box-shadow: inset 0 -3px 0 #eadcd4; }
.doctor-mic { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 11px; flex-shrink: 0; background: var(--brand-red); color: white; box-shadow: inset 0 -3px 0 #cb332b, 0 5px 13px #ef443b26; }
.doctor-mic svg { width: 18px; height: 18px; }
.doctor-recording > span:last-child { font-size: 10px; font-weight: 650; color: #8f5147; }
.doctor-wave { display: flex; align-items: center; justify-content: space-between; gap: 3px; height: 32px; flex: 1; }
.doctor-wave i { display: block; width: 3px; height: 16px; border-radius: 3px; background: #ee564b; animation: doctor-wave 1.1s ease-in-out infinite alternate paused; }
.doctor-wave i:nth-child(3n) { height: 26px; animation-delay: -.4s; }
.doctor-wave i:nth-child(3n + 1) { height: 9px; animation-delay: -.75s; }
.doctor-wave i:nth-child(4n) { height: 32px; animation-delay: -.2s; }
.doctor-notes-heading { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin: 15px 0 9px; font-size: 10px; }
.doctor-notes-heading .draft-badge { font-size: 8px; padding: 3px 7px; }
.doctor-notes { display: grid; gap: 9px; }
.doctor-notes > div { display: flex; gap: 10px; font-size: 9px; line-height: 1.5; color: #666e69; }
.hero-stage.has-motion .doctor-notes > div { animation: doctor-note-in .7s ease both paused; }
.hero-stage.has-motion .doctor-notes > div:nth-child(2) { animation-delay: .6s; }
.hero-stage.has-motion .doctor-notes > div:nth-child(3) { animation-delay: 1.2s; }
.doctor-notes > div > span { color: #a05c50; font-size: 8px; padding-top: 1px; }
.doctor-notes b { display: block; color: #414843; font-size: 10px; font-weight: 650; }
.doctor-app-footer { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding-top: 11px; border-top: 1px solid #e7e8e3; color: #596a60; font-size: 8px; }
.doctor-app-footer > svg { width: 13px; height: 13px; }
.doctor-typing { display: flex; gap: 3px; margin-left: auto; }
.doctor-typing i { width: 3px; height: 3px; border-radius: 50%; background: #ef443b; animation: doctor-wave .85s ease-in-out infinite alternate paused; }
.doctor-typing i:nth-child(2) { animation-delay: -.3s; }
.doctor-typing i:nth-child(3) { animation-delay: -.6s; }
.hero-stage.is-in-view .doctor-wave i, .hero-stage.is-in-view .doctor-typing i,
.hero-stage.has-motion.is-in-view .doctor-notes > div { animation-play-state: running; }
@keyframes doctor-wave { to { transform: scaleY(.4); opacity: .6; } }
@keyframes doctor-note-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* Шесть непрерывных маршрутов от центра. Геометрия обновляется effects.js. */
.hub-lines { display: block; opacity: 1; stroke-dasharray: none; pointer-events: none; overflow: visible; z-index: 0; }
.hub-track { stroke: #bec1c4; stroke-width: 1.6; fill: none; }
.hub-port { fill: #f9f9f7; stroke: #aeb4b9; stroke-width: 1.6; }
.hub-connection.active .hub-track { stroke: #dca29b; }
.hub-connection.active .hub-port { fill: var(--brand-red); stroke: var(--brand-red); }
.hub-signal {
  stroke: var(--brand-red); stroke-width: 2.7; stroke-linecap: round; fill: none;
  stroke-dasharray: 12 112; stroke-dashoffset: 14;
  filter: drop-shadow(0 0 3px #ef443b70);
  animation: hub-signal 4.8s linear infinite;
  animation-delay: var(--signal-delay, 0s);
  animation-play-state: paused;
}
.hub-layout.is-in-view .hub-signal { animation-play-state: running; }
@keyframes hub-signal { to { stroke-dashoffset: -110; } }

.clinic-cta {
  position: relative; padding: 37px 42px 45px; border: 0; border-radius: 30px;
  background: radial-gradient(ellipse at 100% 0%, #ffd9cc, transparent 65%), linear-gradient(135deg, #fff8f3, #f7e7df);
  box-shadow: inset 0 -8px 0 #ecd3c9, inset 0 2px 0 #fff8, 0 14px 32px #65392b0c;
}
.clinic-cta .eyebrow { color: #925b50; font-size: 12px; margin-bottom: 13px; }
.clinic-cta h3 { font-size: clamp(23px, 2.3vw, 32px); line-height: 1.3; letter-spacing: -.035em; }
.clinic-cta .button { flex-shrink: 0; }

@media (max-width: 800px) {
  .hero-proof > span { font-size: 14px; }
  .hero-proof { gap: 18px; }
  .card-number { font-size: 14px; }
  .clinic-cta { padding: 30px 28px 38px; gap: 24px; }
  .feedback-strip { padding: 27px 22px 35px; }
  .doctor-app { left: 12px; right: 12px; bottom: 17px; padding: 14px 13px 21px; }
  .doctor-app-top > span:last-child { font-size: 7px; }
  .doctor-wave { gap: 2px; }
  .doctor-recording { gap: 8px; padding-inline: 9px; }
  .doctor-notes-heading { font-size: 9px; }
  .doctor-notes-heading .draft-badge { font-size: 7px; padding-inline: 5px; }
  .photo-caption { top: 23px; left: 22px; }
  .photo-caption p { font-size: 19px; }
  .hero-photo .round-play { width: 38px; height: 38px; right: 19px; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .hero-photo, .hero-product { min-height: 550px; }
}
@media (max-width: 560px) {
  .hero-backdrop { top: -76px; }
  .hero-eyebrow { font-size: 11px; padding: 9px 14px 12px; }
  .hero-footnote { max-width: 310px; }
  .hero-stage { padding: 8px 8px 16px; }
  .hero-proof { max-width: none; width: max-content; align-items: start; gap: 15px; }
  .hero-proof > span { font-size: 13px; }
  .card-number { font-size: 14px; }
  .feature-card { padding-bottom: 33px; }
  .hub-column { padding-left: 28px; }
  .hub-node { padding: 16px 15px 23px; gap: 11px; }
  .hub-node b { font-size: 12px; }
  .hub-node small { font-size: 10px; }
  .hub-node > svg { width: 18px; height: 18px; }
  .hub-lines { display: block; }
  .step-detail { padding-bottom: 29px; }
  .clinic-cta { align-items: stretch; text-align: left; padding: 28px 23px 36px; border-radius: 25px; }
  .clinic-cta h3 { font-size: 25px; }
  .clinic-cta .button { width: 100%; }
  .clinic-cta .eyebrow { font-size: 11px; }
  .faq-list summary { padding-bottom: 25px; }
  .pilot-form { padding-bottom: 34px; }
  .feedback-strip { padding: 24px 19px 32px; }
  .hero-photo { height: 570px; }
  .hero-photo > img { object-position: center top; }
  .photo-caption { top: 22px; bottom: auto; left: 22px; }
  .doctor-app { left: 13px; right: 13px; bottom: 17px; padding: 18px 15px 24px; }
  .doctor-app-top > span:last-child { font-size: 8px; }
  .doctor-notes > div { font-size: 10px; }
  .doctor-notes b { font-size: 11px; }
  .doctor-app-footer { font-size: 9px; }
  .doctor-app-heading { margin-top: 16px; }
  .doctor-notes-heading { margin-top: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-signal { display: none; animation: none; }
  .button:hover, .button:active, .hub-node:hover { transform: none; }
  .hero-shader { display: none; }
  .doctor-wave i, .doctor-typing i, .hero-stage.has-motion .doctor-notes > div { animation: none; opacity: 1; transform: none; }
}

/* Два этапа: фотографии остаются главным фоном, телефоны занимают угол. */
.hero-stage { grid-template-columns: 1fr 1fr; }
.hero-stage .hero-scene { position: relative; display: block; height: 620px; min-height: 0; padding: 0; overflow: hidden; background: #e4e4e0; }
.hero-stage .hero-scene-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-stage .clinic-scene > img { object-position: 42% center; }
.hero-stage .after-scene > img { object-position: center 30%; }
.scene-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #17201d30, transparent 28%, transparent 65%, #19231e70); }
.scene-label { position: absolute; left: 22px; top: 22px; z-index: 2; padding: 10px 15px 13px; border-radius: 14px; background: #fffef9ed; box-shadow: inset 0 -3px 0 #deded6, 0 6px 15px #17201d12; color: #353b37; font-size: 14px; font-weight: 650; }
.hero-stage .hero-phone { position: absolute; z-index: 2; width: 244px; height: 480px; margin: 0; top: auto; left: auto; right: 26px; bottom: 24px; padding: 8px 9px 14px; transform: rotate(5deg) scale(.81); transform-origin: right bottom; border-radius: 34px; background: linear-gradient(150deg, #fff, #e8ebe7); box-shadow: 0 22px 35px #16231e45, 0 3px 6px #15241e40, inset 0 0 0 4px #f8f8f8; }
.hero-stage .doctor-phone { transform: rotate(-5deg) scale(.81); }
.hero-stage .phone-content { padding: 10px 12px 0; }
.hero-stage .phone-content h3 { font-size: 23px; margin-top: 19px; }
.hero-stage .phone-date { margin: 8px 0 15px; }
.hero-stage .phone-top { height: 29px; }
.hero-stage .phone-note { padding: 12px 11px; }
.hero-stage .phone-audio { gap: 7px; padding: 8px; }
.hero-stage .phone-button { margin-top: 10px; }
.hero-stage .doctor-phone h3 { margin-top: 17px; font-size: 24px; }
.doctor-phone .doctor-record-status { display: flex; padding: 0; background: none; font-size: 9px; margin: 0 0 8px; }
.doctor-phone .doctor-record-status > span { margin-left: auto; }
.doctor-phone .doctor-recording { gap: 10px; padding: 9px 10px 12px; }
.doctor-phone .doctor-wave { gap: 3px; }
.doctor-phone .doctor-notes-heading { margin: 15px 0 10px; font-size: 10px; }
.doctor-phone .doctor-notes { gap: 8px; }
.doctor-phone .doctor-notes > div { padding: 8px; border-radius: 10px; background: #fff; gap: 7px; font-size: 8px; }
.doctor-phone .doctor-notes b { font-size: 10px; margin-bottom: 2px; }
.doctor-phone .draft-badge { font-size: 7px; padding: 3px 5px; }
.doctor-phone-status { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 8px; color: #7b827e; }
.doctor-phone-status .doctor-typing { margin: 0; }
.doctor-phone .doctor-review { background: var(--brand-red); box-shadow: inset 0 -3px 0 #ce342d; }
.doctor-check-note { display: flex; align-items: center; gap: 4px; font-size: 7px; color: #62776a; margin: 9px 0 0; }
.doctor-check-note svg { width: 11px; height: 11px; flex-shrink: 0; }
.scene-prototype { position: absolute; bottom: 23px; left: 22px; max-width: 125px; color: #fff; font-size: 9px; line-height: 1.5; text-shadow: 0 1px 4px #12281d70; }
@media (min-width: 801px) and (max-width: 1100px) {
  .hero-stage .hero-scene { height: 580px; }
  .hero-stage .hero-phone { right: 20px; transform: rotate(5deg) scale(.74); }
  .hero-stage .doctor-phone { transform: rotate(-5deg) scale(.74); }
  .hero-stage .clinic-scene > img { object-position: 30% center; }
  .scene-label { left: 18px; top: 18px; font-size: 12px; }
}
@media (max-width: 800px) {
  .hero-stage { grid-template-columns: 1fr; }
  .hero-stage .hero-scene { height: 560px; }
  .hero-stage .hero-phone { right: 26px; }
  .hero-stage .after-scene > img { object-position: center 30%; }
  .hero-stage .after-scene .hero-scene-photo { object-position: center 27%; }
}
@media (max-width: 560px) {
  .hero-stage .hero-scene { height: 550px; }
  .hero-stage .clinic-scene > img { object-position: 25% center; }
  .hero-stage .hero-phone { right: 19px; bottom: 24px; transform: rotate(5deg) scale(.66); }
  .hero-stage .doctor-phone { transform: rotate(-5deg) scale(.66); }
  .scene-label { top: 17px; left: 17px; font-size: 12px; padding: 8px 12px 11px; }
  .hero-stage .round-play { top: 18px; right: 18px; width: 36px; height: 36px; }
  .scene-prototype { left: 17px; bottom: 18px; max-width: 95px; font-size: 8px; }
}
.hero-shader canvas[hidden] { display: none; }
.hero-stage .patient-phone { right: 42px; }
.hero-stage .doctor-phone h3 { margin-top: 12px; font-size: 22px; }
.doctor-phone .phone-date { font-size: 7px; margin: 6px 0 10px; }
.doctor-phone .doctor-record-status { font-size: 8px; margin-bottom: 5px; }
.doctor-phone .doctor-recording { padding: 6px 8px 9px; }
.doctor-phone .doctor-mic { width: 28px; height: 28px; }
.doctor-phone .doctor-wave { height: 26px; }
.doctor-phone .doctor-wave i:nth-child(4n) { height: 26px; }
.doctor-phone .doctor-notes-heading { margin: 10px 0 7px; font-size: 9px; }
.doctor-phone .doctor-notes { gap: 6px; }
.doctor-phone .doctor-notes > div { padding: 6px; gap: 6px; line-height: 1.4; }
.doctor-phone .doctor-notes b { font-size: 9px; margin-bottom: 1px; }
.doctor-phone-status { font-size: 7px; margin-top: 8px; }
.hero-stage .doctor-phone .doctor-review { padding: 9px; margin: 8px 0 0; }
.doctor-check-note { margin-top: 7px; }
@media (max-width: 560px) {
  .hero-stage .after-scene .hero-scene-photo { object-position: 100% top; }
  .scene-prototype { max-width: 75px; }
}
