/* ===================================================================
   Вкусная Казань — лендинг спонсорского предложения
   Фирменная палитра (по баннеру): красный · белый · золото · зелёный (Татарстан)
   Шрифты: Manrope (заголовки) + Inter (текст) — как на проектах AREAL
   Механики/анимации перенесены с arealevent-next (recolored)
   =================================================================== */

:root {
  /* Палитра */
  --c-red: #E5322B;        /* сочный «аппетитный» красный (доминанта) */
  --c-red-dk: #C32219;
  --c-red-700: #9E1A13;
  --c-gold: #C49A57;       /* золото/беж (плашки логотипов на баннере) */
  --c-gold-dk: #A77E3B;
  --c-gold-soft: #EAD7B8;
  --c-green: #1F9E55;      /* зелёный флага Татарстана */
  --c-green-dk: #15803F;

  --c-bg: #FFFFFF;         /* белый — основной фон контента */
  --c-cream: #FFF7EE;      /* тёплый белый */
  --c-panel: #FCEFDF;      /* тёплая светлая панель */
  --c-dark: #1F0E09;       /* футер / тёмное */

  --c-ink: #2A1812;
  --c-text: #2C1A13;
  --c-muted: #927B6D;
  --c-line: #F0E2D2;
  --c-line-soft: #F6ECE0;

  /* Типографика */
  --f-head: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Сетка / тени */
  --maxw: 1180px;
  --maxw-narrow: 800px;
  --pad: clamp(16px, 4vw, 44px);
  --gap-section: clamp(72px, 9vw, 128px);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 30px;
  --shadow: 0 26px 60px -28px rgba(60, 24, 16, 0.42);
  --shadow-sm: 0 12px 30px -18px rgba(60, 24, 16, 0.40);
  --shadow-red: 0 16px 38px -14px rgba(229, 50, 43, 0.55);
}

