/* =========================================================================
   FUTÚRA 2026 — 2-й Московский подологический Форум.
   Светлая профессиональная тема по фирменной листовке:
   петролево-бирюзовый акцент на белом, плашки-секции, золото для VIP.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800;900&family=Jost:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #ffffff;
  --alt: #f2f8f7;          /* мягкий бирюзовый фон секций */
  --tint: #e7f2f1;         /* заливка карточек/чипов */
  --tint-line: #cfe4e1;
  --ink: #14312f;          /* основной текст, тёмный петроль */
  --ink-soft: #2c4442;
  --muted: #5c6f6d;
  --line: #dde7e5;
  --line-strong: #14312f;

  --primary: #0e7b78;      /* петролево-бирюзовый */
  --primary-dark: #0a5b59;
  --primary-deep: #083f3e;
  --primary-050: #eef6f5;

  --gold: #b0862a;         /* VIP-акцент */
  --gold-dark: #8a681d;
  --gold-050: #f7f1e2;

  --danger: #b3261e;

  --wrap: 1120px;
  --measure: 68ch;
  --r: 14px;
  --r-lg: 20px;
  --shadow: 0 12px 34px rgba(20, 49, 47, .10);
  --shadow-sm: 0 6px 18px rgba(20, 49, 47, .07);

  --sans: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  --geo: 'Jost', 'Golos Text', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(14, 123, 120, .18); color: var(--primary-deep); }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.prose { max-width: var(--measure); }
.muted { color: var(--muted); }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---- Кнопки --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; font-size: 1rem; font-weight: 700; letter-spacing: -0.01em;
  color: #fff; background: var(--primary); border: 1px solid var(--primary);
  border-radius: 10px; box-shadow: var(--shadow-sm);
  transition: background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 16px 32px; font-size: 1.06rem; }
.btn--line { background: transparent; color: var(--primary-deep); border-color: var(--line-strong); box-shadow: none; }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn::after { content: "→"; font-weight: 500; transition: transform .16s ease; }
.btn:hover::after { transform: translateX(4px); }
.btn--plain::after { content: none; }

/* ---- Верхняя строка-кикер (тематические слова) --------------------------- */
.topbar { background: var(--primary-deep); color: #cfe7e5; }
.topbar-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 30px; padding: 9px 24px; }
.topbar-row span { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.topbar-row span::before { content: "◦"; margin-right: 30px; color: var(--primary); }
.topbar-row span:first-child::before { content: none; }

/* ---- Шапка / логотип-локап ------------------------------------------------ */
.site-header { background: var(--bg); border-top: 3px solid var(--primary); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 24px 20px; }

.brand { display: inline-flex; align-items: center; gap: 18px; }
.brand-lockup {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--geo); font-weight: 600; color: var(--ink);
  line-height: 1;
}
.brand-br { font-size: 3.2rem; font-weight: 400; color: var(--ink); line-height: .9; }
.brand-name { position: relative; font-size: 2.55rem; font-weight: 700; letter-spacing: .04em; padding-top: .18em; }
.brand-year {
  position: absolute; top: -.15em; left: .06em;
  font-size: .3em; font-weight: 600; letter-spacing: .12em; color: var(--primary);
}
.brand-tag {
  padding-left: 16px; border-left: 2px solid var(--tint-line);
  font-family: var(--geo); font-weight: 700; font-size: .84rem; line-height: 1.18;
  letter-spacing: .04em; text-transform: uppercase; color: var(--primary);
}
.brand:hover .brand-name { color: var(--primary); transition: color .18s ease; }
.masthead-meta { text-align: right; font-size: .86rem; font-weight: 600; color: var(--muted); line-height: 1.5; }
.masthead-meta b { color: var(--ink); font-weight: 800; }

