/* ============================================================
   Vibecoding for Teachers — сборка, концепт 6 (IDE/продуктовый,
   тёмная база #0F1512 + акцент #4ADE80 + тёплый карандашный
   акцент #C9A66B). Space Grotesk (заголовки) + Inter (текст) +
   JetBrains Mono (служебные подписи/код).
   ============================================================ */

:root{
  --bg:#1F2321;
  --sidebar:#171A18;
  --panel:#282D2A;
  --accent:#4ADE80;
  --accent-rgb:74,222,128;
  --pencil:#C9A66B;       /* тёплый образовательный акцент: карандаш/тетрадь/чек-лист */
  --border:rgba(234,247,238,.14);
  --text:#EAF7EE;
  --dim:rgba(234,247,238,.55);
  --dimmer:rgba(234,247,238,.3);
  --mono:'JetBrains Mono', monospace;
  --head:'Space Grotesk', sans-serif;
  --sans:'Inter', sans-serif;
  --r-md:12px; --r-sm:8px;
}

*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth; overflow-x:clip;}
html,body{margin:0;padding:0;}
/* сайдбар «Проект» закреплён вдоль всего сайта — контент сдвинут на его ширину.
   тетрадная клетка лежит одним слоем на body, чтобы не рваться на стыках секций */
body{background:var(--bg); color:var(--text); font-family:var(--sans); line-height:1.6; overflow-x:clip; padding-left:220px;
  background-image:
    linear-gradient(rgba(var(--accent-rgb),.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb),.05) 1px, transparent 1px);
  background-size:32px 32px;}
img{max-width:100%; display:block;}
section{padding:clamp(50px,7vw,90px) 0;}
.wrap{padding:0 clamp(20px,4vw,80px); max-width:100%;}

.kicker{font-family:var(--mono); font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--accent); margin-bottom:16px; display:flex; align-items:center; gap:9px;}
h1,h2,h3{font-family:var(--head); font-weight:700; letter-spacing:-.015em; margin:0;}
/* единый размер H2 во всех блоках — не переопределять в секциях */
h2{font-size:clamp(26px,3vw,42px); margin:0 0 30px;}
@media (max-width:640px){
  h2, .zc-audience h2, .zc-about h2, .zc-glossary h2{font-size:22px;}
}

/* кнопка-пилюля 1-в-1 по референсу wibify.de: мягкий объём (светлее сверху, тень в нижней
   кромке), крупный жирный текст, деликатный полупрозрачный кружок с ЖИРНОЙ svg-стрелкой */
