/* ════════════════════════════════
   Компоненты, перенесённые 1:1 из home.html
   основного сайта судейской системы
   (hero / преимущества / фича-карточки / финальный CTA)
════════════════════════════════ */

/* ---- HERO — белый ---- */
.hero-wrap { background: var(--bg); border-bottom: 1px solid var(--border); overflow: visible; }
.hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 88px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  overflow: visible;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-bg); color: var(--accent-dk);
  font-size: 11px; font-weight: 700; letter-spacing: 0.8px;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-h1 {
  font-size: clamp(36px, 4vw, 60px); font-weight: 900;
  line-height: 1.04; letter-spacing: -2px; color: var(--text);
  margin-bottom: 20px;
}
.hero-h1 em { font-style: normal; color: var(--accent); }
.hero-desc { font-size: 16px; color: var(--text-2); line-height: 1.7; max-width: 460px; margin-bottom: 40px; }

/* Переключение слова в заголовке — перенесено 1:1 из home.html */
#hero-word { display: inline-block; transition: opacity 0.25s ease, transform 0.25s ease; }
@media (prefers-reduced-motion: reduce) {
  #hero-word { transition: none; }
}

/* ---- MARQUEE — бегущая строка (перенесено 1:1 из home.html) ---- */
.marquee-wrap { background: var(--bg); overflow: hidden; white-space: nowrap; padding: 22px 0; }
.marquee-track { display: inline-flex; animation: marqueeScroll 34s linear infinite; }
.marquee-seq { display: inline-flex; align-items: center; flex-shrink: 0; }
.marquee-seq span { font-size: 56px; font-weight: 900; letter-spacing: -2px; text-transform: uppercase; color: var(--border); padding: 0 22px; white-space: nowrap; }
.marquee-seq span.sep { font-size: 18px; color: #00aeee; font-weight: 700; padding: 0 4px; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- FLOOR LINE — акцентная линия-«разметка пола» между секциями ---- */
.floor-line { height: 8px; background: linear-gradient(to bottom, #124271 0 25%, #c60601 25% 50%, #ff9933 50% 75%, #00aeee 75% 100%); }

@media (max-width: 780px) {
  .marquee-seq span { font-size: 32px; padding: 0 14px; }
}
@media (max-width: 480px) {
  .marquee-seq span { font-size: 24px; }
}

.btn-dark {
  background: var(--text); color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 13px 24px; border-radius: 10px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-dark:hover { opacity: 0.8; transform: translateY(-1px); }
.btn-ghost {
  font-size: 14px; font-weight: 600; color: var(--text-2);
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
  transition: color 0.15s;
}
.btn-ghost:hover { color: var(--text); }

.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-visual img { max-width: 100%; height: auto; }

/* ---- Заголовки секций ---- */
.section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-h2 { font-size: clamp(28px, 3vw, 44px); font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 12px; }
.section-h2 em { font-style: normal; color: var(--accent); }
.section-desc { font-size: 15px; color: var(--text-2); line-height: 1.7; max-width: 480px; margin-bottom: 56px; }

/* ---- ADVANTAGES — белый, 3 карточки ---- */
.adv-wrap { background: var(--bg); }
.adv-inner { max-width: 1280px; margin: 0 auto; padding: 88px 40px; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.adv-sm {
  background: var(--bg-soft); border-radius: 18px; padding: 34px 28px;
  text-align: left; transition: box-shadow 0.2s, transform 0.2s;
}
.adv-sm:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.adv-sm h3 { font-size: 17px; font-weight: 800; margin-bottom: 9px; letter-spacing: -0.2px; color: var(--text); }
.adv-sm p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

.benefit-icon-chip {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--accent-bg); color: var(--accent-dk);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.benefit-icon-chip i { font-size: 24px; }

/* ---- FEATURE — тёмная карточка (перенесено из .adv-featured) ---- */
.feat-wrap { background: var(--bg); }
.feat-outer { max-width: 1280px; margin: 0 auto; padding: 0 40px 14px; }
.adv-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--dark); border-radius: 22px; overflow: hidden; margin-bottom: 14px;
  min-height: 560px;
}
/* картинка увеличена ступенчато (изначально 1fr/1fr → 1.25fr/1fr → ещё +20%) — не меняя высоту/ширину всего блока */
.adv-featured.adv-featured--wide-visual { grid-template-columns: 2fr 1fr; }
.feat-text { padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; }
.feat-tag { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.feat-text h3 { font-size: 28px; font-weight: 900; letter-spacing: -0.8px; line-height: 1.15; color: #fff; margin-bottom: 14px; }
.feat-text p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; }

.feat-visual {
  background: #13131e; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 32px;
}
.feat-visual::before {
  content: ''; position: absolute; inset: -20%;
  background: radial-gradient(ellipse at 50% 50%, rgba(85,184,240,0.22) 0%, rgba(85,184,240,0.08) 45%, transparent 72%);
  filter: blur(36px);
}
.feat-visual img {
  position: relative; z-index: 1;
  width: auto; height: auto;
  max-width: 100%; max-height: 496px;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.5));
}

/* ---- CTA FINAL — тёмный блок ---- */
.cta-wrap { background: var(--dark); }
.cta-inner {
  max-width: 1280px; margin: 0 auto; padding: 88px 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap;
  text-align: left;
}
.cta-inner h2 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 900; letter-spacing: -1px; line-height: 1.15; color: #fff; max-width: 440px; margin-bottom: 14px; }
.cta-inner h2 em { font-style: normal; color: var(--accent); }
.cta-inner p { color: rgba(255,255,255,0.5); font-size: 15px; line-height: 1.7; max-width: 420px; }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-white {
  background: #fff; color: var(--text); font-size: 14px; font-weight: 700;
  padding: 13px 26px; border-radius: 10px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: opacity 0.2s;
}
.btn-white:hover { opacity: 0.88; }
.btn-border {
  border: 1px solid rgba(255,255,255,0.18); color: #fff; font-size: 14px; font-weight: 600;
  padding: 13px 26px; border-radius: 10px; text-decoration: none; transition: border-color 0.2s;
}
.btn-border:hover { border-color: rgba(255,255,255,0.5); }

/* ---- Мобильная адаптация (как в home.html) ---- */
@media (max-width: 780px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 20px; }
  .hero-desc { max-width: none; }

  .adv-inner { padding: 48px 20px; }
  .adv-grid { grid-template-columns: 1fr; }
  .section-desc { max-width: none; }

  .adv-featured, .adv-featured.adv-featured--wide-visual { grid-template-columns: 1fr; min-height: 0; }
  .feat-outer { padding: 0 20px 14px; }
  .feat-text { padding: 32px 24px; }
  .feat-visual { padding: 24px; }

  .cta-inner { padding: 48px 20px; flex-direction: column; align-items: flex-start; }
}
