/* Страница в стиле вебинарных колод: мягкий карандаш, иконки-ризограф, светлый фон, текст крупнее обычного. */
@font-face { font-family: "Visuelt Pro"; src: url("/alesha/assets/fonts/VisueltPro-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Visuelt Pro"; src: url("/alesha/assets/fonts/VisueltPro-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root { --paper: #FAF7F3; --sand: #F3ECE4; --ink: #080F2A; --green: #086048; --blue: #1716B7; --blue-d: #13129B; --muted: #5F6B63; --chalk: #D2BC97; --line: #DDD3C5; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Visuelt Pro", "Helvetica Neue", Arial, sans-serif; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.42; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, b { font-weight: 500; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1312px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 72px); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 14px 30px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 500; font-size: 19px; line-height: 1.2; text-decoration: none; text-align: center; transition: background-color .15s; }
.btn:hover { background: var(--blue-d); }

/* Первый экран */
.hero { position: relative; min-height: clamp(680px, 100svh, 900px); display: flex; flex-direction: column; overflow: hidden; }
.hero__art { position: absolute; right: -3%; bottom: 0; width: min(64%, 1160px); max-width: none; }
.top { position: relative; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); padding-top: clamp(20px, 3vw, 40px); }
.logo { display: block; flex: none; width: clamp(62px, 6vw, 84px); }
.logo svg { display: block; width: 100%; height: auto; }
.x { font-size: clamp(22px, 2vw, 28px); line-height: 1; color: var(--muted); }
.fund { display: block; flex: none; }
.fund img { display: block; width: clamp(92px, 8.8vw, 124px); height: auto; }
.hero__text { position: relative; z-index: 1; margin-top: auto; padding-block: 40px clamp(40px, 5vw, 72px); }
.hero h1 { font-size: clamp(34px, 4.1vw, 66px); line-height: 1.05; letter-spacing: -.01em; color: var(--green); }
.lead { margin-top: 18px; font-size: clamp(20px, 1.75vw, 25px); line-height: 1.26; }
.lead--fund { margin-top: 10px; font-weight: 500; }
.hero .btn { margin-top: 28px; }

/* Коротко: числа одним кеглем и два факта */
.facts { display: grid; grid-template-columns: 4fr 8fr; gap: 28px clamp(32px, 4.5vw, 72px); align-items: center; padding-top: clamp(28px, 3.4vw, 48px); }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nums li { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.15; color: var(--green); font-weight: 500; }
.nums b { display: block; font-size: clamp(56px, 6.4vw, 92px); line-height: 1; letter-spacing: -.01em; margin-bottom: 4px; }
.facts .ilist { grid-template-columns: 1fr 1fr; }

/* Блоки */
.sec { padding-top: clamp(60px, 7.5vw, 112px); }
h2 { font-size: clamp(32px, 3.7vw, 54px); line-height: 1.06; letter-spacing: -.005em; margin-bottom: clamp(26px, 3vw, 44px); }
.statement { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; }
.two { display: grid; grid-template-columns: 5fr 7fr; gap: 20px clamp(32px, 4.5vw, 72px); align-items: start; }
.two h2 { margin-bottom: 0; }
.prose p + p { margin-top: .7em; }
.prose .statement + p { margin-top: 1em; }

.ilist { display: grid; gap: clamp(22px, 2.4vw, 34px) clamp(32px, 4.5vw, 72px); }
.ilist li { display: grid; grid-template-columns: clamp(64px, 6vw, 84px) 1fr; gap: clamp(16px, 1.6vw, 24px); align-items: start; }
.ilist .ic { width: 100%; height: auto; }
.ilist--two { grid-template-columns: 1fr 1fr; }
.ilist--three { grid-template-columns: repeat(3, 1fr); }
.ilist--short li, .facts .ilist li { align-items: center; }
.intro { margin-bottom: clamp(20px, 2.4vw, 32px); }

.note { background: var(--sand); border-radius: 24px; padding: clamp(20px, 2.4vw, 34px) clamp(24px, 3vw, 44px); }
.note--line { margin-top: clamp(24px, 3vw, 40px); }

/* Главная задача */
.task__in { display: grid; grid-template-columns: clamp(84px, 11vw, 150px) 1fr; gap: clamp(20px, 3vw, 48px); align-items: start; }
.task__in .ic { width: 100%; height: auto; }
.task__more { margin-top: 14px; max-width: 40em; }
.who { display: grid; grid-template-columns: 5fr 7fr; gap: 10px clamp(32px, 4.5vw, 72px); margin-top: clamp(28px, 3.4vw, 48px); align-items: start; }
.who__age { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; font-weight: 500; color: var(--green); }

/* Миссия */
.mission { margin-top: clamp(60px, 7.5vw, 112px); background: var(--sand); padding-block: clamp(44px, 5.5vw, 84px); }
.mission__in { display: grid; grid-template-columns: clamp(84px, 11vw, 150px) 1fr; gap: clamp(20px, 3vw, 48px); align-items: start; }
.mission__in .ic { width: 100%; height: auto; }
.eyebrow { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; letter-spacing: 0; font-weight: 500; color: var(--muted); margin-bottom: 12px; }
.eyebrow--blue { color: var(--blue); }
.mission__text { font-size: clamp(30px, 3.7vw, 54px); line-height: 1.08; font-weight: 500; color: var(--green); max-width: 21em; letter-spacing: -.005em; }
.mission__more { margin-top: 18px; max-width: 40em; }
.mission__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; margin-top: clamp(24px, 3vw, 40px); }
.mission__cta p { max-width: 24em; font-weight: 500; }

