:root {
    --bg: #000000;
    --bg-2: #0B0B11;
    --surface: rgba(255,255,255,0.025);
    --surface-2: rgba(255,255,255,0.045);
    --border: rgba(255,255,255,0.08);
    --border-strong: rgba(255,255,255,0.16);
    --text: #F5F5F2;
    --text-dim: rgba(245,245,242,0.62);
    --text-mute: rgba(245,245,242,0.42);
    --cyan: #6BE7F5;
    --cyan-2: #38C8DA;
    --violet: #7657FF;
    --ultraviolet: #5C37FF;
    --magenta: #FF4FCB;
    --red: #FF4057;
    --amber: #FFB454;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --gutter: clamp(20px, 4vw, 56px);
    --container: 1280px;
    --section-pad: clamp(56px, 8vw, 104px);
    --ease: cubic-bezier(.22,.61,.36,1);
    --ease-out: cubic-bezier(.16,1,.3,1);
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: -0.005em;
    overflow-x: hidden;
    font-feature-settings: 'ss01' on, 'cv11' on;
}
::selection { background: var(--cyan); color: #000; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img, svg { display: block; max-width: 100%; }
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    position: relative;
}

/* ============== ATMOSPHERE LAYERS ============== */
.bg-base {
    position: fixed; inset: 0;
    z-index: -3;
    background:
        radial-gradient(1100px 700px at 80% -10%, rgba(118,87,255,0.32), transparent 60%),
        radial-gradient(900px 600px at -10% 30%, rgba(107,231,245,0.10), transparent 60%),
        radial-gradient(700px 500px at 60% 110%, rgba(255,79,203,0.10), transparent 70%),
        var(--bg);
}
.bg-grain {
    position: fixed; inset: 0;
    z-index: -2;
    pointer-events: none;
    display: none;
}
.bg-grid {
    position: fixed; inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
}

/* watermark — крупные полупрозрачные слова на фоне секций */
.watermark {
    position: absolute;
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(245,245,242,0.05);
    letter-spacing: -0.02em;
    line-height: 0.85;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

/* ============== HEADER ============== */
.site-header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1200px;
    z-index: 50;
    padding: 10px 14px 10px 20px;
    background: rgba(11,11,17,0.86);
    border: 1px solid var(--border);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.is-scrolled {
    background: rgba(6,6,8,0.78);
    border-color: var(--border-strong);
}
.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.header-brand .live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 8px var(--red), 0 0 14px rgba(255,64,87,0.6);
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.header-nav a {
    font-size: 13px;
    color: var(--text-dim);
    padding: 8px 14px;
    border-radius: 999px;
    transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.header-nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--cyan);
    color: #000;
    font-weight: 600;
    font-size: 13px;
    border-radius: 999px;
    letter-spacing: 0.01em;
    transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease);
    box-shadow: 0 0 0 rgba(107,231,245,0);
}
.header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(107,231,245,0.35);
}
.header-cta svg { transition: transform 0.3s var(--ease); }
.header-cta:hover svg { transform: translateX(3px); }
.menu-toggle { display: none; }
.mobile-drawer { display: none; }

/* ============== HERO ============== */
.hero {
    position: relative;
    min-height: 100svh;
    padding: 120px 0 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: center;
    /* Глубокий чёрный — чтобы тёмные края фото в hero растворялись бесшовно */
    background: #000;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(18px, 2.4vw, 26px);
}
.hero-logos {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 8px 22px;
    background: rgba(15,15,23,0.82);
    border: 1px solid var(--border);
    border-radius: 999px;
    margin-bottom: clamp(28px, 4vw, 44px);
}
.hero-logos .logo-block {
    display: flex;
    align-items: center;
    line-height: 1;
}
.hero-logos .logo-block img {
    display: block;
    max-width: 100%;
}
.hero-logos .logo-x {
    position: relative;
    width: 14px; height: 1px;
    background: var(--border-strong);
    flex-shrink: 0;
}
.hero-logos .logo-x::before,
.hero-logos .logo-x::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px rgba(107,231,245,0.7);
    transform: translateY(-50%);
}
.hero-logos .logo-x::before { left: -6px; }
.hero-logos .logo-x::after { right: -6px; }
.hero-logos .fund-mark {
    display: flex; align-items: center;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3.4px;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: clamp(20px, 3vw, 28px);
}
.hero-label .kicker-bar {
    width: 28px; height: 1px;
    background: var(--border-strong);
    flex-shrink: 0;
}
.hero-label .kicker-live {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--red);
}
.hero-label .kicker-live::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 8px var(--red), 0 0 14px rgba(255,64,87,0.55);
}
.hero-label .kicker-dot { opacity: 0.5; }

