/* Локальные шрифты. Пересобрать: node src/fetch_fonts.js */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/manrope-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../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-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/manrope-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/manrope-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../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-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/manrope-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/manrope-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/manrope-700-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-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/manrope-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/manrope-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/unbounded-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/unbounded-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/unbounded-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/unbounded-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/unbounded-800-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/unbounded-800-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/unbounded-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/unbounded-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ALISA HAIR SCHOOL — чёрный / белый / magenta gradient.
   Референс: capsula-school.ru (Druk Text Wide → Unbounded, #ff0083 → #f464fe) */

:root {
  --ink: #000;
  --paper: #fff;
  --grey: #eee;
  --grey-2: #c9c9c9;
  --muted: #6b6b6b;
  --pink: #ff0083;
  --violet: #f464fe;
  --grad: linear-gradient(45deg, #ff0083 0%, #f464fe 100%);
  --grad-soft: linear-gradient(135deg, #ff0083 0%, #f464fe 100%);

  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --body: 'Manrope', -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 56px);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- типографика ---------- */

.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
}

h1.display { font-size: clamp(26px, 4.4vw, 54px); }
h2.display { font-size: clamp(25px, 4.4vw, 50px); }
h3.display { font-size: clamp(17px, 2.1vw, 24px); line-height: 1.12; }

.kicker {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0 0 18px;
}

.lead { font-size: clamp(15px, 1.7vw, 19px); line-height: 1.55; }

/* ---------- секции ---------- */

section { padding-block: clamp(64px, 9vw, 120px); position: relative; scroll-margin-top: 76px; }

.s-dark { background: var(--ink); color: var(--paper); }
.s-light { background: var(--paper); color: var(--ink); }
.s-grad { background: var(--grad-soft); color: var(--ink); }

.s-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.s-head .lead { opacity: 0.8; margin-top: 18px; }

/* ---------- кнопки ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(12px, 1.3vw, 14px); letter-spacing: 0.04em;
  padding: 18px 38px; border-radius: 100px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 34px rgba(255, 0, 131, .36); }
.btn-grad:hover { box-shadow: 0 16px 44px rgba(255, 0, 131, .5); }

.btn-ink { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-ghost { background: transparent; border-color: currentColor; }
.btn-wide { width: 100%; }

/* ---------- шапка ---------- */

.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  padding-block: 16px;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, .55);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: background .25s ease;
}
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .04em; }
.logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 13px; font-weight: 600; opacity: .82; transition: opacity .15s; }
.nav a:hover { opacity: 1; }
.hdr .btn { padding: 12px 24px; }

.lang { display: flex; gap: 4px; align-items: center; font-size: 12px; font-weight: 700; }
.lang a { padding: 6px 9px; border-radius: 8px; opacity: .55; }
.lang a.on { opacity: 1; background: rgba(255, 255, 255, .14); }

