/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #C92A2A;
  --red-dark: #8f1d1d;
  --red-hover: #E24A4A;
  --ink: #14161A;
  --black: #1B1E23;
  --graphite: #23272E;
  --gray-dark: #44494F;
  --gray-mid: #6B7078;
  --gray-light: #F6F5F2;
  --white: #FFFFFF;
  --bg: #FBFAF8;
  --border: #E7E4DE;
  --ok-green: #4F8F6A;
  --shadow-sm: 0 6px 18px rgba(20,22,26,0.06);
  --shadow-md: 0 20px 50px rgba(20,22,26,0.10);
  --shadow-lg: 0 30px 80px rgba(20,22,26,0.18);
  --ease: cubic-bezier(0.22,1,0.36,1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
}
h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 16px; }
h3 { font-size: 20px; margin-bottom: 8px; }
h2.light, h3.light { color: var(--white); }
.accent { color: var(--red); font-style: italic; }

p { color: var(--gray-dark); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal-up { transform: translateY(32px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.is-visible, .reveal-left.is-visible, .reveal-right.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; } .delay-2 { transition-delay: .16s; } .delay-3 { transition-delay: .24s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px; font-size: 15px; font-weight: 700;
  white-space: nowrap; cursor: pointer; border: 2px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn--large { padding: 17px 32px; font-size: 16px; }
.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 10px 28px rgba(201,42,42,0.28); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--secondary:hover { border-color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--border); padding: 10px 20px; font-size: 14px; }
.btn--outline:hover { border-color: var(--red); color: var(--red); }

/* ===== HEADER ===== */
.header { position: sticky; top: 0; z-index: 100; background: rgba(251,250,248,0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header__inner { display: flex; align-items: center; gap: 32px; padding: 16px 0; }
.logo__img { height: 30px; width: auto; }
.nav { display: flex; gap: 26px; font-size: 14px; font-weight: 600; color: var(--gray-mid); margin-right: auto; }
.nav a:hover { color: var(--red); }
.header__contacts { display: flex; gap: 20px; font-size: 14px; font-weight: 600; color: var(--gray-dark); }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden; padding: 72px 0 90px;
  background:
    radial-gradient(ellipse 800px 520px at 88% 10%, rgba(201,42,42,0.20), transparent 60%),
    linear-gradient(165deg, #15171B 0%, #1D1418 55%, #211316 100%);
}
.hero__glow { position: absolute; top: -200px; right: -150px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(201,42,42,0.20), transparent 65%); pointer-events: none; }
.hero .eyebrow { background: rgba(255,255,255,0.08); color: #FF8686; }
.hero .dot { box-shadow: 0 0 0 5px rgba(255,255,255,0.1); }
.hero h1 { color: var(--white); }
.date-highlight { color: var(--red-hover); }
.hero .lead { color: #C9CED6; }
.hero .chip { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: #D7DAE0; box-shadow: none; }
.hero .btn--secondary { color: var(--white); border-color: rgba(255,255,255,0.24); }
.hero .btn--secondary:hover { border-color: var(--white); }
.hero .note { color: #9AA1AB; }
.hero .hero__mini-chips span { background: rgba(255,255,255,0.06); color: #B9BEC6; }

.hero__icons { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hicon { position: absolute; color: var(--red); animation: heroIconFloat 8s ease-in-out infinite; filter: drop-shadow(0 10px 24px rgba(201,42,42,0.12)); }
.hicon--1 { width: 140px; height: 140px; top: 8%; right: 6%; opacity: .14; animation-duration: 9s; }
.hicon--2 { width: 84px; height: 84px; top: 58%; right: 26%; opacity: .12; animation-duration: 7s; animation-delay: .5s; }
.hicon--3 { width: 100px; height: 100px; top: 4%; right: 34%; opacity: .1; animation-duration: 10s; animation-delay: 1.1s; }
@keyframes heroIconFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .hicon { animation: none; } }
@media (max-width: 1080px) { .hero__icons { display: none; } }

.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: #FDF0F0; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.eyebrow--light { background: rgba(255,255,255,0.1); color: #FF8686; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(201,42,42,0.14); }

.hero h1 { font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 22px; }
.lead { font-size: 19px; color: var(--gray-dark); max-width: 620px; margin-bottom: 26px; }

.date-note {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 10px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 600;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); color: #F0B4B4;
}

.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip { padding: 9px 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--gray-dark); box-shadow: var(--shadow-sm); }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.note { font-size: 13px; color: var(--gray-mid); margin-bottom: 20px; }

.hero__mini-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__mini-chips span { padding: 7px 12px; border-radius: 8px; background: var(--gray-light); font-size: 12px; color: var(--gray-mid); font-weight: 600; }

/* HERO VISUAL CARD */
.visual-card { position: relative; background: var(--white); border-radius: 24px; padding: 30px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }

.visual-card__when { display: flex; gap: 8px; margin-bottom: 18px; }
.visual-card__chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--gray-dark); background: var(--gray-light); padding: 7px 12px; border-radius: 20px; }
.visual-card__label { font-size: 13px; color: var(--gray-mid); margin-bottom: 10px; }

.countdown { display: flex; gap: 0; align-items: center; margin-bottom: 22px; }
.countdown__item { display: flex; flex-direction: column; align-items: center; min-width: 60px; }
.countdown__num { font-size: 36px; font-weight: 800; font-family: 'Fraunces', serif; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; transition: transform .15s var(--ease); }
.countdown__num.tick { animation: numTick .2s var(--ease); }
@keyframes numTick { 0% { transform: translateY(-6px); opacity: .5; } 100% { transform: translateY(0); opacity: 1; } }
.countdown__label { font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--gray-mid); margin-top: 4px; }
.countdown__sep { font-size: 28px; font-weight: 800; color: var(--red); padding: 0 6px; font-family: 'Fraunces', serif; }

.visual-card__cta { width: 100%; margin-bottom: 26px; }

.diagram-row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; margin-bottom: 18px; }
.diagram-box { min-height: 62px; border-radius: 12px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px; font-weight: 700; font-size: 13px; background: var(--gray-light); }
.diagram-box.hot { background: #FDF0F0; border-color: #F3C4C4; color: var(--red); }
.diagram-arrow { color: #B7BCC4; font-size: 18px; }
.legal-note { font-size: 12px; color: var(--gray-mid); line-height: 1.6; }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section--gray { background: var(--gray-light); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .sublead, .section--dark p { color: #B9BEC6; }

.sublead { font-size: 18px; color: var(--gray-mid); max-width: 720px; margin-bottom: 12px; }

/* GRIDS */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 20px; }

.pcard { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 30px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pcard.flat { box-shadow: none; }
.pcard__icon { font-size: 13px; font-weight: 800; color: var(--red); letter-spacing: 0.04em; margin-bottom: 14px; }
.pcard p { font-size: 14.5px; line-height: 1.55; }

.quote {
  margin-top: 40px; padding: 32px 38px; border-left: 4px solid var(--red);
  background: var(--ink); color: var(--white); border-radius: 0 20px 20px 0;
  font-family: 'Fraunces', serif; font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.01em;
}

/* REGION PANEL */
.region-panel { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
.region-panel__text { color: #C9CED6; font-size: 17px; margin: 20px 0 28px; max-width: 480px; }
.route { display: grid; gap: 12px; }
.route__step { background: var(--white); color: var(--ink); border: 1px solid var(--white); border-radius: 14px; padding: 18px 20px; font-weight: 700; font-size: 15px; }
.route__step--red { background: var(--red); color: var(--white); border-color: var(--red); }
.route__check { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-green); color: var(--white); font-size: 12px; font-weight: 900; margin-right: 4px; }
.route__arrow { text-align: center; color: #757b85; font-size: 18px; }

/* PROGRAM */
.program { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.program__item { display: flex; gap: 20px; padding: 26px; background: var(--white); border: 1px solid var(--border); border-radius: 18px; }
.program__item p { font-size: 14px; }
.num { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: 'Fraunces', serif; }

/* CHECKLIST */
.checklist { display: grid; gap: 12px; margin: 8px 0 24px; }
.check { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); font-size: 14.5px; cursor: default; transition: border-color .2s, background .2s; }
label.check { cursor: pointer; }
label.check:has(input:checked) { border-color: var(--ok-green); background: #F1F8F4; }
.check input[type="checkbox"] { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; accent-color: var(--ok-green); cursor: pointer; }
.check__ok { color: var(--ok-green); font-weight: 900; }
.check-cta-title { margin-top: 8px; margin-bottom: 10px; }
.check-cta-title + p { margin-bottom: 22px; }

/* SOLUTION GALLERY */
.solution-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.solution-gallery__item { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); background: var(--white); border: 1px solid var(--border); }
.solution-gallery__item img { width: 100%; height: 320px; object-fit: cover; display: block; }
.solution-gallery__item figcaption { padding: 14px 18px; font-size: 13.5px; font-weight: 600; color: var(--gray-dark); }

/* BONUS BANNER */
.bonus-banner { margin-top: 30px; padding: 22px 26px; background: #FDF0F0; border: 1px solid #F3C4C4; border-radius: 16px; font-size: 15px; color: var(--ink); }

/* SPEAKERS */
.speakers__title { text-align: center; }
.speakers__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 44px auto 0; max-width: 720px; }
.spk { background: var(--white); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.spk:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.spk__photo-wrap { width: 100%; aspect-ratio: 3/4; overflow: hidden; background: linear-gradient(160deg, #f0f0f0, #e0e0e0); position: relative; }
.spk__photo { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.spk__photo-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 900; color: var(--white); background: linear-gradient(135deg, var(--red), #7a1f1f); letter-spacing: 2px; }
.spk__body { padding: 22px 22px 26px; border-top: 3px solid var(--red); }
.spk__name { font-size: 19px; margin-bottom: 4px; }
.spk__role { color: var(--red); font-weight: 700; font-size: 13px; margin-bottom: 12px; font-family: 'Montserrat', sans-serif; }
.spk__stat { font-size: 13px; color: var(--gray-mid); line-height: 1.5; }

/* MODAL */
.modal { display: none; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(15,16,18,0.7); backdrop-filter: blur(4px); }
.modal__box { position: relative; max-width: 640px; width: 100%; max-height: 90vh; overflow-y: auto; animation: modalIn .25s cubic-bezier(0.22,1,0.36,1); }
.modal__box .form { box-shadow: none; }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 14px; right: 16px; z-index: 2; background: var(--gray-light); border: none; width: 34px; height: 34px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; color: var(--gray-mid); transition: color .15s, background .15s; }
.modal__close:hover { color: var(--red); background: #FDF0F0; }
.modal__sub { font-size: 14px; color: var(--gray-mid); margin-bottom: 20px; }

/* FINAL / FORM */
.final { background: linear-gradient(160deg, var(--ink) 0%, #241417 55%, #2a1518 100%); }
.final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.final h2 { margin-bottom: 18px; }
.final__text { color: #C9CED6; font-size: 17px; margin-bottom: 24px; max-width: 480px; }
.final__datetime { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 20px; }
.bonus-chip { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,0.1); padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--white); }

.final__card { background: var(--white); border-radius: 22px; padding: 40px; box-shadow: var(--shadow-lg); text-align: center; }
.final__card p { font-size: 15px; margin-bottom: 24px; }
.final__card-cta { width: 100%; }
.final__card-note { font-size: 12.5px; color: var(--gray-mid); margin: 14px 0 0; }

.form { background: var(--white); border-radius: 22px; padding: 34px; box-shadow: var(--shadow-lg); }
.form h3 { margin-bottom: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form__field.full { grid-column: 1 / -1; }
.form__field label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-dark); margin-bottom: 6px; }
.required { color: var(--red); }
.optional { color: var(--gray-mid); font-weight: 400; }
.form__field input {
  width: 100%; height: 50px; border: 1px solid var(--border); border-radius: 10px;
  padding: 0 14px; font-size: 14.5px; font-family: inherit; outline: none; transition: border-color .2s, box-shadow .2s;
}
.form__field input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(201,42,42,0.1); }
.form__field input.is-invalid {
  border-color: var(--red);
  background: #fff8f8;
  box-shadow: 0 0 0 3px rgba(201,42,42,0.1);
}
.form__error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--red);
  font-weight: 600;
}
.form__consent { margin: 16px 0 20px; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--gray-mid); cursor: pointer; }
.checkbox input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--red); }
.checkbox a { color: var(--red); text-decoration: underline; }
.checkbox.is-invalid { color: var(--red); }
.checkbox.is-invalid input { outline: 2px solid var(--red); outline-offset: 2px; }
.form__submit { width: 100%; }
.form__success { display: none; margin-top: 16px; padding: 14px 16px; background: #EEF6F1; border: 1px solid #CBE3D4; border-radius: 12px; color: #2F6A45; font-size: 14px; font-weight: 600; text-align: center; }
.form__success.visible { display: block; }
.form__warning {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  background: #FFF5F5;
  border: 1px solid #F0C2C2;
  border-radius: 12px;
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.form__warning.visible { display: block; }

/* FOOTER */
.footer { background: var(--ink); color: #9AA1AB; padding-top: 56px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__logo { height: 26px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer__requisites { font-size: 13px; line-height: 1.8; color: #8A919D; }
.footer__heading { color: var(--white); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.footer__col a { display: block; font-size: 14px; color: #9AA1AB; margin-bottom: 8px; transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid #2A2D33; padding: 18px 0; font-size: 13px; color: #6B7078; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .hero__grid, .region-panel, .final-grid { grid-template-columns: 1fr; }
  .grid-3, .speakers__grid { grid-template-columns: repeat(2, 1fr); }
  .program { grid-template-columns: 1fr; }
  .nav { display: none; }
}

@media (max-width: 760px) {
  .header__contacts { display: none; }
  .section { padding: 64px 0; }
  .grid-3, .grid-2, .speakers__grid, .footer__inner, .solution-gallery { grid-template-columns: 1fr; }
  .region-panel, .final-grid { gap: 32px; }
  .diagram-row { grid-template-columns: 1fr; }
  .diagram-arrow { transform: rotate(90deg); text-align: center; }
  .hero { padding: 48px 0 60px; }
  .hero__actions .btn { width: 100%; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 26px 22px; }
}
