/* apalina.ru — направление A «Ночное небо» (design/mockups/A-*.png) */

@font-face { font-family: "Cormorant"; font-weight: 500; font-display: swap; src: url(/assets/fonts/cormorant-500-cyrillic.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Cormorant"; font-weight: 500; font-display: swap; src: url(/assets/fonts/cormorant-500-latin.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant"; font-weight: 500; font-display: swap; src: url(/assets/fonts/cormorant-500-latin-ext.woff2) format("woff2"); unicode-range: U+20A0-20C0; }
@font-face { font-family: "Cormorant"; font-weight: 600; font-display: swap; src: url(/assets/fonts/cormorant-600-cyrillic.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Cormorant"; font-weight: 600; font-display: swap; src: url(/assets/fonts/cormorant-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant"; font-weight: 600; font-display: swap; src: url(/assets/fonts/cormorant-600-latin-ext.woff2) format("woff2"); unicode-range: U+20A0-20C0; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(/assets/fonts/manrope-400-cyrillic.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(/assets/fonts/manrope-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(/assets/fonts/manrope-400-latin-ext.woff2) format("woff2"); unicode-range: U+20A0-20C0; }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url(/assets/fonts/manrope-500-cyrillic.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url(/assets/fonts/manrope-500-latin.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url(/assets/fonts/manrope-500-latin-ext.woff2) format("woff2"); unicode-range: U+20A0-20C0; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(/assets/fonts/manrope-600-cyrillic.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(/assets/fonts/manrope-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(/assets/fonts/manrope-600-latin-ext.woff2) format("woff2"); unicode-range: U+20A0-20C0; }

:root {
  --night: #1B1033;
  --night-2: #160C2B;
  --violet: #2A1650;
  --lilac: #B79CFF;
  --gold: #D9B26A;
  --gold-hi: #F1D9A0;
  --gold-lo: #A9813F;
  --text: #EDE6F7;
  --muted: #B5A9CC;
  --line: rgba(217, 178, 106, .32);
  --glass: rgba(36, 20, 66, .55);
  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--night); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }

.i { width: 18px; height: 18px; flex: none; }
.i--lg { width: 30px; height: 30px; color: var(--gold); }

/* ---------- типографика ---------- */
.eyebrow { font: 500 13px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.h2 { font: 500 clamp(32px, 4.2vw, 46px)/1.1 var(--serif); color: var(--gold-hi); }
.h3 { font: 500 clamp(24px, 3vw, 30px)/1.15 var(--serif); color: var(--gold-hi); }
.gold-text {
  background: linear-gradient(180deg, var(--gold-hi) 10%, var(--gold) 55%, var(--gold-lo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 12px;
  font: 500 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
.btn:active { transform: scale(.98); }
.btn--gold {
  color: #241433;
  background: linear-gradient(180deg, #F3DCA6 0%, #D9B26A 55%, #C29A52 100%);
  box-shadow: 0 0 0 1px rgba(255, 233, 180, .45) inset, 0 8px 28px -8px rgba(217, 178, 106, .55);
}
.btn--gold:hover { box-shadow: 0 0 0 1px rgba(255, 233, 180, .6) inset, 0 12px 36px -8px rgba(217, 178, 106, .75); }
.btn--gold .i { transition: transform .25s var(--ease); }
.btn--gold:hover .i { transform: translateX(3px); }
.btn--ghost { color: var(--text); border: 1px solid var(--line); background: rgba(27, 16, 51, .4); }
.btn--ghost:hover { border-color: var(--gold); background: rgba(217, 178, 106, .08); }
.btn--ghost .i { color: var(--gold); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; }
.link:hover { color: var(--gold-hi); }

/* ---------- шапка ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22, 12, 43, .55);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.top.is-scrolled { border-bottom-color: var(--line); background: rgba(22, 12, 43, .82); }
.top__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { font: 500 26px/1 var(--serif); color: var(--gold-hi); text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 15px; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--text); }
.top .btn { margin-left: 8px; }
.nav + .btn { margin-left: 8px; }

/* ---------- звёзды ---------- */
.stars, .stars::after {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 33% 72%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 51% 32%, #f6e9ff 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 84%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 86% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 22% 48%, #ffe9c4 50%, transparent 51%),
    radial-gradient(1px 1px at 64% 58%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 46%, #fff 50%, transparent 51%);
  background-size: 420px 420px;
  opacity: .55;
}
.stars::after { content: ""; background-size: 290px 290px; background-position: 70px 120px; animation: twinkle 7s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .15; } to { opacity: .7; } }

/* ---------- первый экран ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; margin-top: -68px; padding-top: 68px; }
.hero__sky {
  position: absolute; inset: 0; z-index: -1;
  background: url(/assets/img/nebula-hero.webp) 70% 30% / cover no-repeat, var(--night);
}
.hero__sky::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--night)); }
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; min-height: min(760px, 92vh); padding-block: 48px 72px; }
.hero__text { position: relative; z-index: 2; }
.hero__title {
  margin: 14px 0 18px;
  font: 500 clamp(52px, 8.4vw, 104px)/.95 var(--serif); letter-spacing: -.01em;
  background: linear-gradient(180deg, #FBEBC4 0%, var(--gold) 58%, #B38A47 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 40px rgba(217, 178, 106, .12);
}
.hero__lead { max-width: 30ch; font: 400 clamp(21px, 2.4vw, 27px)/1.35 var(--serif); color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.facts li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.3; color: var(--muted); }
.facts b { display: block; font-weight: 600; font-size: 16px; color: var(--text); }

.hero__art { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: end; }
.wheel { position: absolute; inset: -6%; width: 112%; max-width: none; opacity: .6; }
.wheel--spin { animation: spin 240s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__art::before {
  content: ""; position: absolute; inset: 8% 8% 18%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 42%, rgba(183, 156, 255, .45), rgba(120, 70, 200, .18) 45%, transparent 70%);
  filter: blur(10px);
}
.hero__photo {
  position: absolute; left: 4%; bottom: 0; width: 92%; height: auto;
  /* рукава и низ обрезаны кадром — растворяем края, чтобы не было прямоугольника */
  -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 94%), linear-gradient(90deg, transparent 0%, #000 22%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, #000 52%, transparent 94%), linear-gradient(90deg, transparent 0%, #000 22%, #000 80%, transparent 100%);
  mask-composite: intersect;
  filter: drop-shadow(0 0 28px rgba(183, 156, 255, .35)) saturate(1.04);
}

/* ---------- обо мне ---------- */
.about { position: relative; padding-block: clamp(56px, 8vw, 96px); background: linear-gradient(180deg, var(--night), var(--night-2)); }
.about__in { position: relative; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.about__photo { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, .7); }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.about__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(22, 12, 43, .5)); }
.about__text { position: relative; z-index: 1; max-width: 560px; }
.about__lead { margin: 22px 0 16px; font: 400 clamp(22px, 2.4vw, 27px)/1.35 var(--serif); color: var(--text); }
.about__text p:last-child { color: var(--muted); }
.about__moon { position: absolute; right: 0; top: -12px; width: clamp(90px, 12vw, 150px); height: auto; opacity: .85; pointer-events: none; }

/* ---------- заголовки разделов ---------- */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.head__note { color: var(--muted); font-size: 15px; }
.head--sub { margin: 56px 0 22px; }

/* ---------- услуги ---------- */
.services { padding-block: clamp(56px, 8vw, 96px); background: var(--night-2); }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 28px 22px 24px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(53, 31, 94, .5), rgba(30, 17, 56, .5));
  box-shadow: 0 0 0 1px var(--line) inset;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(217, 178, 106, .6) inset, 0 18px 40px -20px rgba(183, 156, 255, .35); }
.card__icon { width: 52px; height: 52px; color: var(--gold); margin-bottom: 8px; }
.card__title { font: 500 24px/1.15 var(--serif); color: var(--gold-hi); }
.card__text { font-size: 15px; line-height: 1.5; color: var(--muted); }
.card__price { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--text); }
.card__price--ask { font-weight: 400; font-size: 14px; color: var(--muted); }

/* ---------- практикум ---------- */
.practicum { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(64px, 9vw, 110px); border-block: 1px solid var(--line); }
.practicum__sky { position: absolute; inset: 0; z-index: -1; background: url(/assets/img/nebula-band.webp) center / cover no-repeat, var(--night-2); }
.practicum__sky::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 75% 50%, rgba(183, 156, 255, .16), transparent 70%); }
.practicum__in { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(32px, 5vw, 64px); }
.practicum__title { margin: 14px 0 12px; font: 500 clamp(40px, 5.6vw, 64px)/1 var(--serif); color: var(--gold-hi); }
.practicum__lead { font: 400 clamp(21px, 2.3vw, 26px)/1.35 var(--serif); }
.practicum__more { margin-top: 16px; max-width: 52ch; color: var(--muted); }
.practicum__buy { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin: 30px 0 28px; }
.practicum__price { font: 600 clamp(38px, 4.6vw, 52px)/1 var(--serif); color: var(--gold-hi); padding-right: 24px; border-right: 1px solid var(--line); }
.practicum__note { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.practicum__note .i { color: var(--gold); }
.practicum__art { position: relative; justify-self: center; width: min(100%, 460px); }
.practicum__art img { width: 100%; filter: drop-shadow(0 0 24px rgba(217, 178, 106, .25)); }

/* ---------- шаги ---------- */
.steps { padding-block: clamp(56px, 8vw, 96px); background: var(--night); }
.steps__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; counter-reset: s; }
.steps__list::before { content: ""; position: absolute; left: 12%; right: 12%; top: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent); }
.steps__list li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.steps__n {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 10px; border-radius: 50%;
  font: 500 22px/1 var(--serif); color: var(--gold-hi);
  background: var(--night); box-shadow: 0 0 0 1px var(--gold) inset, 0 0 24px -6px rgba(217, 178, 106, .5);
}
.steps__list b { font-weight: 500; max-width: 18ch; }
.steps__list span:last-child { font-size: 14px; color: var(--muted); }

/* ---------- прогнозы ---------- */
.forecasts { padding-block: clamp(56px, 8vw, 96px); background: linear-gradient(180deg, var(--night), var(--night-2)); }
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video, .short { position: relative; display: block; overflow: hidden; border-radius: 16px; text-decoration: none; box-shadow: 0 0 0 1px var(--line); }
.video img, .short img { width: 100%; transition: transform .6s var(--ease); }
.video img { aspect-ratio: 16 / 9; object-fit: cover; }
.video:hover img, .short:hover img { transform: scale(1.04); }
.video__play {
  position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(22, 12, 43, .7); border: 1px solid rgba(255, 255, 255, .5); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.video__play .i { margin-left: 3px; }
.video { background: var(--night-2); }
.video__media { position: relative; display: block; overflow: hidden; }
.video__title { display: block; padding: 14px 16px 16px; font-size: 15px; color: var(--text); }
.shorts-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.shorts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.short img { aspect-ratio: 9 / 13; object-fit: cover; object-position: 50% 20%; }
.short .video__play { width: 38px; height: 38px; right: 10px; bottom: 10px; }

/* ---------- вопросы ---------- */
.faq { padding-block: clamp(56px, 8vw, 96px); background: var(--night-2); }
.faq__in { display: grid; grid-template-columns: .7fr 1.3fr; gap: 32px 56px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
details { border-radius: 14px; background: var(--glass); box-shadow: 0 0 0 1px var(--line) inset; transition: box-shadow .3s; }
details[open] { box-shadow: 0 0 0 1px rgba(217, 178, 106, .55) inset; }
summary { position: relative; display: block; padding: 18px 56px 18px 22px; cursor: pointer; font-weight: 500; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border: solid var(--gold); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .3s var(--ease);
}
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { padding: 0 22px 20px; color: var(--muted); max-width: 62ch; }

/* ---------- финал ---------- */
.final { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(72px, 10vw, 120px); text-align: center; }
.final__sky { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 100%, rgba(183, 156, 255, .22), transparent 70%), url(/assets/img/nebula-band.webp) center / cover, var(--night); }
.final__title { max-width: 20ch; margin: 0 auto; font: 500 clamp(32px, 4.6vw, 52px)/1.12 var(--serif); color: var(--gold-hi); }
.final__cta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.final__social { display: flex; gap: 14px; }
.round { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); color: var(--gold); transition: border-color .25s, background-color .25s; }
.round:hover { border-color: var(--gold); background: rgba(217, 178, 106, .08); }

/* ---------- подвал ---------- */
.foot { padding-block: 28px; border-top: 1px solid var(--line); background: var(--night-2); font-size: 13px; color: var(--muted); }
.foot__in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .top__in { height: 60px; }
  .logo { font-size: 23px; }
  .hero { margin-top: -60px; padding-top: 60px; }
  .hero__in { grid-template-columns: 1fr; min-height: 0; padding-block: 20px 56px; gap: 8px; }
  .hero__art { order: -1; width: 82%; max-width: 380px; justify-self: center; margin-bottom: 18px; }
  .hero__sky { background-position: 75% 0; }
  .hero__sky::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 16, 51, .15) 0%, rgba(27, 16, 51, .35) 38%, rgba(27, 16, 51, .82) 62%, var(--night) 100%); }
  .hero__text { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta, .facts { justify-content: center; }
  .about__in, .practicum__in, .faq__in { grid-template-columns: 1fr; }
  .about__photo { max-width: 520px; }
  .about__moon { top: auto; bottom: -40px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .practicum__art { order: -1; width: min(70%, 340px); }
  .steps__list { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps__list::before { display: none; }
  .videos { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .videos::-webkit-scrollbar, .shorts::-webkit-scrollbar { display: none; }
  .videos li, .shorts li { scroll-snap-align: start; }
  .shorts-row { grid-template-columns: 1fr; }
  .shorts { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .shorts-row .btn { justify-self: start; }
}
@media (max-width: 560px) {
  .top .btn span { display: none; }
  .top .btn { width: 42px; padding: 0; }
  .hero__cta .btn { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .card { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 16px; padding: 20px; }
  .card__icon { width: 42px; height: 42px; margin: 0; }
  .card__title { flex: 1; }
  .card__text, .card__price { flex-basis: 100%; }
  .card__price { padding-top: 0; }
  .practicum__price { border-right: 0; padding-right: 0; }
  .steps__list { grid-template-columns: 1fr; }
  .steps__list li { flex-direction: row; flex-wrap: wrap; text-align: left; align-items: center; column-gap: 16px; }
  .steps__n { margin: 0; width: 48px; height: 48px; font-size: 19px; }
  .steps__list b { flex: 1; max-width: none; }
  .steps__list span:last-child { flex-basis: 100%; padding-left: 64px; margin-top: -6px; }
  .foot__in { flex-direction: column; }
}

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