/* ===== Reset / base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.62;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
.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; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

/* ===== Иконки ===== */
.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Sections / «сэндвич» ===== */
.section { padding: var(--gap-section) 0; position: relative; }
.section--light { background: var(--c-bg); color: var(--c-text); }
.section--cream { background: var(--c-cream); color: var(--c-text); }
.section--soft { background: var(--c-panel); color: var(--c-text); }
.section--red { background: var(--c-red); color: #fff; overflow: hidden; }
.section--green { background: var(--c-green); color: #fff; overflow: hidden; }
.section--dark { background: var(--c-dark); color: #f7e9dc; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-head); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-red); margin: 0 0 16px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--c-gold); border-radius: 2px; }
.kicker--gold { color: var(--c-gold-dk); }
.kicker--light { color: #fff; }
.kicker--light::before { background: rgba(255,255,255,.7); }

.section__title { font-size: clamp(30px, 5vw, 50px); font-weight: 800; color: var(--c-ink); max-width: 26ch; text-wrap: balance; }
.section__title--wide { max-width: none; }
.section__title--light { color: #fff; }
.section__sub { font-size: clamp(17px, 2.2vw, 20px); color: var(--c-muted); margin: 18px 0 0; max-width: 58ch; }
.section--red .section__sub, .section--green .section__sub { color: rgba(255,255,255,.9); }

.footnote { font-size: 13.5px; color: var(--c-muted); margin: 30px 0 0; max-width: 72ch; }
.footnote--light { color: rgba(255,255,255,.78); }

.lead-line {
  margin: 40px auto 0; max-width: 58ch; text-align: center;
  font-family: var(--f-head); font-size: clamp(20px, 2.7vw, 28px); font-weight: 700; color: var(--c-red);
  line-height: 1.32; letter-spacing: -0.02em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--c-red); color: #fff; border: 2px solid var(--c-red);
  font-family: var(--f-head); font-weight: 700; font-size: 16px; text-decoration: none;
  padding: 14px 26px; border-radius: 999px;
  transition: transform .16s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  box-shadow: var(--shadow-red);
}
.btn .ic { font-size: 19px; transition: transform .2s ease; }
.btn:hover { background: var(--c-red-dk); border-color: var(--c-red-dk); transform: translateY(-2px); }
.btn:hover .ic { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; }
.btn--lg { padding: 17px 36px; font-size: 18px; }
.btn--sm { padding: 10px 18px; font-size: 14.5px; box-shadow: none; }
.btn--block { width: 100%; }
.btn--outline { background: transparent; color: var(--c-red); border-color: var(--c-red); box-shadow: none; }
.btn--outline:hover { background: var(--c-red); color: #fff; }
.btn--white { background: #fff; color: var(--c-red); border-color: #fff; box-shadow: 0 16px 38px -16px rgba(0,0,0,.45); }
.btn--white:hover { background: var(--c-cream); color: var(--c-red-dk); border-color: var(--c-cream); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* ===== Topbar ===== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.topbar__row { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.topbar__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--f-head); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; transition: color .3s ease; }
.topbar__mark { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(255,255,255,.16); color: #fff; transition: background .3s ease, color .3s ease; }
.topbar__mark .ic { font-size: 22px; }
.topbar .btn { background: #fff; color: var(--c-red); border-color: #fff; box-shadow: none; }
.topbar .btn:hover { background: var(--c-cream); }
/* scrolled */
.topbar.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 6px 24px -16px rgba(60,24,16,.5); }
.topbar.scrolled .topbar__logo { color: var(--c-ink); }
.topbar.scrolled .topbar__mark { background: var(--c-red); color: #fff; }
.topbar.scrolled .btn { background: var(--c-red); color: #fff; border-color: var(--c-red); box-shadow: var(--shadow-red); }

/* ===== Декор: orb-круги + орнамент-паттерн ===== */
.pattern {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("assets/pattern.svg?v=2");
  background-size: 800px 400px;
  opacity: .10; mix-blend-mode: screen;
  animation: pattern-drift 60s linear infinite;
}
.section--green .pattern { opacity: .14; }
@keyframes pattern-drift { to { background-position: 800px 400px; } }

.orb { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .5; z-index: 0; pointer-events: none; }
.orb--1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(255,255,255,.5), transparent 65%); animation: orb-drift-1 18s ease-in-out infinite; }
.orb--2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(196,154,87,.55), transparent 65%); animation: orb-drift-2 22s ease-in-out infinite; }
.orb--gold { background: radial-gradient(circle, rgba(196,154,87,.5), transparent 65%); }
.orb--red { background: radial-gradient(circle, rgba(229,50,43,.5), transparent 65%); }
@keyframes orb-drift-1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.08); } }
@keyframes orb-drift-2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(34px, -26px) scale(1.06); } }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 90px; background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dk) 100%); }
.hero .orb--1 { right: -120px; top: -120px; }
.hero .orb--2 { left: -140px; bottom: -160px; }
.hero__inner { position: relative; z-index: 2; max-width: 820px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-head); font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold-soft); margin: 0 0 22px; padding: 8px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.06); }
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-gold-soft); animation: dot-pulse 1.8s ease-in-out infinite; }
.hero__title {
  font-size: clamp(56px, 11vw, 132px); font-weight: 800; letter-spacing: -0.03em; line-height: .98;
  background: linear-gradient(100deg, #ffffff 20%, var(--c-gold-soft) 50%, #ffffff 80%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: title-sweep 6s linear infinite;
}
@keyframes title-sweep { to { background-position: 200% center; } }
.hero__tagline { font-family: var(--f-head); font-weight: 600; font-size: clamp(20px, 4vw, 34px); color: var(--c-gold-soft); margin: 10px 0 0; letter-spacing: -0.02em; }
.hero__sub { font-size: clamp(17px, 2.4vw, 21px); color: rgba(255,255,255,.92); margin: 26px 0 0; max-width: 48ch; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0; }
.stat-chip { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 14px 22px; backdrop-filter: blur(4px); }
.stat-chip__num { display: block; font-family: var(--f-head); font-weight: 800; font-size: 30px; color: #fff; line-height: 1; }
.stat-chip__label { display: block; font-size: 13.5px; color: rgba(255,255,255,.82); margin-top: 5px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__note { font-size: 14px; color: rgba(255,255,255,.72); margin: 20px 0 0; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.7); display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.hero__scroll .ic { font-size: 22px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes dot-pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.7); opacity: .5; } }

/* ===== Stats grid (proof) ===== */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.stat-card {
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.stat-card::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 4px; background: var(--c-gold); border-radius: 0 0 4px 0; }
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat-card__num { display: block; font-family: var(--f-head); font-weight: 800; font-size: clamp(36px, 5vw, 50px); color: var(--c-red); line-height: 1; letter-spacing: -0.03em; }
.stat-card__label { display: block; font-size: 15px; color: var(--c-muted); margin-top: 12px; }

/* ===== Marquee (СМИ) ===== */
.band { padding: 44px 0; }
.band .kicker { margin-bottom: 14px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; background: rgba(229,50,43,.08); color: var(--c-red-dk); padding: 1px 6px; border-radius: 5px; }
.marquee { position: relative; overflow: hidden; padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee-scroll 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--f-head); font-weight: 700; font-size: clamp(18px, 2.6vw, 26px); color: var(--c-gold-dk); opacity: .85; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee__item::after { content: "•"; color: var(--c-red); opacity: .5; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

/* ===== СМИ о нас ===== */
.press { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.qcard { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 26px 26px 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.qcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.qcard__mark { font-family: Georgia, var(--f-head), serif; font-weight: 700; font-size: 56px; line-height: .6; color: var(--c-gold); height: 28px; }
.qcard__text { font-size: 15.5px; color: var(--c-text); line-height: 1.5; flex: 1; margin: 10px 0 18px; }
.qcard__by { border-top: 1px solid var(--c-line); padding-top: 14px; }
.qcard__name { display: block; font-family: var(--f-head); font-weight: 700; color: var(--c-ink); font-size: 15px; }
.qcard__role { display: block; font-size: 13px; color: var(--c-muted); margin-top: 2px; }

/* ===== Dynamics / chart ===== */
.dynamics { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: stretch; margin-top: 44px; }
.linechart { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 30px 30px 22px; box-shadow: var(--shadow-sm); display: flex; align-items: center; }
.linechart__svg { width: 100%; height: auto; display: block; overflow: visible; }
.linechart__val { font-family: var(--f-head); font-weight: 800; font-size: 16px; fill: var(--c-muted); }
.linechart__val--peak { fill: var(--c-red); font-size: 19px; }
.linechart__year { font-family: var(--f-head); font-weight: 700; font-size: 14px; fill: var(--c-text); }
.linechart__dot { fill: #fff; stroke: var(--c-red); stroke-width: 3; }
.linechart__dot--peak { fill: var(--c-red); stroke: #fff; stroke-width: 3; }
.dynamics__aside { display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.bigfact { background: var(--c-green); color: #fff; border-radius: var(--radius); padding: 32px 30px; position: relative; overflow: hidden; }
.bigfact__num { display: block; font-family: var(--f-head); font-weight: 800; font-size: clamp(48px, 8vw, 76px); color: #fff; line-height: 1; letter-spacing: -0.03em; }
.bigfact__label { display: block; font-size: 16px; color: rgba(255,255,255,.9); margin-top: 8px; }
.badge { display: flex; align-items: center; gap: 12px; background: var(--c-bg); border: 1px solid var(--c-line); color: var(--c-text); border-radius: var(--radius); padding: 18px 22px; font-family: var(--f-head); font-weight: 700; font-size: 16px; box-shadow: var(--shadow-sm); }
.badge .ic { font-size: 28px; color: var(--c-gold-dk); }

/* ===== Cards grid ===== */
.cards-grid { display: grid; gap: 20px; margin-top: 44px; }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }

.icard { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.icard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.icon-circle { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 16px; font-size: 27px; margin-bottom: 18px; }
.icon-circle--red { background: rgba(229,50,43,.1); color: var(--c-red); }
.icon-circle--gold { background: rgba(196,154,87,.16); color: var(--c-gold-dk); }
.icon-circle--green { background: rgba(31,158,85,.13); color: var(--c-green-dk); }
.icard__title { font-size: 20px; font-weight: 700; color: var(--c-ink); }
.icard__text { font-size: 15px; color: var(--c-muted); margin: 9px 0 0; }

/* ===== Pillars (value) ===== */
.pillar { background: var(--c-bg); border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar .icon-circle { background: var(--c-red); color: #fff; }
.pillar__title { font-size: 21px; font-weight: 700; color: var(--c-ink); }
.pillar__text { font-size: 15px; color: var(--c-muted); margin: 11px 0 0; }

/* ===== Forecast (green) ===== */
.forecast { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; position: relative; z-index: 2; }
.forecast__item { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius); padding: 36px 28px; text-align: center; backdrop-filter: blur(4px); }
.forecast__item--mid { background: #fff; border-color: #fff; }
.forecast__num { display: block; font-family: var(--f-head); font-weight: 800; font-size: clamp(38px, 6vw, 58px); color: #fff; line-height: 1; letter-spacing: -0.03em; }
.forecast__item--mid .forecast__num { color: var(--c-green-dk); }
.forecast__label { display: block; margin-top: 12px; font-family: var(--f-head); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.86); }
.forecast__item--mid .forecast__label { color: var(--c-green-dk); }

/* ===== Packages ===== */
.packages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; align-items: stretch; }
.pkg { position: relative; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 32px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; cursor: pointer; }
.pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pkg:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; }
.pkg--featured { background: linear-gradient(160deg, var(--c-red) 0%, var(--c-red-dk) 100%); border: none; color: #fff; box-shadow: var(--shadow-red); transform: translateY(-8px); }
.pkg--featured:hover { transform: translateY(-14px); }
.pkg__ribbon { position: absolute; top: -13px; left: 26px; background: var(--c-gold); color: #2a1607; font-family: var(--f-head); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 6px 15px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.pkg__seats { font-family: var(--f-head); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c-green-dk); }
.pkg--featured .pkg__seats { color: var(--c-gold-soft); }
.pkg__name { font-size: 24px; font-weight: 800; margin: 10px 0 0; color: var(--c-ink); }
.pkg--featured .pkg__name { color: #fff; }
.pkg__price { font-family: var(--f-head); font-weight: 800; font-size: 23px; color: var(--c-red); margin: 8px 0 4px; letter-spacing: -0.02em; }
.pkg--featured .pkg__price { color: #fff; }
.pkg__tagline { font-size: 13.5px; color: var(--c-muted); margin: 0 0 18px; line-height: 1.4; }
.pkg--featured .pkg__tagline { color: rgba(255,255,255,.86); }
.pkg__list { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.pkg__list li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--c-text); margin-bottom: 11px; line-height: 1.42; }
.pkg--featured .pkg__list li { color: rgba(255,255,255,.94); }
.pkg__list li .ic { position: absolute; left: 0; top: 2px; font-size: 17px; color: var(--c-green); }
.pkg--featured .pkg__list li .ic { color: var(--c-gold-soft); }
.pkg--featured .btn { background: #fff; color: var(--c-red); border-color: #fff; }
.pkg--featured .btn:hover { background: var(--c-cream); }
.pkg__more { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 0 0 16px; font-family: var(--f-head); font-weight: 700; font-size: 13.5px; color: var(--c-red); }
.pkg__more .ic { font-size: 15px; transition: transform .2s ease; }
.pkg:hover .pkg__more .ic { transform: translateX(3px); }
.pkg--featured .pkg__more { color: var(--c-gold-soft); }

/* ===== Formats (red) ===== */
.fcol { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 32px 28px; transition: transform .25s ease, background .25s ease; }
.fcol:hover { transform: translateY(-6px); background: rgba(255,255,255,.13); }
.fcol__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.fcol__head .icon-circle { margin: 0; background: rgba(255,255,255,.16); color: #fff; }
.fcol__title { font-size: 21px; font-weight: 800; color: #fff; }
.fcol__list { list-style: none; margin: 0; padding: 0; }
.fcol__list li { position: relative; padding-left: 26px; color: rgba(255,255,255,.9); font-size: 15px; margin-bottom: 13px; line-height: 1.45; }
.fcol__list li .ic { position: absolute; left: 0; top: 3px; font-size: 16px; color: var(--c-gold-soft); }
.zones { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; position: relative; z-index: 2; }
.zones__label { font-size: 14px; color: rgba(255,255,255,.78); margin-right: 4px; }
.tag { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 8px 18px; font-family: var(--f-head); font-size: 14px; font-weight: 600; }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 16px; margin-top: 44px; }
.gtile--big { grid-column: span 2; grid-row: span 2; }
.gtile { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; border: none; padding: 0; background: var(--c-red); color: #fff; box-shadow: var(--shadow-sm); }
.gtile--wide { grid-column: span 2; }
.gtile--tall { grid-row: span 2; }
.gtile--red { background: linear-gradient(150deg, var(--c-red), var(--c-red-dk)); }
.gtile--gold { background: linear-gradient(150deg, var(--c-gold), var(--c-gold-dk)); }
.gtile--green { background: linear-gradient(150deg, var(--c-green), var(--c-green-dk)); }
.gtile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gtile__pattern { position: absolute; inset: 0; background-image: url("assets/pattern.svg?v=2"); background-size: 300px 150px; opacity: .16; mix-blend-mode: screen; }
.gtile__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 20px; background: linear-gradient(0deg, rgba(20,8,5,.6) 0%, rgba(20,8,5,.05) 55%); text-align: left; }
.gtile__year { font-family: var(--f-head); font-weight: 800; font-size: clamp(26px, 4vw, 40px); line-height: 1; letter-spacing: -0.02em; }
.gtile__cap { font-size: 13px; color: rgba(255,255,255,.92); margin-top: 6px; }
.gtile__zoom { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 20px; opacity: 0; transform: scale(.8); transition: opacity .25s ease, transform .25s ease; backdrop-filter: blur(4px); }
.gtile:hover .gtile__zoom { opacity: 1; transform: scale(1); }
.gtile:hover .gtile__img { transform: scale(1.08); }
.gtile:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(20,8,5,.86); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__stage { position: relative; width: min(900px, 92vw); aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; background: var(--c-red); box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); transform: scale(.96); transition: transform .25s ease; }
.lightbox.open .lightbox__stage { transform: scale(1); }
.lightbox__img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__pattern { position: absolute; inset: 0; background-image: url("assets/pattern.svg?v=2"); background-size: 400px 200px; opacity: .16; mix-blend-mode: screen; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; background: linear-gradient(0deg, rgba(20,8,5,.75), transparent); color: #fff; }
.lightbox__cap .y { font-family: var(--f-head); font-weight: 800; font-size: 32px; }
.lightbox__cap .c { font-size: 15px; color: rgba(255,255,255,.9); margin-top: 4px; }
.lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; z-index: 2; transition: background .2s ease; }
.lightbox__btn:hover { background: rgba(255,255,255,.3); }
.lightbox__prev { left: 16px; } .lightbox__next { right: 16px; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; z-index: 3; }
.lightbox__close:hover { background: rgba(255,255,255,.3); }

/* ===== Модалка пакета ===== */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(20,8,5,.7); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.modal.open { opacity: 1; visibility: visible; }
.modal__panel { position: relative; width: min(560px, 94vw); max-height: 88vh; overflow-y: auto; background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); transform: translateY(14px) scale(.98); transition: transform .25s ease; }
.modal.open .modal__panel { transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; background: var(--c-cream); border: 1px solid var(--c-line); color: var(--c-ink); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.modal__close:hover { background: var(--c-panel); }
.modal__seats { font-family: var(--f-head); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c-green-dk); }
.modal__title { font-size: clamp(26px, 4vw, 34px); font-weight: 800; color: var(--c-ink); margin: 8px 0 0; }
.modal__price { font-family: var(--f-head); font-weight: 800; font-size: 24px; color: var(--c-red); margin: 6px 0 0; letter-spacing: -0.02em; }
.modal__tagline { color: var(--c-muted); margin: 10px 0 0; font-size: 15.5px; line-height: 1.45; }
.modal__list { list-style: none; margin: 22px 0; padding: 22px 0 0; border-top: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 16px; }
.modal__item { display: flex; gap: 12px; }
.modal__item .ic { flex: none; font-size: 20px; color: var(--c-green); margin-top: 2px; }
.modal__item-t { font-family: var(--f-head); font-weight: 700; color: var(--c-ink); display: block; }
.modal__item-d { color: var(--c-muted); font-size: 14px; display: block; margin-top: 2px; line-height: 1.45; }
.modal__note { margin: 0 0 20px; padding: 12px 14px; background: var(--c-cream); border: 1px solid var(--c-line); border-radius: var(--radius-sm); color: var(--c-muted); font-size: 13px; line-height: 1.5; }
.modal__note:empty { display: none; }

/* ===== Примеры интеграций (фото-мозаика) ===== */
.examples { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; margin-top: 44px; }
.exa { position: relative; border-radius: var(--radius-sm); overflow: hidden; color: #fff; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.exa:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.exa--red { background: linear-gradient(150deg, var(--c-red), var(--c-red-dk)); }
.exa--gold { background: linear-gradient(150deg, var(--c-gold), var(--c-gold-dk)); }
.exa--green { background: linear-gradient(150deg, var(--c-green), var(--c-green-dk)); }
.exa--big { grid-column: span 2; grid-row: span 2; }
.exa--wide { grid-column: span 2; }
.exa--tall { grid-row: span 2; }
.exa__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.exa:hover .exa__img { transform: scale(1.07); }
.exa__pattern { position: absolute; inset: 0; background-image: url("assets/pattern.svg?v=2"); background-size: 300px 150px; opacity: .16; mix-blend-mode: screen; }
.exa__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.exa:has(.exa__img) .exa__center { display: none; }
.exa__ic { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 27px; }
.exa__hint { font-size: 13px; color: rgba(255,255,255,.9); letter-spacing: .02em; }
.exa__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; background: linear-gradient(0deg, rgba(20,8,5,.62) 0%, rgba(20,8,5,.05) 70%); }
.exa__cap h3 { font-family: var(--f-head); font-weight: 800; font-size: clamp(16px, 1.8vw, 21px); }

/* ===== Media ===== */
.media-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.media-col { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); }
.media-col--accent { background: var(--c-panel); }
.media-col__title { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; color: var(--c-ink); margin-bottom: 20px; }
.media-col__title .ic { font-size: 26px; color: var(--c-red); }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 14px; font-size: 15.5px; line-height: 1.45; }
.checklist li .ic { position: absolute; left: 0; top: 2px; font-size: 18px; color: var(--c-green); }
.checklist--accent li .ic { color: var(--c-red); }

/* ===== Trust ===== */
.trust { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; margin-top: 44px; align-items: start; }
.trust__logo { font-family: var(--f-head); font-weight: 800; font-size: 42px; color: var(--c-red); letter-spacing: -0.02em; }
.trust__text { font-size: 16px; color: var(--c-text); margin: 14px 0 24px; max-width: 50ch; }
.cases { display: flex; flex-wrap: wrap; gap: 12px; }
.case-chip { background: var(--c-bg); border: 1px dashed var(--c-line); border-radius: var(--radius-sm); padding: 18px 30px; font-family: var(--f-head); font-weight: 700; color: var(--c-muted); }
.trust__infra { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow-sm); }
.trust__subtitle { font-size: 19px; font-weight: 800; color: var(--c-ink); margin-bottom: 18px; }
.infra-list { list-style: none; margin: 0; padding: 0; }
.infra-list li { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: 15.5px; }
.infra-list li .icon-circle { width: 42px; height: 42px; font-size: 20px; margin: 0; border-radius: 12px; }

/* ===== FAQ ===== */
.faq { margin-top: 40px; }
.faq__item { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-sm); margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq__q { cursor: pointer; list-style: none; padding: 22px 56px 22px 24px; font-family: var(--f-head); font-weight: 700; font-size: 17px; color: var(--c-ink); position: relative; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 300; color: var(--c-red); transition: transform .25s ease; }
.faq__item[open] .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { padding: 0 24px 22px; color: var(--c-muted); font-size: 15.5px; }

/* ===== Final + form ===== */
.final { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; position: relative; z-index: 2; align-items: start; }
.final__sub { font-size: 18px; color: rgba(255,255,255,.92); margin: 18px 0 30px; }
.steps { list-style: none; margin: 0 0 26px; padding: 0; }
.steps__item { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; color: #fff; font-size: 16px; }
.steps__n { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--c-red); display: flex; align-items: center; justify-content: center; font-family: var(--f-head); font-weight: 800; }
.final__urgency { display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; color: #fff; font-weight: 600; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); padding: 10px 18px; border-radius: 999px; }
.final__urgency .ic { font-size: 18px; color: var(--c-gold-soft); }

.final__form { background: var(--c-bg); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow); color: var(--c-text); }
.lform { display: flex; flex-direction: column; gap: 16px; }
.lform[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-family: var(--f-head); font-size: 14px; font-weight: 600; color: var(--c-ink); }
.req { color: var(--c-red); }
.field__input { font-family: var(--f-body); font-size: 16px; color: var(--c-text); border: 1.5px solid var(--c-line); border-radius: 12px; padding: 13px 15px; background: var(--c-cream); transition: border-color .15s ease, box-shadow .15s ease; width: 100%; }
.field__input:focus { outline: none; border-color: var(--c-red); box-shadow: 0 0 0 3px rgba(229,50,43,.14); background: #fff; }
.field--invalid .field__input { border-color: #c0392b; background: #fff5f4; }
.field__error { font-size: 13px; color: #c0392b; min-height: 0; }
.field--invalid .field__error { min-height: 16px; }
textarea.field__input { resize: vertical; min-height: 64px; }
select.field__input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23927B6D' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 38px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--c-muted); line-height: 1.45; }
.consent input { margin-top: 3px; flex: none; width: 18px; height: 18px; accent-color: var(--c-red); }
.consent a { color: var(--c-red); font-weight: 600; }
.form-note { font-size: 12.5px; color: var(--c-muted); text-align: center; margin: 4px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.thanks { text-align: center; padding: 30px 10px; }
.thanks__ic { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: rgba(31,158,85,.12); color: var(--c-green); display: flex; align-items: center; justify-content: center; font-size: 38px; }
.thanks__title { font-size: 28px; font-weight: 800; color: var(--c-ink); margin: 16px 0 8px; }
.thanks__text { color: var(--c-muted); margin: 0 auto 24px; max-width: 36ch; }

/* ===== Footer ===== */
.footer { padding: 60px 0 32px; }
.footer__row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer__brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 800; font-size: 24px; color: #fff; }
.footer__brand .topbar__mark { background: var(--c-red); }
.footer__muted { color: rgba(255,255,255,.6); font-size: 14.5px; margin: 12px 0 0; max-width: 40ch; }
.footer__h { font-family: var(--f-head); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-gold); margin: 0 0 16px; }
.footer__link { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.85); text-decoration: none; font-size: 15px; margin-bottom: 10px; }
.footer__link .ic { font-size: 18px; color: var(--c-gold); }
.footer__link:hover { color: #fff; }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: 13.5px; }

/* ===== Sticky mobile CTA ===== */
.sticky-cta { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: none; align-items: center; justify-content: center; gap: 9px; background: var(--c-red); color: #fff; text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: 17px; padding: 16px; border-radius: 16px; box-shadow: var(--shadow-red); transform: translateY(140%); transition: transform .3s ease; }
.sticky-cta.is-shown { transform: translateY(0); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===================================================================
   Адаптив
   =================================================================== */
@media (max-width: 980px) {
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .packages { grid-template-columns: repeat(2, 1fr); }
  .pkg--featured { transform: none; } .pkg--featured:hover { transform: translateY(-6px); }
  .dynamics { grid-template-columns: 1fr; }
  .final { grid-template-columns: 1fr; gap: 32px; }
  .trust { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .examples { grid-template-columns: repeat(3, 1fr); }
  .press { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cards-grid--4, .cards-grid--3 { grid-template-columns: 1fr; }
  .packages { grid-template-columns: 1fr; }
  .forecast { grid-template-columns: 1fr; }
  .media-cols { grid-template-columns: 1fr; }
  .footer__row { grid-template-columns: 1fr; gap: 26px; }
  .hero { min-height: auto; padding: 80px 0 36px; }
  .hero__title { font-size: 50px; }
  .hero__sub { margin-top: 14px; }
  .hero__stats { margin: 16px 0; gap: 10px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; padding: 14px 24px; font-size: 16px; }
  .hero__note { margin-top: 12px; }
  .hero__scroll { display: none; }
  .topbar__name { display: inline-block; font-size: 16.5px; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 86px; }
  .chart { padding: 24px 16px 18px; gap: 8px; }
  .chart__bar { height: 200px; }
  .stat-card { padding: 24px 20px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .examples { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .press { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .gtile--wide { grid-column: span 2; }
  .gtile--tall { grid-row: span 1; }
  .hero__actions { width: 100%; } .hero__actions .btn { flex: 1; }
}

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

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .chart__col { transform: scaleY(1); }
  .hero__title { animation: none; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; }
}







/* ===== Примеры интеграций — раскрывающиеся карточки (как «Для кого мы работаем» AREAL) ===== */
.zexp-row { display: flex; gap: 10px; height: 58vh; min-height: 440px; width: 100%; margin-top: 44px; }
.zexp-card { position: relative; flex: 1 1 0; min-width: 0; border-radius: 18px; overflow: hidden; cursor: pointer; outline: none; background-size: cover; background-position: center; border: 1px solid var(--c-line); transition: flex-grow .55s cubic-bezier(.4,0,.2,1); }
.zexp-card--red { background: linear-gradient(150deg, var(--c-red), var(--c-red-dk)); }
.zexp-card--gold { background: linear-gradient(150deg, var(--c-gold), var(--c-gold-dk)); }
.zexp-card--green { background: linear-gradient(150deg, var(--c-green), var(--c-green-dk)); }
.zexp-card.is-active { flex-grow: 5; }
.zexp-card:focus-visible { box-shadow: 0 0 0 3px var(--c-gold); }
.zexp-pattern { position: absolute; inset: 0; background-image: url("assets/pattern.svg?v=2"); background-size: 300px 150px; opacity: .14; mix-blend-mode: screen; }
.zexp-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,8,5,.92) 0%, rgba(20,8,5,.5) 42%, rgba(20,8,5,.05) 100%); }
.zexp-num { position: absolute; top: 18px; left: 20px; z-index: 3; font-family: var(--f-head); font-weight: 800; font-size: 12.5px; letter-spacing: .16em; color: var(--c-gold-soft); }
.zexp-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px 22px; display: flex; flex-direction: column; }
.zexp-title { font-family: var(--f-head); font-weight: 800; color: #fff; margin: 0; line-height: 1.08; white-space: nowrap; transition: font-size .4s ease; }
.zexp-card:not(.is-active) .zexp-title { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 1.05rem; margin-bottom: 4px; }
.zexp-card.is-active .zexp-title { writing-mode: horizontal-tb; font-size: clamp(1.4rem, 2vw, 2rem); white-space: normal; max-width: 20ch; }
.zexp-detail { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .55s ease, opacity .4s ease, margin-top .4s ease; }
.zexp-card.is-active .zexp-detail { max-height: 340px; opacity: 1; margin-top: 14px; }
.zexp-tagline { color: rgba(255,255,255,.9); font-size: 15px; line-height: 1.5; margin: 0; max-width: 46ch; }
.zexp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 16px; }
.zexp-chip { font-size: 12.5px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: rgba(255,255,255,.92); }
.zexp-cta { align-self: flex-start; }
@media (max-width: 860px) {
  .zexp-row { flex-direction: column; height: auto; min-height: 0; gap: 12px; }
  .zexp-card { flex: none; min-height: 84px; }
  .zexp-card.is-active { min-height: 360px; }
  .zexp-card:not(.is-active) .zexp-title { writing-mode: horizontal-tb; transform: none; font-size: 1.1rem; }
  .zexp-card.is-active .zexp-detail { max-height: 600px; }
}

/* ===== Кейсы AREAL (в блоке доверия) ===== */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.case-card { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-panel); }
.case-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card:hover .case-card__img img { transform: scale(1.05); }
.case-card__body { padding: 18px 20px 22px; }
.case-card__body h4 { font-family: var(--f-head); font-weight: 800; font-size: 18px; color: var(--c-ink); margin: 0; }
.case-card__body p { font-size: 14px; color: var(--c-muted); margin: 8px 0 0; line-height: 1.45; }
.trust__note { display: flex; gap: 11px; align-items: flex-start; margin-top: 18px; font-size: 14.5px; line-height: 1.5; color: var(--c-text); background: rgba(196,154,87,.12); border: 1px solid var(--c-gold-soft); border-radius: var(--radius-sm); padding: 14px 16px; }
.trust__note .ic { flex: none; font-size: 20px; color: var(--c-gold-dk); margin-top: 1px; }

/* ===== Доп-услуга «под ключ» (заметный баннер) ===== */
.upsell { position: relative; overflow: hidden; margin-top: 28px; border-radius: var(--radius); background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dk) 100%); box-shadow: var(--shadow-red); }
.upsell .pattern { opacity: .12; }
.upsell__body { position: relative; z-index: 2; display: flex; align-items: center; gap: 22px; padding: 26px 30px; }
.upsell__ic { flex: none; width: 60px; height: 60px; border-radius: 16px; background: rgba(255,255,255,.16); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.upsell__text { flex: 1; min-width: 0; }
.upsell__title { font-family: var(--f-head); font-weight: 800; font-size: clamp(20px, 2.4vw, 27px); color: #fff; margin: 0; letter-spacing: -0.02em; }
.upsell__text p { color: rgba(255,255,255,.92); font-size: 15.5px; margin: 6px 0 0; line-height: 1.5; max-width: 62ch; }
.upsell .btn { flex: none; }
@media (max-width: 760px) {
  .upsell__body { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 22px; }
  .upsell .btn { width: 100%; }
}




/* ===== Cookie-информер ===== */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: 440px; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 14px 16px; }
.cookie[hidden] { display: none; }
.cookie__text { font-size: 13px; color: var(--c-text); line-height: 1.45; margin: 0; }
.cookie__text a { color: var(--c-red); font-weight: 600; }
.cookie .btn { flex: none; }
@media (max-width: 640px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; flex-direction: column; align-items: stretch; }
  .cookie .btn { width: 100%; }
}








/* Адаптив кейсов (база .cases объявлена ниже медиа-запросов — переопределяем тут) */
@media (max-width: 980px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cases { grid-template-columns: 1fr; } }


/* ===== Курсор-эчпочмак (только ПК с мышью) ===== */
@media (hover:hover) and (pointer:fine) and (min-width:901px){
  :root{
    --cur-echpo: image-set(url("assets/cursor-echpo.png") 1x, url("assets/cursor-echpo@2x.png") 2x) 12 8;
  }
  html.is-pressing{
    --cur-echpo: image-set(url("assets/cursor-echpo-bite.png") 1x, url("assets/cursor-echpo-bite@2x.png") 2x) 12 8;
  }
  html, body{
    cursor: url("assets/cursor-echpo.png") 12 8, auto;
    cursor: var(--cur-echpo), auto;
  }
  a, button, [role="button"], .btn, label[for], summary,
  .dotnav a, select, input[type="submit"], input[type="button"]{
    cursor: url("assets/cursor-echpo.png") 12 8, pointer;
    cursor: var(--cur-echpo), pointer;
  }
  input:not([type="submit"]):not([type="button"]),
  textarea, [contenteditable="true"]{ cursor: text; }
}
.crumb-layer{position:fixed;inset:0;z-index:9998;pointer-events:none;overflow:hidden;contain:strict}
.crumb{position:fixed;top:0;left:0;border-radius:2px;will-change:transform,opacity;opacity:.95}
@keyframes crumb-fall{0%{opacity:.95}100%{transform:translate3d(var(--dx),var(--dy),0) rotate(var(--rot)) scale(.35);opacity:0}}
@media (prefers-reduced-motion:reduce){ .crumb-layer{display:none} }

/* ===== Золотой орнамент на светлых секциях ===== */
.section--light, .section--cream, .section--soft { isolation: isolate; }
.section--light::after, .section--cream::after, .section--soft::after{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background: url("assets/pattern-gold.svg") 0 0 / 760px 380px repeat;
  opacity:.16;
}
.section--cream::after{ opacity:.18; }
.section--soft::after{ opacity:.14; }
.section--light > *, .section--cream > *, .section--soft > *{ position: relative; z-index: 1; }
.section--light > .bigfig, .section--cream > .bigfig, .section--soft > .bigfig{ position: absolute; z-index: 0; }

/* ===== Единый переключатель сайтов (Гостям · Спонсорам · Участникам) ===== */
.site-switch{ display:flex; gap:3px; padding:4px; border-radius:999px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.24); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
.site-switch__tab{ font-family:var(--f-head); font-weight:700; font-size:14px; line-height:1; letter-spacing:-.01em; color:rgba(255,255,255,.85); text-decoration:none; padding:9px 15px; border-radius:999px; white-space:nowrap; transition:background .2s ease, color .2s ease; }
.site-switch__tab:hover{ color:#fff; background:rgba(255,255,255,.14); }
.site-switch__tab.is-active{ background:#fff; color:var(--c-red); box-shadow:0 2px 8px -3px rgba(31,14,9,.5); }
.topbar.scrolled .site-switch{ background:rgba(31,14,9,.05); border-color:rgba(31,14,9,.12); }
.topbar.scrolled .site-switch__tab{ color:var(--c-ink); }
.topbar.scrolled .site-switch__tab:hover{ background:rgba(31,14,9,.06); color:var(--c-red); }
.topbar.scrolled .site-switch__tab.is-active{ color:#fff; background:var(--c-red); }
@media (max-width:880px){
  .topbar__row{ flex-wrap:wrap; row-gap:8px; }
  .site-switch{ order:3; width:100%; justify-content:center; }
}
@media (max-width:430px){ .site-switch__tab{ padding:8px 11px; font-size:12.5px; } }

/* ===== Золотой блок (брендовый #C49A57, светлый орнамент) — для ритма ===== */
.section--gold{ background:#B5822E; color: var(--c-text); isolation:isolate; }
.section--gold::after{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background: url("assets/pattern.svg?v=2") 0 0 / 760px 380px repeat;
  opacity:.18;
}
.section--gold > *{ position:relative; z-index:1; }
/* только текст УРОВНЯ СЕКЦИИ — карточки не трогаем */
.section--gold .section__title, .section--gold .lead-line{ color:#fff; text-shadow:0 1px 10px rgba(45,22,0,.25); }
.section--gold .section__sub{ color:rgba(255,255,255,.93); text-shadow:0 1px 8px rgba(45,22,0,.22); }
.section--gold .footnote{ color:rgba(255,255,255,.82); }
.section--gold .kicker,
.section--gold .kicker--gold{ color:#ffdcaa; }

/* ===== Широкий центрированный hero (использовать ширину) ===== */
@media (min-width: 901px){
  .hero__inner{ max-width: 1180px; text-align: center; }
  .hero__eyebrow{ margin-left: auto; margin-right: auto; }
  .hero__sub{ max-width: 62ch; margin-left: auto; margin-right: auto; }
  .hero__stats{ justify-content: center; }
  .hero__actions{ justify-content: center; }
  .hero__title{ font-size: clamp(46px, 7vw, 100px); }
}


/* ===== Кросс-промо между разделами ===== */
.xpromo{ background: var(--c-dark); color: rgba(255,255,255,.86); padding: 26px 0; text-align:center; font-size:15.5px; line-height:1.5; }
.xpromo a{ color:#fff; font-weight:700; text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
.xpromo a:hover{ color: var(--c-gold-soft); }
/* ===== Якоря не уезжают под фикс-шапку ===== */
html{ scroll-padding-top: 86px; }
@media (max-width:880px){ html{ scroll-padding-top: 122px; } }

/* ---- Спонсорам: довод-возвращаемость в блоке #spend ---- */
.spend-cta{ margin:30px 0 0; padding:14px 0 14px 20px; border-left:4px solid var(--c-gold); font-size:clamp(16px,2vw,19px); line-height:1.5; color:var(--c-text); max-width:64ch; }
.spend-cta b{ color:var(--c-red); font-family:var(--f-head); font-weight:800; font-size:1.12em; }