.nav-close { display: none; }
.burger { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.burger svg { display: block; }

/* ---------- hero ---------- */

.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding-block: 112px 48px;
  position: relative; overflow: hidden;
  background: #0a0a0a;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-text { order: 1; min-width: 0; }
.hero-photo {
  order: 2; position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 1080 / 880;
  box-shadow: 0 30px 80px rgba(255, 0, 131, .18);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; display: block; }
.hero-photo::after {     /* мягкий переход к чёрному фону */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,0) 62%, rgba(10,10,10,.55) 100%);
}
.hero-price {
  display: inline-block; margin: 0 0 22px; padding: 9px 16px; border-radius: 100px;
  font-family: var(--display); font-weight: 700; font-size: clamp(13px, 1.3vw, 15px); letter-spacing: .01em;
  border: 1px solid rgba(255, 0, 131, .6); background: rgba(255, 0, 131, .12);
}
.hero-glow {
  position: absolute; z-index: 0; width: 60vw; height: 60vw; max-width: 680px; max-height: 680px;
  right: -14vw; top: 4vh; border-radius: 50%;
  background: var(--grad); filter: blur(120px); opacity: .26; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { max-width: 20ch; font-size: clamp(26px, 3.3vw, 46px); }
.hero h1 .h1-a, .hero h1 .h1-b { display: block; }
.hero h1 .h1-a { opacity: .9; }
.hero h1 .h1-sep { display: block; width: 92px; height: 5px; border-radius: 4px; background: var(--grad); margin: clamp(12px, 1.6vw, 20px) 0; }
.hero .lead { max-width: 54ch; margin: 20px 0 20px; opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(26px, 5vw, 60px);
  margin-top: clamp(28px, 4vw, 44px); padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero-stats b { font-family: var(--display); font-size: clamp(26px, 3.4vw, 40px); display: block; line-height: 1; }
.hero-stats span { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; opacity: .6; }

/* ---------- коротко про школу (цитируемый блок) ---------- */

.about { padding-block: clamp(48px, 6vw, 80px); }
.about .kicker { opacity: .6; }
.about-text {
  max-width: 62ch; margin: 0 0 clamp(26px, 3.5vw, 40px);
  font-size: clamp(17px, 2vw, 22px); line-height: 1.5; font-weight: 600;
}
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin: 0; border: 1px solid rgba(0, 0, 0, .14); border-radius: var(--radius); overflow: hidden;
}
.fact { padding: 16px 20px; border-bottom: 1px solid rgba(0, 0, 0, .1); border-right: 1px solid rgba(0, 0, 0, .1); }
.fact dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .55; margin: 0 0 4px; }
.fact dd { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr 1fr; } .fact { padding: 13px 14px; } .fact dd { font-size: 13.5px; } }

/* ---------- "для тебя, если" ---------- */

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.why-card {
  background: rgba(0, 0, 0, .07); border: 2px solid rgba(0, 0, 0, .14);
  border-radius: var(--radius); padding: clamp(28px, 3.6vw, 44px);
}
.why-ico {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); margin-bottom: 22px;
}
.why-card h3 { margin: 0 0 12px; }
.why-card p { margin: 0; font-size: 15px; line-height: 1.6; }

/* ---------- мастер ---------- */

.master-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(26px, 4vw, 56px); align-items: center; }
.master-photo { border-radius: var(--radius); overflow: hidden; background: #141414; aspect-ratio: 4 / 5; position: relative; }
picture { display: contents; }
.master-photo .master-main { width: 100%; height: 100%; object-fit: cover; }
.master-inset {
  position: absolute; right: 16px; bottom: 16px; width: 34%; max-width: 170px;
  aspect-ratio: 1; object-fit: cover; object-position: center 12%;
  border-radius: 16px; border: 3px solid var(--ink);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .55);
}
@media (max-width: 560px) { .master-inset { width: 40%; right: 12px; bottom: 12px; } }
.master-name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4.6vw, 52px); line-height: 1; margin: 0 0 10px; }
.master-role { font-size: 14px; letter-spacing: .04em; opacity: .7; margin: 0 0 30px; }
.master-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 14px; }
.master-list li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.55; }
.master-list li::before {
  content: ''; position: absolute; left: 0; top: 9px; width: 14px; height: 2px; background: var(--grad); border-radius: 2px;
}
.master-quote {
  border-left: 3px solid; border-image: var(--grad) 1;
  padding: 4px 0 4px 22px; font-size: 16px; line-height: 1.55; font-style: italic; opacity: .9;
}

/* ---------- работы: до/после ---------- */

.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 20px; }
.ba-card {
  margin: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); padding: 10px 10px 0; overflow: hidden;
}
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ba-half { position: relative; border-radius: 13px; overflow: hidden; background: #111; }
.ba-img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 18%; display: block; }
.ba-tag {
  position: absolute; left: 8px; top: 8px; z-index: 2;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 10px; letter-spacing: .08em; padding: 5px 10px; border-radius: 100px;
}
.ba-before { background: rgba(0, 0, 0, .72); color: #fff; backdrop-filter: blur(4px); }
.ba-after  { background: var(--grad); color: #fff; }
.ba-cap { padding: 13px 6px 15px; font-size: 13.5px; opacity: .72; text-align: center; }

.works-sub { margin: clamp(40px, 5vw, 64px) 0 20px; font-size: clamp(16px, 2vw, 21px); opacity: .85; }
.works-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 1000px) { .works-grid { grid-template-columns: repeat(3, 1fr); } }
.work-shot {
  padding: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px;
  overflow: hidden; background: #111; cursor: zoom-in; line-height: 0;
  transition: border-color .2s ease, transform .2s ease;
}
.work-shot:hover { border-color: var(--pink); transform: translateY(-3px); }
.work-shot:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.work-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 15%; display: block; }
.works-privacy { margin-top: 26px; font-size: 12.5px; opacity: .5; text-align: center; }

