/* ============================================================
   ДемоПарк Москва — статичные стили
   Палитра взята из логотипа (светлая), шрифты Inter + Montserrat.
   Анимации воссозданы на CSS: плавное появление при скролле,
   hover-микровзаимодействия, лёгкая пульсация кнопки.
   ============================================================ */

/* ---------- Шрифты ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700;800&display=swap');

/* ---------- Переменные палитры (легко менять цвета здесь) ---------- */
:root {
  --graphite: #2E3A45;        /* тёмный сине-графитовый (контур логотипа) */
  --steel: #5E7687;           /* стальной сине-серый (шестерёнка) */
  --steel-light: #9DB2BF;     /* светлый стальной */
  --concrete: #F4F5F6;        /* светло-серый бетонный фон */
  --concrete-2: #E9ECEF;      /* чуть темнее для карточек */
  --terracotta: #E07B43;      /* терракотово-оранжевый акцент */
  --terracotta-dark: #C4632F;
  --cream: #FBFBFA;

  --shadow-soft: 0 10px 40px -12px rgba(46,58,69,0.18);
  --shadow-card: 0 4px 24px -8px rgba(46,58,69,0.12);
  --shadow-card-hover: 0 24px 60px -16px rgba(46,58,69,0.28);

  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Montserrat', 'Inter', sans-serif;
}

/* ---------- Базовое ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  background: var(--concrete);
  color: var(--graphite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv01";
  overflow-x: hidden;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Контейнер ---------- */
.container-x {
  width: 100%;
  max-width: 80rem;        /* 1280px */
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px) {
  .container-x { padding: 0 2rem; }
}

/* ---------- Типографика-утилиты ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--graphite);
  line-height: 1.12;
}
.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terracotta);
}
.lead-text { color: var(--steel); }

/* ---------- Кнопки ---------- */
.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  background: var(--terracotta);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: all 0.5s var(--ease-soft);
}
.btn-accent:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.btn-accent:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(224,123,67,0.5);
}
.btn-accent.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-accent:disabled { opacity: 0.7; cursor: default; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(46,58,69,0.2);
  background: rgba(255,255,255,0.7);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--graphite);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: all 0.5s var(--ease-soft);
}
.btn-ghost:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  transform: translateY(-2px);
}
/* Призрачная кнопка на тёмном фоне (в hero) */
.btn-ghost.on-dark {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost.on-dark:hover {
  background: #fff;
  color: var(--graphite);
}

/* Лёгкая пульсация акцентной кнопки */
@keyframes pulseSoft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224,123,67,0.45); }
  50% { box-shadow: 0 0 0 12px rgba(224,123,67,0); }
}
.pulse-soft { animation: pulseSoft 2.4s ease-in-out infinite; }

/* ============================================================
   SCROLL-REVEAL: плавное появление при прокрутке (0.7s, без рывков)
   Элемент с [data-reveal] стартует прозрачным и сдвинутым вниз,
   класс .is-visible добавляется через IntersectionObserver.
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Если JS отключён — показываем контент */
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  .pulse-soft { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   ШАПКА (фиксированная)
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: all 0.5s var(--ease-soft);
  background: transparent;
  transform: translateY(-80px);
  opacity: 0;
}
.site-header.header-in { transform: translateY(0); opacity: 1; }
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { height: 2.75rem; width: 2.75rem; object-fit: contain; flex-shrink: 0; }
@media (min-width: 640px) { .brand img { height: 3rem; width: 3rem; } }
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  transition: color 0.5s;
}
.brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.8);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  transition: color 0.5s;
}
@media (min-width: 640px) { .brand-name { font-size: 1.25rem; } }
.scrolled .brand-name { color: var(--graphite); text-shadow: none; }
.scrolled .brand-sub { color: var(--steel); text-shadow: none; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
@media (min-width: 640px) { .header-actions { gap: 1.25rem; } }
.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  transition: color 0.5s;
}
@media (min-width: 640px) { .header-phone { display: flex; } }
.header-phone:hover { color: var(--terracotta); }
.scrolled .header-phone { color: var(--graphite); text-shadow: none; }
.scrolled .header-phone:hover { color: var(--terracotta); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { height: 100%; width: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, rgba(46,58,69,0.85), rgba(46,58,69,0.55) 50%, rgba(46,58,69,0.1));
}
.hero-content { padding: 8rem 0; }
.hero-inner { max-width: 42rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  margin-bottom: 1.25rem;
}
.hero-badge .dot { height: 0.5rem; width: 0.5rem; border-radius: 9999px; background: var(--terracotta); }