/* Неоновый заголовок hero — вывеска в стиле tpl_header_new */
.hero h1.hero-neon {
    --neon: var(--cyan);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(52px, 10vw, 150px);
    font-weight: 800;
    line-height: 0.94;
    letter-spacing: -0.01em;
    margin: 0;
    text-transform: uppercase;
    text-wrap: balance;
}
.hero-neon .neon-line-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.6vw, 28px);
    flex-wrap: wrap;
}
.hero-neon .neon-line-2 {
    display: block;
    margin-top: clamp(2px, 0.5vw, 10px);
}
.hero-neon .neon-word {
    display: inline-block;
    color: #fff;
    text-shadow:
        0 0 4px #fff,
        0 0 11px var(--neon),
        0 0 22px var(--neon),
        0 0 44px rgba(107,231,245,0.6),
        0 0 86px rgba(118,87,255,0.42);
    animation: neon-flicker 6s infinite steps(1, end);
}
.hero-neon .neon-line-2 .neon-word,
.hero-neon .neon-line-2 { animation-delay: 2.4s; }
.hero-neon .neon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.06em 0.32em;
    font-size: 0.6em;
    font-weight: 600;
    line-height: 1;
    color: var(--neon);
    border: 0.06em solid var(--neon);
    border-radius: 0.26em;
    transform: translateY(-0.1em);
    text-shadow: 0 0 6px var(--neon), 0 0 14px rgba(107,231,245,0.6);
    box-shadow:
        0 0 7px var(--neon),
        0 0 18px rgba(107,231,245,0.55),
        inset 0 0 12px rgba(107,231,245,0.32);
}

@keyframes neon-flicker {
    0%, 100%   { opacity: 1; }
    89%        { opacity: 1; }
    90%        { opacity: 0.68; }
    91%        { opacity: 1; }
    93%        { opacity: 0.82; }
    94%        { opacity: 1; }
    96%        { opacity: 0.9; }
    97%        { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-neon .neon-word,
    .hero-name { animation: none; }
}

/* Подзаголовок под неон-заголовком: [живой] подкаст для родителей подростков */
.hero-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5em;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(15px, 2.3vw, 30px);
    letter-spacing: 0.01em;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.22);
}
.hero-tagline .live-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.14em 0.5em;
    font-size: 0.9em;
    font-weight: 800;
    color: #fff;
    background: var(--magenta);
    border-radius: 0.4em;
    box-shadow: 0 0 10px rgba(255,79,203,0.7), 0 0 24px rgba(255,79,203,0.4);
}

/* Фото спикеров — растворяем края в чёрный фон, фамилии неоновым рукописным */
.hero-pic {
    position: relative;
    z-index: 0;
    width: min(1080px, 112%);
    margin: clamp(-40px, -2.4vw, -18px) auto clamp(-28px, -1.4vw, -10px);
}
.hero-pic img {
    display: block;
    width: 100%;
    height: auto;
    -webkit-mask-image:
        linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
        linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
        linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-composite: intersect;
}
.hero-names {
    position: absolute;
    left: 0; right: 0;
    bottom: clamp(6%, 7vw, 12%);
    display: flex;
    justify-content: space-around;
    align-items: baseline;
    padding: 0 clamp(3%, 5vw, 8%);
    pointer-events: none;
}
.hero-name {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: clamp(20px, 4.4vw, 58px);
    line-height: 1;
    color: #eafaff;
    text-shadow:
        0 0 5px #fff,
        0 0 12px var(--cyan),
        0 0 24px var(--cyan),
        0 0 48px rgba(107,231,245,0.6);
    transform: rotate(-4deg);
    animation: neon-flicker 7s infinite steps(1, end);
}
.hero-name:nth-child(2) { transform: rotate(-2deg); animation-delay: 1.3s; }
.hero-name:nth-child(3) { transform: rotate(-5deg); animation-delay: 2.6s; }

/* Текст hero держим над фото, если фото наезжает отрицательным margin */
.hero-label,
.hero-tagline,
.hero-sub { position: relative; z-index: 1; }

.hero-sub {
    max-width: 620px;
    margin: 0 auto;
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.55;
    color: var(--text-dim);
    text-wrap: pretty;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: clamp(10px, 1.5vw, 16px);
    margin-bottom: clamp(48px, 7vw, 80px);
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 30px;
    background: var(--cyan);
    color: #000;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    transition: transform 0.3s var(--ease), box-shadow 0.4s var(--ease);
    box-shadow: 0 0 0 rgba(107,231,245,0);
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(120deg, var(--cyan), var(--violet), var(--magenta));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(107,231,245,0.4); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary svg { transition: transform 0.3s var(--ease); }
.btn-primary:hover svg { transform: translateX(5px); }

.capacity-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px 11px 16px;
    background: rgba(255,64,87,0.06);
    border: 1px solid rgba(255,64,87,0.28);
    color: #FFB1BA;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 0 16px rgba(255,64,87,0.18), inset 0 0 14px rgba(255,64,87,0.05);
}
.capacity-pill .red-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 10px var(--red), 0 0 18px rgba(255,64,87,0.7);
}

/* coordinate markers — мелкие плавающие лейблы вокруг hero */