@media (max-width: 560px) {
  .works-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .ba-grid { gap: 14px; }
  .ba-cap { font-size: 12.5px; padding: 11px 4px 13px; }
}

/* ---------- отзывы ---------- */

/* кладка по колонкам: скриншоты разной высоты не ломают сетку
   и не обрезаются — текст в них должен читаться целиком */
.rev-grid { columns: 3; column-gap: 18px; }
@media (max-width: 1000px) { .rev-grid { columns: 2; } }
@media (max-width: 620px)  { .rev-grid { columns: 1; } }

.rev-card {
  break-inside: avoid; margin: 0 0 18px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px; background: rgba(255, 255, 255, .05);
  padding: 8px; overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.rev-card:hover { border-color: rgba(255, 0, 131, .55); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(255, 0, 131, .14); }

.rev-shot {
  display: block; width: 100%; padding: 0; margin: 0; cursor: zoom-in;
  background: none; border: 0; border-radius: 14px; overflow: hidden; line-height: 0;
}
.rev-shot img { width: 100%; height: auto; display: block; }
.rev-shot:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

.rev-who { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; padding: 13px 8px 7px; }
.rev-name { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .04em; }
.rev-name::before { content: ''; display: inline-block; width: 12px; height: 2px; background: var(--grad); border-radius: 2px; margin-right: 8px; vertical-align: middle; }
.rev-role { font-size: 12px; opacity: .52; line-height: 1.35; }

/* просмотр скриншота */
.lightbox {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center;
  padding: 24px; background: rgba(0, 0, 0, .93); backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lb-img { max-width: min(560px, 100%); max-height: 88vh; width: auto; border-radius: 14px; }
.lb-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  background: rgba(255, 255, 255, .1); border: 0; border-radius: 50%;
  color: #fff; padding: 11px; cursor: pointer; line-height: 0;
}
.lb-close:hover { background: rgba(255, 255, 255, .2); }

/* ---------- направления ---------- */

.dir-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.dir-card {
  border: 2px solid rgba(0, 0, 0, .16); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px;
  background: rgba(255, 255, 255, .45); transition: transform .2s ease, border-color .2s ease;
}
.dir-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.dir-tag { min-width: 34px; text-align: center;
  align-self: flex-start; font-family: var(--display); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  background: var(--ink); color: var(--paper); padding: 7px 14px; border-radius: 100px;
}
.dir-card h3 { margin: 0; }
.dir-sub { font-size: 13px; font-weight: 700; opacity: .65; margin: -6px 0 0; }
.dir-card p { margin: 0; font-size: 15px; line-height: 1.6; }
.dir-price {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-top: 4px; padding: 12px 16px; border-radius: 14px;
  background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 700;
  transition: background .15s ease, transform .15s ease;
}
.dir-price b { font-family: var(--display); font-size: 15px; white-space: nowrap; }
.dir-price span::after { content: ' →'; }
.dir-price:hover { background: var(--pink); transform: translateY(-2px); }
.tar-card { scroll-margin-top: 90px; }
.dir-for { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(0, 0, 0, .14); font-size: 13px; font-weight: 700; }

/* ---------- декоративная полоса ---------- */

.band { position: relative; height: clamp(220px, 34vw, 420px); overflow: hidden; background: var(--ink); }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.band::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.8) 100%);
}

/* ---------- что входит ---------- */

.inc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.inc-card { border: 1px solid rgba(255, 255, 255, .17); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); background: rgba(255, 255, 255, .04); }
.inc-num { font-family: var(--display); font-size: 13px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 16px; }
.inc-card h3 { margin: 0 0 10px; }
.inc-card p { margin: 0; font-size: 14.5px; line-height: 1.6; opacity: .78; }
.inc-note { margin-top: 34px; font-size: clamp(15px, 1.8vw, 19px); text-align: center; opacity: .85; }

