/* ===========================================================
   Фаворит Экспресс — промо-лендинг «Встреча 23 июля»
   Фирменный стиль: Unbounded + Manrope, красный #e3000f
   =========================================================== */

/* --- Reset --- */
*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, button { font-family: inherit; }
ul { list-style: none; }

/* --- Tokens --- */
:root {
  --red:        #e3000f;
  --red-bright: #fe3543;
  --red-dark:   #b00009;
  --ink:        #050009;
  --ink-2:      #282828;
  --gray:       #8d8d8d;
  --line:       #e4e4e4;
  --bg:         #ffffff;
  --bg-soft:    #f5f5f5;
  --bg-soft-2:  #fbfbfb;
  --green:      #32b782;

  --maxw: 1180px;
  --radius:    20px;
  --radius-sm: 14px;
  --radius-lg: 28px;
  --shadow:    0 18px 50px rgba(5, 0, 9, 0.10);
  --shadow-sm: 0 6px 20px rgba(5, 0, 9, 0.07);

  --f-display: 'Unbounded', system-ui, sans-serif;
  --f-text:    'Manrope', system-ui, -apple-system, sans-serif;
}

/* --- Base --- */
body {
  font-family: var(--f-text);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.accent { color: var(--red); }
.nowrap { white-space: nowrap; }

/* --- Section rhythm --- */
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft-2); }
.section--tight { padding: 60px 0; }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(227, 0, 15, 0.07);
  padding: 8px 15px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
}

h2 { font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: 20px; }

.section-head p {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 18px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 17px 30px;
  border-radius: 100px;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 26px rgba(227, 0, 15, 0.32);
}
.btn--primary:hover { background: var(--red-bright); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}
.btn--light:hover { background: rgba(255, 255, 255, 0.2); }
.btn--lg { padding: 19px 38px; font-size: 17px; }
.btn--block { width: 100%; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.header__logo img { height: 38px; width: auto; }
.header__right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header__phone {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  transition: color .2s ease;
}
.header__phone:hover { color: var(--red); }
.header__phone span { color: var(--gray); font-family: var(--f-text); font-weight: 600; font-size: 12px; display: block; letter-spacing: .04em; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(227, 0, 15, 0.5), transparent 60%),
    linear-gradient(160deg, rgba(20, 6, 10, 0.86) 0%, rgba(5, 0, 9, 0.9) 55%, rgba(12, 2, 7, 0.92) 100%),
    url("../img/hero-forest.jpg") center 30% / cover no-repeat;
  background-color: #0a0307;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 70% 20%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: 86px 0 96px;
  max-width: 880px;
}
.hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.hero .eyebrow::before { background: var(--red-bright); }
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.05;
}
.hero h1 .accent { color: var(--red-bright); }
.hero__lead {
  margin-top: 24px;
  font-size: clamp(18px, 2.4vw, 22px);
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  font-weight: 500;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 13px 20px;
}
.hero__chip b {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  display: block;
  line-height: 1.1;
}
.hero__chip span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: .03em;
}
.hero__chip .ico { color: var(--red-bright); flex-shrink: 0; }
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
}
.hero__note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

/* =========================================================
   Intro / what is happening
   ========================================================= */
.lead-block {
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 600;
  font-family: var(--f-text);
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 880px;
}
.lead-block .accent { color: var(--red); }
.lead-block + p { margin-top: 22px; color: var(--ink-2); max-width: 760px; font-size: 18px; }

/* =========================================================
   Image band (брендовая полоса с фото грузовика)
   ========================================================= */
.imgband {
  position: relative;
  background: url("../img/truck-band.jpg") right bottom / cover no-repeat;
  background-color: #eef0ef;
  overflow: hidden;
}
.imgband::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.88) 38%,
    rgba(255, 255, 255, 0.45) 62%,
    rgba(255, 255, 255, 0) 84%);
}
.imgband__inner {
  position: relative;
  z-index: 2;
  padding: 96px 0;
  max-width: 600px;
}
.imgband h2 { margin-bottom: 16px; }
.imgband p { color: var(--ink-2); font-size: 18px; }
.imgband__stat {
  display: flex;
  gap: 32px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.imgband__stat b {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--red);
  display: block;
  line-height: 1;
}
.imgband__stat span { font-size: 14px; color: var(--gray); }

/* =========================================================
   Cards grid (кого коснётся / для кого)
   ========================================================= */
.grid {
  display: grid;
  gap: 18px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.card__ico {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(227, 0, 15, 0.08);
  color: var(--red);
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 16px; }

/* Pills list (affected audience) */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 13px 22px;
  font-weight: 600;
  font-size: 16px;
  transition: border-color .2s ease, transform .2s ease, color .2s ease;
}
.pill::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.pill:hover { border-color: var(--red); transform: translateY(-2px); }