/* ============== SECTION HEADERS ============== */
.section {
    position: relative;
    padding: var(--section-pad) 0;
}
.section-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: clamp(36px, 5vw, 56px);
    flex-wrap: wrap;
}
.section-num {
    font-family: var(--mono);
    font-weight: 400;
    font-size: 11px;
    color: var(--cyan);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 12px;
}
.section-num::before {
    content: '';
    width: 28px; height: 1px;
    background: var(--cyan);
    opacity: 0.7;
}
.section-label {
    font-family: var(--mono);
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-mute);
    padding-left: 12px;
    border-left: 1px solid var(--border);
}
.section-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -0.025em;
    margin: 0;
}
.section-title em {
    font-style: normal;
    font-weight: 400;
    background: linear-gradient(95deg, var(--cyan) 0%, #B79CFF 50%, var(--magenta) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============== BENTO DATE/TIME/PLACE ============== */
.info-bento {
    display: grid;
    grid-template-columns: 1fr 1fr 1.6fr;
    gap: 16px;
    margin-top: -64px;
    position: relative;
    z-index: 4;
}
.info-card {
    position: relative;
    background: rgba(16,16,24,0.74);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    overflow: hidden;
    transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px 200px at 80% 120%, rgba(107,231,245,0.10), transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}
.info-card:hover { border-color: rgba(107,231,245,0.35); transform: translateY(-3px); }
.info-card:hover::before { opacity: 1; }
.info-card .info-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: 2.6px;
    color: var(--cyan);
    text-transform: uppercase;
    margin-bottom: 18px;
}
.info-card .info-label svg { flex-shrink: 0; }
.info-card .info-value {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 500;
    line-height: 1.05;
    color: var(--text);
    letter-spacing: -0.01em;
}
.info-card .info-sub {
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-dim);
}
.info-card.wide .info-value { font-size: clamp(20px, 2.2vw, 26px); }

/* ============== ГОРОДА ТУРА ============== */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 640px));
    gap: 16px;
    justify-content: center;
    margin-top: clamp(24px, 3vw, 40px);
}
@media (max-width: 620px) {
    .tour-grid { grid-template-columns: minmax(0, 1fr); }
}
/* Нечётная последняя карточка (напр. Москва) — по центру ряда, той же ширины */
.tour-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 430px;
}
.tour-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    background: rgba(16,16,24,0.74);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    overflow: hidden;
    transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.tour-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(360px 180px at 80% -10%, rgba(107,231,245,0.12), transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease);
}
.tour-card:hover { border-color: rgba(107,231,245,0.35); transform: translateY(-3px); }
.tour-card:hover::before { opacity: 1; }
.tour-date {
    display: inline-block;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 10px;
}
.tour-city {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1;
    color: #fff;
    letter-spacing: -0.01em;
}
.tour-location {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--text);
}
.tour-venue {
    font-size: 15px;
    font-weight: 600;
}
.tour-address {
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-dim);
}
.tour-guests { display: flex; flex-direction: column; gap: 6px; }
.tour-guests-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
}
.tour-guests-names {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: var(--text);
}
.tour-reg-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    border-radius: 999px;
    background: var(--cyan);
    color: #04121a;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.tour-reg-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107,231,245,0.35);
}

/* Плашки статуса карточки тура «Встреча прошла» / «Мест нет» — заметные, залитые */
.tour-reg-status {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    border-radius: 999px;
    font-family: var(--mono);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.tour-reg-past {
    background: var(--amber);
    color: #1a1205;
    box-shadow: 0 6px 20px rgba(255,180,84,0.32);
}
.tour-reg-past::before {
    content: "✓";
    font-size: 15px;
    font-weight: 800;
}
.tour-reg-soldout {
    background: var(--red);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255,64,87,0.32);
}
/* Закрытая карточка (прошла / мест нет) — приглушаем всё, кроме самой плашки */
.tour-card-closed { opacity: 0.72; }
.tour-card-closed .tour-reg-status { opacity: 1; }

/* Призрачная карточка «Хочу в свой город» — бледная, magenta-акцент, отличается от обычных */
.tour-card-ghost {
    background: rgba(255,255,255,0.015);
    border-style: dashed;
    border-color: var(--border-strong);
    gap: 16px;
}
.tour-card-ghost::before {
    background: radial-gradient(360px 180px at 80% -10%, rgba(255,79,203,0.12), transparent 60%);
}
.tour-card-ghost:hover { border-color: rgba(255,79,203,0.45); }
.tour-card-ghost .tour-date.ghost { color: var(--magenta); }
.tour-card-ghost .tour-city.ghost {
    color: var(--text);
    font-size: clamp(22px, 2.4vw, 30px);
}
.tour-ghost-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-dim);
}
.tour-city-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 11px;
    line-height: 1.4;
    color: var(--text-dim);
    cursor: pointer;
}
.tour-city-consent input { margin-top: 2px; accent-color: var(--magenta); flex-shrink: 0; }
.tour-city-consent a { color: var(--cyan); text-decoration: underline; }
.tour-reg-btn.ghost-btn {
    background: transparent;
    color: var(--magenta);
    border: 1px solid var(--magenta);
}
.tour-reg-btn.ghost-btn:hover {
    background: rgba(255,79,203,0.1);
    box-shadow: 0 8px 24px rgba(255,79,203,0.25);
}
.tour-city-result { font-size: 12px; }
.tour-city-result .err { color: var(--red); }
.tour-city-result .ok { color: var(--cyan); }