/* ---- Навигация (липкая) --------------------------------------------------- */
.navbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line);
}
.masthead-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px; padding: 8px 24px; }
.masthead-nav a {
  padding: 9px 18px; color: var(--muted); font-size: .98rem; font-weight: 600; white-space: nowrap;
  border-radius: 8px; transition: color .15s ease, background .15s ease;
}
.masthead-nav a:hover { color: var(--ink); background: var(--tint); }
.masthead-nav a.active { color: #fff; background: var(--primary); }

/* ---- Плашка-ярлык секции (как в листовке) --------------------------------- */
.seclabel {
  display: inline-flex; align-items: center; position: relative;
  background: var(--primary); color: #fff;
  font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 30px 9px 16px; margin-bottom: 20px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.seclabel--gold { background: var(--gold); }

/* ---- Заголовок внутренней страницы ---------------------------------------- */
.page-hero { position: relative; padding: 46px 0 34px; background: var(--alt); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(closest-side, rgba(14, 123, 120, .10), transparent); pointer-events: none;
}
.page-hero h1 { position: relative; font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -0.02em; }
.page-hero h1::after { content: ""; display: block; width: 64px; height: 5px; border-radius: 999px; background: var(--primary); margin-top: 18px; }
.page-hero .page-sub { position: relative; margin-top: 16px; color: var(--muted); font-size: 1.1rem; max-width: var(--measure); }

.divider { height: 0; border: 0; border-top: 1px solid var(--line-strong); }
.rule { height: 0; border: 0; border-top: 1px solid var(--line); }

/* ---- Фотогерой (главная) -------------------------------------------------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--primary-deep); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 63, 62, .93) 0%, rgba(10, 91, 89, .82) 46%, rgba(8, 63, 62, .55) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 68px 0 62px; }
.hero .kicker { font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #7fded8; }
.hero h1 { margin-top: 16px; font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; max-width: 20ch; }
.hero h1 b { color: #7fded8; font-weight: 800; }
.hero-sub { margin-top: 18px; font-size: 1.2rem; font-weight: 500; color: #d7ebe9; max-width: 46ch; }
.hero-date {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 9px 18px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
  font-size: .92rem; font-weight: 700; letter-spacing: .02em;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero .btn { background: #fff; color: var(--primary-deep); border-color: #fff; }
.hero .btn:hover { background: var(--tint); border-color: var(--tint); }
.hero .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); box-shadow: none; }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ---- Факты (когда / время / где) ------------------------------------------ */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 30px; }
.facts > div { background: var(--tint); border: 1px solid var(--tint-line); border-radius: var(--r); padding: 20px 22px; }
.fact-k { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 9px; }
.fact-v { font-size: 1.06rem; font-weight: 600; }
.facts + .btn { margin-bottom: 8px; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; gap: 12px; } }