.hero-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero-title .accent { display: block; color: var(--terracotta); }
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }

.hero-sub {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}
.hero-cta {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .hero-cta { flex-direction: row; align-items: center; }
}
.hero-stats {
  margin-top: 3rem;
  display: grid;
  max-width: 32rem;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1.5rem;
}
.hero-stats .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}
@media (min-width: 640px) { .hero-stats .num { font-size: 1.875rem; } }
.hero-stats .lbl { margin-top: 0.25rem; font-size: 0.75rem; color: rgba(255,255,255,0.7); }

/* Поэтапное появление контента hero (вместо framer stagger) */
.hero-anim { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft); }
.hero.loaded .hero-anim { opacity: 1; transform: translateY(0); }
.hero.loaded .d1 { transition-delay: 0.10s; }
.hero.loaded .d2 { transition-delay: 0.20s; }
.hero.loaded .d3 { transition-delay: 0.32s; }
.hero.loaded .d4 { transition-delay: 0.44s; }
.hero.loaded .d5 { transition-delay: 0.56s; }

/* ============================================================
   СЕКЦИИ — общие
   ============================================================ */
.section { padding: 5rem 0; }
@media (min-width: 640px) { .section { padding: 6rem 0; } }
.bg-white { background: #fff; }
.bg-concrete { background: var(--concrete); }
.bg-graphite { background: var(--graphite); }

.section-head { margin-bottom: 2.5rem; }
.section-head.center { text-align: center; }
.section-head h2 { margin-top: 0.75rem; font-size: 1.875rem; }
@media (min-width: 640px) { .section-head h2 { font-size: 2.25rem; } }
.section-head p { margin-top: 1rem; color: var(--steel); }
.section-head.center p { margin-left: auto; margin-right: auto; max-width: 42rem; }
.section-head .max { max-width: 42rem; }

/* ============================================================
   ПРОИЗВОДИТЕЛИ — бегущая карусель
   ============================================================ */
.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6rem;
  width: 12.5rem;
  flex-shrink: 0;
  border-radius: 1rem;
  border: 1px solid rgba(46,58,69,0.1);
  background: #fff;
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all 0.5s var(--ease-soft);
}
@media (min-width: 640px) { .logo-tile { height: 7rem; width: 14rem; } }
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.logo-tile img {
  -webkit-user-select: none; user-select: none;
  max-width: 100%;
  max-height: 3.25rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.5s var(--ease-soft), opacity 0.5s var(--ease-soft);
}
@media (min-width: 640px) { .logo-tile img { max-height: 3.75rem; } }
.logo-tile:hover img { filter: grayscale(0); opacity: 1; }

/* ============================================================
   КАТАЛОГ 3x3
   ============================================================ */
.grid-catalog {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .grid-catalog { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-catalog { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(46,58,69,0.1);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: all 0.5s var(--ease-soft);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--concrete-2);
}
.product-media img {
  height: 100%; width: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-soft);
}
.product-card:hover .product-media img { transform: scale(1.05); }
.product-hover {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
  background: linear-gradient(to top, rgba(46,58,69,0.7), rgba(46,58,69,0.1) 50%, transparent);
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.5s var(--ease-soft);
}
.product-card:hover .product-hover { opacity: 1; }
.product-hover .btn-accent {
  transform: translateY(12px);
  transition: transform 0.5s var(--ease-soft), background 0.5s, box-shadow 0.5s;
}
.product-card:hover .product-hover .btn-accent { transform: translateY(0); }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.product-name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--graphite); }
.product-price { margin-top: 0.25rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--terracotta); }
.product-spec { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.6; color: var(--steel); }

/* ============================================================
   О КОМПАНИИ
   ============================================================ */