/* ============== POPUP «Хочу в свой город» ============== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,0.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    animation: modal-fade 0.25s var(--ease);
}
.modal-overlay[hidden] { display: none; }
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    background: #0d0d14;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 34px 28px 30px;
}
.modal-close {
    position: absolute;
    top: 14px; right: 16px;
    background: transparent;
    border: 0;
    color: var(--text-dim);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
    transition: color 0.25s var(--ease);
}
.modal-close:hover { color: var(--text); }
.modal-kicker {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--magenta);
}
.modal-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: clamp(21px, 2.6vw, 27px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 12px 0 8px;
    color: var(--text);
}
.modal-sub {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-dim);
    margin: 0 0 22px;
}
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.modal-form input[type="text"],
.modal-form input[type="tel"],
.modal-form textarea {
    width: 100%;
    padding: 13px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.modal-form input { height: 48px; }
.modal-form textarea { resize: vertical; min-height: 78px; line-height: 1.5; }
.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--magenta);
    background: rgba(255,79,203,0.05);
}
.modal-form input::placeholder,
.modal-form textarea::placeholder { color: var(--text-mute); }
.modal-form .modal-submit { width: 100%; margin-top: 4px; }
body.modal-open { overflow: hidden; }

/* ============== О СОБЫТИИ ============== */
.about-body {
    max-width: 820px;
}
.about-lead {
    font-size: clamp(20px, 2.2vw, 30px);
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 0 0 22px;
}
.about-lead .brand {
    color: var(--cyan);
    text-shadow: 0 0 16px rgba(107,231,245,0.35);
    font-weight: 600;
}
.about-sub {
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.6;
    color: var(--text-dim);
    margin: 0;
}

/* ============== GOAL STATEMENT ============== */
.goal-block {
    position: relative;
    margin-top: clamp(48px, 7vw, 96px);
    padding: clamp(40px, 5vw, 64px);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(800px 400px at 100% 0%, rgba(118,87,255,0.18), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, rgba(107,231,245,0.14), transparent 60%),
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
    border: 1px solid var(--border-strong);
    overflow: hidden;
}
.goal-block::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(107,231,245,0.5), transparent 40%, transparent 60%, rgba(118,87,255,0.4));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.goal-label {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--mono);
    font-size: 11px; font-weight: 400;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 24px;
}
.goal-label::before {
    content: ''; width: 28px; height: 1px; background: var(--cyan); opacity: 0.7;
}
.goal-text {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(22px, 2.7vw, 36px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0;

}
.goal-text strong {
    font-weight: 600;
    background: linear-gradient(95deg, var(--cyan), var(--violet));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.goal-wave {
    position: absolute;
    right: clamp(20px, 4vw, 40px);
    bottom: clamp(20px, 4vw, 40px);
    opacity: 0.5;
}

/* ============== ALERT CARDS (red glow) ============== */
.alert-card {
    position: relative;
    padding: clamp(32px, 4vw, 56px);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(700px 400px at 100% 0%, rgba(255,64,87,0.14), transparent 60%),
        linear-gradient(180deg, rgba(255,64,87,0.04), rgba(0,0,0,0.4));
    border: 1px solid rgba(255,64,87,0.32);
    overflow: hidden;
    box-shadow: 0 30px 80px -40px rgba(255,64,87,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
}
.alert-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,64,87,0.6), transparent 40%, transparent 60%, rgba(118,87,255,0.45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.alert-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono);
    font-size: 10.5px; font-weight: 400;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--red);
    padding: 6px 12px;
    border: 1px solid rgba(255,64,87,0.35);
    border-radius: 999px;
    background: rgba(255,64,87,0.05);
    margin-bottom: 22px;
}
.alert-label .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 10px var(--red);
}
.alert-card p {
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.55;
    color: var(--text);
    margin: 0;
}
.alert-card.reveal h3 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: clamp(26px, 3.4vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    color: var(--text);
}
.alert-card.two-col {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}
.alert-card .why-side {
    position: relative;
}
.alert-card .why-marker {
    margin-top: 28px;
    display: flex; align-items: center; gap: 12px;
    font-family: var(--mono);
    font-size: 10.5px; letter-spacing: 2.5px; color: var(--text-mute);
    text-transform: uppercase;
}
.alert-card .why-marker::before {
    content: ''; flex: 0 0 28px; height: 1px; background: var(--red); opacity: 0.6;
}
.alert-card .why-body p {
    margin-bottom: 18px;
}
.alert-card .why-body p:last-child { margin-bottom: 0; }
.alert-card .accent-name {
    font-weight: 600;
    color: var(--cyan);
    text-shadow: 0 0 14px rgba(107,231,245,0.35);
}
.alert-card .why-mute {
    color: var(--text-mute);
    font-size: clamp(14px, 1.1vw, 16px);
}