/* ---------- деньги ---------- */

.money { text-align: center; }
.money h2 { max-width: 20ch; margin-inline: auto; }
.money p { max-width: 62ch; margin: 26px auto 0; font-size: clamp(15px, 1.7vw, 18px); }
.money .btn { margin-top: 36px; }
.money small { display: block; margin-top: 20px; font-size: 12px; opacity: .6; max-width: 54ch; margin-inline: auto; }

.money .money-note {
  max-width: 52ch; margin: 18px auto 0; padding: 12px 18px;
  font-size: clamp(14px, 1.5vw, 15.5px); line-height: 1.5; font-weight: 600;
  background: rgba(0, 0, 0, .12); border-radius: 14px;
}

/* ---------- квиз ---------- */

.quiz-card {
  max-width: 760px; border: 2px solid rgba(0, 0, 0, .12); border-radius: var(--radius);
  padding: clamp(22px, 3.5vw, 40px); background: #fafafa;
}
.quiz-count { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5c5c5c; }
.quiz-q { margin: 0 0 20px; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2.2vw, 24px); line-height: 1.2; outline: none; }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-opt {
  min-height: 64px; padding: 16px 18px; text-align: left; cursor: pointer;
  font-family: var(--body); font-size: 16px; font-weight: 700; color: var(--ink);
  background: #fff; border: 2px solid rgba(0, 0, 0, .14); border-radius: 16px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.quiz-opt:hover { border-color: var(--pink); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255, 0, 131, .14); }
.quiz-opt:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.quiz-link {
  margin-top: 16px; padding: 8px 0; background: none; border: 0; cursor: pointer;
  font-family: var(--body); font-size: 14px; font-weight: 700; color: var(--ink); opacity: .65;
}
.quiz-link:hover { opacity: 1; }

.quiz-result { outline: none; }
.quiz-result .kicker { opacity: .55; color: var(--ink); }
.quiz-res-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.quiz-res-head .tar-num, .tar-num { flex: none; }
.quiz-res-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(17px, 2vw, 21px); line-height: 1.25; }
.quiz-res-price { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 16px; }
.quiz-result .tar-old { color: rgba(0, 0, 0, .6); text-decoration-color: var(--pink); }
.quiz-result .tar-now { color: var(--ink); font-size: clamp(26px, 3vw, 32px); }
.quiz-result .tar-feat { color: var(--ink); font-size: 14.5px; margin-bottom: 20px; }
.quiz-hint { margin: 0 0 10px; font-size: 14px; opacity: .72; }
.quiz-msg {
  margin: 0 0 18px; padding: 12px 16px; border-left: 3px solid var(--pink);
  background: #fff; border-radius: 0 12px 12px 0; font-size: 14.5px; font-style: italic;
}
.quiz-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz-toast {
  margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; text-align: center;
  background: rgba(255, 0, 131, .08); color: var(--ink); font-size: 14px; font-weight: 600;
  border: 1px dashed rgba(255, 0, 131, .45);
}
.quiz-toast::before { content: '✓ '; color: var(--pink); font-weight: 800; }
.quiz-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; margin-top: 6px; }

@media (max-width: 560px) {
  .quiz-opts, .quiz-opts-4 { grid-template-columns: 1fr; }
  .quiz-actions { grid-template-columns: 1fr; }
}

/* ---------- тарифы ---------- */