.about-grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(2, 1fr); } }
.about-img-wrap { position: relative; overflow: hidden; border-radius: 1.5rem; box-shadow: var(--shadow-soft); }
.about-img-wrap img { height: 100%; width: 100%; object-fit: cover; }
.about-badge {
  position: absolute; bottom: 1.25rem; left: 1.25rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.9);
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.about-badge .num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--graphite); }
.about-badge .lbl { font-size: 0.75rem; color: var(--steel); }
.about-text { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; line-height: 1.6; color: var(--steel); }
.about-list {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) { .about-list { grid-template-columns: repeat(2, 1fr); } }
.about-list li { display: flex; align-items: center; gap: 0.75rem; color: var(--graphite); }
.about-list .check {
  display: flex; height: 1.5rem; width: 1.5rem; flex-shrink: 0;
  align-items: center; justify-content: center;
  border-radius: 9999px;
  background: rgba(224,123,67,0.15);
  color: var(--terracotta);
}
.about-list .check svg { height: 0.875rem; width: 0.875rem; }
.about-list span:last-child { font-size: 0.875rem; font-weight: 500; }

/* ============================================================
   ПРЕИМУЩЕСТВА
   ============================================================ */
.grid-adv {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .grid-adv { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-adv { grid-template-columns: repeat(4, 1fr); } }
.adv-card {
  border-radius: 1rem;
  border: 1px solid rgba(46,58,69,0.1);
  background: #fff;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: all 0.5s var(--ease-soft);
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.adv-icon {
  display: flex; height: 3.5rem; width: 3.5rem;
  align-items: center; justify-content: center;
  border-radius: 1rem;
  background: rgba(224,123,67,0.12);
  color: var(--terracotta);
  transition: all 0.5s var(--ease-soft);
}
.adv-card:hover .adv-icon { background: var(--terracotta); color: #fff; }
.adv-icon svg { height: 1.75rem; width: 1.75rem; }
.adv-card h3 { margin-top: 1.25rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--graphite); }
.adv-card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--steel); }

/* ============================================================
   ФОРМА (lead)
   ============================================================ */
.lead { position: relative; overflow: hidden; }
.lead .glow {
  position: absolute; height: 24rem; width: 24rem; border-radius: 9999px;
  filter: blur(64px); pointer-events: none;
}
.lead .glow-1 { right: -8rem; top: -8rem; background: rgba(224,123,67,0.2); }
.lead .glow-2 { bottom: -8rem; left: -8rem; background: rgba(94,118,135,0.2); }
.lead-grid {
  position: relative;
  display: grid;
  align-items: center;
  gap: 3rem;
}
@media (min-width: 1024px) { .lead-grid { grid-template-columns: repeat(2, 1fr); } }
.lead-intro { color: #fff; }
.lead-intro h2 { margin-top: 0.75rem; font-family: var(--font-display); font-size: 1.875rem; font-weight: 800; line-height: 1.2; }
@media (min-width: 640px) { .lead-intro h2 { font-size: 2.25rem; } }
.lead-intro p { margin-top: 1rem; max-width: 28rem; color: rgba(255,255,255,0.75); }
.lead-contacts { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.lead-contacts .phone { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: #fff; transition: color 0.3s; }
.lead-contacts .phone:hover { color: var(--terracotta); }
.lead-contacts .email { color: rgba(255,255,255,0.7); transition: color 0.3s; }
.lead-contacts .email:hover { color: var(--terracotta); }

.lead-form {
  border-radius: 1.5rem;
  background: #fff;
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) { .lead-form { padding: 2.25rem; } }
.lead-form h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--graphite); }
.lead-form .subj { margin-top: 0.25rem; font-size: 0.875rem; color: var(--steel); }
.field { margin-top: 1rem; }
.field label { display: block; margin-bottom: 0.375rem; font-size: 0.875rem; font-weight: 500; color: var(--graphite); }
.field input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(46,58,69,0.15);
  background: var(--concrete);
  padding: 0.75rem 1rem;
  color: var(--graphite);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
}
.field input:focus {
  border-color: var(--terracotta);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(224,123,67,0.2);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 1rem; font-size: 0.75rem; line-height: 1.6; color: var(--steel); }