/* =========================================================
   Checklist (что меняется / о чём расскажем)
   ========================================================= */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 17px;
  font-weight: 500;
  padding: 4px 0;
}
.checklist li .tick {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
  display: grid; place-items: center;
  margin-top: 1px;
}
.checklist--soft li .tick { background: rgba(227, 0, 15, 0.1); color: var(--red); }

/* =========================================================
   Warning callout
   ========================================================= */
.callout {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(227, 0, 15, 0.06), rgba(254, 53, 67, 0.03));
  border: 1px solid rgba(227, 0, 15, 0.2);
  border-radius: var(--radius);
  padding: 32px 34px;
}
.callout__ico {
  flex-shrink: 0;
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--red);
  color: #fff;
  display: grid; place-items: center;
}
.callout h3 { margin-bottom: 6px; font-size: 22px; }
.callout p { color: var(--ink-2); font-size: 17px; }

/* =========================================================
   Format split (лекция / нетворкинг)
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.format-card {
  position: relative;
  border-radius: var(--radius);
  padding: 36px 34px;
  overflow: hidden;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.format-card--dark {
  background: linear-gradient(160deg, #14060a, #050009);
  color: #fff;
}
.format-card--red {
  background: linear-gradient(150deg, var(--red), var(--red-dark));
  color: #fff;
}
.format-card__step {
  position: absolute;
  top: 26px; left: 34px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 15px;
  opacity: .55;
  letter-spacing: .06em;
}
.format-card h3 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.format-card p { color: rgba(255, 255, 255, 0.82); font-size: 16px; }
.format-note {
  margin-top: 26px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}
.format-note .accent { color: var(--red); }

/* =========================================================
   Details (дата / место / участие)
   ========================================================= */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.fact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.fact__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}
.fact__value {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 8px;
}
.fact p { font-size: 15px; color: var(--ink-2); }

/* =========================================================
   Registration form
   ========================================================= */
.reg {
  background:
    radial-gradient(900px 480px at 85% -20%, rgba(227, 0, 15, 0.5), transparent 60%),
    linear-gradient(160deg, #14060a 0%, #050009 60%);
  color: #fff;
}
.reg__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.reg h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); }
.reg__sub { margin-top: 18px; color: rgba(255, 255, 255, 0.78); font-size: 18px; max-width: 460px; }
.reg__limit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  background: rgba(254, 53, 67, 0.15);
  border: 1px solid rgba(254, 53, 67, 0.3);
  color: #fff;
  padding: 11px 18px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
}

.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow);
}
.form-card h3 { color: var(--ink); font-size: 22px; margin-bottom: 6px; }
.form-card__hint { color: var(--gray); font-size: 15px; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 7px;
}
.field input {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg-soft-2);
  transition: border-color .2s ease, background .2s ease;
}
.field input::placeholder { color: #b3b3b3; }
.field input:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
}
.field input.invalid { border-color: var(--red); background: rgba(227, 0, 15, 0.04); }
.field__error {
  display: none;
  color: var(--red);
  font-size: 13px;
  margin-top: 6px;
  font-weight: 600;
}
.field.has-error .field__error { display: block; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 22px;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.45;
}
.form-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--red); flex-shrink: 0; }
.form-consent a { color: var(--ink-2); text-decoration: underline; }

.form-success {
  display: none;
  text-align: center;
  padding: 14px 0;
}
.form-success.show { display: block; }
.form-success .ok {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(50, 183, 130, 0.12);
  color: var(--green);
  display: grid; place-items: center;
}
.form-success h3 { color: var(--ink); margin-bottom: 8px; }
.form-success p { color: var(--ink-2); font-size: 16px; }
.is-submitted .form-fields { display: none; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: #050009;
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 36px;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__logo img { height: 36px; filter: brightness(0) invert(1); opacity: .92; }
.footer__contacts { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.footer__phone {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 20px;
  color: #fff;
}
.footer__link { color: rgba(255, 255, 255, 0.7); font-weight: 600; transition: color .2s ease; }
.footer__link:hover { color: var(--red-bright); }
.footer__bottom {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Mobile menu button (hidden on desktop)
   ========================================================= */
.burger { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .reg__grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 860px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .imgband { background-position: 72% bottom; }
  .imgband::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.9) 55%, rgba(255, 255, 255, 0.82) 100%);
  }
  .imgband__inner { max-width: 100%; padding: 64px 0; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .checklist { grid-template-columns: 1fr; }
  .header__phone span { display: none; }
  .header__phone { font-size: 15px; }
  .header__right { gap: 14px; }
  .btn--lg { padding: 16px 26px; font-size: 16px; }
  .hero__inner { padding: 64px 0 72px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .callout { flex-direction: column; gap: 16px; padding: 26px 22px; }
  .header__nav-phone-label { display: none; }
}
