/* =========================================================
   sorry.pasha — лендинг контент-креатора
   Светлая премиум-эстетика · розовые акценты · рукописный курсив
   ========================================================= */

:root {
  /* Цвета */
  --cream:      #FFF7F4;
  --cream-2:    #FCEDEA;
  --white:      #FFFFFF;
  --ink:        #241B1B;
  --ink-soft:   #645858;
  --line:       #F1DAD6;

  --pink-soft:  #FBD5E2;
  --pink:       #F49EC0;
  --rose:       #E8517A;   /* крупный декор: скрипт, маркиза, диск */
  --rose-strong:#D6336C;   /* заливка под белый текст (≥4.6:1) — кнопки/фокус */
  --rose-ink:   #B82A54;   /* мелкий текст/ссылки/метки на светлом — AA на всех фонах (5.3–6:1) */

  /* Типографика */
  --f-display: 'Oswald', 'Arial Narrow', sans-serif;
  --f-script:  'Caveat', cursive;
  --f-serif:   'Playfair Display', Georgia, serif;
  --f-body:    'Montserrat', -apple-system, 'Segoe UI', sans-serif;

  /* Сетка / прочее */
  --maxw: 1180px;
  --pad: 24px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -28px rgba(180, 70, 110, 0.35);
  --shadow-sm: 0 14px 34px -20px rgba(120, 60, 90, 0.4);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* --------- base --------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }

/* якоря не прячутся под фиксированный хедер */
section[id], div[id], [id] { scroll-margin-top: 86px; }

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

.section { padding: clamp(60px, 9vw, 124px) 0; }

/* видимый фокус для клавиатуры */
:focus-visible { outline: 3px solid var(--rose-strong); outline-offset: 3px; border-radius: 6px; }

/* skip-link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--rose-strong); color: #fff; font-weight: 600;
  padding: 12px 18px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* helper: display & script */
.display {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.script {
  font-family: var(--f-script);
  color: var(--rose);
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.9;
}
.script--inline { display: inline-block; font-size: 1.15em; line-height: 0.82; }

/* --------- buttons --------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  border-radius: 100px;
  padding: 13px 26px;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s;
  white-space: nowrap;
}
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 16px 34px; font-size: 16px; }

.btn--primary {
  background: var(--rose-strong);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(214, 51, 108, .8);
}
.btn--primary:hover { background: var(--rose-ink); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

/* --------- header --------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.header.scrolled {
  background: rgba(255, 247, 244, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  display: inline-flex; align-items: baseline;
}
.logo__dot { color: var(--rose); }
.logo__name, .logo__mark { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav__link {
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 4px 0;
  transition: color .2s;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--rose-strong); transition: width .25s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after, .nav__link:hover::after { width: 100%; }
.nav__cta { display: none; }   /* появляется только в мобильном меню */

.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.burger span {
  position: absolute; left: 8px; right: 8px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------- hero --------- */
.hero {
  position: relative;
  padding: clamp(108px, 15vh, 160px) 0 0;
  background:
    radial-gradient(120% 90% at 82% -10%, var(--cream-2) 0%, transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  overflow: hidden;
}
.hero__blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 0;
  pointer-events: none;
}
.hero__blob--1 { width: 460px; height: 460px; background: var(--pink-soft); top: -120px; right: -80px; }
.hero__blob--2 { width: 360px; height: 360px; background: #FCE0D2; bottom: -120px; left: -100px; opacity: .5; }

.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.9fr;
  gap: clamp(16px, 3vw, 50px);
  align-items: end;
  min-height: min(82vh, 760px);
}
.hero__content { padding-bottom: clamp(52px, 8vw, 94px); }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rose-ink); margin-bottom: 22px;
}

.hero__title { margin-bottom: 24px; }
.hero__title .display {
  display: block;
  font-size: clamp(38px, 5.6vw, 74px);
  color: var(--ink);
}
.hero__title .script {
  display: block;
  font-size: clamp(40px, 5.8vw, 78px);
  margin-top: 2px;
  transform: rotate(-3deg);
  transform-origin: left;
  padding-left: 6px;
}

.hero__lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hero__trust li { font-size: 14px; color: var(--ink-soft); position: relative; padding-left: 17px; }
.hero__trust li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: var(--rose);
}
.hero__trust strong { color: var(--ink); font-weight: 700; }