/* Иллюстрация справа, навылет */
.sec--art { position: relative; overflow: hidden; }
.sec__art { position: absolute; z-index: 0; right: -5%; bottom: 0; width: min(60%, 1060px); max-width: none; }
.sec--art .wrap { position: relative; z-index: 1; }
.sec--art .wrap > * { max-width: min(46vw, 620px); }
.sec--home { min-height: clamp(380px, 38vw, 560px); }
.how__lead { color: var(--ink); }
.sec--team { padding-bottom: clamp(32px, 4vw, 56px); min-height: clamp(420px, 42vw, 620px); }
.big3 { font-size: clamp(25px, 2.6vw, 36px); line-height: 1.15; margin-bottom: 18px; }
.team__tutor { margin-top: 22px; margin-bottom: .6em; font-weight: 500; }

.dots { display: grid; gap: 8px; }
.dots li { position: relative; padding-left: 24px; line-height: 1.25; }
.dots li::before { content: ""; position: absolute; left: 0; top: calc(.625em - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }

/* Маршрут: волна с точками, подписи чередуются сверху и снизу и привязаны к своей точке */
.route { padding-top: clamp(28px, 3.4vw, 48px); }
.dot { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 3px var(--chalk); font-size: 19px; line-height: 1; font-weight: 500; color: var(--ink); }
.stop--6 .dot { background: var(--blue); box-shadow: none; color: #fff; }
.stop__t { display: block; font-size: clamp(21px, 1.8vw, 25px); line-height: 1.16; margin-bottom: 6px; }
.stop p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.34; }
.stop--6 .stop__t { color: var(--blue); }
@media (min-width: 1100px) {
  .route__map { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto clamp(84px, 8vw, 116px) auto; padding-left: 22px; }
  .route__line { grid-column: 1 / -1; grid-row: 2; width: 100%; height: 100%; overflow: visible; }
  .route__sand, .route__blue { fill: none; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 2 13; vector-effect: non-scaling-stroke; filter: url(#chalk); }
  .route__sand { stroke: var(--chalk); }
  .route__blue { stroke: var(--blue); }
  .stop { position: relative; margin-left: -22px; padding-right: clamp(20px, 2.4vw, 36px); }
  .stop .dot { position: absolute; left: 0; }
  .stop--1, .stop--3, .stop--5 { grid-row: 1; align-self: end; padding-bottom: 36px; }
  .stop--1 .dot, .stop--3 .dot, .stop--5 .dot { bottom: -22px; }
  .stop--2, .stop--4, .stop--6 { grid-row: 3; padding-top: 36px; }
  .stop--2 .dot, .stop--4 .dot, .stop--6 .dot { top: -22px; }
  .stop--1 { grid-column: 1 / 3; }
  .stop--2 { grid-column: 2 / 4; }
  .stop--3 { grid-column: 3 / 5; }
  .stop--4 { grid-column: 4 / 6; }
  .stop--5 { grid-column: 5 / 7; }
  .stop--6 { grid-column: 6 / 7; padding-right: 0; }
}
.always { padding-top: clamp(36px, 4vw, 60px); }
.always h3 { font-size: clamp(25px, 2.6vw, 36px); line-height: 1.15; margin-bottom: 20px; }

/* Точка Б */
.finish { min-height: clamp(420px, 42vw, 640px); }
.finish .sec__art { right: 0; }
.finish__text { font-size: clamp(30px, 3.5vw, 50px); line-height: 1.08; font-weight: 500; color: var(--green); letter-spacing: -.005em; margin-bottom: 16px; }

/* Просвещение */
.tell { display: grid; grid-template-columns: clamp(84px, 11vw, 150px) 1fr; gap: clamp(20px, 3vw, 48px); align-items: start; }
.tell h2 { margin-bottom: 18px; }
.tell .ic { width: 100%; height: auto; }
.note--public { margin-top: clamp(20px, 2.4vw, 32px); }

/* Критерии и условия */
.crit { display: grid; grid-template-columns: 5fr 7fr; gap: 36px clamp(32px, 4.5vw, 72px); align-items: start; }
.crit h2 { margin-bottom: clamp(18px, 2vw, 28px); }
.dots--col { gap: 12px; }
.nlist { display: grid; gap: 16px; }
.nlist li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.nlist p { padding-top: calc((44px - 1.42em) / 2); }

/* Заявка */
.final { padding-top: clamp(60px, 7.5vw, 112px); }
.final__card { background: var(--sand); border-radius: 28px; padding: clamp(28px, 4.4vw, 64px); }
.final__card h2 { color: var(--green); margin-bottom: 18px; }
.final__card .statement { margin-bottom: clamp(20px, 2.4vw, 32px); max-width: 28em; }
.final__card .nlist { max-width: 46em; }
.final__card .dot { background: var(--sand); }
.final__act { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; margin-top: 30px; }
.contacts { display: flex; flex-wrap: wrap; gap: 8px 36px; }
.contacts div { display: flex; gap: 8px; }
.contacts dd a { white-space: nowrap; }

/* О клинике и о фонде */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-block: clamp(20px, 2.4vw, 32px) clamp(40px, 5vw, 72px); }
.about a { display: flex; align-items: center; gap: clamp(18px, 2vw, 28px); padding: clamp(18px, 2vw, 28px) clamp(22px, 2.6vw, 36px); border-radius: 20px; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); text-decoration: none; transition: background-color .15s; }
.about a:hover { background: var(--sand); }
.about__t { font-weight: 500; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.15; }
.about__t::after { content: "\00a0→"; color: var(--blue); }

@media (max-width: 1099px) {
  .facts, .two, .who, .crit { grid-template-columns: 1fr; }
  .sec--art { display: flex; flex-direction: column; min-height: 0; }
  .sec--art .wrap > * { max-width: none; }
  .sec__art { position: relative; right: auto; width: max(100%, 660px); align-self: flex-end; margin-top: 12px; }
  .ilist--three { grid-template-columns: 1fr; }
  .route__line { display: none; }
  .stop { position: relative; padding: 0 0 26px 60px; }
  .stop .dot { position: absolute; left: 0; top: 0; }
  .stop::before { content: ""; position: absolute; left: 20px; top: 52px; bottom: 6px; border-left: 4px dotted var(--chalk); }
  .stop--6 { padding-bottom: 0; }
  .stop--6::before { display: none; }
  .stop__t { padding-top: calc((44px - 1.16em) / 2); }
}
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero__text { margin-top: 0; padding-bottom: 12px; }
  .hero__art { position: relative; order: 3; right: auto; bottom: auto; width: max(100%, 660px); align-self: flex-end; }
  h1 br, .lead br { display: none; }
}
@media (max-width: 720px) {
  .ilist--two, .facts .ilist, .about { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .task__in, .mission__in, .tell { grid-template-columns: 1fr; }
  .task__in .ic, .mission__in .ic, .tell .ic { width: 84px; }
}