/* ============== "ЧТО ЕЩЁ ВЫ УЗНАЕТЕ" BENTO ============== */
.know-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.know-card {
    position: relative;
    padding: clamp(28px, 3vw, 40px);
    border-radius: var(--radius-lg);
    background: rgba(16,16,24,0.74);
    border: 1px solid var(--border);
    min-height: 240px;
    overflow: hidden;
    transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.know-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(500px 300px at var(--mx, 50%) var(--my, 50%), rgba(107,231,245,0.12), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
}
.know-card:hover { transform: translateY(-4px); border-color: rgba(107,231,245,0.32); }
.know-card:hover::before { opacity: 1; }
.know-num {
    font-family: 'Unbounded', sans-serif;
    font-weight: 300;
    font-size: clamp(60px, 8vw, 100px);
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 1px rgba(107,231,245,0.45);
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}
.know-card.violet .know-num { -webkit-text-stroke-color: rgba(118,87,255,0.5); }
.know-card.violet { background: linear-gradient(160deg, rgba(118,87,255,0.07), transparent 70%), var(--surface); }
.know-card.cyan { background: linear-gradient(160deg, rgba(107,231,245,0.07), transparent 70%), var(--surface); }
.know-text {
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.5;
    color: var(--text);
    margin: 0;
}
.know-arrow {
    margin-top: 18px;
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono);
    font-size: 10.5px; letter-spacing: 2.5px;
    color: var(--text-mute);
    text-transform: uppercase;
    transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}
.know-card:hover .know-arrow { color: var(--cyan); gap: 14px; }

/* ============== SPEAKERS ============== */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.speaker-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 50% 30%, rgba(118,87,255,0.22), transparent 60%),
        linear-gradient(160deg, rgba(107,231,245,0.10), rgba(6,6,8,0.6));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    isolation: isolate;
    transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.speaker-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(440px 280px at var(--mx, 50%) var(--my, 0%), rgba(107,231,245,0.16), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: screen;
}
.speaker-card:hover {
    transform: translateY(-4px);
    border-color: rgba(107,231,245,0.32);
    box-shadow: 0 30px 60px -40px rgba(107,231,245,0.55);
}
.speaker-card:hover::before { opacity: 1; }
.speaker-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: transparent;
}
.speaker-photo img {
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    display: block;
    margin: 0 auto;
    filter: saturate(0.94) contrast(1.02) drop-shadow(0 12px 26px rgba(0,0,0,0.45));
    transition: transform 1.1s var(--ease-out), filter 0.6s var(--ease);
}
.speaker-card:hover .speaker-photo img {
    transform: scale(1.04);
    filter: saturate(1) contrast(1.04) drop-shadow(0 16px 30px rgba(0,0,0,0.5));
}
.speaker-tag {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 2;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px 6px 10px;
    background: rgba(6,6,8,0.55);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 999px;
    font-family: var(--mono);
    font-weight: 400;
    font-size: 9.5px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--cyan);
}
.speaker-tag .dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 6px var(--cyan);
}
.speaker-body {
    position: relative;
    z-index: 2;
    padding: 0 22px 26px;
    margin-top: -36px;
}
.speaker-num {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--mono);
    font-weight: 400;
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 14px;
}
.speaker-num::before {
    content: '';
    width: 22px; height: 1px;
    background: var(--cyan);
    opacity: 0.7;
}
.speaker-name {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 1.18;
    margin: 10px 0 10px;
    color: var(--text);
    letter-spacing: -0.01em;
}
.speaker-role {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.55;
    margin: 0;
}
.speaker-city-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    margin-top: 12px;
    padding: 6px 10px;
    border: 1px solid rgba(107,231,245,0.18);
    border-radius: 999px;
    background: rgba(107,231,245,0.07);
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 9.5px;
    line-height: 1.2;
    letter-spacing: 0.08em;
}
.speaker-city-badge .dot {
    flex: 0 0 auto;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 6px var(--cyan);
}