.form-note a { color: var(--terracotta); text-underline-offset: 2px; }
.form-note a:hover { text-decoration: underline; }
.form-msg { margin-top: 1rem; border-radius: 0.75rem; padding: 0.75rem 1rem; font-size: 0.875rem; }
.form-msg.ok { background: #f0fdf4; color: #15803d; }
.form-msg.err { background: #fef2f2; color: #b91c1c; }
.btn-block { width: 100%; margin-top: 1.5rem; font-size: 1rem; }

/* ============================================================
   ФУТЕР
   ============================================================ */
.site-footer { background: var(--graphite); color: rgba(255,255,255,0.8); }
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0;
}
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.footer-brand img { height: 2.75rem; width: 2.75rem; object-fit: contain; }
.footer-brand .name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 800; color: #fff; }
.footer-brand .sub { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.footer-brand p { margin-top: 1.25rem; max-width: 20rem; font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,0.7); }
.footer-contacts { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contacts .phone { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: #fff; transition: color 0.3s; }
.footer-contacts .phone:hover { color: var(--terracotta); }
.footer-contacts .email { font-size: 0.875rem; transition: color 0.3s; }
.footer-contacts .email:hover { color: var(--terracotta); }
.footer-col h4 { font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.5); }
.footer-nav { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.875rem; }
.footer-nav a { transition: color 0.3s; }
.footer-nav a:hover { color: var(--terracotta); }
.footer-req { margin-top: 1.25rem; font-size: 0.875rem; line-height: 1.6; }
.footer-req .addr { color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; }
.footer-req .addr b { color: rgba(255,255,255,0.9); font-weight: 500; }
.footer-req .grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.75rem;
  color: rgba(255,255,255,0.7);
}
.footer-req .grid dt { font-weight: 500; color: rgba(255,255,255,0.9); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom .row {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding: 1.25rem 0; font-size: 0.75rem; color: rgba(255,255,255,0.55);
}
@media (min-width: 640px) { .footer-bottom .row { flex-direction: row; } }
.footer-bottom button { color: inherit; transition: color 0.3s; }
.footer-bottom button:hover { color: var(--terracotta); }

/* ============================================================
   COOKIE-БАННЕР
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  z-index: 60;
  width: calc(100% - 2rem);
  max-width: 36rem;
  transform: translateX(-50%) translateY(40px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-soft), transform 0.6s var(--ease-soft);
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.cookie-inner {
  display: flex; flex-direction: column; gap: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(46,58,69,0.1);
  background: rgba(255,255,255,0.96);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
@media (min-width: 640px) { .cookie-inner { flex-direction: row; align-items: center; } }
.cookie-inner p { flex: 1; font-size: 0.875rem; line-height: 1.6; color: var(--steel); }
.cookie-inner p button { color: var(--terracotta); text-underline-offset: 2px; }
.cookie-inner p button:hover { text-decoration: underline; }
.cookie-inner .btn-accent { flex-shrink: 0; }

/* ============================================================
   МОДАЛКА ПОЛИТИКИ
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 70;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-overlay { position: absolute; inset: 0; background: rgba(46,58,69,0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-box {
  position: relative;
  max-height: 85vh;
  width: 100%;
  max-width: 42rem;
  overflow-y: auto;
  border-radius: 1.5rem;
  background: #fff;
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transform: scale(0.96) translateY(20px);
  transition: transform 0.5s var(--ease-soft);
}
@media (min-width: 640px) { .modal-box { padding: 2.25rem; } }
.modal.open .modal-box { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute; right: 1.25rem; top: 1.25rem;
  display: flex; height: 2.25rem; width: 2.25rem;
  align-items: center; justify-content: center;
  border-radius: 9999px;
  background: var(--concrete);
  color: var(--graphite);
  font-size: 1rem;
  transition: all 0.3s;
}
.modal-close:hover { background: var(--terracotta); color: #fff; }
.modal-box h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--graphite); padding-right: 2rem; }
.modal-body { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; line-height: 1.6; color: var(--steel); }
.modal-body strong { color: var(--graphite); }

/* ---------- Утилиты отступов в hero/секциях ---------- */
.mt-6 { margin-top: 1.5rem; }
