/* ============================================================
   Арина Новоселова · обучение педикюру
   Формат «Пилка и Пудра», голубая гамма.
   Радиусы: кнопки pill, карточки 18px, поля 12px.
   ============================================================ */

:root {
  --bg: #f6f9fc;
  --surface: #ffffff;
  --ink: #10222f;
  --muted: #586b79;
  --line: #dbe6ef;
  --accent: #1583e0;
  --accent-press: #0f6cbd;
  --tint: #e9f2fb;
  --tint-deep: #d7e8f8;
  --dark: #0c2337;
  --dark-2: #112e47;
  --shadow: 0 10px 30px rgba(21, 76, 130, .10);
  --shadow-lg: 0 24px 60px rgba(13, 51, 88, .16);
  --r-card: 18px;
  --r-field: 12px;
  --font-display: 'Unbounded', 'Arial Black', sans-serif;
  --font-text: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--tint-deep); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
[id] { scroll-margin-top: 88px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 2.6vw, 2rem); font-weight: 600; }
h3 { font-size: clamp(1.02rem, 1.6vw, 1.25rem); font-weight: 600; }

.ic { display: inline-flex; flex: none; }
.ic svg { width: 1.25em; height: 1.25em; display: block; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1.2 var(--font-text);
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(21, 131, 224, .32); }
.btn-accent:hover { background: var(--accent-press); box-shadow: 0 10px 26px rgba(21, 131, 224, .4); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.section-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.section-dark .btn-ghost:hover { border-color: #fff; color: #fff; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(21, 131, 224, .5); outline-offset: 2px; border-radius: 6px;
}
.btn:focus-visible { border-radius: 999px; }

/* ---------- шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 249, 252, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(13, 51, 88, .06); }
.header-in { display: flex; align-items: center; gap: 20px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; letter-spacing: .01em; }
.brand-text i { font-style: normal; font-size: 11.5px; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav > a { font-size: 14.5px; font-weight: 500; color: var(--ink); position: relative; padding: 4px 0; }
.nav > a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent); border-radius: 2px; transition: right .22s ease;
}
.nav > a:hover::after { right: 0; }
.nav-extra { display: none; }

.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; margin-left: auto; }
.nav + .header-phone { margin-left: 0; }
.header-phone .ic { color: var(--accent); }
.header-phone:hover { color: var(--accent); }
.header-cta { padding: 11px 22px; }
.burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; color: var(--ink);
}
.burger svg { width: 26px; height: 26px; }
.burger .burger-close, body.menu-open .burger .burger-open { display: none; }
body.menu-open .burger .burger-close { display: block; }

/* ---------- hero ---------- */
.hero { padding: 48px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-note { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 16px; }
.hero-copy h1 { max-width: 19ch; font-size: clamp(1.65rem, 3.3vw, 2.4rem); }
.hero-sub { margin: 20px 0 30px; font-size: 18px; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; }
.hero-visual > img, .photo-slot {
  width: 100%; aspect-ratio: 7 / 8; object-fit: cover;
  border-radius: 28px; box-shadow: var(--shadow-lg);
}
.photo-slot {
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  background:
    radial-gradient(120% 90% at 85% 10%, var(--tint-deep) 0%, transparent 55%),
    radial-gradient(110% 90% at 10% 95%, #cfe4f7 0%, transparent 50%),
    linear-gradient(160deg, #eaf3fc 0%, #dcebf9 100%);
}
.slot-mark { width: 30%; max-width: 150px; }
.hero-card {
  position: absolute; left: -18px; bottom: 26px;
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border-radius: 16px; box-shadow: var(--shadow);
  padding: 14px 18px; font-size: 13.5px; line-height: 1.35;
}
.hero-card b { font-size: 14px; }
.hero-card-icon { color: var(--accent); }
.hero-card-icon svg { width: 26px; height: 26px; }

/* ---------- факты ---------- */
.stats { background: var(--tint); padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 700; color: var(--accent); }
.stat span { font-size: 14.5px; color: var(--muted); }

/* ---------- секции ---------- */
.section { padding: 84px 0; }
.section-tint { background: var(--tint); }
.section-head { margin-bottom: 44px; max-width: 62ch; }
.section-head p { margin-top: 14px; color: var(--muted); }
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; max-width: none; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); font-size: 15px; }
.link-more svg { width: 18px; height: 18px; transition: transform .2s ease; }
.link-more:hover svg { transform: translateX(4px); }

/* ---------- программы ---------- */
.program-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.program-card {
  grid-column: span 5;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 30px 30px 26px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.program-card:nth-child(4n+2), .program-card:nth-child(4n+3) { grid-column: span 7; }
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.program-kind { font-size: 12.5px; font-weight: 600; color: var(--accent); }
.program-card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.program-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 600; }
.program-meta .ic { color: var(--accent); vertical-align: -3px; margin-right: 6px; }
.program-meta > span { display: inline-flex; align-items: center; }
.program-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--accent); }
.program-more svg { width: 18px; height: 18px; transition: transform .2s ease; }
.program-card:hover .program-more svg { transform: translateX(4px); }