/* ---- Speaker subgroups (Основные спикеры / Спикеры) ---- */
.speakers-subhead {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: clamp(18px, 2.4vw, 22px);
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 0 0 20px;
}
.speakers-grid + .speakers-subhead,
.guests-grid + .speakers-subhead {
    margin-top: 48px;
}
.speakers-grid-main {
    grid-template-columns: repeat(2, 1fr);
}
/* Wide horizontal cards: photo left, text right */
.speakers-grid-main .speaker-card {
    flex-direction: row;
    align-items: stretch;
}
.speakers-grid-main .speaker-photo {
    aspect-ratio: 5 / 4;
    flex: 0 0 50%;
    max-width: 50%;
    align-self: stretch;
}
.speakers-grid-main .speaker-photo img {
    width: 100%;
    object-fit: cover;
}
.speakers-grid-main .speaker-tag {
    top: 16px; left: 16px;
}
.speakers-grid-main .speaker-body {
    margin-top: 0;
    padding: 28px 28px 28px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ---- Спикеры ---- */
.guests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.experts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.guests-grid + .guests-grid {
    margin-top: 16px;
}
.guest-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    background:
        radial-gradient(circle at 22% 40%, rgba(118,87,255,0.22), transparent 55%),
        linear-gradient(160deg, rgba(107,231,245,0.10), rgba(6,6,8,0.6));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
    overflow: hidden;
}
.guest-card:hover {
    transform: translateY(-3px);
    border-color: rgba(107,231,245,0.28);
}
.guest-photo {
    flex: 0 0 120px;
    width: 120px; height: 155px;
    background: transparent;
    position: relative;
}
.guest-photo img {
    width: 120%; height:auto;
    object-fit: contain;
    object-position: center bottom;
    display: block;
    filter: saturate(0.9) contrast(1.02) drop-shadow(0 8px 16px rgba(0,0,0,0.45));
    transition: transform 0.8s var(--ease-out), filter 0.5s var(--ease);
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: none;
}
.guest-card:hover .guest-photo img { transform: scale(1.04); filter: saturate(1) contrast(1.04) drop-shadow(0 10px 20px rgba(0,0,0,0.5)); }
.guest-ph {
    flex: 0 0 96px;
    width: 96px; height: 112px;
    border-radius: 16px;
    border: 1.5px dashed rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.02);
}
.guest-body { min-width: 0;
    padding: 20px 20px 20px 0;}
.speaker-badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
}
.guest-tag {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--mono);
    font-weight: 400;
    font-size: 9.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 9px;
}
.speaker-badge-row .guest-tag,
.speaker-badge-row .speaker-city-badge {
    margin: 0;
}
.guest-tag .dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 6px var(--cyan);
}
.guest-name {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.2;
    margin: 0 0 8px;
    color: var(--text);
    letter-spacing: -0.01em;
}
.guest-role {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.5;
    margin: 0;
}

/* ============== REGISTRATION FORM ============== */
.register-section {
    position: relative;
    padding: var(--section-pad) 0;
}
.register-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: clamp(32px, 5vw, 80px);
    padding: clamp(40px, 5vw, 72px);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(900px 500px at 0% 0%, rgba(118,87,255,0.2), transparent 60%),
        radial-gradient(700px 400px at 100% 100%, rgba(107,231,245,0.15), transparent 60%),
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
    border: 1px solid var(--border-strong);
    overflow: hidden;
}
.register-card::before {
    content: ''; position: absolute; inset: 0;
    border-radius: inherit; padding: 1px;
    background: conic-gradient(from 220deg at 50% 50%, rgba(107,231,245,0.4), rgba(118,87,255,0.4), rgba(255,79,203,0.3), rgba(107,231,245,0.4));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.55;
    pointer-events: none;
}
.register-left { position: relative; }
.register-left h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.025em;
    margin: 0 0 18px;
    background: linear-gradient(95deg, #FFFFFF, var(--cyan));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.register-left .reg-sub {
    font-size: clamp(15px, 1.2vw, 17px);
    color: var(--text-dim);
    line-height: 1.55;
    margin: 0 0 28px;
    max-width: 460px;
}
.register-left .reg-meta {
    display: grid; gap: 16px;
    max-width: 380px;
}
.reg-meta .meta-row {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-mute);
}
.reg-meta .meta-row strong {
    color: var(--text);
    font-weight: 500;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 1.2px;
}
.reg-meta .meta-row svg { flex-shrink: 0; color: var(--cyan); }

.register-form {
    position: relative;
    z-index: 2;
    padding: 32px;
    background: rgba(6,6,8,0.88);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
}
.register-form .field { margin-bottom: 18px; }
.register-form .field:last-of-type { margin-bottom: 24px; }
.register-form label {
    display: block;
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 10px;
}
.register-form input,
.register-form select {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    letter-spacing: -0.005em;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
    appearance: none;
    -webkit-appearance: none;
}
.register-form input:focus,
.register-form select:focus {
    outline: none;
    border-color: var(--cyan);
    background: rgba(107,231,245,0.05);
    box-shadow: 0 0 0 4px rgba(107,231,245,0.10);
}
.register-form input::placeholder { color: var(--text-mute); }
.register-form select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236BE7F5' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-color: rgba(255,255,255,0.03);
    padding-right: 44px;
}
.register-form select option { background: #060608; color: var(--text); }
.register-submit {
    width: 100%;
    padding: 18px 22px;
    border: 0;
    border-radius: 14px;
    background: var(--cyan);
    color: #000;
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    transition: transform 0.3s var(--ease), box-shadow 0.4s var(--ease);
}
.register-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(107,231,245,0.4);
}
.register-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.register-submit svg { transition: transform 0.3s var(--ease); }
.register-submit:hover:not(:disabled) svg { transform: translateX(4px); }