/* hero photo (вырезанная фигура) */
.hero__photo { position: relative; align-self: end; justify-self: center; width: 100%; max-width: 470px; }
.hero__img {
  position: relative; z-index: 2;
  width: 100%; height: auto;
  max-height: min(74vh, 700px);
  object-fit: contain; object-position: bottom;
  margin: 0 auto;
  filter: drop-shadow(0 26px 38px rgba(150, 60, 95, .26));
}
.hero__disc {
  position: absolute; z-index: 1;
  left: 50%; bottom: 6%; transform: translateX(-50%);
  width: 105%; max-width: 480px; aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 50%, var(--pink-soft) 0%, var(--pink-soft) 46%, rgba(251,213,226,0) 72%);
}
.hero__tag {
  position: absolute; z-index: 3;
  background: #fff; color: var(--ink);
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
  padding: 9px 16px; border-radius: 100px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  white-space: nowrap; animation: floaty 5s ease-in-out infinite;
}
.hero__tag--1 { top: 12%; left: -8%; }
.hero__tag--2 { bottom: 24%; right: -6%; animation-delay: -2.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* --------- marquee --------- */
.marquee { background: var(--rose); color: #fff; overflow: hidden; padding: 14px 0; }
.marquee__track { display: flex; width: max-content; will-change: transform; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__chunk {
  flex: 0 0 auto;
  font-family: var(--f-display); font-weight: 500; font-size: 18px;
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------- section heads --------- */
.section__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__label {
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rose-ink); margin-bottom: 14px;
}
.section__title { font-size: clamp(32px, 5vw, 58px); color: var(--ink); margin-bottom: 18px; }
.section__sub { font-size: clamp(15px, 1.5vw, 18px); color: var(--ink-soft); max-width: 560px; }
.section__sub strong { color: var(--ink); font-weight: 700; }

/* --------- about --------- */
.about { background: var(--white); }
.about__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__text .section__title { margin-bottom: 26px; }
.about__p { color: var(--ink-soft); font-size: 16px; margin-bottom: 16px; max-width: 520px; }
.about__p strong { color: var(--ink); }

/* наложение рукописного «sorry» на «ПАША» */
.about__title { line-height: 1.06; }
.about__name { position: relative; display: inline-block; }
.about__sorry {
  position: absolute; left: 48%; bottom: -0.2em;
  font-size: 1.4em; line-height: .7; transform: rotate(-7deg);
  white-space: nowrap; pointer-events: none;
}

/* скрин профиля вместо блока цифр — скругление + розовое свечение */
.about__media { position: relative; max-width: 560px; margin: 0 auto; }
.about__glow {
  position: absolute; inset: -14%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, var(--pink-soft) 0%, rgba(251,213,226,.5) 45%, rgba(251,213,226,0) 78%);
  filter: blur(28px);
}
.about__profile-img {
  position: relative; z-index: 1; width: 100%; height: auto; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* --------- benefits --------- */
.benefits { background: var(--cream); }
.benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 30px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--pink); }
.benefit__index { font-family: var(--f-display); font-weight: 600; font-size: 14px; color: var(--rose-ink); letter-spacing: .1em; margin-bottom: 16px; display: block; }
.benefit__title { font-size: 23px; color: var(--ink); margin-bottom: 14px; line-height: 1.05; }
.benefit__desc { font-size: 15px; color: var(--ink-soft); }

/* --------- services --------- */
.services { background: var(--white); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 30px; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--pink); }
.card__index { font-family: var(--f-display); font-weight: 600; font-size: 14px; color: var(--rose-ink); letter-spacing: .1em; margin-bottom: 16px; }
.card__title { font-size: 23px; color: var(--ink); margin-bottom: 14px; line-height: 1.05; }
.card__desc { font-size: 15px; color: var(--ink-soft); margin-bottom: 22px; flex: 1; }
.card__desc strong { color: var(--ink); }
.card__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.price { font-family: var(--f-serif); font-style: italic; font-size: 28px; color: var(--ink); font-weight: 600; }
.price--quote { font-size: 24px; }
.price__per { font-size: 14px; color: var(--ink-soft); }
.card__cta { font-weight: 600; font-size: 15px; color: var(--rose-ink); align-self: flex-start; transition: gap .2s, color .2s; display: inline-flex; gap: 4px; }
.card__cta:hover { color: var(--rose-ink); gap: 10px; }