.cta{
  display:inline-flex; align-items:center; justify-content:center; gap:12px; font-family:var(--sans); font-weight:800;
  font-size:18px; letter-spacing:-.01em; color:#0A2413; border:none; border-radius:999px;
  background:var(--accent);
  padding:14px 16px 14px 26px; cursor:pointer; text-decoration:none; white-space:nowrap;
  /* чёткая неразмытая тень-подложка, как на референсе */
  box-shadow:0 6px 0 #1B5230;
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.cta::after{
  content:''; width:36px; height:36px; flex-shrink:0; border-radius:50%;
  background:rgba(6,32,18,.09) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2413' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 5l7 7-7 7'/%3E%3C/svg%3E") center/18px no-repeat;
  transition:transform .15s ease;
}
/* при наведении кнопка «нажимается» в свою жёсткую тень */
.cta:hover{transform:translateY(3px); box-shadow:0 3px 0 #1B5230; filter:brightness(1.05);}
.cta:hover::after{transform:translateX(3px);}

/* ---------- scroll-reveal (варианты направления/задержки, не одинаковый fade везде) ---------- */
.reveal{opacity:0; transition:opacity .7s ease, transform .7s ease;}
.reveal.dir-up{transform:translateY(24px);}
.reveal.dir-left{transform:translateX(-28px);}
.reveal.dir-right{transform:translateX(28px);}
.reveal.dir-scale{transform:translateY(16px) scale(.96); transition-duration:.6s;}
.reveal.in{opacity:1; transform:translate(0,0) scale(1);}
.stagger-1{transition-delay:.08s;} .stagger-2{transition-delay:.16s;} .stagger-3{transition-delay:.24s;}
.stagger-4{transition-delay:.32s;} .stagger-5{transition-delay:.4s;}

/* ============================================================
   HERO
   ============================================================ */
/* padding:0 — иначе стандартные отступы секции дают голые полосы без клетки над и под .ide */
.hero{min-height:100dvh; min-height:100svh; display:flex; padding:0;}
/* сайдбар выведен из потока (position:fixed), поэтому в сетке только центр и чек-лист */
.ide{display:grid; grid-template-columns:1fr 480px; width:100%;}

.sidebar{position:fixed; left:0; top:0; bottom:0; width:220px; z-index:60; overflow-y:auto;
  background:var(--sidebar); border-right:1px solid var(--border); padding:32px 20px; display:flex; flex-direction:column; gap:6px;}
.sb-title{font-family:var(--mono); font-size:11px; text-transform:uppercase; letter-spacing:.1em; color:var(--dimmer); margin-bottom:14px;}
.sb-item{font-family:var(--mono); font-size:13px; color:var(--dim); padding:8px 10px; border-radius:var(--r-sm); display:flex; gap:8px; align-items:center;
  text-decoration:none; transition:background .2s ease, color .2s ease;}
.sb-item:hover{background:rgba(var(--accent-rgb),.06); color:var(--text);}
.sb-item.active{background:rgba(var(--accent-rgb),.1); color:var(--accent);}
.sb-item::before{content:'▸'; opacity:.6;}

.hero-main{padding:clamp(28px,4vw,56px); display:flex; flex-direction:column; justify-content:center; min-width:0;}
/* дата эфира — тег-пилюля в тёплом карандашном цвете, чтобы не спорить с зелёной кнопкой */
.hero-main .kicker{position:relative; align-self:flex-start; border:1px solid rgba(201,166,107,.4);
  background:rgba(201,166,107,.08); color:var(--pencil); border-radius:999px; padding:9px 16px; margin-bottom:22px;}
.pencil-ico{color:var(--pencil); flex-shrink:0; transform:rotate(-12deg);}

h1{font-family:var(--head); font-weight:700; letter-spacing:-.015em; font-size:clamp(26px,3.4vw,48px); line-height:1.18; margin:0 0 22px;}
h1 .accent, .final-cta h2 .accent{color:var(--accent);}

/* маркер-подсветку убрали по решению Леры (22.07): в заголовке и так много акцентов */

.lead{font-size:clamp(14px,1.4vw,15px); line-height:1.7; color:var(--dim); margin:0 0 28px; max-width:720px;}
.hero-main .cta{align-self:flex-start;}
.footnote{margin:20px 0 0; font-size:12px; font-style:italic; color:var(--dimmer); max-width:480px;}

/* «Вывод» — две плашки между текстом и кнопкой, без заголовка */
.terminal-strip{margin:2px 0 30px; max-width:680px;}
.ts-lines{display:grid; grid-template-columns:1fr 1fr; gap:10px;}
/* плашки нейтральные (зелёный шум вокруг кнопки убран), терминальность — в $-префиксе */
.log-line{font-family:var(--mono); font-size:13.5px; color:var(--dim); line-height:1.7; padding:16px 18px; background:rgba(234,247,238,.04); border:1px solid rgba(234,247,238,.1); border-radius:8px;}
.log-line b{color:var(--text); font-weight:600;}

/* кнопка под вторым блоком подарков */
.gift-cta{margin-top:36px; display:flex; justify-content:center;}

/* финальный CTA — центрированный повтор оффера перед глоссарием */
/* финальный CTA — 1-в-1 раскладка hero (использует те же классы hero-main/paper-zone),
   h2 здесь получает размер h1, потому что это осознанный повтор первого экрана */
.final-cta h2{font-size:clamp(26px,3.4vw,48px); line-height:1.18; margin:0 0 22px; letter-spacing:-.015em;}

/* ---------- бумажный чек-лист: готовая иллюстрация (тени и поворот уже в картинке) ----------
   картинка крупная и слегка выходит за правый край экрана — это осознанно,
   body с overflow-x:hidden аккуратно её обрезает */
.paper-zone{position:relative; display:flex; align-items:center; justify-content:flex-end; padding:40px 0;}
.paper-img{width:min(680px,142%); height:auto; transform:translateX(16px);
  animation:paperFloat 6s ease-in-out infinite;}
@keyframes paperFloat{
  0%,100%{transform:translateX(16px) translateY(0);}
  50%{transform:translateX(16px) translateY(-9px);}
}
@media (prefers-reduced-motion:reduce){
  .paper-img{animation:none;}
}

@media (max-width:1200px){
  body{padding-left:180px;}
  .sidebar{width:180px;}
  .ide{grid-template-columns:1fr 430px;}
}
@media (max-width:980px){
  /* на планшетной ширине правая колонка делала центр слишком узким —
     чек-лист переезжает под текст, а не прячется совсем */
  body{padding-left:170px;}
  .sidebar{width:170px;}
  .ide{grid-template-columns:1fr;}
  .paper-zone{padding:8px 28px 56px; justify-content:flex-start;}
  .paper-img{width:min(360px,100%); transform:none; animation:none;}
}
@media (max-width:640px){
  body{padding-left:0;}
  .ide{grid-template-columns:1fr;}
  .sidebar{display:none;}
  .hero-main .cta{width:100%;}
  .ts-lines{grid-template-columns:1fr;}
  .paper-zone{padding:4px 20px 48px; justify-content:center;}
}
@media (max-width:320px){
  .wrap{padding:0 14px;}
}

/* клетка теперь одним слоем на body — локальные фоны секций не нужны */

/* ============================================================
   GIFT — файлы IDE, раскладка 3 карточки в ряд (full-bleed, не узкая колонка)
   ============================================================ */
.gift h2{font-family:var(--head); font-weight:700; margin:0 0 30px; line-height:1.3; max-width:900px;}

.filetree{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; position:relative;}
/* стикер-подарок над правым верхним углом сетки карточек */
.gift-sticker{position:absolute; top:-64px; right:4px; width:104px; height:auto;
  transform:rotate(9deg); z-index:2; pointer-events:none;}
@media (max-width:640px){ .gift-sticker{display:none;} }
.ft-card{
  background:var(--sidebar); border:1px solid var(--border); border-radius:var(--r-md);
  padding:28px 24px; display:flex; flex-direction:column; gap:16px; position:relative; overflow:hidden;
  transition:border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.ft-card:hover{border-color:rgba(var(--accent-rgb),.5); transform:translateY(-4px); box-shadow:0 20px 50px -20px rgba(var(--accent-rgb),.35);}
.ft-card::before{content:attr(data-ext); position:absolute; top:16px; right:18px; font-family:var(--mono); font-size:10.5px; letter-spacing:.06em; color:var(--dimmer); text-transform:uppercase;}
.ft-icon-badge{
  width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background:rgba(201,166,107,.1); box-shadow:0 0 24px -4px rgba(201,166,107,.35);
}
.ft-icon-badge svg{width:22px; height:22px; color:var(--pencil);}
/* акценты поменяны местами: сам подарок — белый и крупный, файл-подпись — служебная */
.ft-filename{font-family:var(--mono); font-size:12px; color:var(--dimmer);}
.ft-desc{font-size:15.5px; line-height:1.6; color:var(--text); font-weight:600;}

@media (max-width:1200px){ .filetree{grid-template-columns:repeat(3,1fr); gap:16px;} }
@media (max-width:900px){ .filetree{grid-template-columns:1fr 1fr;} }
@media (max-width:640px){ .filetree{grid-template-columns:1fr;} }

/* ============================================================
   PROGRAM — нумерованные шаги 01/02 + панель «А также обсудим» + get-panel
   ============================================================ */
.program{position:relative;}
.program .glow-blob{position:absolute; border-radius:50%; filter:blur(70px); pointer-events:none; z-index:0;}
.program .glow-blob.gb-1{width:420px; height:420px; background:rgba(var(--accent-rgb),.16); top:-120px; right:-100px;}
.program .glow-blob.gb-2{width:320px; height:320px; background:rgba(201,166,107,.12); bottom:-80px; left:-80px;}
.program .wrap{position:relative; z-index:1;}

/* editorial-раскладка: типографика вместо карточек — номера, заголовки, воздух;
   единственный контейнер с фоном в секции — финальный get-panel */
.prog-head{margin-bottom:clamp(18px,2vw,28px);}
.prog-head h2{margin-bottom:0;}

/* единый сценарий «собрали → прошли»: две колонки-этапа, между картинками тонкая стрелка;
   картинки — два состояния одного продукта (редактор и готовый тренажёр) */
.prog-flow{display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  column-gap:clamp(16px,2vw,32px); align-items:stretch; margin-bottom:clamp(32px,4vw,48px);
  background:var(--panel); border:1px solid var(--border); border-radius:16px; overflow:hidden;
  padding:clamp(22px,3vw,36px) clamp(20px,3vw,40px) 0;}
.flow-step{display:flex; flex-direction:column;}
.p-step{display:grid; grid-template-columns:auto 1fr; column-gap:16px; align-items:baseline;}
.ps-num{font-family:var(--mono); font-size:clamp(20px,2vw,26px); font-weight:600; line-height:1; color:var(--accent);}
.ps-num::after{content:'/'; margin-left:9px; font-weight:400; color:var(--dimmer);}
.ps-title{font-family:var(--head); font-size:clamp(17px,1.7vw,21px); font-weight:700;
  letter-spacing:.01em; margin:0 0 8px;}
.ps-body p{font-size:14.5px; line-height:1.7; color:var(--dim); margin:0;}
/* картинки прижаты к низу колонок — выровнены между собой независимо от длины текстов */
/* низ картинок слегка подрезается краем панели (overflow:hidden) — блок компактнее по вертикали */
.flow-img{width:min(480px,100%); height:auto; margin:auto auto -34px; padding-top:14px; display:block;}
/* у картинки тренажёра больше прозрачных полей — выравниваем видимый размер с редактором */
.flow-step:last-child .flow-img{width:min(560px,112%); margin-left:-6%; margin-bottom:-40px;}
/* тонкая стрелка на уровне картинок: создали → прошли */
.flow-arrow{align-self:end; margin-bottom:clamp(120px,13vw,175px); color:var(--accent);}
.flow-arrow svg{width:clamp(36px,4vw,56px); height:auto; display:block;}

/* «обсудим» — вертикальный editorial-список: номер + текст, тонкие разделители, без рамок и заливок */
.discuss-panel{margin-bottom:clamp(32px,4vw,48px);}
.dp-title{display:flex; align-items:center; gap:10px; font-family:var(--mono); font-size:14px; font-weight:600;
  text-transform:uppercase; letter-spacing:.12em; color:var(--text); margin-bottom:14px;}
.dp-title svg{width:17px; height:17px; color:var(--pencil);}
.num-list{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,1fr);}
.num-list li{display:grid; grid-template-columns:auto 1fr; column-gap:14px; align-items:baseline;
  font-size:14.5px; line-height:1.7; color:var(--dim); padding:6px 24px 6px;}
.num-list li:first-child{padding-left:0;}
.num-list li + li{border-left:1px solid var(--border);}
.n-num{font-family:var(--mono); font-size:15px; font-weight:600; color:var(--accent);}

/* финал секции — единственная тёмная панель: маркер + текст + компактный CTA справа */
.get-panel{
  background:var(--sidebar); border:1px solid var(--border); border-radius:16px;
  padding:clamp(22px,3vw,32px) clamp(24px,3.5vw,40px);
  display:grid; grid-template-columns:auto 1fr auto; gap:clamp(20px,2.5vw,34px); align-items:center;
}
/* бумажный стикер-галочка — в одном языке с чек-листом и стикерами подарков */
.get-sticker{width:72px; height:auto; flex-shrink:0; transform:rotate(-8deg);}
.get-panel h3{font-family:var(--head); font-size:clamp(18px,2vw,22px); margin:0 0 10px;}
.get-panel p{font-size:14.5px; line-height:1.7; color:var(--dim); margin:0 0 8px; max-width:860px;}
.get-panel p:last-of-type{margin-bottom:0;}
.get-panel p b{color:var(--text); font-weight:700;}

@media (max-width:900px){
  .prog-flow{grid-template-columns:1fr; row-gap:20px;}
  .flow-img{width:min(420px,100%); margin:0 auto;}
  .flow-arrow{align-self:center; justify-self:center; margin:0; transform:rotate(90deg);}
  .flow-arrow svg{width:32px;}
  .num-list{grid-template-columns:1fr;}
  .num-list li{padding:14px 0;}
  .num-list li + li{border-left:none; border-top:1px solid var(--border);}
}
@media (max-width:640px){
  .get-panel{grid-template-columns:1fr; text-align:left;}
  .get-panel .cta{width:100%;}
  .p-step{column-gap:14px;}
  .num-list li{grid-template-columns:36px 1fr; column-gap:12px;}
}
@media (max-width:320px){
  .wrap{padding:0 14px;}
}

/* ============================================================
   SPEAKER — статы вынесены в отдельные чипы, фоновой акцент на широких экранах
   ============================================================ */
/* диагональная штриховка убрана: у всего сайта единая клетка на body */
.speaker{position:relative;}
.speaker-glow{position:absolute; top:10%; right:-160px; width:460px; height:460px; border-radius:50%;
  background:rgba(var(--accent-rgb),.14); filter:blur(100px); pointer-events:none;}
.speaker-bracket{
  position:absolute; right:clamp(20px,6vw,90px); top:50%; transform:translateY(-50%);
  font-family:var(--mono); font-weight:600; font-size:clamp(120px,14vw,220px); line-height:1;
  color:rgba(var(--accent-rgb),.05); pointer-events:none; user-select:none;
}
.speaker .wrap{position:relative;}
.speaker .grid{display:grid; grid-template-columns:440px 1fr; gap:clamp(28px,4vw,56px); align-items:start;}

.photo-window{background:var(--sidebar); border:1px solid var(--border); border-radius:var(--r-md); overflow:hidden;}
.photo-bar{display:flex; gap:7px; padding:12px 16px; border-bottom:1px solid var(--border);}
.photo-bar span{width:9px; height:9px; border-radius:50%; background:rgba(234,247,238,.15);}
.photo-placeholder{
  aspect-ratio:4/5; display:flex; align-items:center; justify-content:center; text-align:center;
  font-family:var(--mono); font-size:12px; color:var(--dimmer); text-transform:uppercase; letter-spacing:.08em;
  background:repeating-linear-gradient(135deg, rgba(var(--accent-rgb),.04) 0 12px, transparent 12px 24px);
  padding:20px;
}

.speaker-content{max-width:none;}
.role{font-size:15px; color:var(--text); font-weight:600; margin:0 0 6px; line-height:1.6;}
.role-sub{font-size:14px; color:var(--dim); margin:0 0 24px; line-height:1.6;}

.stat-row{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:28px;}
.stat-chip{flex:1; min-width:140px; background:var(--panel); border:1px solid var(--border); border-radius:var(--r-md); padding:16px 18px;}
.stat-num{font-family:var(--head); font-size:26px; font-weight:700; color:var(--accent); text-shadow:0 0 20px rgba(var(--accent-rgb),.45); line-height:1;}
.stat-label{font-size:12px; color:var(--dim); margin-top:6px; line-height:1.4;}

.facts{list-style:none; margin:0 0 32px; padding:0; display:flex; flex-direction:column; gap:12px;}
.facts li{display:flex; gap:12px; align-items:flex-start; font-size:14px; line-height:1.7; color:var(--dim);}
.facts li::before{content:'▸'; color:var(--pencil); flex-shrink:0; margin-top:2px;}

/* тёплые оранжево-бежевые акценты в блоке спикера */
.photo-img{width:100%; height:auto; display:block;}
.speaker .kicker{color:var(--pencil);}
.speaker .photo-window{border-color:rgba(201,166,107,.35);}
.speaker .photo-bar{border-bottom-color:rgba(201,166,107,.25);}
.speaker .photo-bar span{background:rgba(201,166,107,.45);}
.stat-chip{border-color:rgba(201,166,107,.3);}
.stat-num{color:var(--pencil); text-shadow:0 0 20px rgba(201,166,107,.4);}

@media (max-width:1200px){
  .speaker .grid{grid-template-columns:340px 1fr;}
  .speaker-bracket{display:none;}
}
@media (max-width:640px){
  /* фото встаёт между заголовком «Илона Бортник» и текстом:
     контейнер контента раскрывается (display:contents), заголовок и кикер поднимаются выше фото */
  /* gap:0 — иначе flex-gap сетки добавляется между КАЖДЫМ элементом контента */
  .speaker .grid{display:flex; flex-direction:column; gap:0;}
  .speaker-content{display:contents;}
  .speaker-content .kicker{order:-2; margin-bottom:12px;}
  .speaker-content h2{order:-1; margin-bottom:18px;}
  .photo-window{max-width:none; margin-bottom:22px;}
  .speaker .cta{width:100%;}
  .speaker-glow{width:280px; height:280px;}
}
@media (max-width:320px){
  .wrap{padding:0 14px;}
}

/* ============================================================
   PRICING — расширено под full-bleed, иконки/чипы вместо голых галочек
   ============================================================ */
.pricing{position:relative;}
.pricing .glow-blob{position:absolute; border-radius:50%; filter:blur(90px); pointer-events:none; z-index:0;}
.pricing .glow-blob.pb-1{width:380px; height:380px; background:rgba(var(--accent-rgb),.14); top:10%; left:-140px;}
.pricing .glow-blob.pb-2{width:380px; height:380px; background:rgba(var(--accent-rgb),.1); bottom:0; right:-140px;}
.pricing .wrap{position:relative; z-index:1;}

.pricing h2{text-align:left;}

/* тарифы на всю ширину сетки, как остальные блоки */
.plans{display:grid; grid-template-columns:1fr 1fr; gap:24px;}
.plan{background:var(--panel); border:1px solid var(--border); border-radius:16px; padding:clamp(28px,4vw,40px); display:flex; flex-direction:column;}
.plan.featured{
  background:var(--sidebar); border:1px solid rgba(var(--accent-rgb),.4);
  box-shadow:0 20px 60px -20px rgba(var(--accent-rgb),.35);
  position:relative;
}
/* стикер-огонь на углу тарифа «Бизнес» */
.plan-fire{position:absolute; top:-34px; right:-26px; width:84px; height:auto; transform:rotate(12deg);
  pointer-events:none; z-index:2; filter:drop-shadow(0 6px 14px rgba(0,0,0,.4));}
.plan-badge{
  position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--accent); color:#062012;
  font-family:var(--mono); font-size:10.5px; text-transform:uppercase; letter-spacing:.08em; font-weight:700;
  padding:5px 14px; border-radius:100px;
}
.plan-head{display:flex; align-items:center; gap:14px; margin-bottom:4px;}
/* иконки, цена и галочки — тёплые карандашные, чтобы зелёными остались только бейдж и кнопки */
.plan-ico{width:44px; height:44px; border-radius:12px; flex-shrink:0; display:flex; align-items:center; justify-content:center; background:rgba(201,166,107,.12);}
.plan.featured .plan-ico{box-shadow:0 0 22px -3px rgba(201,166,107,.45);}
.plan-ico svg{width:21px; height:21px; color:var(--pencil);}
.plan-name{font-family:var(--head); font-weight:700; font-size:20px; margin:0;}
.plan-price{font-family:var(--mono); font-size:13px; color:var(--dim); margin:12px 0 24px;}
/* цена — главный акцент карточки: крупно, заголовочным шрифтом, на тёплой плашке */
.plan-price b{display:inline-block; font-family:var(--head); font-weight:700; color:var(--pencil);
  font-size:clamp(28px,2.6vw,36px); line-height:1; padding:10px 18px;
  background:rgba(201,166,107,.1); border:1px solid rgba(201,166,107,.35); border-radius:12px;}
.plan-list{list-style:none; margin:0 0 28px; padding:0; display:flex; flex-direction:column; gap:12px; flex:1;}
.plan-list li{display:flex; gap:12px; align-items:flex-start; font-size:14px; line-height:1.65; color:var(--dim);}
.plan-list li::before{
  content:'✓'; flex-shrink:0; width:20px; height:20px; border-radius:50%; margin-top:1px;
  display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:900;
  background:rgba(201,166,107,.14); color:var(--pencil);
}
.plan-list .lead-item{color:var(--text); font-weight:600;}

.plan:not(.featured) .cta{background:transparent; color:var(--accent); border:1.5px solid var(--accent); box-shadow:0 6px 0 #1B5230;}
.plan:not(.featured) .cta:hover{box-shadow:0 3px 0 #1B5230;}
/* у контурной кнопки тёмная стрелка не видна — зелёный вариант кружка */
.plan:not(.featured) .cta::after{
  background:rgba(var(--accent-rgb),.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ADE80' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 5l7 7-7 7'/%3E%3C/svg%3E") center/21px no-repeat;
}

@media (max-width:640px){
  /* minmax(0,1fr): иначе nowrap-кнопка задаёт min-content шире экрана и карточка распирает страницу */
  .plans{grid-template-columns:minmax(0,1fr);}
  .plan{padding:24px 20px;}
  .plan .cta{font-size:14px; gap:7px; padding:12px 10px 12px 14px; white-space:normal; text-align:center;}
  .plan .cta::after{width:26px; height:26px; background-size:14px;}
}
@media (max-width:320px){
  .wrap{padding:0 14px;}
}

/* ============================================================
   СТАНДАРТНЫЕ БЛОКИ — перекрас палитры под концепт 6 (структура из шаблонов не менялась)
   ============================================================ */

/* --- Аудитория --- */
.zc-audience{
  --au-accent:#4ADE80;
  --au-accent-text:#4ADE80;
  --au-card-bg:#141B17;
  --au-card-border:rgba(234,247,238,.14);
  --au-text:#EAF7EE;
  --au-text-dim:rgba(234,247,238,.55);
  --au-r-xl:22px;
}
.zc-audience .wrap{max-width:100%; padding:0 clamp(20px,4vw,80px); margin:0 auto;}
.zc-audience h2{font-family:var(--head); font-size:clamp(26px,3vw,42px); font-weight:700; margin:0 0 8px; letter-spacing:-.015em;}

.aud-grid{display:grid; grid-template-columns:repeat(6,1fr); gap:18px; margin-top:44px;}
.acard{grid-column:span 2; border-radius:var(--au-r-xl); padding:30px 28px; background:var(--au-card-bg); border:1.5px solid var(--au-card-border); transition:border-color .22s, transform .22s, box-shadow .22s;}
.acard.aud-wide{grid-column:span 3;}
.acard:hover{border-color:var(--au-accent); transform:translateY(-4px); box-shadow:0 16px 44px -12px rgba(74,222,128,.25);}

.a-photo-banner{margin:-30px -28px 20px; height:260px; overflow:hidden; border-radius:var(--au-r-xl) var(--au-r-xl) 0 0; background:var(--sidebar);}
.a-photo-banner img{width:100%; height:100%; object-fit:cover; object-position:top center; display:block; transition:transform .5s ease;}
.acard:hover .a-photo-banner img{transform:scale(1.04);}
.aud-wide .a-photo-banner{height:300px;}

.a-who{font-family:var(--head); font-size:17px; font-weight:700; margin-bottom:10px; color:var(--au-text); min-height:auto;}
.a-desc{font-size:13.5px; color:var(--au-text-dim); line-height:1.7;}
/* зелёные плашки-выводы убраны: их не было в ТЗ */
/* точечное кадрирование: у репетиторов сюжет ниже центра; у тренеров кадр вертикально
   насыщенный (лицо сверху + стол снизу) — баннер выше и мягкий сдвиг, чтобы никого не резать */
.aud-grid .acard:nth-child(2) .a-photo-banner img{object-position:center 78%;}
.aud-grid .acard:nth-child(5) .a-photo-banner img{object-position:center 12%;}

@media (max-width:900px){ .aud-grid{grid-template-columns:1fr 1fr;} .acard, .acard.aud-wide{grid-column:span 1;} }
@media (max-width:640px){ .aud-grid{grid-template-columns:1fr;} }

/* --- О нас --- */
.zc-about{
  --a-bg:#1F2321;
  --a-bg-soft:rgba(234,247,238,.05);
  --a-border:rgba(234,247,238,.14);
  --a-accent:#4ADE80;
  --a-accent-2:#38C46F;
  --a-text:#EAF7EE;
  --a-text-dim:rgba(234,247,238,.5);
  --a-text-dimmer:rgba(234,247,238,.3);
  --a-r-xl:28px; --a-r-lg:18px; --a-r-md:12px;
  background:var(--a-bg); color:var(--a-text);
}
.zc-about .sec{padding:100px 0;}
.zc-about .sec-compact{padding:64px 0;}
.zc-about .wrap{max-width:100%; padding:0 clamp(20px,4vw,80px); margin:0 auto;}
.zc-about h2{font-family:var(--head); font-size:clamp(26px,3vw,42px); font-weight:700; letter-spacing:-.015em; line-height:1.15; margin:0 0 32px;}

.about-top-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:20px; align-items:stretch;}
.about-sr-card{background:var(--a-accent); border-radius:var(--a-r-xl); padding:28px 28px 24px; position:relative; overflow:hidden;}
.about-sr-label{font-size:20px; font-weight:800; color:var(--a-bg); margin-bottom:18px;}
.about-stats-col{display:flex; flex-direction:column; gap:16px;}
.about-stat-card{background:var(--a-bg-soft); border:1px solid var(--a-border); border-radius:var(--a-r-lg); padding:24px 28px; display:flex; gap:22px; align-items:center; flex:1;}
.asc-ico{width:64px; height:64px; min-width:64px; border-radius:50%; background:rgba(234,247,238,.06); border:1.5px solid rgba(234,247,238,.25); display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.asc-ico svg{width:30px; height:30px; color:var(--accent);}
.asc-text{font-size:clamp(18px,1.6vw,21px); font-weight:800; line-height:1.4; max-width:430px;}
.about-bottom-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:20px;}
.about-uni-card, .about-license-card{background:var(--a-bg-soft); border:1px solid var(--a-border); border-radius:var(--a-r-xl); padding:28px; position:relative; overflow:hidden;}
.about-uni-label{font-size:18px; font-weight:800; color:var(--a-text); margin-bottom:20px;}
.about-uni-logos{display:grid; grid-template-columns:1fr 1fr; gap:12px;}
.uni-logo-box{background:white; border-radius:var(--a-r-md); min-height:100px; overflow:hidden; display:flex; align-items:center; justify-content:center;}
.uni-logo-box img{width:100%; height:100%; object-fit:cover; display:block;}
.license-thumb{border-radius:10px; border:1px solid var(--a-border); width:100%; cursor:zoom-in;}
.sk-badge{position:absolute; top:22px; right:22px; background:var(--a-accent); color:var(--a-bg); width:56px; height:56px; border-radius:12px; display:flex; flex-direction:column; align-items:center; justify-content:center; font-size:14px; font-weight:900; line-height:1.1;}
.sk-badge span{font-size:9px; font-weight:700;}

.research-card{display:flex; align-items:stretch; background:var(--a-bg-soft); border:1px solid var(--a-border); border-radius:var(--a-r-xl); overflow:hidden;}
.research-photo{width:46%; min-width:420px; flex-shrink:0; overflow:hidden;}
.research-photo img{width:100%; height:100%; object-fit:cover; display:block;}
.research-content{flex:1; padding:36px;}
.research-title{font-family:var(--head); font-size:18px; font-weight:700; margin-bottom:16px; line-height:1.35;}
.research-desc{font-size:14px; color:var(--a-text-dim); line-height:1.8;}
.research-desc strong{color:var(--a-text);}

.clients-grid{display:grid; grid-template-columns:repeat(8,1fr); gap:12px;}
.client-card{background:white; border-radius:var(--a-r-md); overflow:hidden; display:flex; align-items:center; justify-content:center; min-height:84px;}
.client-card img{width:100%; height:74px; object-fit:cover; display:block;}

.gov-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:20px; align-items:stretch;}
.gov-left{display:flex; flex-direction:column; gap:16px;}
.gov-text-card, .gov-wide-card{background:var(--a-bg-soft); border:1px solid var(--a-border); border-radius:var(--a-r-xl); padding:28px 32px;}
.gov-icon{width:36px; height:36px; border-radius:50%; background:var(--a-accent); color:var(--a-bg); display:flex; align-items:center; justify-content:center; font-weight:900; font-size:16px; margin-bottom:18px;}
.gov-title{font-family:var(--head); font-size:16px; font-weight:700; margin-bottom:12px; line-height:1.4;}
.gov-desc{font-size:13.5px; color:var(--a-text-dim); line-height:1.7; margin-bottom:14px;}
.gov-regions{list-style:none; display:flex; flex-direction:column; gap:5px; margin:0; padding:0; font-size:13px; color:var(--a-text-dim);}
.gov-regions li::before{content:"—\00a0";}
.gov-regions-grid{display:grid; grid-template-columns:1fr 1fr; gap:6px 40px; font-size:13px; color:var(--a-text-dim);}
.gov-photo{border-radius:var(--a-r-xl); overflow:hidden; background:var(--a-bg-soft); min-height:420px;}
.gov-photo img{width:100%; height:100%; object-fit:cover; display:block;}

/* слайдер фото (перенесён с сайта Пименова, перекрашен под палитру) */
.corp-slider{position:relative; width:100%; height:100%; min-height:420px; overflow:hidden; border-radius:var(--a-r-xl);}
.corp-slide{position:absolute; inset:0; opacity:0; transition:opacity .6s ease;}
.corp-slide.active{opacity:1;}
.corp-slide img{width:100%; height:100%; object-fit:cover; display:block;}
.corp-dots{position:absolute; bottom:14px; left:50%; transform:translateX(-50%); display:flex; gap:6px; z-index:5;}
.corp-dot{width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.35); cursor:pointer; transition:background .2s; border:none; padding:0;}
.corp-dot.active{background:var(--accent);}
.corp-btn{position:absolute; top:50%; transform:translateY(-50%); z-index:5; width:36px; height:36px; border-radius:50%;
  background:rgba(0,0,0,.45); border:1px solid rgba(255,255,255,.2); color:#fff; font-size:16px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:background .2s;}
.corp-btn:hover{background:rgba(0,0,0,.7);}
.corp-prev{left:12px;}
.corp-next{right:12px;}

.media-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:14px;}
.media-card{background:white; border-radius:var(--a-r-md); overflow:hidden; display:flex; align-items:center; justify-content:center; min-height:110px;}
.media-card img{width:100%; height:110px; object-fit:contain; padding:10px; display:block;}
.awards-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:14px;}
.award-card{border-radius:var(--a-r-lg); overflow:hidden; display:block; position:relative;}
.award-card img{width:100%; height:200px; object-fit:cover; display:block;}