/* Согласие на обработку ПД — чекбоксы */
.consent-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    cursor: pointer;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-dim);
    user-select: none;
}
.consent-wrap input[type="checkbox"] {
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    border: 1px solid var(--border-strong);
    border-radius: 5px;
    padding: 0;
    background: rgba(255,255,255,0.04);
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.consent-wrap input[type="checkbox"]:hover {
    border-color: rgba(107,231,245,0.5);
}
.consent-wrap input[type="checkbox"]:checked {
    background: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(107,231,245,0.18);
}
.consent-wrap input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px; top: 1px;
    width: 6px; height: 11px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.consent-wrap input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}
.consent-wrap a {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: rgba(107,231,245,0.5);
    text-underline-offset: 2px;
    transition: color 0.2s var(--ease);
}
.consent-wrap a:hover {
    color: var(--cyan);
}
.consent-wrap + .consent-wrap { margin-bottom: 22px; }

.register-legal {
    font-size: 12px;
    color: var(--text-mute);
    line-height: 1.5;
    margin: 18px 0 0;
}
.register-restriction {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.5;
    margin: 12px 0 0;
    font-weight: 500;
}
.form-result { min-height: 24px; margin-top: 16px; font-size: 14px; }
.form-result .err { color: var(--red); }
.form-result .ok { color: var(--cyan); }

/* ============== FOOTER ============== */
.site-footer {
    padding: 40px 0 32px;
    text-align: center;
    font-size: 13px;
    color: var(--text-mute);
    border-top: 1px solid var(--border);
    margin-top: 60px;
}

/* ============== ANIMATIONS ============== */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.7; }
}
@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(2%, -3%) scale(1.05); }
}
@keyframes orb-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-3%, 2%) scale(1.08); }
}
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes wave-pan {
    0% { transform: translateX(-20px); opacity: 0.3; }
    50% { opacity: 0.6; }
    100% { transform: translateX(20px); opacity: 0.3; }
}

/* reveal-up: класс-маркер оставлен (в разметке), но скролл-анимация снята —
   все блоки видны сразу. IntersectionObserver был дешёвым, но сетка из
   mouse-glow + backdrop-filter на каждой карточке давала постоянный repaint. */