/* ---- «Что Вас ждёт» — верхняя лента (превью галереи) ---------------------- */
.more-link { display: inline-block; margin-top: 20px; color: var(--primary); font-weight: 700; }
.more-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---- Секции --------------------------------------------------------------- */
.section { padding: 52px 0; }
.section--alt { background: var(--alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2, .block h2 {
  position: relative; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em;
  padding-bottom: 12px; border-bottom: 2px solid var(--primary); margin-bottom: 24px;
}
.section h2:not(:first-child) { margin-top: 52px; }
.lead { font-size: 1.22rem; color: var(--ink-soft); margin-bottom: 30px; max-width: var(--measure); }
.note-band {
  display: block; background: var(--primary); color: #fff; text-align: center;
  font-weight: 700; letter-spacing: .02em; padding: 13px 20px; border-radius: 10px; margin: 6px 0 34px;
}

/* ---- «Что» — нумерованные тезисы ------------------------------------------ */
.statements { counter-reset: s; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.statements li {
  counter-increment: s; position: relative;
  background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--primary);
  border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.statements li::before {
  content: counter(s, decimal-leading-zero); display: block; margin-bottom: 10px;
  font-family: var(--geo); font-size: 1.1rem; font-weight: 700; color: var(--primary);
}
@media (max-width: 640px) { .statements { grid-template-columns: 1fr; gap: 12px; } }

/* ---- «Что Вас ждёт» — индекс ---------------------------------------------- */
.index-list { counter-reset: idx; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.index-list li {
  counter-increment: idx; display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: center;
  background: var(--tint); border: 1px solid var(--tint-line); border-radius: var(--r);
  padding: 15px 18px; font-weight: 600;
}
.index-list li::before {
  content: counter(idx, decimal-leading-zero);
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  background: var(--primary); color: #fff; border-radius: 50%; font-size: .76rem; font-weight: 800;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) { .index-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .index-list { grid-template-columns: 1fr; } }

/* ---- «Для кого» ----------------------------------------------------------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.audience > div {
  position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px 26px; box-shadow: var(--shadow-sm);
}
.audience > div::before { content: ""; position: absolute; left: 24px; top: 0; width: 40px; height: 4px; background: var(--primary); border-radius: 0 0 3px 3px; }
.audience h3 { font-size: 1.12rem; margin: 8px 0 10px; color: var(--primary-deep); }
.audience p { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr; } }

/* ---- Программа ------------------------------------------------------------ */
.block { padding: 0; margin-bottom: 44px; }
.block .speakers-line {
  margin: 0 0 20px; padding: 14px 18px; background: var(--tint); border: 1px solid var(--tint-line);
  border-radius: var(--r); font-size: .98rem;
}
.block .speakers-line b { color: var(--primary-deep); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .82rem; }
.block-sub { color: var(--muted); font-size: .95rem; margin: -14px 0 20px; }
.block-body { display: grid; grid-template-columns: 1.7fr 1fr; gap: 44px; align-items: start; }
.topics { counter-reset: t; }
.topics li { counter-increment: t; display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.topics li:last-child { border-bottom: 0; }
.topics li::before { content: counter(t, decimal-leading-zero); font-family: var(--geo); font-weight: 700; font-size: .95rem; color: var(--primary); font-variant-numeric: tabular-nums; padding-top: 2px; }
.goal {
  position: sticky; top: 92px; background: var(--primary-050); border: 1px solid var(--tint-line);
  border-left: 4px solid var(--primary); border-radius: var(--r); padding: 20px 22px; color: var(--ink-soft);
}
.goal .goal-label { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
@media (max-width: 760px) { .block-body { grid-template-columns: 1fr; gap: 22px; } .goal { position: static; } }

/* ---- Спикеры -------------------------------------------------------------- */
.sp-group { margin-bottom: 42px; }
.sp-group h2 { font-size: 1.15rem; font-weight: 800; padding-bottom: 12px; border-bottom: 2px solid var(--primary); margin-bottom: 22px; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.sp-card {
  display: flex; align-items: center; gap: 14px; padding: 13px 15px; width: 100%; text-align: left;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.sp-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.sp-avatar {
  width: 50px; height: 50px; flex: none; border-radius: 50%;
  background: var(--tint); color: var(--primary-deep); border: 1px solid var(--tint-line);
  display: flex; align-items: center; justify-content: center; font-size: .95rem; font-weight: 800; overflow: hidden;
}
.sp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sp-card .sp-name { font-weight: 600; font-size: 1rem; line-height: 1.28; }
.sp-flag { display: inline-block; margin-left: 6px; font-size: .8rem; color: var(--muted); font-weight: 600; }

/* ---- Окно спикера --------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 80; display: none; }
.modal.open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 40, 39, .5); }
.modal__box {
  position: relative; z-index: 1; background: var(--bg); max-width: 460px; width: calc(100% - 32px);
  margin: 12vh auto 0; border: 1px solid var(--line-strong); border-radius: var(--r-lg); padding: 34px;
  box-shadow: 0 30px 80px rgba(8, 40, 39, .3); animation: modal-in .22s ease both;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--muted); font-size: 1.05rem; transition: color .15s ease, border-color .15s ease; }
.modal__close:hover { color: var(--ink); border-color: var(--primary); }
.modal__avatar { width: 100px; height: 100px; margin-bottom: 20px; border-radius: 50%; background: var(--tint); color: var(--primary-deep); border: 1px solid var(--tint-line); display: flex; align-items: center; justify-content: center; font-size: 1.9rem; font-weight: 800; overflow: hidden; }
.modal__avatar img { width: 100%; height: 100%; object-fit: cover; }
.modal__name { font-size: 1.5rem; font-weight: 800; }
.modal__block { color: var(--primary); margin-top: 8px; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 800; }
.modal__bio { margin-top: 16px; color: var(--muted); }

/* ---- Стоимость ------------------------------------------------------------ */
.ticket { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 30px 32px; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.ticket--vip { border-color: var(--gold); box-shadow: 0 14px 40px rgba(176, 134, 42, .14); }
.ticket-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 6px; }
.ticket-price { font-family: var(--geo); font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 800; color: var(--primary-deep); line-height: 1; }
.ticket--vip .ticket-price { color: var(--gold-dark); }
.ticket-old { font-size: .98rem; color: var(--muted); }
.ticket-note { color: var(--muted); margin-bottom: 20px; }
.ticket h3 { font-size: .84rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 44px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 6px; height: 3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.ticket--vip .checklist li::before { background: var(--gold); }
.commercial { background: var(--alt); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.commercial h3 { color: var(--primary-deep); font-size: 1.05rem; margin-bottom: 10px; }
.commercial p { color: var(--muted); }
@media (max-width: 640px) { .checklist { grid-template-columns: 1fr; } }

/* ---- Галерея «Как это было» ----------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 12px; grid-auto-flow: dense; }
.gallery a { position: relative; overflow: hidden; border-radius: var(--r); background: var(--tint); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.06); }
.gallery a.wide { grid-column: span 2; }
.gallery a.tall { grid-row: span 2; }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; } .gallery a.wide { grid-column: span 2; } .gallery a.tall { grid-row: span 1; } }

/* ---- Контакты / Партнёры -------------------------------------------------- */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.contacts-grid > div { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 28px 30px; box-shadow: var(--shadow-sm); }
.contacts-grid .org p { margin-bottom: 6px; color: var(--muted); }
.contacts-grid .phone { display: block; margin-top: 8px; font-family: var(--geo); font-size: 1.4rem; font-weight: 700; color: var(--primary-deep); }
.contacts-grid .phone:hover { color: var(--primary); }
.contacts-grid .site-link { display: inline-block; margin-top: 14px; color: var(--primary); font-weight: 700; }
.contacts-grid .site-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.contacts-grid .note { color: var(--muted); }
@media (max-width: 700px) { .contacts-grid { grid-template-columns: 1fr; gap: 14px; } }

/* ---- Форма ---------------------------------------------------------------- */
.form { max-width: 620px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 32px 34px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: .92rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field .req { color: var(--danger); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"] {
  width: 100%; height: 52px; padding: 0 15px; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: #8a9a98; }
.field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14, 123, 120, .15); }
.field.error input { border-color: var(--danger); }
.field__err { display: none; color: var(--danger); font-size: .85rem; margin-top: 7px; font-weight: 400; }
.field.error .field__err { display: block; }

.methods { display: flex; flex-wrap: wrap; gap: 8px; }
.methods label { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 17px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--ink-soft); margin: 0; font-size: .95rem; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.methods label:hover { border-color: var(--primary); color: var(--primary-deep); }
.methods input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.methods label:has(input:checked) { background: var(--primary); color: #fff; border-color: var(--primary); }
.methods label:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.m-ic { width: 18px; height: 18px; flex: none; }

.honeypot { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form > .btn { margin-top: 8px; }

.form-done { display: none; max-width: 620px; padding: 30px 32px; background: var(--primary-050); border: 1px solid var(--tint-line); border-left: 4px solid var(--primary); border-radius: var(--r-lg); }
.form-done.show { display: block; }
.form-done h2 { margin-bottom: 10px; padding-bottom: 0; border-bottom: 0; }
.form-done p { color: var(--muted); }

/* ---- Полоса «Купить билет» ------------------------------------------------ */
.buy-band { background: var(--primary); padding: 56px 0; text-align: center; }
.buy-band .btn { background: #fff; color: var(--primary-deep); border-color: #fff; }
.buy-band .btn:hover { background: var(--tint); border-color: var(--tint); }
.buy-band .row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.buy-band p { font-size: 1.28rem; font-weight: 700; color: #fff; }

/* ---- Плавающая кнопка «Купить билет» -------------------------------------- */
.buy-fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 70;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px;
  background: var(--primary); color: #fff; font-weight: 700; font-size: .95rem;
  border: 1px solid var(--primary); border-radius: 999px; box-shadow: 0 10px 26px rgba(14, 123, 120, .34);
  transition: background .16s ease, transform .16s ease;
}
.buy-fab::after { content: "→"; font-weight: 500; }
.buy-fab:hover { background: var(--primary-dark); transform: translateY(-2px); }
.buy-fab:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.hint { font-weight: 400; color: var(--muted); font-size: .9rem; }

/* ---- Международный телефон (intl-tel-input) ------------------------------- */
.field .iti { width: 100%; display: block; }
.field .iti input[type="tel"] { padding-left: 52px; }
.iti__country-list { background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 20px 50px rgba(8, 40, 39, .22); font-size: .95rem; }
.iti__country.iti__highlight { background: var(--tint); }
.iti__selected-flag { border-radius: 10px 0 0 10px; }

/* ---- Подвал --------------------------------------------------------------- */
.site-footer { background: var(--primary-deep); color: #cfe4e2; padding: 40px 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; font-weight: 800; }
.footer-grid p, .footer-grid a { color: #b9d4d1; font-size: .95rem; display: block; margin-bottom: 5px; }
.footer-grid a:hover { color: #fff; }
.footer-brand .brand-lockup { color: #fff; }
.footer-brand .brand-br, .footer-brand .brand-name { color: #fff; }
.footer-brand .brand-year { color: #7fded8; }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #9cbfbc; font-size: .9rem; }
.footer-bottom a { color: #fff; font-weight: 700; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #b9d4d1; font-size: .95rem; }
.site-footer .footer-row a { color: #fff; font-weight: 700; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 22px; } }

/* ---- Появление при прокрутке ---------------------------------------------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .statements li, .index-list li, .audience > div, .sp-card, .facts > div, .gallery a {
      animation: rise-in both; animation-timeline: view(); animation-range: entry 0% entry 40%;
    }
  }
}
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---- Адаптив -------------------------------------------------------------- */
@media (max-width: 860px) {
  .masthead { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 24px; }
  .masthead-meta { text-align: left; }
  .brand-name { font-size: 2.1rem; } .brand-br { font-size: 2.7rem; }
  .masthead-nav { gap: 2px; padding: 7px 12px; }
  .masthead-nav a { padding: 8px 13px; font-size: .92rem; }
  .topbar-row { gap: 4px 18px; }
  .topbar-row span::before, .topbar-row span:first-child::before { content: none; }
}
@media (max-width: 560px) {
  .form { padding: 24px 18px 26px; }
  .form-row { grid-template-columns: 1fr; }
  .buy-band .row { flex-direction: column; align-items: flex-start; }
  .brand-tag { font-size: .78rem; }
  .buy-fab { bottom: 14px; right: 14px; padding: 10px 16px; font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