.card--feature { background: linear-gradient(165deg, #fff 0%, var(--cream-2) 100%); border-color: var(--pink); box-shadow: var(--shadow); }
.card__badge { position: absolute; top: 22px; right: 22px; background: var(--rose-strong); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 5px 12px; border-radius: 100px; }
.card__badge--exclusive { background: var(--ink); }
.card--exclusive { border-color: #E7D6D2; }
.card--note { background: linear-gradient(165deg, var(--cream) 0%, var(--cream-2) 100%); border-color: var(--pink); }
.card--note .card__title { color: var(--rose-ink); }

/* --------- cta banner --------- */
.cta-banner { background: linear-gradient(135deg, var(--rose-strong) 0%, var(--rose-ink) 100%); padding: clamp(40px, 6vw, 66px) 0; }
.cta-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-banner__title { color: #fff; font-size: clamp(26px, 3.6vw, 42px); margin-bottom: 8px; }
.cta-banner__sub { color: #fff; font-size: 16px; max-width: 540px; }
.cta-banner__btn { background: #fff; color: var(--rose-ink); }
.cta-banner__btn:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

/* --------- cases --------- */
.cases { background: var(--white); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 26px 26px 24px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column; gap: 12px;
}
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--pink); }
.case__top { display: flex; align-items: center; justify-content: space-between; }
.case__niche { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.case__arrow { color: var(--rose-strong); font-size: 18px; transition: transform .25s var(--ease); }
.case:hover .case__arrow { transform: translate(3px, -3px); }
.case__name { font-size: 24px; color: var(--ink); line-height: 1; text-transform: none; }
.case__metric { font-size: 14px; color: var(--ink-soft); }
.case__metric strong { color: var(--rose-ink); font-weight: 700; }

/* --------- contact --------- */
.contact { background: var(--white); position: relative; overflow: hidden; }
.contact__blob { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--pink-soft); filter: blur(80px); opacity: .5; top: -160px; left: -140px; pointer-events: none; }
.contact__inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; text-align: center; }
.contact__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; text-align: left; max-width: 640px; margin-inline: auto; }
.contact__link { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; background: var(--cream); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.contact__link:hover { transform: translateY(-3px); border-color: var(--pink); box-shadow: var(--shadow-sm); }
div.contact__link:hover { transform: none; border-color: var(--line); box-shadow: none; }
.contact__link--primary { background: linear-gradient(135deg, var(--rose-strong) 0%, var(--rose-ink) 100%); border-color: transparent; }
.contact__link--primary .contact__link-label { color: #fff; }
.contact__link--primary .contact__link-val { color: #fff; }
.contact__link-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-ink); }
.contact__link-val { font-size: 16px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }

/* --------- footer --------- */
.footer { background: var(--ink); color: #fff; padding: 56px 0 30px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
.logo--footer .logo__mark, .logo--footer .logo__name { color: #fff; }
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__nav a, .footer__social a, .footer__social span { font-size: 15px; color: rgba(255,255,255,.72); transition: color .2s; }
.footer__nav a:hover, .footer__social a:hover { color: #fff; }
.footer__social { display: flex; gap: 22px; }
.footer__copy { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 24px; text-align: center; }

/* --------- floating action button (telegram) --------- */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--rose-strong); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(214, 51, 108, .9);
  transition: transform .25s var(--ease), background-color .25s;
}
.fab:hover { transform: translateY(-3px) scale(1.05); background: var(--rose-ink); }
.fab svg { margin-left: -2px; }

/* --------- reveal animation --------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* --------- works / примеры работ (видео) --------- */
.works { background: var(--cream); }
.works__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.work {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  aspect-ratio: 9 / 16; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--pink-soft); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.work:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.work__poster { width: 100%; height: 100%; object-fit: cover; display: block; }
.work::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.06) 0%, transparent 32%, transparent 58%, rgba(0,0,0,.55) 100%); }
.work__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2;
  width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.5); transition: transform .25s var(--ease), background-color .25s;
}
.work__play::before { content: ''; width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 14px; border-color: transparent transparent transparent var(--rose-strong); margin-left: 3px; }
.work:hover .work__play { transform: translate(-50%,-50%) scale(1.08); background: #fff; }
.work__cat {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-size: 12px; font-weight: 600; letter-spacing: .03em; color: #fff;
  background: rgba(0,0,0,.45); padding: 5px 11px; border-radius: 100px;
}
@media (max-width: 1100px) { .works__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px)  { .works__grid { grid-template-columns: repeat(2, 1fr); } }

/* кейс-кнопки и card__cta — сброс стилей button */
.case { width: 100%; text-align: left; font-family: inherit; color: inherit; appearance: none; -webkit-appearance: none; cursor: pointer; padding: 0; gap: 0; overflow: hidden; }
.case__shot { display: block; width: 100%; aspect-ratio: 16 / 9; background: #fff; border-bottom: 1px solid var(--line); }
.case__shot img { width: 100%; height: 100%; object-fit: contain; display: block; }
.case__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.case--extra { display: none; }
.cases.is-expanded .case--extra { display: flex; }
.cases__more-wrap { text-align: center; margin-top: 30px; }
.card__cta { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* --------- модалка (кейсы · услуги · видео) --------- */
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(28,20,20,.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: modalFade .25s ease; }
.modal__panel {
  position: relative; z-index: 1; background: var(--white); border-radius: var(--radius);
  max-width: 620px; width: 100%; max-height: 88vh;
  box-shadow: 0 40px 90px -30px rgba(60,20,40,.6);
  animation: modalPop .3s var(--ease);
  display: flex; flex-direction: column; overflow: hidden;
}
.modal__body { overflow-y: auto; padding: clamp(26px, 4vw, 44px); }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--cream); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background-color .2s, transform .25s var(--ease);
}
.modal__close:hover { background: var(--pink-soft); transform: rotate(90deg); }
@keyframes modalFade { from { opacity: 0; } }
@keyframes modalPop { from { opacity: 0; transform: translateY(16px) scale(.98); } }

.modal__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-ink); margin-bottom: 12px; }
.modal__title { font-size: clamp(26px, 4vw, 36px); color: var(--ink); margin-bottom: 14px; line-height: 1.03; padding-right: 42px; }
.modal__lead { font-size: 16px; color: var(--ink-soft); margin-bottom: 8px; }
.modal__subtitle { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--ink); margin: 20px 0 10px; }
.modal__list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.modal__list li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-soft); }
.modal__list li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }
.modal__list strong { color: var(--ink); }
.modal__list--inline { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.modal__list--inline li { padding-left: 0; background: var(--cream); border: 1px solid var(--line); border-radius: 100px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--ink); }
.modal__list--inline li::before { display: none; }
.modal__result { font-size: 15px; color: var(--ink); background: var(--cream); border-radius: var(--radius-sm); padding: 14px 16px; margin: 6px 0 18px; }
.modal__result strong { color: var(--rose-ink); }
.modal__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* видео в модалке */
.modal--video .modal__panel { max-width: 440px; background: transparent; box-shadow: none; overflow: visible; max-height: none; }
.modal--video .modal__body { overflow: visible; padding: 0; }
.modal--video .modal__close { top: -48px; right: 0; background: rgba(255,255,255,.92); }
.modal__video { position: relative; width: 100%; aspect-ratio: 9 / 16; max-height: 78vh; background: #000; border-radius: var(--radius); overflow: hidden; margin: 0 auto; }
.modal__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__yt-link { display: table; margin: 12px auto 0; color: #fff; font-size: 13px; font-weight: 600; background: rgba(0,0,0,.55); padding: 7px 16px; border-radius: 100px; }
.modal__yt-link:hover { text-decoration: underline; }
@media (max-height: 560px) {
  .modal--video .modal__close { top: 8px; right: 8px; }
  .modal__video { max-height: 66vh; }
}

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 880px) {
  .benefits__grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  /* меню сворачивается раньше — в навбаре много пунктов */
  .header__cta { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: var(--white); flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 96px 30px 30px; transform: translateX(100%);
    transition: transform .35s var(--ease);
    box-shadow: -20px 0 60px -30px rgba(0,0,0,.3); z-index: 99;
  }
  .nav.open { transform: none; }
  .nav__link { font-size: 19px; padding: 13px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__cta { display: inline-flex; margin-top: 18px; }
  body.menu-open { overflow: hidden; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .about__inner { grid-template-columns: 1fr; gap: 44px; }
  .contact__links { grid-template-columns: 1fr; }

  .hero { padding-top: 120px; }
  .hero__inner { grid-template-columns: 1fr; align-items: start; min-height: 0; gap: 4px; }
  .hero__content { padding-bottom: 18px; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__photo { max-width: 320px; }
  .hero__img { max-height: 54vh; }

  section[id], div[id], [id] { scroll-margin-top: 74px; }
}

@media (max-width: 760px) {
  .hero { padding-top: 116px; }
  .hero__tag { display: none; }
  .hero__photo { max-width: 264px; }
  .hero__img { max-height: 50vh; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .benefits__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

/* доступность: уважать prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