.ratings-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:14px;}
.rating-card{background:white; color:#111; border:1px solid rgba(0,0,0,.1); border-radius:var(--a-r-lg); padding:24px 20px;}
.rating-logo{height:32px; margin-bottom:14px; display:flex; align-items:center;}
.rating-logo img{height:100%; width:auto; object-fit:contain; display:block;}
.rating-score{font-family:var(--head); font-size:44px; font-weight:900; color:var(--a-accent-2); line-height:1; margin-bottom:4px;}
.rating-count{font-size:12px; color:rgba(0,0,0,.5);}

@media (max-width:980px){
  .about-top-grid, .about-bottom-grid, .gov-grid{grid-template-columns:1fr;}
  .clients-grid{grid-template-columns:repeat(4,1fr);}
  .media-grid{grid-template-columns:repeat(3,1fr);}
  .awards-grid{grid-template-columns:repeat(2,1fr);}
  .ratings-grid{grid-template-columns:repeat(3,1fr);}
  .research-card{flex-direction:column;}
  .research-photo{width:100%; min-width:0; min-height:200px;}
}
@media (max-width:640px){
  .research-content{padding:20px;}
  .client-card{min-height:70px;}
  .client-card img{height:60px;}
  .about-stat-card{flex-direction:column; align-items:flex-start; gap:14px;}
  .asc-text{font-size:17px;}
  .about-sr-label, .about-uni-label{font-size:16px;}
  .gov-regions-grid{grid-template-columns:1fr;}
  /* на узких колонках фикс-высота 200px даёт грубый кроп — держим пропорцию десктопной сетки */
  .award-card img{height:auto; aspect-ratio:7/5;}
}
@media (max-width:600px){
  .clients-grid{grid-template-columns:repeat(3,1fr);}
  .media-grid, .awards-grid, .ratings-grid{grid-template-columns:repeat(2,1fr);}
  .about-uni-logos{grid-template-columns:1fr 1fr;}
}

/* --- Глоссарий --- */
.zc-glossary{
  --gl-accent:#4ADE80;
  --gl-accent-text:#4ADE80;
  --gl-card-bg:#141B17;
  --gl-border:rgba(234,247,238,.14);
  --gl-badge-bg:rgba(234,247,238,.08);
  --gl-text-dim:rgba(234,247,238,.55);
  --gl-r-lg:18px;
}
.zc-glossary .wrap{max-width:100%; padding:0 clamp(20px,4vw,80px); margin:0 auto;}
.zc-glossary h2{font-family:var(--head); font-size:clamp(26px,3vw,42px); font-weight:700; letter-spacing:-.015em; margin:0 0 8px;}

.glos-list{display:flex; flex-direction:column; gap:6px; margin-top:36px;}
.gitem{background:var(--gl-card-bg); border:1.5px solid var(--gl-border); border-radius:var(--gl-r-lg); overflow:hidden; transition:border-color .22s;}
.gitem:hover, .gitem.open{border-color:var(--gl-accent);}
.g-header{display:flex; align-items:center; justify-content:space-between; padding:20px 24px; cursor:pointer; user-select:none; gap:16px;}
.g-term{font-family:var(--head); font-size:16px; font-weight:700; color:var(--gl-accent-text);}
.g-arrow{width:28px; height:28px; border-radius:50%; flex-shrink:0; background:var(--gl-badge-bg); display:flex; align-items:center; justify-content:center; font-size:11px; color:var(--gl-text-dim); transition:transform .3s, background .2s;}
.gitem.open .g-arrow{transform:rotate(180deg); color:var(--gl-accent-text);}
.g-body{max-height:0; overflow:hidden; transition:max-height .5s ease;}
.gitem.open .g-body{max-height:3000px;}
.g-glossary{margin:0; padding:0 24px 24px; display:flex; flex-direction:column; gap:10px;}
.g-entry{font-size:13.5px; color:var(--gl-text-dim); line-height:1.65; margin:0;}
.g-term-inline{font-weight:900; color:var(--gl-accent-text);}

@media (max-width:640px){ .gitem{grid-template-columns:1fr; gap:4px;} }

/* --- Футер --- */
.zc-footer{
  --f-bg:#0A0F0C;
  --f-border:rgba(234,247,238,.14);
  --f-accent:#4ADE80;
  --f-text:#EAF7EE;
  --f-text-dim:rgba(234,247,238,.5);
  --f-text-dimmer:rgba(234,247,238,.3);
  --f-radius-md:12px;
  background:var(--f-bg); border-top:1px solid var(--f-border); font-family:inherit;
}
.zc-footer .wrap{max-width:100%; padding:0 clamp(20px,4vw,80px); margin:0 auto;}
.zc-footer .foot-main{padding:60px 0 48px;}
.zc-footer .foot-grid{display:grid; grid-template-columns:1.2fr 1fr 1.4fr 1.2fr; gap:48px; align-items:start;}
.zc-footer .foot-logo-wrap{margin-bottom:20px;}
.zc-footer .foot-addr{font-size:13px; color:var(--f-text-dim); line-height:1.7; margin-bottom:28px;}
.zc-footer .foot-badges{display:flex; gap:10px; flex-wrap:wrap;}
.zc-footer .foot-badge{background:rgba(234,247,238,.06); border:1px solid var(--f-border); border-radius:10px; padding:8px 14px; font-size:11px; font-weight:700; color:var(--f-text-dim); display:flex; align-items:center; gap:6px;}
.zc-footer .foot-badge-dot{width:8px; height:8px; border-radius:50%; background:var(--f-accent); flex-shrink:0;}
.zc-footer .foot-col-title{font-size:12px; font-weight:700; color:var(--f-text-dimmer); letter-spacing:.04em; margin-bottom:16px;}
.zc-footer .foot-links{list-style:none; display:flex; flex-direction:column; gap:12px; margin:0; padding:0;}
.zc-footer .foot-links a{font-size:14px; color:rgba(234,247,238,.6); text-decoration:none; transition:color .2s;}
.zc-footer .foot-links a:hover{color:var(--f-accent);}
.zc-footer .foot-contact-label{font-size:12px; color:var(--f-text-dimmer); margin-bottom:6px;}
.zc-footer .foot-email, .zc-footer .foot-phone{font-weight:800; color:var(--f-text); text-decoration:none; display:block; margin-bottom:24px; transition:color .2s;}
.zc-footer .foot-email{font-size:22px;}
.zc-footer .foot-phone{font-size:24px; font-weight:900; letter-spacing:-.01em;}
.zc-footer .foot-email:hover, .zc-footer .foot-phone:hover{color:var(--f-accent);}
.zc-footer .foot-socials{display:flex; gap:10px; margin-top:4px;}
.zc-footer .foot-soc{width:44px; height:44px; border-radius:var(--f-radius-md); display:flex; align-items:center; justify-content:center; text-decoration:none; transition:transform .2s, opacity .2s;}
.zc-footer .foot-soc:hover{transform:translateY(-2px); opacity:.9;}
.zc-footer .foot-soc-tg{background:#2AABEE;}
.zc-footer .foot-soc-wa{background:#25D366;}
.zc-footer .foot-soc-yt{background:#FF0000;}
.zc-footer .foot-soc svg{width:22px; height:22px; fill:white;}
.zc-footer .foot-bottom{border-top:1px solid var(--f-border); padding:20px 0; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;}
.zc-footer .foot-copy, .zc-footer .foot-regs{font-size:12px; color:var(--f-text-dimmer); margin:0;}

@media (max-width:600px){ .zc-footer .foot-grid{grid-template-columns:1fr; gap:32px;} }

/* ============================================================
   GetCourse modal — типовой технический шаблон (кодекс п.11)
   ============================================================ */
.zc-modal{
  position:fixed; top:50%; left:50%; transform:translate(-50%,-50%);
  background:#fff; border-radius:16px; box-shadow:0 20px 60px rgba(0,0,0,.35);
  width:calc(100% - 32px); max-width:580px; max-height:calc(100vh - 40px); overflow:auto;
  padding:40px 24px 24px; z-index:10000; visibility:hidden; opacity:0; pointer-events:none;
  transition:opacity .2s ease;
}
.zc-modal.open{visibility:visible; opacity:1; pointer-events:auto;}
.zc-modal-close{position:absolute; top:8px; right:8px; width:32px; height:32px; background:rgba(0,0,0,.08); border:none; border-radius:50%; cursor:pointer; font-size:20px; color:#444; font-family:system-ui; z-index:2;
  display:flex; align-items:center; justify-content:center; padding:0; line-height:1;}
.zc-modal-close:hover{background:rgba(0,0,0,.15);}
#zc-backdrop{position:fixed; inset:0; background:rgba(0,0,0,.55); z-index:9999; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .2s ease;}
#zc-backdrop.open{visibility:visible; opacity:1; pointer-events:auto;}