.card-bazovyi-kurs { background: var(--dark); border-color: var(--dark); color: #fff; }
.card-bazovyi-kurs .program-kind { color: #7cbcf2; }
.card-bazovyi-kurs p { color: #b9cbda; }
.card-bazovyi-kurs .program-meta .ic, .card-bazovyi-kurs .program-more { color: #7cbcf2; }
.card-povyshenie-kvalifikacii { background: var(--tint); border-color: var(--tint-deep); }
.card-online-kurs { border: 1.5px dashed var(--tint-deep); background: linear-gradient(160deg, #fff 55%, var(--tint) 100%); }

/* ---------- обо мне ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-visual img, .about-slot { aspect-ratio: 4 / 5; border-radius: 28px; }
.about-visual img { width: 100%; object-fit: cover; box-shadow: var(--shadow-lg); }
.about-lead { margin: 18px 0 26px; color: var(--muted); }
.about-facts { display: grid; gap: 13px; }
.about-facts li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15.5px; }
.about-facts .ic { color: var(--accent); }
.about-facts .ic svg { width: 24px; height: 24px; }

/* ---------- шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { position: relative; padding-top: 60px; }
.steps li i {
  position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--tint); color: var(--accent);
  font: 700 17px/44px var(--font-display); font-style: normal; text-align: center;
}
.steps li::after {
  content: ''; position: absolute; top: 22px; left: 56px; right: -16px; height: 2px;
  background: var(--line); border-radius: 2px;
}
.steps li:last-child::after { display: none; }
.steps b { display: block; font-size: 16.5px; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: 14.5px; }
.section-tint .steps li i { background: #fff; }
.section-tint .steps li::after { background: var(--tint-deep); }

/* ---------- отзывы ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.review {
  background: var(--surface); border-radius: var(--r-card); padding: 26px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px;
}
.review img { border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; }
.review blockquote { font-size: 15.5px; color: var(--ink); }
.review blockquote::before { content: '«'; color: var(--accent); font-weight: 700; }
.review blockquote::after { content: '»'; color: var(--accent); font-weight: 700; }
.review figcaption b { display: block; font-size: 14.5px; }
.review figcaption span { font-size: 13px; color: var(--muted); }

/* ---------- статьи ---------- */
.article-list { display: grid; }
.article-row {
  display: grid; grid-template-columns: 150px 1fr 40px; gap: 26px; align-items: center;
  padding: 26px 4px; border-bottom: 1px solid var(--line);
  transition: background .18s ease;
}
.article-list .article-row:first-child { border-top: 1px solid var(--line); }
.article-row time { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.article-row h3 { transition: color .18s ease; }
.article-row p { margin-top: 6px; color: var(--muted); font-size: 15px; max-width: 68ch; }
.article-row-arrow { color: var(--accent); opacity: 0; transform: translateX(-8px); transition: opacity .2s ease, transform .2s ease; }
.article-row-arrow svg { width: 24px; height: 24px; }
.article-row:hover h3 { color: var(--accent); }
.article-row:hover .article-row-arrow { opacity: 1; transform: none; }
.empty-note { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-weight: 600; font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-caret { color: var(--accent); transition: transform .25s ease; flex: none; }
.faq-caret svg { width: 20px; height: 20px; display: block; }
.faq-item[open] .faq-caret { transform: rotate(180deg); }
.faq-answer { padding: 0 24px; overflow: hidden; transition: height .3s ease; }
.faq-answer p { color: var(--muted); font-size: 15.5px; padding-bottom: 20px; }

/* ---------- запись / контакты ---------- */
.section-dark { background: var(--dark); color: #fff; }
.section-dark h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy > p { color: #b9cbda; margin: 16px 0 30px; max-width: 48ch; }
.contact-items { display: grid; gap: 8px; }
.contact-item {
  display: flex; align-items: center; gap: 15px; padding: 13px 14px; margin: 0 -14px;
  border-radius: 14px; font-size: 14.5px; line-height: 1.4; color: #b9cbda;
  transition: background .18s ease;
}
.contact-item b { color: #fff; font-size: 15.5px; }
.contact-item .ic { color: #7cbcf2; }
.contact-item .ic svg { width: 26px; height: 26px; }
a.contact-item:hover { background: var(--dark-2); }

.contact-form-wrap { background: var(--surface); border-radius: 22px; padding: 34px; box-shadow: var(--shadow-lg); color: var(--ink); }

/* ---------- форма ---------- */
.lead-form { display: grid; gap: 18px; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: 14px; }
.field .opt { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.field input, .field select, .field textarea {
  font: 400 15.5px/1.4 var(--font-text); color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-field);
  padding: 13px 15px; width: 100%; transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 78px; }
.field input::placeholder, .field textarea::placeholder { color: #92a5b3; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(21, 131, 224, .18);
}
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.consent a { color: var(--accent); text-decoration: underline; }
.btn-submit { width: 100%; }
.btn-submit[disabled] { opacity: .65; cursor: wait; }
.form-error { color: #d13438; font-size: 14px; font-weight: 500; }

/* ---------- страницы ---------- */
.page-hero { padding: 48px 0 8px; }
.page-hero h1 { max-width: 22ch; }
.page-hero-lead { margin-top: 18px; font-size: 17.5px; color: var(--muted); max-width: 58ch; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.page-hero-meta > span {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--tint); color: var(--ink); font-size: 13.5px; font-weight: 600;
  border-radius: 999px; padding: 8px 16px;
}
.page-hero-meta .ic { color: var(--accent); }
.meta-price { background: var(--dark); color: #fff; }
.page-hero .hero-actions { margin-top: 26px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 22px; }
.back-link svg { width: 18px; height: 18px; }
.back-link:hover { color: var(--accent); }

.program-video-section { padding-top: 48px; padding-bottom: 48px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--dark); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-slot {
  display: flex; align-items: center; gap: 20px;
  background: var(--tint); border-radius: 22px; padding: 28px 32px; color: var(--muted);
}
.video-slot svg { width: 44px; height: 44px; color: var(--accent); flex: none; }
.video-slot b { color: var(--ink); }

.program-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.program-col p { margin-top: 14px; color: var(--muted); }

.program-blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.program-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; }
.program-block h3 { margin-bottom: 16px; }
.program-block ul { display: grid; gap: 11px; }
.program-block li { display: flex; gap: 11px; font-size: 15px; color: var(--muted); }
.program-block .ic { color: var(--accent); margin-top: 2px; }

/* ---------- статья ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 110; pointer-events: none; }
.read-progress i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .read-progress i { animation: readbar linear both; animation-timeline: scroll(root); }
  @keyframes readbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
.article-page { padding-top: 48px; }
.article-container { max-width: 760px; }
.article-date { margin: 14px 0 8px; color: var(--muted); font-size: 14px; }
.article-cover { border-radius: 22px; margin: 24px 0; box-shadow: var(--shadow); }
.article-body { margin-top: 22px; font-size: 17px; }
.article-body h2 { margin: 36px 0 14px; }
.article-body h3 { margin: 28px 0 10px; }
.article-body p { margin: 14px 0; }
.article-body ul, .article-body ol { margin: 14px 0 14px 4px; display: grid; gap: 8px; }
.article-body ul li { padding-left: 26px; position: relative; }
.article-body ul li::before {
  content: ''; position: absolute; left: 4px; top: 10px;
  width: 8px; height: 8px; border-radius: 3px; background: var(--accent);
}
.article-body ol { list-style: decimal inside; }
.article-body a { color: var(--accent); text-decoration: underline; }
.article-body img { border-radius: 16px; margin: 18px 0; }
.article-body blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; color: var(--muted); margin: 18px 0; }
.article-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--tint); border-radius: var(--r-card); padding: 26px 30px; margin: 44px 0;
}
.article-more h2 { margin-bottom: 8px; }

/* ---------- оплата ---------- */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pay-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 34px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.pay-icon { color: var(--accent); }
.pay-icon svg { width: 40px; height: 40px; }
.pay-card p { color: var(--muted); }
.pay-note { font-size: 14px; background: var(--tint); border-radius: 12px; padding: 12px 16px; }
.pay-question { margin-top: 40px; font-size: 16px; }
.pay-question a { color: var(--accent); }

/* ---------- спасибо ---------- */
.thankyou { min-height: 55vh; display: flex; align-items: center; }
.thankyou-in { max-width: 560px; text-align: center; display: grid; gap: 18px; justify-items: center; }
.thankyou-icon { color: var(--accent); }
.thankyou-icon svg { width: 64px; height: 64px; }
.thankyou p { color: var(--muted); }
.thankyou-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- футер ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 52px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { margin-top: 16px; color: var(--muted); font-size: 14.5px; max-width: 34ch; }
.footer-nav { display: grid; gap: 11px; align-content: start; }
.footer-nav a, .footer-contacts a, .footer-contacts span { font-size: 14.5px; color: var(--muted); }
.footer-nav a:hover, .footer-contacts a:hover { color: var(--accent); }
.footer-contacts { display: grid; gap: 12px; align-content: start; }
.footer-contacts a, .footer-contacts span { display: inline-flex; align-items: center; gap: 9px; }
.footer-contacts .ic { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 18px;
  font-size: 13px; color: var(--muted);
}

/* ---------- анимации появления ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--d, 0s);
}
.no-observer .reveal, .reduced-motion .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   Адаптив
   ============================================================ */

@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .header-phone span { display: none; }
}

@media (max-width: 960px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0; z-index: 99;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); padding: 10px 24px 24px;
  }
  body.menu-open .nav { display: flex; }
  .nav > a { font-size: 17px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav > a::after { display: none; }
  .nav-extra { display: grid; gap: 14px; padding-top: 18px; }
  .nav-phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
  .nav-phone .ic { color: var(--accent); }
  .nav-cta { justify-content: center; }
  .header-phone { display: none; }
  .burger { display: inline-flex; margin-left: auto; }
  .header-cta { margin-left: auto; }
  .burger { margin-left: 0; }

  .hero { padding: 28px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy h1, .hero-sub { max-width: none; }
  .hero-visual { max-width: 480px; }
  .hero-card { left: 14px; }

  .stats-grid { grid-template-columns: 1fr; gap: 18px; }
  .section { padding: 60px 0; }

  .program-grid { grid-template-columns: 1fr; }
  .program-card, .program-card:nth-child(4n+2), .program-card:nth-child(4n+3) { grid-column: 1 / -1; }

  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-visual { max-width: 420px; }

  .steps { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .steps li::after { display: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .program-two-col { grid-template-columns: 1fr; gap: 30px; }
  .pay-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  body { font-size: 16px; }
  .header-in { height: 64px; gap: 12px; }
  .nav { inset: 64px 0 auto 0; }
  .brand-text b { font-size: 13px; white-space: nowrap; }
  .brand-text i { display: none; }
  .header-cta { padding: 10px 16px; font-size: 13.5px; }
  .hero-actions .btn { width: 100%; }
  .hero-card { padding: 11px 14px; font-size: 12.5px; bottom: 14px; }
  .steps { grid-template-columns: 1fr; }
  .article-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 2px; }
  .article-row-arrow { display: none; }
  .contact-form-wrap { padding: 24px 20px; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}

/* ============================================================
   V2 «Бомбочка»: глубина, свет, движение.
   Слой поверх базовых правил, всё гасится prefers-reduced-motion.
   ============================================================ */

/* ---------- зерно поверх всей страницы ---------- */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- hero: сцена с живым фоном ---------- */
.hero { position: relative; padding: 64px 0 84px; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob-1 { width: 560px; height: 560px; right: -140px; top: -180px;
  background: radial-gradient(circle at 35% 35%, #bfe0fb 0%, #d8ebfa 55%, transparent 72%);
  animation: drift1 16s ease-in-out infinite alternate; }
.blob-2 { width: 420px; height: 420px; left: -160px; bottom: -200px;
  background: radial-gradient(circle at 60% 40%, #cfe7fb 0%, transparent 70%);
  animation: drift2 20s ease-in-out infinite alternate; }
.blob-3 { width: 300px; height: 300px; left: 42%; top: -140px;
  background: radial-gradient(circle, #e3f0fc 0%, transparent 70%);
  animation: drift3 24s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-60px, 50px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(70px, -40px) scale(1.08); } }
@keyframes drift3 { to { transform: translate(-40px, 60px); } }

.hero-grid { position: relative; }

/* появление hero при загрузке, каскадом */
.rise { opacity: 0; transform: translateY(26px); filter: blur(6px);
  animation: rise .8s cubic-bezier(.16, 1, .3, 1) forwards;
  animation-delay: calc(var(--r, 0) * .12s + .05s); }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }

.hero-note { display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--tint-deep); border-radius: 999px;
  padding: 9px 18px 9px 14px; font-size: 13.5px; box-shadow: 0 6px 18px rgba(21, 76, 130, .07); }
.note-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none;
  box-shadow: 0 0 0 0 rgba(21, 131, 224, .45); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(21, 131, 224, 0); } 100% { box-shadow: 0 0 0 0 rgba(21, 131, 224, 0); } }

.hero-visual > img, .photo-slot { box-shadow: 0 34px 80px rgba(13, 51, 88, .22); }
.hero-slot { position: relative; overflow: hidden; }
.slot-ring { position: absolute; inset: auto; width: 74%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid rgba(21, 131, 224, .18); left: 13%; top: 16%;
  animation: ringspin 26s linear infinite; }
.slot-ring::before { content: ''; position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); opacity: .5; top: -6px; left: 50%; }
.slot-ring-2 { width: 92%; left: 4%; top: 7%; animation-duration: 40s; animation-direction: reverse;
  border-color: rgba(21, 131, 224, .1); }
@keyframes ringspin { to { transform: rotate(360deg); } }

.glass { background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 14px 38px rgba(13, 51, 88, .14), inset 0 1px 0 rgba(255, 255, 255, .9); }
.hero-card { border-radius: 16px; }
.hero-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 10px 18px; font-size: 13.5px; font-weight: 600;
  right: -14px; top: 34px; }
.hero-chip .ic { color: var(--accent); }
.hero-chip-2 { right: auto; left: -26px; top: 44%; }
.float-slow { animation: floaty 5.5s ease-in-out infinite; animation-delay: var(--fd, 0s); }
@keyframes floaty { 50% { transform: translateY(-9px); } }

/* параллакс-цели двигает JS через --px/--py */
[data-plx] { translate: calc(var(--px, 0) * 1px) calc(var(--py, 0) * 1px); transition: translate .25s cubic-bezier(.2, .8, .3, 1); }

/* ---------- бегущая строка ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding: 16px 0; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content;
  animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 500; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee-track i { color: var(--accent); font-style: normal; font-weight: 700; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- кнопки: блик и жизнь ---------- */
.btn { position: relative; overflow: hidden; }
.btn-accent::after { content: ''; position: absolute; top: 0; bottom: 0; width: 44%;
  left: -60%; transform: skewX(-24deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38), transparent); }
.btn-accent:hover::after { animation: sheen .7s ease forwards; }
@keyframes sheen { to { left: 130%; } }

/* ---------- заголовки секций: растущее подчёркивание ---------- */
.section-head h2, .about-copy h2, .contact-copy h2 { position: relative; padding-bottom: 16px; }
.section-head h2::after, .about-copy h2::after, .contact-copy h2::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 56px;
  border-radius: 4px; background: linear-gradient(90deg, var(--accent), #7cbcf2);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s cubic-bezier(.16, 1, .3, 1) .15s; }
.reveal.in h2::after, h2.reveal.in::after { transform: scaleX(1); }

/* ---------- факты: крупнее и глубже ---------- */
.stats { position: relative; overflow: hidden; padding: 44px 0; }
.stats::before { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  right: -120px; top: -220px; background: radial-gradient(circle, rgba(21,131,224,.14), transparent 70%); }
.stat b { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.stat { position: relative; padding-left: 20px; }
.stat::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px;
  border-radius: 3px; background: linear-gradient(180deg, var(--accent), transparent); }

/* ---------- карточки программ: spotlight под курсором ---------- */
.program-card { position: relative; overflow: hidden; }
.program-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit;
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(21, 131, 224, .12), transparent 55%); }
.program-card:hover::before { opacity: 1; }
.card-bazovyi-kurs::before {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 188, 242, .2), transparent 55%); }
.card-bazovyi-kurs { position: relative; }
.card-bazovyi-kurs::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(120deg, rgba(124,188,242,.9), rgba(21,131,224,.15) 40%, rgba(124,188,242,.7) 80%);
  background-size: 220% 220%; animation: bshift 6s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
@keyframes bshift { to { background-position: 220% 220%; } }

/* ---------- шаги: линия-прогресс рисуется при скролле ---------- */
.steps { position: relative; }
@supports (animation-timeline: view()) {
  .steps::after { content: ''; position: absolute; top: 22px; left: 0; right: 16px; height: 2px;
    border-radius: 2px; background: linear-gradient(90deg, var(--accent), #7cbcf2);
    transform: scaleX(0); transform-origin: 0 50%; z-index: 1;
    animation: growline linear both; animation-timeline: view(); animation-range: entry 20% cover 55%; }
  @keyframes growline { to { transform: scaleX(1); } }
}
.steps li { z-index: 2; }
.steps li i { position: relative; z-index: 2; box-shadow: 0 0 0 6px var(--bg); transition: transform .25s ease, background .25s ease, color .25s ease; }
.section-tint .steps li i { box-shadow: 0 0 0 6px var(--tint); }
.steps li:hover i { transform: scale(1.12); background: var(--accent); color: #fff; }

/* ---------- тёмный блок: aurora ---------- */
.section-dark { position: relative; overflow: hidden; }
.section-dark::before, .section-dark::after { content: ''; position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; }
.section-dark::before { width: 520px; height: 520px; left: -180px; top: -220px;
  background: radial-gradient(circle, rgba(21, 131, 224, .35), transparent 70%);
  animation: aur1 14s ease-in-out infinite alternate; }
.section-dark::after { width: 460px; height: 460px; right: -160px; bottom: -240px;
  background: radial-gradient(circle, rgba(124, 188, 242, .22), transparent 70%);
  animation: aur2 18s ease-in-out infinite alternate; }
@keyframes aur1 { to { transform: translate(80px, 60px) scale(1.15); } }
@keyframes aur2 { to { transform: translate(-70px, -50px); } }
.section-dark .container { position: relative; z-index: 2; }
.contact-form-wrap { box-shadow: 0 34px 90px rgba(0, 0, 0, .35); }

/* ---------- отзывы и статьи: свет при наведении ---------- */
.review { transition: transform .25s ease, box-shadow .25s ease; }
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* ---------- reveal: чуть богаче (blur) ---------- */
.reveal { filter: blur(5px); }
.reveal.in { filter: none; transition: opacity .65s cubic-bezier(.16, 1, .3, 1), transform .65s cubic-bezier(.16, 1, .3, 1), filter .65s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); }
.no-observer .reveal, .reduced-motion .reveal { filter: none; }

/* ---------- мобильный тюнинг сцен ---------- */
@media (max-width: 960px) {
  .hero { padding: 34px 0 56px; }
  .hero-chip-2 { left: -6px; }
  .hero-chip { right: 6px; }
  .steps::after { display: none; }
}
@media (max-width: 560px) {
  .blob { filter: blur(50px); }
  .hero-chip { display: none; }
  .marquee-track { animation-duration: 22s; }
}

/* ---------- reduced motion: полная тишина ---------- */
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; filter: none; animation: none; }
  .blob, .slot-ring, .float-slow, .marquee-track, .note-dot,
  .section-dark::before, .section-dark::after, .card-bazovyi-kurs::after { animation: none !important; }
  .reveal { filter: none; }
  [data-plx] { translate: 0 0; }
}

/* ============================================================
   V3 — контент Арины: фото-hero, тезисы, кейсы, работы, отзывы
   ============================================================ */

/* ---------- hero с фотофоном (просьба Арины: полупрозрачный фон) ---------- */
.hero-photo { position: relative; isolation: isolate; }
.hero-photo::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-bg); background-size: cover; background-position: center 35%;
  opacity: .38;
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(246,249,252,.72) 0%, rgba(246,249,252,.86) 55%, var(--bg) 100%),
    linear-gradient(100deg, rgba(246,249,252,.96) 30%, rgba(233,242,251,.55) 100%);
}
.hero-photo .hero-bg { z-index: -1; opacity: .8; }
.hero-photo .blob { opacity: .38; }

.hero-visual > img {
  width: 100%; aspect-ratio: 7 / 8; object-fit: cover; object-position: center 12%;
  border-radius: 28px; box-shadow: 0 34px 80px rgba(13, 51, 88, .24);
}
.hero-chip { max-width: 62%; line-height: 1.3; }

/* ---------- три тезиса вместо цифр ---------- */
.facts { background: var(--tint); padding: 46px 0; position: relative; overflow: hidden; }
.facts::before {
  content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  right: -140px; top: -240px; background: radial-gradient(circle, rgba(21,131,224,.13), transparent 70%);
}
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.fact {
  display: grid; gap: 8px; align-content: start;
  background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--r-card); padding: 24px 26px;
  box-shadow: 0 10px 30px rgba(21, 76, 130, .07);
  transition: transform .22s ease, box-shadow .22s ease;
}
.fact:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fact-icon { color: var(--accent); }
.fact-icon svg { width: 30px; height: 30px; }
.fact b { font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.25; }
.fact span:last-child { font-size: 14.5px; color: var(--muted); }

/* ---------- карточки программ с фото ---------- */
.program-card { padding: 0; overflow: hidden; gap: 0; }
.program-img { display: block; overflow: hidden; }
.program-img img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}
.program-card:hover .program-img img { transform: scale(1.05); }
.program-body { display: flex; flex-direction: column; gap: 12px; padding: 26px 28px 24px; flex: 1; }
.program-meta { align-items: center; gap: 8px 18px; }
.program-price {
  font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--accent);
}
.program-dur { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: var(--muted); font-size: 14px; }
.program-dur .ic { color: var(--accent); margin: 0; }
.card-bazovyi-kurs .program-price { color: #7cbcf2; }
.card-bazovyi-kurs .program-dur { color: #9fb6c8; }
.card-online-kurs { background: linear-gradient(160deg, #fff 45%, var(--tint) 100%); }

/* ---------- обо мне ---------- */
.about-visual img { object-position: center 25%; }
.about-extra {
  margin: 4px 0 22px; padding: 16px 20px; border-left: 3px solid var(--accent);
  background: rgba(255,255,255,.75); border-radius: 0 12px 12px 0;
  font-size: 15.5px; font-style: italic; color: var(--ink);
}

/* ---------- кейсы учеников ---------- */
.cases { display: grid; gap: 26px; }
.case {
  display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 32px; align-items: center;
  background: var(--surface); border-radius: 22px; padding: 26px;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case:nth-child(even) { grid-template-columns: 1fr minmax(0, 340px); }
.case:nth-child(even) .case-media { order: 2; }
.case-media { display: grid; grid-template-columns: 1fr; gap: 10px; }
.case-media:has(.case-media-2) { grid-template-columns: 1fr 1fr; }
.case-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.case-program { font-size: 12.5px; font-weight: 600; color: var(--accent); }
.case-body { display: grid; gap: 10px; align-content: center; }
.case-body h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.case-result {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15.5px;
  background: var(--tint); border-radius: 999px; padding: 9px 18px; width: fit-content;
}
.case-result .ic { color: var(--accent); }
.case-body > p { color: var(--muted); font-size: 15.5px; }
.case-quote {
  margin-top: 4px; padding: 16px 20px; background: var(--tint); border-radius: 14px;
  font-size: 15px; color: var(--ink);
}
.case-quote::before { content: '«'; color: var(--accent); font-weight: 700; }
.case-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 13px; color: var(--muted); }

/* ---------- работы до/после ---------- */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work {
  background: var(--surface); border-radius: var(--r-card); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.work:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.work img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.work figcaption { display: grid; gap: 5px; padding: 18px 20px 20px; }
.work figcaption b { font-size: 15.5px; }
.work figcaption span { font-size: 14px; color: var(--muted); }

/* ---------- отзывы со скриншотами ---------- */
.reviews-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); align-items: start; }
.review { padding: 28px; gap: 16px; position: relative; }
.review blockquote { font-size: 15.5px; line-height: 1.55; }
.review figcaption { display: grid; gap: 2px; }
.review-shot {
  display: block; position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line);
}
.review-shot img {
  width: 100%; height: 168px; object-fit: cover; object-position: center top;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}
.review-shot:hover img { transform: scale(1.03); }
.review-shot-label {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(12, 35, 55, .82); color: #fff; font-size: 11.5px; font-weight: 600;
  border-radius: 999px; padding: 5px 12px; backdrop-filter: blur(6px);
}

/* ============================================================
   Адаптив новых секций
   ============================================================ */

@media (max-width: 960px) {
  .hero-photo::before { background-position: center 30%; opacity: .3; }
  .facts-grid { grid-template-columns: 1fr; gap: 14px; }
  .fact { padding: 20px 22px; }
  .case, .case:nth-child(even) { grid-template-columns: 1fr; gap: 22px; padding: 20px; }
  .case:nth-child(even) .case-media { order: 0; }
  .case-media img { aspect-ratio: 4 / 5; }
  .works-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 560px) {
  .hero-chip { display: none; }
  .program-body { padding: 22px 20px 20px; }
  .case-media:has(.case-media-2) { grid-template-columns: 1fr 1fr; }
  .case-media img { aspect-ratio: 3 / 4; }
  .works-grid { grid-template-columns: 1fr; }
  .work img { aspect-ratio: 4 / 3; }
  .review { padding: 22px 20px; }
  .about-extra { font-size: 15px; padding: 14px 16px; }
}

/* --- hero: фото компактнее, экран не переполняется --- */
.hero-photo { padding: 44px 0 68px; }
.hero-photo::before { opacity: .5; }
.hero-photo::after {
  background:
    linear-gradient(180deg, rgba(246,249,252,.62) 0%, rgba(246,249,252,.82) 60%, var(--bg) 100%),
    linear-gradient(100deg, rgba(246,249,252,.94) 26%, rgba(233,242,251,.5) 100%);
}
@media (min-width: 961px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hero-visual { max-width: 430px; margin-left: auto; }
  .hero-visual > img { aspect-ratio: 5 / 6; }
  .hero-copy h1 { max-width: 16ch; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
}
.hero-note { font-size: 13px; padding: 8px 16px 8px 13px; max-width: 52ch; }
.hero-sub { font-size: 17.5px; max-width: 44ch; margin: 18px 0 28px; }
.hero-chip { top: 22px; right: -20px; font-size: 12.5px; padding: 9px 15px; }

@media (max-width: 960px) {
  .hero-photo { padding: 30px 0 52px; }
  .hero-visual { max-width: 400px; margin: 0; }
  .hero-copy h1 { max-width: none; }
  .hero-sub { max-width: none; }
}
@media (max-width: 560px) {
  .hero-visual { max-width: 100%; }
  .hero-visual > img { aspect-ratio: 4 / 5; }
  .hero-note { font-size: 12.5px; }
}

/* ---------- видеоотзывы ---------- */
.vreviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vreview { display: grid; gap: 12px; }
.vreview-player {
  position: relative; border-radius: 18px; overflow: hidden; background: var(--dark);
  box-shadow: var(--shadow); aspect-ratio: 9 / 16;
  transition: transform .25s ease, box-shadow .25s ease;
}
.vreview:hover .vreview-player { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vreview-player video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vreview-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; pointer-events: none; transition: opacity .25s ease;
  background: linear-gradient(180deg, rgba(12,35,55,.05), rgba(12,35,55,.35));
}
.vreview-play svg { width: 62px; height: 62px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.45)); }
.vreview-player video:not([data-idle]) { }
.vreview-player.playing .vreview-play { opacity: 0; }
.vreview figcaption { display: grid; gap: 2px; padding: 0 4px; }
.vreview figcaption b { font-size: 15px; }
.vreview figcaption span { font-size: 13.5px; color: var(--muted); }

@media (max-width: 960px) {
  .vreviews { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 560px) {
  .vreviews {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -18px; padding: 0 18px 8px; scrollbar-width: none;
  }
  .vreviews::-webkit-scrollbar { display: none; }
  .vreview { flex: 0 0 74%; scroll-snap-align: start; }
}

/* --- hero: помещаем первый экран целиком --- */
@media (min-width: 961px) {
  .hero-photo { padding: 36px 0 56px; display: flex; align-items: center; min-height: calc(100dvh - 72px); }
  .hero-photo .container { width: 100%; }
  .hero-visual { max-width: 380px; }
  .hero-visual > img { aspect-ratio: 4 / 5; }
  .hero-copy h1 { font-size: clamp(1.7rem, 3.1vw, 2.3rem); max-width: 15ch; }
  .hero-note { max-width: 46ch; }
}

/* --- видеоплеер: контролы только при воспроизведении --- */
.vreview-player video::-webkit-media-controls { opacity: 0; transition: opacity .2s ease; }
.vreview-player.playing video::-webkit-media-controls { opacity: 1; }
.vreview-player { cursor: pointer; }
.vreview-play svg { transition: transform .25s ease; }
.vreview-player:hover .vreview-play svg { transform: scale(1.08); }

/* атрибуты width/height в разметке перебивали aspect-ratio */
.hero-visual > img, .about-visual img { height: auto; }

/* --- hero: финальные пропорции первого экрана --- */
@media (min-width: 961px) {
  .hero-photo { min-height: 0; padding: 52px 0 66px; }
  .hero-visual { max-width: 424px; }
  .hero-visual > img { aspect-ratio: 5 / 6; object-position: center 6%; }
  .hero-copy h1 { font-size: clamp(1.75rem, 3.2vw, 2.35rem); }
}

/* ---------- вертикальное видео на странице программы ---------- */
.video-story {
  display: grid; grid-template-columns: minmax(0, 330px) 1fr; gap: 44px; align-items: center;
  background: var(--surface); border-radius: 24px; padding: 28px;
  box-shadow: var(--shadow);
}
.video-story-player {
  border-radius: 18px; overflow: hidden; background: var(--dark); aspect-ratio: 9 / 16;
  box-shadow: 0 18px 44px rgba(13, 51, 88, .18);
}
.video-story-player video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-story-copy { display: grid; gap: 14px; justify-items: start; }
.video-story-copy p { color: var(--muted); max-width: 52ch; }
.video-story-copy ul { display: grid; gap: 11px; }
.video-story-copy li { display: flex; gap: 11px; font-size: 15.5px; }
.video-story-copy li .ic { color: var(--accent); margin-top: 2px; }

@media (max-width: 860px) {
  .video-story { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .video-story-player { max-width: 320px; margin: 0 auto; }
}

/* планшет: hero остаётся в две колонки, фото не пустует справа */
@media (min-width: 700px) and (max-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
  .hero-visual { max-width: 320px; margin-left: auto; }
  .hero-visual > img { aspect-ratio: 5 / 6; }
  .hero-chip { display: none; }
  .hero-copy h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
}

/* ---------- страница оплаты (без ссылок, по правке Арины) ---------- */
.pay-card { gap: 12px; }
.pay-card-accent { background: linear-gradient(160deg, #fff 45%, var(--tint) 100%); border-color: var(--tint-deep); }
.pay-list { display: grid; gap: 9px; margin-top: 2px; }
.pay-list li { display: flex; gap: 10px; font-size: 15px; color: var(--muted); }
.pay-list .ic { color: var(--accent); margin-top: 2px; }
.pay-note-wide {
  display: flex; gap: 13px; align-items: flex-start; margin-top: 22px;
  background: var(--tint); border-radius: var(--r-card); padding: 20px 24px;
  font-size: 15.5px; color: var(--ink);
}
.pay-note-wide .ic { color: var(--accent); }
.pay-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.pay-cta h2 { margin-bottom: 8px; }
.pay-cta p { color: #b9cbda; max-width: 46ch; }
@media (max-width: 640px) {
  .pay-cta { flex-direction: column; align-items: flex-start; }
  .pay-cta .btn { width: 100%; }
}
