/* Эвентура — лендинг «Аниматоры в ресторан». Все стили одним файлом, чтобы не плодить запросы. */

:root {
  --bg: #F5F1EA;
  --bg-2: #FFFFFF;
  --ink: #0E1430;
  --ink-2: #4F5876;
  --line: #E6DECC;
  --card: #FFFFFF;
  --accent: #F4B740;
  --accent-ink: #1A1F36;
  --accent-soft: #FFF1CC;
  --dark: #0E1430;
  --shadow: 0 14px 40px rgba(14,20,48,.08);
  --radius: 18px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-size: 17px;
}
h1, h2, h3 {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; }
h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 600; font-family: 'Manrope'; }
p { margin: 0 0 .8em; color: var(--ink-2); }
a { color: inherit; }
.container { width: min(1200px, 92vw); margin: 0 auto; }
.eyebrow {
  display: inline-block; background: var(--accent-soft); color: #8A6500;
  padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px;
}

/* Header */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,241,234,.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; padding: 14px 0; position: relative; }
.logo {
  font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 20px;
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
}
.logo-img { height: 36px; width: auto; display: block; }
.logo-img-footer { height: 32px; filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-phone { font-weight: 700; text-decoration: none; font-size: 15px; }
.nav-phone-mobile { display: none; }

/* Гамбургер (виден только на мобильных) */
.nav-toggle {
  display: none; width: 44px; height: 44px; margin-left: 6px;
  background: transparent; border: 0; cursor: pointer; padding: 10px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; border-radius: 2px;
  background: var(--ink); transition: transform .2s ease, opacity .2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 12px;
  font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px rgba(244,183,64,.4); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-link { background: transparent; color: var(--ink); padding: 14px 0; font-weight: 700; }

/* Hero */
.hero {
  padding: 56px 0 72px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.hero h1 { max-width: 600px; }
.hero h1 .accent { color: #B8801E; }
.hero .lead { font-size: 19px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; align-items: center; }
.hero-trust {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 8px;
  margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line);
}
.trust-num { font-family: 'Unbounded'; font-weight: 700; font-size: 30px; color: var(--ink); line-height: 1; }
.trust-label { font-size: 13px; color: var(--ink-2); margin-top: 6px; }

.hero-visual {
  aspect-ratio: 4/4.5;
  border-radius: 28px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
  background-size: cover; background-position: center;
  background-color: #FFE5D6;
}
.hero-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14,20,48,.55) 100%);
  pointer-events: none;
}
.hero-visual .photo-tag {
  position: absolute; top: 22px; left: 22px;
  background: rgba(255,255,255,.92); border-radius: 999px; padding: 8px 14px;
  font-size: 13px; font-weight: 700; color: var(--ink); z-index: 1;
}
.hero-visual .photo-cap {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  color: #fff; font-weight: 600; font-size: 14px; z-index: 1;
}
.floating-stat {
  position: absolute; bottom: 40px; right: 22px;
  background: #fff; border-radius: 14px; padding: 14px 18px;
  box-shadow: var(--shadow); font-size: 14px; max-width: 240px; z-index: 2;
}
.floating-stat b { font-family: 'Unbounded'; display: block; font-size: 22px; color: var(--ink); margin-bottom: 5px; }
.floating-stat span { color: var(--ink); font-weight: 500; line-height: 1.4; }