.tar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: stretch; }
.tar-card {
  border: 2px solid rgba(255, 255, 255, .16); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 34px); display: flex; flex-direction: column; gap: 16px;
  background: rgba(255, 255, 255, .04);
}
.tar-card.featured { border-color: transparent; background: var(--grad); color: #fff; }
.tar-card.featured .tar-feat li::before { background: #fff; }
.tar-num {
  align-self: flex-start; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  font-family: var(--display); font-weight: 800; font-size: 17px;
  background: var(--grad); color: #fff;
}
.tar-card.featured .tar-num { background: #fff; color: var(--pink); }
.tar-name { font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.28; letter-spacing: -.005em; margin: 0; }
.tar-price { margin: 0; display: grid; gap: 8px; }
.tar-was { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tar-old {
  font-size: 19px; font-weight: 700; line-height: 1; white-space: nowrap;
  color: rgba(255, 255, 255, .82);
  /* тонкая полупрозрачная линия — цифры читаются сквозь неё */
  text-decoration: line-through; text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(255, 0, 131, .95);
}
.tar-off {
  font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .02em;
  padding: 5px 9px; border-radius: 100px; background: var(--grad); color: #fff; line-height: 1;
}
.tar-now { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3vw, 34px); line-height: 1; white-space: nowrap; }
.tar-card.featured .tar-old { color: #fff; text-decoration-color: rgba(0, 0, 0, .6); }
.tar-card.featured .tar-off { background: #fff; color: #c2006a; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tar-desc { font-size: 14px; opacity: .8; margin: 0; }
.tar-feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13.5px; line-height: 1.45; }
.tar-feat li { position: relative; padding-left: 22px; }
.tar-feat li::before { content: ''; position: absolute; left: 0; top: 9px; width: 10px; height: 2px; background: var(--grad); border-radius: 2px; }
.tar-card .btn { margin-top: auto; }
.tar-note { margin-top: 28px; text-align: center; font-size: 14px; opacity: .65; }

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 12px; max-width: 880px; }
.faq-item { border: 2px solid rgba(0, 0, 0, .14); border-radius: 16px; background: rgba(255, 255, 255, .5); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px clamp(18px, 2.4vw, 28px); background: none; border: 0; cursor: pointer;
  font-family: var(--body); font-size: clamp(15px, 1.7vw, 17px); font-weight: 700; color: inherit; text-align: left;
}
.faq-q::after { content: '+'; font-family: var(--display); font-size: 22px; flex: none; transition: transform .22s ease; }
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 clamp(18px, 2.4vw, 28px) 24px; margin: 0; font-size: 15px; line-height: 1.65; opacity: .82; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ---------- финальный CTA ---------- */

.final { text-align: center; background: var(--grad); color: #fff; }
.final h2 { margin-bottom: 18px; }
.final-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.final-actions .btn { min-width: 260px; }
@media (max-width: 560px) { .final-actions .btn { width: 100%; min-width: 0; } }
.final p { max-width: 50ch; margin: 0 auto 34px; font-size: clamp(15px, 1.8vw, 18px); }

/* ---------- липкая панель связи (моб.) ---------- */

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; gap: 8px; flex-direction: column;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 8, 8, .94); backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, .14);
  transform: translateY(110%); visibility: hidden;
  transition: transform .3s ease, visibility 0s linear .3s;
}
.sticky-cta.show { transform: translateY(0); visibility: visible; transition: transform .3s ease, visibility 0s; }
.sticky-label { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .55; text-align: center; }
.sticky-btns { display: flex; gap: 8px; }
.sticky-btns .btn { flex: 1; padding: 14px 10px; font-size: 12px; }

@media (max-width: 900px) {
  .sticky-cta { display: flex; }
  /* чтобы панель не перекрывала футер */
  .ftr { padding-bottom: 116px; }
}

/* ---------- футер ---------- */

.ftr { background: var(--ink); color: var(--paper); padding-block: 54px 40px; border-top: 1px solid rgba(255, 255, 255, .12); }
.ftr-in { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.ftr-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; opacity: .66; }
.ftr-links a:hover { opacity: 1; }
.ftr-copy { font-size: 12px; opacity: .66; margin-top: 26px; }

/* увеличенные зоны нажатия на тач-экранах */
@media (pointer: coarse) {
  .lang a { padding: 10px 11px; min-height: 40px; display: inline-flex; align-items: center; }
  .ftr-links a { padding: 7px 0; min-height: 36px; display: inline-flex; align-items: center; }
  .logo { padding: 6px 0; display: inline-block; }
  .nav a { padding: 6px 0; }
}

/* ---------- мобильная навигация ---------- */

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 95;
    flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(0, 0, 0, .97); backdrop-filter: blur(10px);
    transform: translateX(100%); transition: transform .28s ease;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-family: var(--display); font-size: 20px; text-transform: uppercase; opacity: 1; }
  .nav .btn { padding: 16px 32px; }
  .nav-close { position: absolute; top: 18px; right: 20px; background: none; border: 0; color: #fff; padding: 10px; cursor: pointer; }
  .master-grid { grid-template-columns: 1fr; }
  .hero { min-height: 92svh; }
}