.reveal-up,
.reveal-up.stagger > * {
    opacity: 1;
    transform: none;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
    .know-grid { grid-template-columns: 1fr; }
    .speakers-grid { grid-template-columns: repeat(2, 1fr); }
    .speakers-grid-main { grid-template-columns: 1fr; }
    .guests-grid { grid-template-columns: repeat(2, 1fr); }
    .alert-card.two-col { grid-template-columns: 1fr; }
    .register-card { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .site-header { padding: 8px 8px 8px 14px; gap: 8px; }
    .header-nav { display: none; }
    /* На мобиле CTA в шапке скрываем — она дублирует пункт «Получить билет» в drawer-меню,
       а вместе с брендом и бургером не помещается в одну строку */
    .header-cta { display: none; }
    .header-brand { font-size: 11px; letter-spacing: 0.10em; gap: 8px; }
    .header-brand .live-dot { width: 6px; height: 6px; }
    .menu-toggle {
        display: inline-flex; align-items: center; justify-content: center;
        width: 38px; height: 38px;
        background: rgba(255,255,255,0.04);
        border: 1px solid var(--border);
        border-radius: 50%;
        cursor: pointer;
    }
    .menu-toggle span {
        display: block; width: 16px; height: 1px;
        background: var(--text);
        position: relative;
    }
    .menu-toggle span::before, .menu-toggle span::after {
        content: ''; position: absolute; left: 0; width: 100%; height: 1px;
        background: var(--text);
    }
    .menu-toggle span::before { top: -5px; }
    .menu-toggle span::after { top: 5px; }

    .mobile-drawer {
        position: fixed; inset: 76px 16px auto 16px;
        background: rgba(11,11,17,0.92);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border-strong);
        border-radius: var(--radius-md);
        padding: 18px;
        z-index: 49;
        display: none;
    }
    .mobile-drawer.open { display: block; }
    .mobile-drawer a {
        display: block;
        padding: 12px 8px;
        border-bottom: 1px solid var(--border);
        font-size: 14px;
        color: var(--text);
    }
    .mobile-drawer a:last-child { border-bottom: 0; }

    .hero { padding-top: 100px; padding-bottom: 60px; min-height: auto; }
    .hero-logos { padding: 7px 16px; gap: 14px; justify-content: center; }
    .hero-logos .logo-block img { height: 34px !important; }
    /* Меньше font-size + сильный отрицательный letter-spacing, чтобы «несложный»
       помещался в ширину контейнера на узких экранах (без вылета за padding) */
    .hero h1 {
        font-size: clamp(40px, 11.5vw, 64px);
        letter-spacing: -0.045em;
        max-width: 100%;
        word-break: keep-all;
    }
    .hero-sub { font-size: 15px; padding: 0 4px; }
    .hero-ctas { gap: 14px; }
    .btn-primary { padding: 16px 24px; font-size: 14px; width: 100%; justify-content: center; }
    .capacity-pill { width: 100%; justify-content: center; }
    .info-bento { grid-template-columns: 1fr; }

    .know-num { font-size: 56px; margin-bottom: 16px; }
    .know-card { min-height: auto; padding: 24px; }
    .speakers-grid { grid-template-columns: 1fr; gap: 14px; }
    .speakers-grid-main { grid-template-columns: 1fr; max-width: none; }
    .guests-grid { grid-template-columns: 1fr; gap: 12px; }
    .speaker-card { flex-direction: column; align-items: stretch; }
    .speaker-photo { aspect-ratio: 4 / 3; flex: none; width: 100%; max-width: none; }
    .speakers-grid-main .speaker-card {
        flex-direction: column;
        align-items: stretch;
    }
    .speakers-grid-main .speaker-photo {
        flex: none;
        width: 100%;
        max-width: none;
        aspect-ratio: 4 / 3;
        align-self: auto;
    }
    .speakers-grid-main .speaker-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }
    .speaker-photo::after {
        background: linear-gradient(90deg, transparent 35%, rgba(6,6,8,0.55) 90%, var(--bg) 100%);
    }
    .speaker-tag { top: 10px; left: 10px; padding: 5px 10px 5px 8px; font-size: 9px; }
    .speaker-body { margin-top: 0; padding: 22px 22px 22px 18px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
    .speakers-grid-main .speaker-body {
        padding: 20px 22px 24px;
        flex: none;
        justify-content: flex-start;
    }
    .speaker-num { margin-bottom: 10px; }
    .register-form { padding: 24px; }
    .register-card { padding: 28px 22px; }
    .section-label { display: none; }
}
@media (max-width: 420px) {
    :root { --gutter: 18px; }
    .hero h1 { font-size: 42px; letter-spacing: -0.05em; }
    .hero-label { font-size: 10px; letter-spacing: 2.4px; flex-wrap: wrap; justify-content: center; }
    .goal-text { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    .reveal-up { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* Облегчённый режим для тач-устройств и mid-tier ноутов:
   гасим вращение колец и backdrop-filter — они дают самые тяжёлые GPU-репейнты. */
@media (max-width: 1024px), (pointer: coarse) {
    .site-header,
    .info-card,
    .know-card,
    .register-form,
    .speaker-tag,
    .hero-logos,
    .mobile-drawer,
    .capacity-pill {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .site-header { background: rgba(11,11,17,0.85); }
}

/* ============== ALERT MODAL (override alert.js inline-стили под тёмную тему) ============== */
.alert_box {
    background: rgba(6, 6, 8, 0.72) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    animation: alert-fade-in 0.25s var(--ease-out);
}
.alert_box .alert_body {
    background: linear-gradient(180deg, rgba(20,20,28,0.95), rgba(11,11,17,0.95)) !important;
    color: var(--text) !important;
    border: 1px solid var(--border-strong) !important;
    border-radius: var(--radius-lg) !important;
    padding: 40px 32px 36px !important;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(107,231,245,0.10), inset 0 1px 0 rgba(255,255,255,0.04) !important;
    text-align: center;
    animation: alert-pop-in 0.32s var(--ease-out);
}
.alert_box .alert_body::before {
    /* Тонкий conic-gradient бордер в фирменных цветах */
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from 220deg at 50% 50%, rgba(107,231,245,0.45), rgba(118,87,255,0.35), rgba(255,79,203,0.25), rgba(107,231,245,0.45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    pointer-events: none;
}
.alert_box .alert_head {
    font-family: 'Unbounded', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 14px;
    color: var(--text);
    letter-spacing: -0.01em;
    text-transform: lowercase;
}
.alert_box .alert_head::after {
    content: '';
    display: block;
    width: 32px; height: 1px;
    background: var(--cyan);
    margin: 14px auto 0;
    opacity: 0.7;
}
.alert_box .alert_desc {
    font-size: 14.5px;
    line-height: 1.5 !important;
    color: var(--text-dim);
    margin: 0;
}
.alert_box .alert_close {
    color: var(--text-mute);
    transition: color 0.2s var(--ease);
}
.alert_box .alert_close:hover { color: var(--text); }
.alert_box .alert_close svg { width: 12px; height: 12px; fill: currentColor; }
.alert_box .alert_close svg path { fill: currentColor; }
.alert_box .alert_btn {
    background: var(--cyan) !important;
    color: #000 !important;
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px !important;
    line-height: 46px !important;
    transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease);
}
.alert_box .alert_btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(107,231,245,0.4);
}

@keyframes alert-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes alert-pop-in {
    from { opacity: 0; transform: translateY(8px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