/* Clients */
.clients-bg { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients-grid { display: grid; grid-template-columns: 1fr 2.4fr; gap: 48px; align-items: center; }
.clients-side .big {
  font-family: 'Unbounded'; font-weight: 800;
  font-size: clamp(56px, 6vw, 84px); line-height: 1; color: var(--ink); display: block;
}
.clients-side .big-sub { font-size: 16px; color: var(--ink-2); margin-top: 12px; max-width: 280px; }
.logo-tiles { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.logo-tile {
  flex: 0 1 calc((100% - 36px) / 4); min-width: 0; /* 4 в ряд, неполный ряд центрируется */
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  aspect-ratio: 16/9; display: grid; place-items: center;
  font-family: 'Unbounded'; font-weight: 700; font-size: 14px;
  color: var(--ink); text-align: center; padding: 12px;
  transition: background .15s, transform .15s, box-shadow .15s; line-height: 1.15;
}
.logo-tile:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Generic section */
section { padding: 88px 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }

/* Features — минимал-редакторский (2 колонки, иконка в круге, разделители) */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.feature {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.feature:nth-child(-n+2) { border-top: 0; }
.feature .ico {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-soft); display: grid; place-items: center;
  font-size: 26px;
}
.feature-text { min-width: 0; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { font-size: 15px; }

/* Programs / formats */
.formats { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.format {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 10px;
}
.format .pill {
  align-self: flex-start; background: var(--accent-soft); color: #8A6500;
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.format h3 { font-family: 'Unbounded'; font-size: 20px; }
.format ul { padding-left: 20px; margin: 0; color: var(--ink-2); font-size: 15px; }
.format ul li { margin-bottom: 4px; }
.format.featured { background: var(--dark); color: #fff; border-color: var(--dark); }
.format.featured h3, .format.featured p, .format.featured ul { color: #fff; }
.format.featured p { color: rgba(255,255,255,.82); }
.format.featured ul { color: rgba(255,255,255,.78); }
.format.featured .pill { background: var(--accent); color: var(--accent-ink); }

.materials-banner {
  margin-top: 22px;
  background: var(--accent-soft); border: 1px solid #F0DBA0;
  border-radius: var(--radius); padding: 24px 28px;
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center;
}
.materials-banner .badge {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--accent); display: grid; place-items: center; font-size: 26px;
}
.materials-banner h3 { font-family: 'Unbounded'; font-size: 18px; margin: 0 0 4px; }
.materials-banner p { margin: 0; color: var(--ink-2); font-size: 15px; }

.room-consult {
  margin-top: 36px;
  background: var(--dark); color: #fff;
  border-radius: var(--radius); padding: 32px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  position: relative; overflow: hidden;
}
.room-consult::before {
  content: ''; position: absolute; right: -100px; top: -100px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  opacity: .25;
}
.room-consult .rc-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--accent); display: grid; place-items: center;
  font-size: 30px; flex: 0 0 64px; position: relative; z-index: 1;
}
.room-consult .rc-text { position: relative; z-index: 1; }
.room-consult h3 { font-family: 'Unbounded'; font-size: 22px; color: #fff; margin: 0 0 6px; }
.room-consult p { color: rgba(255,255,255,.78); margin: 0; font-size: 15px; }
.room-consult .rc-checks {
  display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; font-size: 13px;
}
.room-consult .rc-checks span { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 6px; }
.room-consult .rc-checks span::before {
  content: '✓'; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.room-consult .rc-cta { position: relative; z-index: 1; }

/* How */
.how-bg { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps-flow { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 8px; }
.sf-line { position: absolute; top: 40px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line); z-index: 0; }
.sf-step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.sf-node {
  width: 80px; height: 80px; border-radius: 50%; background: #fff; border: 2px solid var(--accent);
  margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; position: relative; box-shadow: var(--shadow);
}
.sf-ico { font-size: 34px; line-height: 1; }
.sf-num {
  position: absolute; top: -7px; right: -7px; width: 27px; height: 27px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-family: 'Unbounded'; font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.sf-step h3 { font-family: 'Unbounded'; font-weight: 700; font-size: 17px; line-height: 1.2; margin: 0 0 8px; color: var(--ink); }
.sf-step p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.5; }
@media (max-width: 760px) {
  .steps-flow { grid-template-columns: 1fr; gap: 26px; }
  .sf-line { display: none; }
  .sf-node { margin-bottom: 14px; }
}

/* Costumes */
.costumes-bg { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.costumes-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; align-items: start; }
.costumes-grid > * { min-width: 0; }
.costumes-side h2 { margin-bottom: 14px; }
.costumes-side .stat-row { display: flex; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.costumes-side .stat-row > div b {
  font-family: 'Unbounded'; font-size: 28px; display: block; line-height: 1;
}
.costumes-side .stat-row > div span { color: var(--ink-2); font-size: 14px; }
.costume {
  aspect-ratio: 3/4; border-radius: 14px; position: relative;
  display: flex; align-items: flex-end; padding: 14px;
  color: #fff; font-weight: 700; font-size: 14px;
  background-size: cover; background-position: center;
  background-color: #FFB68C;
}
.costume::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, transparent 50%, rgba(14,20,48,.55) 100%);
  pointer-events: none;
}
.costume span { position: relative; z-index: 1; }

/* Cases — «Как растёт выручка»: горизонтальные карточки (метрика + контент) */
.cases { display: flex; flex-direction: column; gap: 22px; }
.case {
  background: var(--card); border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 34px rgba(14,20,48,.06);
  display: grid; grid-template-columns: 210px 1fr;
  gap: 28px; padding: 22px; align-items: stretch;
}
.case-metric {
  background: var(--accent-soft); border-radius: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 26px 18px; gap: 8px; min-width: 0;
}
.case-metric b {
  font-family: 'Unbounded'; font-weight: 800; font-size: 46px; line-height: .95;
  color: #E0524D; letter-spacing: -0.01em;
}
.case-metric span { font-size: 13px; color: var(--ink-2); line-height: 1.3; }
.case-content {
  min-width: 0; align-self: center;
  display: flex; flex-direction: column; gap: 12px; padding: 6px 12px 6px 0;
}
.case-title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; }
.case-ico { font-size: 24px; line-height: 1; }
.case-title h3 { font-family: 'Unbounded'; font-weight: 700; font-size: 21px; margin: 0; }
.case-badge {
  background: var(--accent-soft); color: #8A6500;
  padding: 5px 11px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}
.case-desc { margin: 0; font-size: 16px; color: var(--ink-2); line-height: 1.55; }

/* Slider (горизонтальная прокрутка со стрелками — используется для отзывов и костюмов) */
.slider-wrap { position: relative; min-width: 0; max-width: 100%; }
.slider {
  display: grid; grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 32px 16px 32px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.slider::-webkit-scrollbar { height: 6px; }
.slider::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.slider > * { scroll-snap-align: start; }
.slider-reviews { grid-auto-columns: minmax(300px, 360px); }
.slider-costumes {
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: minmax(220px, 260px);
  gap: 14px;
}
.slider-team { grid-auto-columns: minmax(180px, 210px); padding-top: 4px; padding-bottom: 16px; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); cursor: pointer;
  display: grid; place-items: center; font-size: 22px; color: var(--ink);
  z-index: 5; box-shadow: var(--shadow); transition: background .15s, transform .15s;
  font-family: 'Manrope'; font-weight: 800;
}
.slider-arrow:hover { background: var(--accent); transform: translateY(-50%) scale(1.05); }
.slider-arrow.prev { left: -8px; }
.slider-arrow.next { right: -8px; }
@media (max-width: 980px) {
  .slider-arrow.prev { left: 4px; }
  .slider-arrow.next { right: 4px; }
}

/* Yandex reviews */
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.yandex-summary {
  display: flex; gap: 14px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px;
}
.yandex-summary .ya-logo {
  width: 36px; height: 36px; border-radius: 8px;
  background: #FF3D00; color: #fff; display: grid; place-items: center;
  font-family: 'Unbounded'; font-weight: 800; font-size: 18px;
}
.yandex-summary .rate { font-family: 'Unbounded'; font-weight: 700; font-size: 22px; }
.yandex-summary .rate .rate-star { color: #FFA000; }
.yandex-summary .rate-label { font-size: 13px; color: var(--ink-2); }
.reviews { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.review {
  background: #fff; border: 1px solid #ECEEF0; border-radius: 16px;
  padding: 18px 20px 14px; display: flex; flex-direction: column; gap: 12px;
  min-height: 320px; position: relative;
}
.review .ya-badge {
  position: absolute; top: 14px; right: 16px;
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: #99A2AD; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
}
.review .ya-badge::before {
  content: 'Я'; width: 18px; height: 18px; border-radius: 4px;
  background: #FC3F1D; color: #fff; display: grid; place-items: center;
  font-family: 'Arial', sans-serif; font-weight: 900; font-size: 13px; line-height: 1;
}
.review .top { display: flex; gap: 12px; align-items: flex-start; padding-right: 70px; }
.review .top .ava {
  width: 40px; height: 40px; border-radius: 50%;
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 16px; flex-shrink: 0;
  font-family: 'Manrope', sans-serif;
}
.review .top .meta { flex: 1; min-width: 0; }
.review .top b {
  display: block; font-size: 15px; font-weight: 600; color: #1A1F36;
  line-height: 1.2;
}
.review .top .expert {
  display: block; font-size: 12px; color: #99A2AD;
  margin-top: 3px;
}
.review .rating-row {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.review .stars { color: #FFA000; letter-spacing: 1px; font-size: 14px; line-height: 1; }
.review .date {
  font-size: 13px; color: #99A2AD;
}
.review .place {
  font-size: 13px; color: #1A1F36; font-weight: 500;
}
.review .place::before {
  content: '·'; margin-right: 6px; color: #99A2AD;
}
.review p {
  color: #1A1F36; font-size: 15px; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.45;
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.gallery-photo {
  aspect-ratio: 1/1; border-radius: 14px;
  background: linear-gradient(135deg,#FFB68C,#FF6A2C);
  background-size: cover; background-position: center;
}

/* Team */
.team-bg { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.person { text-align: center; }
.person .ava {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg,#FFE5D6,#F4B740);
  background-size: cover; background-position: center;
  margin: 0 auto 14px;
}
.person b { display: block; font-family: 'Unbounded'; font-weight: 600; }
.person span { font-size: 13px; color: var(--ink-2); }

.team-stats {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: center;
  background: var(--bg); border-radius: 22px; padding: 36px; border: 1px solid var(--line);
}
.team-group-photo {
  margin: 28px auto 0;
  max-width: 720px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--bg);
}
.team-group-photo img { display: block; width: 100%; height: auto; object-fit: cover; }
.team-group-photo .caption {
  padding: 14px 22px;
  font-size: 14px; color: var(--ink-2);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.team-stats h3 { font-family: 'Unbounded'; font-size: 28px; line-height: 1.1; margin-bottom: 8px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check .mark {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-weight: 800; font-size: 13px; margin-top: 2px;
}

/* Partnership / pricing */
.partnership-bg { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-hero {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px;
  align-items: center; margin-bottom: 40px;
  padding: 32px 36px; background: var(--bg); border-radius: 22px; border: 1px solid var(--line);
}
.price-hero-left .eyebrow { margin-bottom: 16px; }
.price-big {
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 22px;
  color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; line-height: 1.1;
}
.price-big b {
  font-family: 'Unbounded', sans-serif; font-weight: 800;
  font-size: clamp(48px, 6vw, 72px); color: var(--ink); line-height: 1;
  display: inline-block; margin-top: 4px;
}
.price-big span { font-size: 15px; font-weight: 500; color: var(--ink-2); margin-top: 8px; }
.price-badge {
  display: inline-block; margin-top: 18px;
  background: var(--accent); color: #1A1F36;
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 14px;
  padding: 9px 16px; border-radius: 999px; line-height: 1;
  box-shadow: 0 4px 14px rgba(244,183,64,.35);
}
.price-hero-right h2 { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 10px; }
.price-hero-right p { margin: 0; }

.price-note {
  margin-top: 22px;
  background: var(--accent-soft); border: 1px solid #F0DBA0; border-radius: var(--radius);
  padding: 18px 22px;
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
}
.price-note-icon { font-size: 28px; }
.price-note p { margin: 0; color: var(--ink); font-size: 15px; }

@media (max-width: 980px) {
  .price-hero { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .price-note { grid-template-columns: 1fr; gap: 10px; text-align: left; }
}
.tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.tier {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 10px; position: relative;
}
.tier .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); display: grid; place-items: center; font-size: 22px;
  margin-bottom: 8px;
}
.tier h3 { font-family: 'Unbounded'; font-size: 18px; line-height: 1.2; }

/* CTA + form */
.cta-block {
  background: var(--dark); color: #fff; border-radius: 28px;
  padding: 52px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-block::after {
  content: ''; position: absolute; right: -140px; top: -140px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  opacity: .35;
}
.cta-block h2, .cta-block p { color: #fff; }
.cta-block p { color: rgba(255,255,255,.75); max-width: 520px; }

.form { display: grid; gap: 12px; position: relative; z-index: 1; }
.form input, .form textarea {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; color: #fff; padding: 14px 16px; font: inherit;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,.55); }
.form .btn { justify-content: center; }
.form-note { font-size: 12px; color: rgba(255,255,255,.55); }
.form-status { font-size: 14px; min-height: 18px; }
.form-status.success { color: #B6FFB7; }
.form-status.error { color: #FFB6B6; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 22px; margin-bottom: 12px;
}
details summary {
  cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 14px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; font-size: 22px; color: var(--accent-ink); background: var(--accent); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; line-height: 1; flex: 0 0 28px; }
details[open] summary::after { content: '−'; }
details p { margin-top: 12px; }

/* Video block */
.video-bg { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.video-bg::before {
  content: ''; position: absolute; right: -120px; top: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  opacity: .35; pointer-events: none;
}
.video-bg .section-head { position: relative; z-index: 1; }
.video-bg .section-head h2, .video-bg .section-head p { color: #fff; }
.video-bg .section-head p { color: rgba(255,255,255,.75); }
.video-bg .eyebrow { background: rgba(244,183,64,.2); color: var(--accent); }
.video-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px;
  align-items: center; position: relative; z-index: 1;
}
.video-text .eyebrow { background: rgba(244,183,64,.2); color: var(--accent); margin-bottom: 16px; }
.video-text h2 { color: #fff; margin-bottom: 16px; }
.video-text p { color: rgba(255,255,255,.78); font-size: 16px; }
.video-text .video-bullets {
  list-style: none; padding: 0; margin: 22px 0 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.video-text .video-bullets li {
  color: rgba(255,255,255,.9); font-size: 15px;
  display: flex; gap: 10px; align-items: flex-start;
}
.video-text .video-bullets li::before {
  content: '▸'; color: var(--accent); flex-shrink: 0;
}
.video-wrap {
  aspect-ratio: 16/9; width: 100%;
  border-radius: 18px; overflow: hidden;
  background: #000;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-cover {
  width: 100%; height: 100%; padding: 0; margin: 0; border: 0; cursor: pointer;
  position: relative; display: block; overflow: hidden;
  background-position: center; background-size: cover; background-repeat: no-repeat;
}
.video-cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,20,48,.15) 0%, rgba(14,20,48,.55) 100%);
  transition: background .2s;
}
.video-cover:hover::after { background: linear-gradient(180deg, rgba(14,20,48,.1) 0%, rgba(14,20,48,.4) 100%); }
.video-cover .video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 86px; height: 86px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  z-index: 1; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 12px 36px rgba(0,0,0,.5);
}
.video-cover:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.video-cover .video-play svg { width: 32px; height: 32px; margin-left: 4px; }
.video-cover .video-duration {
  position: absolute; bottom: 16px; right: 16px; z-index: 1;
  background: rgba(0,0,0,.65); color: #fff; padding: 6px 10px;
  border-radius: 6px; font-size: 13px; font-weight: 600;
}
@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  z-index: 90;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 50px rgba(14,20,48,.18);
  padding: 16px 22px;
  max-width: 1100px; margin: 0 auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  display: flex; gap: 20px; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
}
.cookie-inner p { margin: 0; color: var(--ink); font-size: 14px; max-width: 760px; line-height: 1.5; }
.cookie-inner p a { color: var(--ink-2); text-decoration: underline; }
.cookie-inner p a:hover { color: var(--ink); }
.cookie-banner .btn { white-space: nowrap; padding: 12px 22px; font-size: 14px; }
@media (max-width: 720px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 14px 16px; }
  .cookie-inner { gap: 12px; }
  .cookie-banner .btn { width: 100%; }
}

/* Footer */
footer { background: var(--dark); color: #fff; padding: 56px 0 24px; }
footer .row {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1);
}
footer h4 { color: #fff; font-family: 'Manrope'; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
footer a { color: rgba(255,255,255,.7); text-decoration: none; display: block; padding: 4px 0; font-size: 14px; }
footer a:hover { color: #fff; }
footer .bottom {
  padding-top: 22px; display: flex; justify-content: space-between; gap: 16px;
  color: rgba(255,255,255,.45); font-size: 13px; flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero-trust { grid-template-columns: repeat(2,1fr); gap: 18px 12px; }
  .features { grid-template-columns: 1fr; }
  .feature:nth-child(2) { border-top: 1px solid var(--line); } /* в 1 колонку разделитель нужен у 2-го */
  .formats { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; gap: 24px; }
  .logo-tile { flex-basis: calc((100% - 24px) / 3); } /* 3 в ряд */
  .materials-banner { grid-template-columns: 1fr; text-align: left; }
  .room-consult { grid-template-columns: 1fr; gap: 18px; }
  .costumes-grid { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .case { grid-template-columns: 170px 1fr; gap: 20px; }
  .team-stats { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .cta-block { grid-template-columns: 1fr; padding: 32px; }
  footer .row { grid-template-columns: 1fr 1fr; }

  /* Мобильная навигация: гамбургер + выпадающее меню */
  .nav { gap: 12px; }
  .nav-toggle { display: flex; }
  .nav-phone { display: none; }
  header .nav .btn-primary {
    font-size: 13px; padding: 10px 14px; border-radius: 10px;
    margin-left: auto; box-shadow: none; white-space: nowrap;
  }
  .nav-links {
    position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(14,20,48,.12);
    padding: 6px 0; margin: 0;
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height .25s ease, opacity .2s ease, visibility .2s;
  }
  .nav-open .nav-links { max-height: 80vh; overflow-y: auto; opacity: 1; visibility: visible; }
  .nav-links a {
    padding: 13px clamp(16px, 4vw, 30px); font-size: 16px; font-weight: 600;
    border-top: 1px solid var(--line);
  }
  .nav-links a:first-child { border-top: 0; }
  .nav-phone-mobile { display: block; color: var(--ink); font-weight: 800; }

  /* Гасим горизонтальный скролл от длинных слов / грид-треков */
  .hero > div { min-width: 0; }
  .hero h1 { overflow-wrap: break-word; hyphens: auto; }
  .hero-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-tile { flex-basis: calc((100% - 24px) / 3); }
  .logo-tile span { overflow-wrap: anywhere; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .logo-tile { flex-basis: calc((100% - 12px) / 2); } /* 2 в ряд */

  /* Кейсы: метрика-бар сверху, контент снизу */
  .case { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .case-metric {
    flex-direction: row; justify-content: flex-start; align-items: center;
    text-align: left; gap: 14px; padding: 16px 18px;
  }
  .case-metric b { font-size: 38px; }
  .case-metric span { flex: 1; }
  .case-content { padding: 0; }
}

/* ============================================================
   Графика и анимации: подсветка кнопок, всплытие карточек,
   появление блоков при скролле. Всё под guard reduced-motion.
   ============================================================ */

/* — Кнопки: бегущий блик + свечение при наведении — */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -150%;
  width: 60%; height: 100%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.85) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left .6s cubic-bezier(.22,.61,.36,1);
}
.btn-primary:hover::before,
.btn-primary:focus-visible::before { left: 150%; }
/* На ховере кнопка «загорается» другим цветом + бежит линия */
.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  background: #FF9F1C;
  box-shadow: 0 14px 34px rgba(255,140,0,.5), 0 0 0 1px rgba(255,140,0,.35);
}
.btn-primary:active { transform: translateY(0); }

/* Мягкое «дыхание» только у ключевых конверсионных кнопок (шапка + герой) */
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 6px 18px rgba(244,183,64,.4); }
  50%      { box-shadow: 0 10px 28px rgba(244,183,64,.72); }
}
header .nav .btn-primary,
.hero-cta .btn-primary { animation: ctaGlow 3s ease-in-out infinite; }
header .nav .btn-primary:hover,
.hero-cta .btn-primary:hover { animation: none; }

/* Вторичная (ссылочная) кнопка — лёгкое смещение стрелки */
.btn-link { transition: transform .15s ease, color .15s ease; }
.btn-link:hover { transform: translateX(3px); color: var(--accent-ink); }

/* — Карточки «всплывают» при наведении — */
.format, .case, .tier, .review, .person .ava, .gallery-photo, .costume {
  transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s ease;
  will-change: transform;
}
.format:hover, .case:hover, .tier:hover, .review:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(14,20,48,.12);
}
.format.featured:hover { box-shadow: 0 22px 50px rgba(14,20,48,.4); }
.gallery-photo:hover, .costume:hover { transform: scale(1.03); }
.person .ava { transition: transform .28s ease, box-shadow .28s ease; }
.person:hover .ava { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(14,20,48,.18); }

/* — Появление блоков при скролле (класс .reveal вешает JS) — */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.reveal-left  { transform: translateX(-44px); }
.reveal.reveal-right { transform: translateX(44px); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn-primary::before { display: none; }
  header .nav .btn-primary, .hero-cta .btn-primary { animation: none !important; }
  .feature, .format, .case, .tier, .review, .gallery-photo, .costume, .person .ava { transition: none !important; }
}

/* ============================================================
   Модалка «Заявка отправлена»
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 20px;
}
.modal[hidden] { display: none; }
.modal-overlay {
  position: absolute; inset: 0;
  background: rgba(14,20,48,.55); backdrop-filter: blur(4px);
  animation: modalFade .2s ease;
}
.modal-card {
  position: relative; z-index: 1;
  width: min(440px, 100%); background: var(--card);
  border-radius: 22px; padding: 40px 32px 32px; text-align: center;
  box-shadow: 0 30px 80px rgba(14,20,48,.4);
  animation: modalPop .3s cubic-bezier(.22,.61,.36,1);
}
.modal-icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: #2BB673; color: #fff; display: grid; place-items: center;
  font-size: 34px; line-height: 1; box-shadow: 0 10px 26px rgba(43,182,115,.45);
}
.modal-card h3 { font-family: 'Unbounded'; font-size: 24px; margin: 0 0 10px; }
.modal-card p { color: var(--ink-2); font-size: 16px; margin: 0 0 26px; }
.modal-card .btn-primary { width: 100%; }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer;
  font-size: 28px; line-height: 1; color: var(--ink-2); border-radius: 10px;
  transition: background .15s, color .15s;
}
.modal-close:hover { background: var(--bg-2); color: var(--ink); }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPop { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .modal-overlay, .modal-card { animation: none !important; }
}