@media (max-width: 560px) {
  /* герой: ужимаем, чтобы первый экран не растягивался на два */
  h1.display { font-size: clamp(21px, 6.6vw, 28px); line-height: 1.02; }
  .hero { padding-block: 100px 36px; min-height: auto; }
  .hero h1 { max-width: none; }
  .hero h1 .h1-sep { width: 62px; height: 4px; margin: 10px 0; }
  .hero .lead { font-size: 14.5px; margin: 16px 0 22px; }
  .hero-actions { gap: 10px; }
  .hero .btn { padding: 16px 28px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; padding-top: 18px; }
  .hero-stats b { font-size: 24px; }
  .hero-stats span { font-size: 9.5px; letter-spacing: .06em; line-height: 1.25; display: block; }
  .kicker { font-size: 10.5px; letter-spacing: .14em; margin-bottom: 12px; }
  /* секции: меньше воздуха, больше контента на экран */
  section { padding-block: 56px; }
  h2.display { font-size: clamp(22px, 6.2vw, 30px); }
}

@media (max-width: 480px) {
  .hero-stats { gap: 22px; }
  .hero-actions .btn { width: 100%; }
}

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

/* появление при скролле */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }


/* ---------- герой: планшет и телефон — фото баннером сверху ---------- */
@media (max-width: 900px) {
  .hero { align-items: flex-start; min-height: auto; padding-block: 64px 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-photo {
    order: 0; border-radius: 0; box-shadow: none; aspect-ratio: auto; height: 46svh; max-height: 440px;
    margin-inline: calc(-1 * var(--pad));
  }
  .hero-photo img { object-position: 38% 22%; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(10,10,10,0) 55%, #0a0a0a 100%); }
  .hero-text { margin-top: -38px; position: relative; z-index: 1; }
}
@media (max-width: 560px) {
  .hero { padding-block: 60px 34px; }
  .hero-photo { height: 40svh; }
  .hero-price { margin-bottom: 18px; }
}

/* ---------- видео из обучения ---------- */
.vid-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.vid-frame {
  position: relative; border-radius: 24px; overflow: hidden; background: #111; aspect-ratio: 720 / 982;
  box-shadow: 0 30px 80px rgba(255, 0, 131, .16); border: 1px solid rgba(255, 255, 255, .12);
}
.vid-el { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-btn {
  position: absolute; display: grid; place-items: center; cursor: pointer; color: #fff;
  border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px);
  transition: background .15s ease, transform .15s ease;
}
.vid-btn:hover { background: rgba(255, 0, 131, .85); transform: scale(1.05); }
.vid-btn:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.vid-sound { right: 14px; bottom: 14px; width: 48px; height: 48px; }
.vid-play { left: 14px; bottom: 14px; width: 48px; height: 48px; }
.vid-sound .i-sound, .vid-sound[aria-pressed="true"] .i-muted { display: none; }
.vid-sound[aria-pressed="true"] .i-sound { display: block; }
.vid-play .i-pause, .vid-frame.playing .vid-play .i-play { display: none; }
.vid-frame.playing .vid-play .i-pause { display: block; }
.vid-points { list-style: none; margin: 22px 0 30px; padding: 0; display: grid; gap: 14px; }
.vid-points li { position: relative; padding-left: 30px; font-size: clamp(15px, 1.6vw, 17px); line-height: 1.5; }
.vid-points li::before { content: ''; position: absolute; left: 0; top: 11px; width: 16px; height: 2px; background: var(--grad); border-radius: 2px; }
@media (max-width: 900px) {
  .vid-grid { grid-template-columns: 1fr; }
  .vid-frame { max-width: 420px; width: 100%; margin-inline: auto; }
  .vid-text { margin-top: 8px; }
}
