:root{
    --bg:#ffffff;
    --text:#151515;
    --muted:#5f6368;
    --line:#e9ecef;
    --soft:#f6f7f8;

    --gold:#FFE171;
    --gold2:#FFE171;
    --teal:#0b7f9f;

    --r12:12px;
    --r16:16px;
    --r20:20px;
    --shadow: 0 18px 60px rgba(0,0,0,.08);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
    font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.55;
}

.container{max-width:1180px;margin:0 auto;padding:0 20px}
a{color:inherit;text-decoration:none}
p{color:var(--muted)}
strong{color:var(--text)}

header{
    position:fixed;
    top:0; left:0; right:0;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(12px);
    border-bottom:1px solid var(--line);
    z-index:50;
}
.header-inner{
    height:70px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}
.brand{letter-spacing:.06em}
.nav{display:flex; gap:18px; align-items:center}
.nav a{
    font-weight:500;
    color:#2b2f33;
    padding:10px 10px;
    border-radius:10px;
    transition: .18s ease;
}
.nav a:hover{background: rgba(11,127,159,.08); color:#0b7f9f}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:14px 22px;
    border-radius:12px;
    font-weight:600;
    border:1px solid transparent;
    cursor:pointer;
    transition: .18s ease;
    user-select:none;
}
.program-list.is-hidden { display: none; }
.btn-small{padding:10px 14px; border-radius:12px; font-size:14px}
.btn-primary{
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color:#111;
    box-shadow: 0 12px 30px rgba(202,164,106,.22);
}
.btn-primary:hover{transform: translateY(-1px); filter:brightness(1.02)}
.btn-outline{
    border-color: #d9dee3;
    background:#fff;
    color:#111;
}
.btn-outline:hover{border-color:#c7cdd3; transform: translateY(-1px)}
.btn.is-active{
    border-color: rgba(11,127,159,.35);
    box-shadow: 0 0 0 4px rgba(11,127,159,.10);
}

main{padding-top:70px}

.hero{
    padding:70px 0 72px;
    background:
            radial-gradient(900px 460px at 25% 10%, rgba(11,127,159,.18), transparent 60%),
            radial-gradient(720px 420px at 85% 20%, rgba(202,164,106,.18), transparent 60%),
            linear-gradient(180deg, #eef7fb 0%, #ffffff 55%);
    text-align:center;
}
.hero-card{
    max-width:980px;
    margin:0 auto;
    padding:34px 22px;
    border-radius: 26px;
    background: rgba(255,255,255,.85);
    border:1px solid rgba(0,0,0,.06);
    box-shadow: var(--shadow);
}
.kicker{
    display:inline-flex;
    padding:8px 14px;
    border-radius:999px;
    font-weight:600;
    color:#0c3a46;
    background: rgba(11,127,159,.10);
    border: 1px solid rgba(11,127,159,.14);
    margin-bottom:12px;
}
h1{
    font-size:46px;
    line-height:1.05;
    letter-spacing:-.03em;
    margin:10px 0 12px;
}
.hero-sub{
    max-width:840px;
    margin:0 auto 14px;
    font-size:18px;
    padding-right:0;
}
.hero-actions{
    display:flex;
    gap:12px;
    justify-content:flex-start;
    flex-wrap:wrap;
    margin-top:18px;
}
.timer{
    margin-top:20px;
    font-size:20px;
    font-weight:700;
    color:var(--teal);
}
.timer-note{margin-top:8px; font-size:13px; color:#7a8188}

.section{padding:36px 0}
.section-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:14px;
    flex-wrap:wrap;
    margin-bottom:18px;
}
h2{
    font-size:36px;
    letter-spacing:-.02em;
    margin-bottom:10px;
    color:#111;
}

.about{
    display:grid;
    grid-template-columns: 1.2fr .8fr;
    gap:32px;
    align-items:start;
}
.about-text p{margin-top:10px}
.list{margin-top:14px; padding-left:18px}
.list li{margin:8px 0; color:var(--muted)}
.list.small li{margin:6px 0; font-size:14px}

.info-cards{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-top:18px;
}
.info-card{
    padding:16px;
    border-radius:16px;
    background: var(--soft);
    border:1px solid rgba(0,0,0,.06);
}
.info-title{font-size:13px; color:#7a8188; margin-bottom:6px}
.info-value{font-weight:700; color:#111}

.stats{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
.stat{
    padding:18px 16px;
    border-radius:18px;
    background: #fff;
    border:1px solid rgba(0,0,0,.06);
    box-shadow: 0 16px 40px rgba(0,0,0,.05);
}
.stat strong{
    display:block;
    font-size:34px;
    color: var(--teal);
    letter-spacing:-.02em;
}
.stat span{display:block; margin-top:4px; color:#6a7178}

.program-actions{display:flex; gap:10px; flex-wrap:wrap}
.program{
    margin-top:10px;
    border:1px solid var(--line);
    border-radius: 18px;
    overflow:hidden;
    background:#fff;
}
.program-list.is-hidden{display:none}
.program-item{
    display:grid;
    grid-template-columns: 125px 1fr 220px;
    gap:14px;
    padding:16px 16px;
    border-top:1px solid var(--line);
}
.program-item:first-child{border-top:none}
.time{font-weight:800; color:#111}
.topic .title{font-weight:700; color:#111}
.topic .desc{font-size:14px; color:#6b737a; margin-top:3px}
.program-item .speaker{color:#6b737a; font-size:14px; text-align:center;}

.grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:14px;
    margin-top:18px;
}
.feature{
    padding:22px;
    border-radius:18px;
    background: var(--soft);
    border:1px solid rgba(0,0,0,.06);
}
.feature h3{font-size:18px; margin-bottom:8px}
.feature p{font-size:14px}

.speakers{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:14px;
    margin-top:18px;
}
.speaker{
    padding:16px;
    border-radius:18px;
    border:1px solid rgba(0,0,0,.06);
    background:#fff;
    box-shadow: 0 14px 40px rgba(0,0,0,.05);
}
.avatar{
    width:100%;
    aspect-ratio:1/1;
    border-radius:16px;
    background:
            radial-gradient(260px 160px at 30% 20%, rgba(202,164,106,.35), transparent 55%),
            radial-gradient(260px 160px at 70% 70%, rgba(11,127,159,.22), transparent 60%),
            #e9ecef;
    margin-bottom:12px;
}
.speaker strong{display:block; font-size:16px}
.speaker p{margin-top:6px; font-size:13px}
.tag{
    display:inline-flex;
    margin-top:10px;
    font-size:12px;
    padding:6px 10px;
    border-radius:999px;
    background: rgba(11,127,159,.08);
    border:1px solid rgba(11,127,159,.14);
    color:#0c3a46;
}

.price{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:14px;
    margin-top:18px;
}
.price-card{
    padding:22px;
    border-radius:20px;
    border:1px solid rgba(0,0,0,.06);
    background:#fff;
    box-shadow: 0 18px 55px rgba(0,0,0,.06);
}
.price-card h3{font-size:18px; margin-bottom:8px}
.price-val{font-size:30px; font-weight:900; color:#111; margin:8px 0 0}
.muted{color:#7a8188}
.small{font-size:12px}

.video{
    margin-top:16px;
    border-radius:18px;
    overflow:hidden;
    border:1px solid rgba(0,0,0,.06);
    background:#000;
    box-shadow: var(--shadow);
}
.video iframe{width:100%;height:420px;border:0}

.gallery{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:12px;
    margin-top:18px;
}
.gallery div{
    height:170px;
    border-radius:16px;
    background:
            linear-gradient(135deg, rgba(202,164,106,.28), rgba(11,127,159,.18)),
            #e9ecef;
}
.mt{margin-top:10px}

/* Lead block */
.lead-card{
    display:grid;
    grid-template-columns: 1.05fr .95fr;
    gap:16px;
    padding:22px;
    border-radius:22px;
    border:1px solid rgba(0,0,0,.06);
    background:
            radial-gradient(700px 260px at 20% 0%, rgba(11,127,159,.10), transparent 60%),
            radial-gradient(700px 260px at 90% 20%, rgba(202,164,106,.12), transparent 60%),
            #fff;
    box-shadow: var(--shadow);
}
.lead-copy h2{margin-bottom:8px}
.lead-points{
    display:grid;
    gap:10px;
    margin-top:16px;
}
.lead-point{
    display:flex;
    gap:10px;
    align-items:flex-start;
    padding:12px 12px;
    border-radius:16px;
    background: rgba(246,247,248,.85);
    border:1px solid rgba(0,0,0,.06);
    color:#3a3f44;
}
.lead-point span{
    display:inline-flex;
    width:22px;height:22px;
    border-radius:999px;
    align-items:center;justify-content:center;
    background: rgba(11,127,159,.12);
    color:#0b7f9f;
    font-weight:900;
    flex:0 0 auto;
    margin-top:1px;
}
.lead-note{
    margin-top:14px;
    color:#6a7178;
    font-size:14px;
}

.form{
    display:grid;
    gap:10px;
    padding:14px;
    border-radius:18px;
    background: var(--soft);
    border:1px solid rgba(0,0,0,.06);
}
.field{display:grid; gap:6px}
label{font-size:12px; color:#6b737a}
.input{
    width:100%;
    padding:12px 12px;
    border-radius:12px;
    border:1px solid #d9dee3;
    background:#fff;
    outline:none;
    font: inherit;
}
.input:focus{
    border-color: rgba(11,127,159,.45);
    box-shadow: 0 0 0 4px rgba(11,127,159,.12);
}

/* Footer with contacts + location */
footer{
    background:#0f1113;
    color:#fff;
    padding:44px 0;
    margin-top:70px;
}
.footer-inner{
    display:grid;
    grid-template-columns: 1.2fr 1fr 1fr .6fr;
    gap:18px;
    align-items:start;
}
.footer-title{
    font-size:12px;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#b8c0c7;
    margin-bottom:10px;
}
.footer-col p{color:#d7dde3}
.footer-col .muted{color:#b8c0c7}
.footer-right{display:flex;justify-content:flex-end;align-items:flex-start}
footer a{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.25)}

@media (max-width: 980px){
    .nav{display:none}
    h1{font-size:24px}
    h2{font-size:20px}
    .about{grid-template-columns:1fr}
    .program-item{grid-template-columns: 125px 1fr;}
    .program-item .speaker{display:none}
    .grid{grid-template-columns:1fr}
    .speakers{grid-template-columns:1fr 1fr}
    .price{grid-template-columns:1fr}
    .gallery{grid-template-columns:1fr 1fr}
    .lead-card{grid-template-columns:1fr}
    .footer-inner{grid-template-columns:1fr; }
    .footer-right{justify-content:flex-start;}
    .hero-sub {
        max-width: 840px;
        margin: 0 auto 14px;
        font-size: 12px;
        padding-right:80px;
    }
}

/* ===== Video teaser + modal ===== */
.video-teaser{
    position:relative;
    border-radius:22px;
    overflow:hidden;
    border:1px solid rgba(0,0,0,.06);
    box-shadow: 0 18px 60px rgba(0,0,0,.10);
    background:#0b0c10;
    cursor:pointer;
}

.video-poster{
    height: 460px;
    background:
            radial-gradient(900px 520px at 30% 10%, rgba(11,127,159,.35), transparent 60%),
            radial-gradient(900px 520px at 80% 30%, rgba(202,164,106,.35), transparent 60%),
            linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
}

.video-overlay{
    position:absolute; inset:0;
    display:grid;
    grid-template-rows: 1fr auto;
    padding:18px;
    background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55));
}

.video-badge{
    align-self:start;
    justify-self:start;
    display:inline-flex;
    padding:8px 12px;
    border-radius:999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    color:#fff;
    font-size:12px;
    letter-spacing:.04em;
}

.video-play{
    position:absolute;
    left:50%; top:50%;
    transform: translate(-50%,-50%);
    width:74px; height:74px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.14);
    color:#fff;
    font-size:22px;
    display:flex; align-items:center; justify-content:center;
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
    transition: .18s ease;
}

.video-teaser:hover .video-play{
    transform: translate(-50%,-50%) scale(1.04);
    background: rgba(255,255,255,.18);
}

.video-meta{
    align-self:end;
    color:#fff;
    max-width: 68ch;
}

.video-title{
    font-weight:800;
    font-size:18px;
    letter-spacing:-.01em;
}

.video-sub{
    margin-top:6px;
    font-size:13px;
    color: rgba(255,255,255,.78);
}

/* =========================
   Video Modal — FIX (no scroll, full-screen on mobile)
========================= */

.modal{
    position:fixed;
    inset:0;
    display:none;
    z-index:100;

    /* центрируем диалог */
    align-items:center;
    justify-content:center;

    /* чтобы не было горизонтального скролла */
    overflow:hidden;
    padding: 28px;
}

/* открыто */
.modal.is-open{
    display:flex;
}

.modal__backdrop{
    position:absolute;
    inset:0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
}

/* диалог */
.modal__dialog{
    position:relative;
    width: min(1040px, 92vw);
    max-height: min(720px, calc(100dvh - 56px));
    border-radius: 22px;
    overflow:hidden;
    background:#0b0c10;
    border:1px solid rgba(255,255,255,.12);
    box-shadow: 0 28px 90px rgba(0,0,0,.50);

    /* чтобы frame мог растягиваться */
    display:flex;
    flex-direction:column;
}

/* крестик */
.modal__close{
    position:absolute;
    right:12px; top:12px;
    width:42px; height:42px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.10);
    color:#fff;
    font-size:18px;
    cursor:pointer;
    z-index:2;
}

/* frame — на десктопе классический 16:9 */
.modal__frame{
    position:relative;
    width:100%;
    aspect-ratio: 16 / 9;
    background:#000;
    flex: 1 1 auto;
}

/* iframe */
.modal__frame iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:0;
}

/* placeholder */
.modal__placeholder{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    color: rgba(255,255,255,.75);
    font-size:14px;
}

/* ===== Mobile: FULLSCREEN (без скролла страницы) ===== */
@media (max-width: 980px){
    .modal{
        padding: 0; /* без полей */
    }

    .modal__dialog{
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
    }

    /* на мобиле лучше без фиксированного aspect-ratio,
       чтобы занимало весь экран */
    .modal__frame{
        aspect-ratio: auto;
        height: 100%;
        flex: 1 1 auto;
    }
}

.hero.hero--photo{
    position:relative;
    padding:92px 0 86px;
    overflow:hidden;
    text-align:left; /* важно: чтобы карточка не центрировалась */
    background:#0b0c10; /* на случай пока нет картинки */
}

/* фон-картинка */
.hero-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position: 70% 50%; /* смещение вправо: девушка справа */
    transform: scale(1.02);
    filter: saturate(1.05) contrast(1.05);
    z-index:0;
}

/* затемнение + мягкие цветовые пятна как в AMIS */
.hero.hero--photo::before{
    content:"";
    position:absolute; inset:0;
    background:
            radial-gradient(900px 520px at 20% 10%, rgba(11,127,159,.25), transparent 60%),
            radial-gradient(900px 520px at 75% 15%, rgba(202,164,106,.24), transparent 62%),
            linear-gradient(90deg, rgba(8,10,12,.72) 0%, rgba(8,10,12,.35) 45%, rgba(8,10,12,.10) 70%, rgba(8,10,12,.00) 100%);
    z-index:1;
}

/* слой для контента */
.hero-wrap{
    position:relative;
    z-index:2;
    display:flex;
    justify-content:flex-start; /* карточка слева */
}

/* стеклянная карточка */
.hero-card.hero-card--glass{
    max-width: 790px;
    margin:0; /* убираем центрирование */
    padding:32px 26px;
    border-radius: 26px;

    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 26px 90px rgba(0,0,0,.45);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* текст на тёмном фоне */
.hero.hero--photo h1{ color:#fff; }
.hero.hero--photo .hero-sub{ color: rgba(255,255,255,.82); }
.hero.hero--photo .hero-meta strong{ color: rgba(255,255,255,.92);font-size: 26px; }
.hero.hero--photo .timer-note{ color: rgba(255,255,255,.70); }
.hero.hero--photo .timer{ color: #bfefff; }

/* кнопка outline на тёмном фоне */
.hero.hero--photo .btn-outline{
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.26);
    color:#fff;
}
.hero.hero--photo .btn-outline:hover{
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.34);
}

/* kicker в glass-стиле */
.hero.hero--photo .kicker{
    color: rgba(255,255,255,.92);
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.20);
}

/* адаптив: на мобилке делаем карточку шире и центрируем */
@media (max-width: 980px){
    .hero.hero--photo{
        padding:38px 0 70px;
        text-align:left;
    }
    .hero-bg{ object-position: 67% 40%; }
    .hero-wrap{ justify-content:center; }
    .hero-card.hero-card--glass{
        max-width: 92vw;
        padding:26px 18px;
    }

}

.countdown{
    margin-top:22px;
    padding:14px 16px;
    border-radius:18px;
    width:fit-content;
    background: rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.20);
    backdrop-filter: blur(10px);
}
.btn-font-25 {
    font-size: 21px;
}
.countdown-grid{
    display:flex;
    gap:28px;
    align-items:center;
    justify-content:flex-start;
    flex-wrap:wrap;
}

.cd-item{
    min-width:70px;
    text-align:center;
    padding:10px 12px;
    border-radius:14px;

    background: rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.16);
}

.cd-num{
    font-size:28px;
    font-weight:900;
    color:#ffffff;
    letter-spacing:-.02em;
}

.cd-label{
    font-size:11px;
    color:rgba(255,255,255,.70);
    margin-top:4px;
    text-transform:uppercase;
    letter-spacing:.06em;
}

.countdown-dates{
    margin-top:10px;
    font-size:13px;
    color:rgba(255,255,255,.75);
}

/* Mobile */
@media(max-width:980px){
    .countdown-grid{
        justify-content:center;
    }
}

/* ===== About PRO ===== */
.about--pro{
    gap: 26px;
    align-items: stretch;
}

.about-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:14px;
    flex-wrap:wrap;
    margin-bottom: 10px;
}

.about-kicker{
    font-size:13px;
    color:#7a8188;
    padding:8px 12px;
    border-radius:999px;
    background: rgba(11,127,159,.07);
    border: 1px solid rgba(11,127,159,.12);
}

.about-highlight{ margin-top:16px; }

.about-quote{
    display:flex;
    gap:12px;
    padding:16px 16px;
    border-radius:18px;
    background:
            radial-gradient(600px 220px at 0% 0%, rgba(11,127,159,.10), transparent 60%),
            radial-gradient(600px 220px at 100% 40%, rgba(202,164,106,.12), transparent 60%),
            var(--soft);
    border:1px solid rgba(0,0,0,.06);
}

.quote-mark{
    font-size:28px;
    font-weight:900;
    color: rgba(11,127,159,.55);
    line-height:1;
    margin-top:-2px;
}

.quote-title{
    font-weight:800;
    color:#111;
    letter-spacing:-.01em;
}

.quote-text{
    margin-top:6px;
    font-size:14px;
    color:#6a7178;
}

.about-benefits{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:12px;
    margin-top:14px;
}

.benefit{
    display:flex;
    gap:12px;
    padding:14px 14px;
    border-radius:18px;
    background:#fff;
    border:1px solid rgba(0,0,0,.06);
    box-shadow: 0 14px 40px rgba(0,0,0,.05);
}

.benefit-ic{
    width:28px; height:28px;
    border-radius:999px;
    display:flex; align-items:center; justify-content:center;
    background: rgba(11,127,159,.10);
    color: #0b7f9f;
    font-weight:900;
    flex: 0 0 auto;
    margin-top:1px;
}

.benefit-title{
    font-weight:800;
    color:#111;
    font-size:14px;
}
.benefit-text{
    margin-top:4px;
    font-size:13px;
    color:#6a7178;
}

.info-cards--pro{
    margin-top:14px;
    gap:12px;
}
.info-card--icon{
    display:flex;
    gap:12px;
    align-items:flex-start;
}
.info-ic{
    width:34px; height:34px;
    border-radius:14px;
    display:flex; align-items:center; justify-content:center;
    background: rgba(202,164,106,.16);
    border:1px solid rgba(202,164,106,.22);
    color:#6c4d1e;
    flex:0 0 auto;
}

/* ===== Stats PRO panel ===== */
.stats--pro{
    border-radius: 22px;
    border:1px solid rgba(0,0,0,.06);
    background:
            radial-gradient(720px 280px at 20% 0%, rgba(11,127,159,.10), transparent 60%),
            radial-gradient(720px 280px at 100% 30%, rgba(202,164,106,.12), transparent 60%),
            #fff;
    box-shadow: 0 18px 60px rgba(0,0,0,.06);
    padding: 18px;
}

.stats-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:10px;
    margin-bottom: 12px;
}
.stats-title{
    font-weight:900;
    font-size:16px;
    color:#111;
    letter-spacing:-.01em;
}
.stats-sub{
    font-size:12px;
    color:#7a8188;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.stats-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:12px;
}

.stat--pro{
    padding:16px 14px;
    border-radius:18px;
    background: rgba(246,247,248,.85);
    border:1px solid rgba(0,0,0,.06);
    box-shadow:none; /* убираем лишнюю тень, чтобы панель выглядела едино */
}

.stat--pro strong{
    font-size:36px;
    color: var(--teal);
    letter-spacing:-.02em;
}

.stats-note{
    margin-top:12px;
    display:flex;
    gap:10px;
    align-items:flex-start;
    padding:12px 12px;
    border-radius:16px;
    background: rgba(11,127,159,.07);
    border:1px solid rgba(11,127,159,.12);
    color:#3a3f44;
    font-size:13px;
}
.stats-note-dot{
    width:10px; height:10px;
    border-radius:999px;
    background: var(--teal);
    box-shadow: 0 0 0 6px rgba(11,127,159,.12);
    margin-top:4px;
}

@media (max-width: 980px){
    .about-benefits{ grid-template-columns: 1fr; }
    .stats-head{ align-items:flex-start; }
}
/* ===== About clean (без дублей, аккуратная композиция) ===== */
.about--clean{
    display:grid;
    grid-template-columns: 1.2fr .8fr;
    gap:28px;
    align-items:start;
}

.about-pill{
    display:inline-flex;
    margin:10px 0 14px;
    padding:8px 12px;
    border-radius:999px;
    font-size:13px;
    color:#7a8188;
    background: rgba(11,127,159,.07);
    border:1px solid rgba(11,127,159,.12);
}

.why-card{
    margin-top:16px;
    padding:16px 16px;
    border-radius:18px;
    background:
            radial-gradient(640px 240px at 0% 0%, rgba(11,127,159,.10), transparent 60%),
            radial-gradient(640px 240px at 100% 40%, rgba(202,164,106,.12), transparent 60%),
            var(--soft);
    border:1px solid rgba(0,0,0,.06);
}

.why-head{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:8px;
}

.why-quote{
    width:34px;
    height:34px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    font-weight:900;
    color: rgba(11,127,159,.65);
    background: rgba(11,127,159,.08);
    border:1px solid rgba(11,127,159,.12);
}

.why-title{
    font-weight:900;
    color:#111;
    letter-spacing:-.01em;
}

.why-text{
    font-size:14px;
    color:#6a7178;
}

/* ===== KPI panel right (ровно, без “корявостей”) ===== */
.kpi-panel{
    border-radius:22px;
    border:1px solid rgba(0,0,0,.06);
    background:
            radial-gradient(720px 280px at 20% 0%, rgba(11,127,159,.10), transparent 60%),
            radial-gradient(720px 280px at 100% 30%, rgba(202,164,106,.12), transparent 60%),
            #fff;
    box-shadow: 0 18px 60px rgba(0,0,0,.06);
    padding:18px;
}

.kpi-head{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px;
}

.kpi-title{
    font-weight:900;
    font-size:16px;
    color:#111;
    letter-spacing:-.01em;
}

.kpi-sub{
    font-size:12px;
    color:#7a8188;
    text-transform:uppercase;
    letter-spacing:.06em;
}

.kpi-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.kpi{
    padding:16px 14px;
    border-radius:18px;
    background: rgba(246,247,248,.85);
    border:1px solid rgba(0,0,0,.06);
    min-height:92px;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}

.kpi-num{
    font-size:34px;
    font-weight:900;
    color: var(--teal);
    letter-spacing:-.02em;
    line-height:1.1;
}

.kpi-label{
    margin-top:8px;
    font-size:14px;
    color:#6a7178;
}

.kpi-note{
    margin-top:12px;
    padding:12px 12px;
    border-radius:16px;
    background: rgba(11,127,159,.07);
    border:1px solid rgba(11,127,159,.12);
    color:#3a3f44;
    font-size:13px;

    display:flex;
    gap:10px;
    align-items:flex-start;
}

.kpi-dot{
    width:10px; height:10px;
    border-radius:999px;
    background: var(--teal);
    box-shadow: 0 0 0 6px rgba(11,127,159,.12);
    margin-top:4px;
    flex:0 0 auto;
}

/* Mobile */
@media (max-width: 980px){
    .about--clean{ grid-template-columns:1fr; }
}

#about{
    position: relative;
    overflow: hidden; /* чтобы орнамент не вылезал */
    isolation: isolate; /* гарантируем слои внутри секции */
}

.about-orn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    height:150%;
    width:auto;

    pointer-events:none;
    user-select:none;
    z-index:0;

    /* ВАЖНО: opacity убрали */
    opacity:1;

    /* лёгкий контраст чтобы выглядело дорого */
    filter: saturate(1.05) contrast(1.02);

    /* ===== мягкое растворение к центру ===== */
    -webkit-mask-size:100% 100%;
    -webkit-mask-repeat:no-repeat;
    mask-size:100% 100%;
    mask-repeat:no-repeat;
}

/* левый орнамент — исчезает вправо */
.about-orn--left{
    left:0;

    -webkit-mask-image: linear-gradient(
            to right,
            #000 0%,
            #000 55%,
            rgba(0,0,0,.6) 70%,
            rgba(0,0,0,.2) 85%,
            transparent 100%
    );

    mask-image: linear-gradient(
            to right,
            #000 0%,
            #000 55%,
            rgba(0,0,0,.6) 70%,
            rgba(0,0,0,.2) 85%,
            transparent 100%
    );
}

/* правый орнамент — исчезает влево */
.about-orn--right{
    right:0;

    -webkit-mask-image: linear-gradient(
            to left,
            #000 0%,
            #000 55%,
            rgba(0,0,0,.6) 70%,
            rgba(0,0,0,.2) 85%,
            transparent 100%
    );

    mask-image: linear-gradient(
            to left,
            #000 0%,
            #000 55%,
            rgba(0,0,0,.6) 70%,
            rgba(0,0,0,.2) 85%,
            transparent 100%
    );
}
/* Контент секции поверх орнамента */
#about .container{
    position: relative;
    z-index: 1;
}

/* Чтобы орнаменты не мешали читабельности */
@media (max-width: 980px){
    .about-orn{
        opacity: 1;          /* НЕ гасим картинку */
        height: 140%;
        filter: saturate(1.03) contrast(1.02) blur(.6px); /* мягкость по краям */
    }

    /* чтобы орнаменты не лезли на контент */
    .about-orn--left{ left: -90px; }
    .about-orn--right{ right: -90px; }
}
@media (max-width: 560px){
    .about-orn{
        display:block;  /* НЕ скрываем */
        height: 130%;
        filter: saturate(1.02) contrast(1.01) blur(.8px);
    }
    .about-orn--left{ left: -110px; }
    .about-orn--right{ right: -110px; }
}

/* ===== ABOUT like screenshot ===== */
.about.about--clean{
    display:grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 42px;
    align-items:start;
}

/* LEFT */
.about-text h2{
    margin:0 0 14px;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.about-pill{
    display:none; /* на скрине её не видно — убираем */
}

#about .about-text p{
    margin-top:12px;
    font-size:14px;
    line-height:1.7;
    color:#5f6a72;
    max-width: 70ch;
}

/* WHY card как голубая плашка */
.why-card{
    margin-top:18px;
    padding:16px 16px;
    border-radius:14px;
    background: #e8f4f8;
    border:1px solid rgba(11,127,159,.14);
    box-shadow:none;
}

.why-title{
    font-weight:800;
    color:#111;
    margin-bottom:10px;
}

.why-list{
    list-style:none;
    display:grid;
    gap:8px;
    padding:0;
    margin:0;
}

.why-list li{
    position:relative;
    padding-left:16px;
    font-size:13px;
    color:#4f5b63;
}

.why-list li::before{
    content:"";
    width:7px;
    height:7px;
    border-radius:999px;
    background: var(--teal);
    position:absolute;
    left:0;
    top:.55em;
    box-shadow: 0 0 0 4px rgba(11,127,159,.12);
}

/* RIGHT panel */
.kpi-panel{
    border-radius:18px;
    border:1px solid rgba(0,0,0,.06);
    background:#fff;
    box-shadow: 0 18px 60px rgba(0,0,0,.08);
    padding:16px;
}

.kpi-head{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px;
}

.kpi-title{
    font-weight:800;
    font-size:14px;
    color:#111;
}

.kpi-sub{
    font-size:11px;
    color:#7a8188;
    text-transform:uppercase;
    letter-spacing:.08em;
}

/* KPI grid */
.kpi-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.kpi{
    border-radius:12px;
    border:1px solid rgba(0,0,0,.06);
    background: #f6e7a7; /* мягкий жёлтый как на скрине */
    padding:14px 14px;
    min-height:86px;

    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
}

.kpi-num{
    font-size:30px;
    font-weight:900;
    line-height:1.05;
    letter-spacing:-.02em;
    color:#111;
}

.kpi-label{
    margin-top:8px;
    font-size:13px;
    color:#3a3f44;
}

/* icon */
.kpi-ic{
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#111;
    opacity:.9;
}

.kpi-ic svg{
    width:34px;
    height:34px;
}

/* bottom note like screenshot */
.kpi-note{
    margin-top:12px;
    padding:12px 12px;
    border-radius:14px;
    background:#e8f4f8;
    border:1px solid rgba(11,127,159,.14);
    display:flex;
    gap:10px;
    align-items:flex-start;
    color:#4f5b63;
    font-size:12px;
}

.kpi-dot{
    width:10px;
    height:10px;
    border-radius:999px;
    background: var(--teal);
    box-shadow: 0 0 0 4px rgba(11,127,159,.12);
    margin-top:3px;
}

/* Mobile */
@media (max-width: 980px){
    .about.about--clean{ grid-template-columns:1fr; gap:18px; }
}

.kpi{
    border-radius:12px;
    border:1px solid rgba(0,0,0,.06);
    background:#f6e7a7;
    padding:14px 14px;
    min-height:86px;
    flex-direction: row;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
}

.kpi-text{
    display:flex;
    flex-direction:column;
}

.kpi-ic{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
}

.kpi-ic img{
    width:60px;
    height:60px;
    object-fit:contain;
}
.section-orn{
    position:relative;
    overflow:hidden;
    isolation:isolate;
}

/* создаём два фоновых слоя */
.section-orn::before,
.section-orn::after{
    content:"";
    position:absolute;
    pointer-events:none;
    user-select:none;
    z-index:0;
    background-repeat:no-repeat;
    background-size:contain;
    opacity:.14; /* регулируй интенсивность */
}

/* левый орнамент */
.section-orn::before{
    left:-120px;
    top:120px;
    width:520px;
    height:520px;
    background-image:url("assets/image18.png");
}

/* правый орнамент */
.section-orn::after{
    right:-120px;
    bottom:80px;
    width:520px;
    height:520px;
    background-image:url("assets/image19.png");
}

/* контент поверх */
.section-orn > *{
    position:relative;
    z-index:1;
}

/* =========================================
   Ornaments layer under 4 sections
   (image18.png + image19.png)
========================================= */
.orn-wrap{
    position:relative;
    overflow:hidden;
    isolation:isolate; /* слои внутри только этой зоны */
}

/* два орнамента */
.orn-wrap::before,
.orn-wrap::after{
    content:"";
    position:absolute;
    pointer-events:none;
    user-select:none;
    z-index:0;
    background-repeat:no-repeat;
    background-size:contain;

    /* вместо opacity — мягкое “растворение” по краю */
    -webkit-mask-size:100% 100%;
    -webkit-mask-repeat:no-repeat;
    mask-size:100% 100%;
    mask-repeat:no-repeat;

    filter: saturate(1.02) contrast(1.02);
}

/* левый (image18) */
.orn-wrap::before{
    left:-220px;
    top:140px;
    width:980px;
    height:980px;
    background-image:url("assets/image18.png");

    /* растворение к центру */
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 60%, rgba(0,0,0,.45) 78%, rgba(0,0,0,.15) 90%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 60%, rgba(0,0,0,.45) 78%, rgba(0,0,0,.15) 90%, transparent 100%);
}

/* правый (image19) */
.orn-wrap::after{
    right:-220px;
    bottom:120px;
    width:680px;
    height:680px;
    background-image:url("assets/image19.png");

    /* растворение к центру */
    -webkit-mask-image: linear-gradient(to left, #000 0%, #000 60%, rgba(0,0,0,.45) 78%, rgba(0,0,0,.15) 90%, transparent 100%);
    mask-image: linear-gradient(to left, #000 0%, #000 60%, rgba(0,0,0,.45) 78%, rgba(0,0,0,.15) 90%, transparent 100%);
}

/* секции поверх */
.orn-wrap > section{
    position:relative;
    z-index:1;
}

/* мобильная оптимизация */
@media(max-width: 980px){
    .orn-wrap::before{
        left: -160px;
        top: 40px;
        width: 640px;
        height: 640px;
    }
    .orn-wrap::after{
        right: -160px;
        bottom: 20px;
        width: 520px;
        height: 520px;
    }
}

@media (max-width: 560px){
    .orn-wrap::before{
        left: -180px;
        top: 20px;
        width: 560px;
        height: 560px;
    }
    .orn-wrap::after{
        right: -180px;
        bottom: 0px;
        width: 460px;
        height: 460px;
    }
}
/* ===== Speakers PRO (country chip + ровные карточки) ===== */
.speakers--pro{
    grid-template-columns: repeat(4, 1fr);
    gap:14px;
}

.speaker-card{
    padding:16px;
    border-radius:18px;
    border:1px solid rgba(0,0,0,.06);
    background:#fff;
    box-shadow: 0 14px 40px rgba(0,0,0,.05);
    display:flex;
    flex-direction:column;
    min-height: 100%;
}

.speaker-photo{
    width:100%;
    aspect-ratio: 1 / 1;
    border-radius:16px;
    overflow:hidden;
    background:
            radial-gradient(260px 160px at 30% 20%, rgba(202,164,106,.22), transparent 55%),
            radial-gradient(260px 160px at 70% 70%, rgba(11,127,159,.16), transparent 60%),
            #e9ecef;
    margin-bottom:12px;
    border: 1px solid rgba(0,0,0,.05);
}

.speaker-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.speaker-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
}

.speaker-name{
    display:block;
    font-size:16px;
    line-height:1.2;
    letter-spacing:-.01em;
}

.country-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:12px;
    padding:7px 10px;
    border-radius:999px;
    border:1px solid rgba(11,127,159,.16);
    background: rgba(11,127,159,.08);
    color:#0c3a46;
    white-space:nowrap;
    flex:0 0 auto;
}

.country-chip .flag{
    font-size:14px;
    line-height:1;
}

/* тонкий “акцент по стране” — выглядит премиально */
.speaker-card[data-country="kz"] .country-chip{ box-shadow: inset 0 0 0 1px rgba(0, 166, 81, .14); }
.speaker-card[data-country="ru"] .country-chip{ box-shadow: inset 0 0 0 1px rgba(0, 96, 255, .12); }
.speaker-card[data-country="it"] .country-chip{ box-shadow: inset 0 0 0 1px rgba(230, 0, 0, .10); }
.speaker-card[data-country="gr"] .country-chip{ box-shadow: inset 0 0 0 1px rgba(0, 120, 255, .10); }
.speaker-card[data-country="es"] .country-chip{ box-shadow: inset 0 0 0 1px rgba(255, 170, 0, .12); }
.speaker-card[data-country="bg"] .country-chip{ box-shadow: inset 0 0 0 1px rgba(0, 160, 120, .10); }

.speaker-role{
    margin-top:10px;
    font-size:13px;
    color:#5f6a72;
    line-height:1.55;

    display:-webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow:hidden;
}

@media (max-width: 980px){
    .speakers--pro{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
    .speakers--pro{ grid-template-columns: 1fr; }
}

/* ===== Program polish + auto tags ===== */
.program{
    margin-top: 16px;
}

.program-list{
    display:grid;
    gap: 10px;
}

.program-item{
    display:grid;
    grid-template-columns: 140px 1fr 240px;
    gap: 14px;
    align-items:start;

    padding: 16px 16px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.06);
    background: #fff;
    box-shadow: 0 14px 40px rgba(0,0,0,.05);

    position: relative;
    overflow: hidden;
}

/* Левый акцент-бордер (тонко, премиально) */
.program-item::before{
    content:"";
    position:absolute;
    left:0; top:0; bottom:0;
    width: 4px;
    background: rgba(0,0,0,.06);
}

/* Время как чип */
.program-item .time{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    color:#0c3a46;
    background: rgba(11,127,159,.08);
    border:1px solid rgba(11,127,159,.14);
    width: fit-content;
}

/* Тема */
.program-item .topic .title{
    font-weight: 900;
    letter-spacing: -.01em;
    line-height: 1.25;
}

.program-item .topic .desc{
    margin-top: 6px;
    font-size: 13px;
    color:#6a7178;
    line-height: 1.5;
}

/* Спикер */
.program-item .speaker{
    font-size: 13px;
    color:#4f5b63;
    line-height: 1.45;
    justify-self: end;
    text-align: right;
    max-width: 240px;
}

/* ===== Program minimal (clean medical look) ===== */

.program{
    margin-top: 18px;
}

.program-list{
    display:grid;
    gap: 8px;
}

.program-item{
    display:grid;
    grid-template-columns: 130px 1fr 220px;
    gap: 18px;
    align-items:start;

    padding: 16px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.program-item:last-child{
    border-bottom: none;
}

/* время */
.program-item .time{
    font-weight: 800;
    font-size: 14px;
    color:#111;
    letter-spacing: -.01em;
}

/* тема */
.program-item .topic .title{
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.01em;
}

.program-item .topic .desc{
    margin-top: 4px;
    font-size: 13px;
    color:#6a7178;
}

/* спикер */
.program-item .speaker{
    font-size: 13px;
    color:#4f5b63;
    text-align:center;
}

/* responsive */
@media (max-width:980px){
    .program-item{
        grid-template-columns: 1fr;
        gap:6px;
    }
    .program-item .speaker{
        text-align:center;
    }
    .countdown-grid {
        display: flex;
        gap: 5px;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* ===================================
   Program zebra + hover highlight
=================================== */

/* базовая строка */
.program-item{
    transition:
            background .25s ease,
            transform .18s ease,
            box-shadow .18s ease;
}

/* через одну строку — лёгкий голубой */
.program-list .program-item:nth-child(even){
    background: rgba(51,150,210,0.08); /* мягко, не кричит */
    border-radius:12px;
    padding-left:12px;
    padding-right:12px;
}

/* hover — лёгкая подсветка */
.program-item:hover{
    background: rgba(51,150,210,0.16);
    box-shadow: 0 8px 20px rgba(51,150,210,.08);
}

/* чуть оживим время при наведении */
.program-item:hover .time{
    color:#3396D2;
}

/* =========================
   PRICE CARD LAYOUT
========================= */

.price-card{
    display:grid;
    grid-template-columns: 1fr 260px;
    gap:20px;
    align-items:center;

    padding:28px;
    border-radius:22px;
    background:#fff;
    box-shadow:0 20px 60px rgba(0,0,0,.06);

    position:relative;
    overflow:hidden;
}

/* текст */
.price-left{
    position:relative;
    z-index:2;
}

/* правая часть */
.price-media{
    display:flex;
    justify-content:center;
    align-items:center;
    pointer-events:none;
}

.price-media img{
    max-width:100%;
    height:auto;
    object-fit:contain;

    transition: transform .4s ease;
}

/* лёгкое движение при hover */
.price-card:hover .price-media img{
    transform: translateY(-4px) rotate(-3deg);
}

/* адаптив */
@media (max-width:900px){
    .hero-actions {
        display: flex;
        gap: 6px;
        justify-content: flex-start;
        flex-wrap: wrap;
        margin-top: 18px;
    }
    .hero-card.hero-card--glass {
        max-width: 790px;
        margin: 0;
        padding: 32px 26px;
        border-radius: 26px;
        background: rgba(255, 255, 255, .10);
        border: 1px solid rgba(255, 255, 255, .22);
        box-shadow: 0 26px 90px rgba(0, 0, 0, .45);
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);}
    .btn-font-25 {
        font-size: 14px;
    }
    .cd-item {
        min-width: 55px;
        text-align: center;
        padding: 10px 8px;
        border-radius: 14px;
        background: rgba(255, 255, 255, .10);
        border: 1px solid rgba(255, 255, 255, .16);
    }
    .hero.hero--photo .hero-meta strong {
        color: rgba(255, 255, 255, .92);
        font-size: 20px;
    }
    .countdown-dates {
        margin-top: 10px;
        font-size: 12px;
        color: rgba(255, 255, 255, .75);
    }
    .price-card{
        grid-template-columns:1fr;
    }

    .price-media{
        order:-1;
    }

    .price-media img{
        max-width:220px;
    }
}
/* свернуто */
#program.is-collapsed .program{

    transform: translateY(-6px);
    pointer-events: none;
}

/* кнопка-тоггл */
#program .program-toggle{
    white-space: nowrap;
}
/* ===== Program: collapse on mobile ===== */
@media (max-width: 980px){
    .about-text h2 {
        margin: 0 0 14px;
        font-size: 20px;
        line-height: 1.1;
        letter-spacing: -.02em;
    }
    #program .program{
        max-height: 9999px;
        overflow: hidden;
        transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
    }
    .section {
        padding: 36px 0 36px 0;
    }
    /* свернуто */
    #program.is-collapsed .program{

        transform: translateY(-6px);
        pointer-events: none;
    }

    /* кнопка-тоггл */
    #program .program-toggle{
        white-space: nowrap;
    }
}

/* =========================
   Modal: Instagram Reel mode (9:16)
========================= */

.modal__dialog.is-reel{
    /* на десктопе — аккуратный вертикальный плеер */
    width: min(460px, 92vw);
    height: min(820px, 90dvh);
    border-radius: 22px;
}

.modal__dialog.is-reel .modal__frame{
    height: 100%;
    aspect-ratio: auto; /* берём высоту диалога */
}

@media (max-width: 980px){
    /* на мобиле — fullscreen, без скролла */
    .modal{
        padding: 0;
    }
    .modal__dialog.is-reel{
        width: 100vw;
        height: 100dvh;
        border-radius: 0;
    }
    .modal__dialog.is-reel .modal__frame{
        height: 100%;
    }
}

/* ===== Instagram Reel mode (9:16) ===== */
.modal__dialog.is-reel{
    width: min(460px, 92vw);
    height: min(820px, 90dvh);
    border-radius: 22px;
}

.modal__dialog.is-reel .modal__frame{
    height: 100%;
    aspect-ratio: auto;
}

@media (max-width: 980px){
    .modal{
        padding: 0 !important;
    }
    .modal__dialog.is-reel{
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        margin: 0 !important;
    }
    .modal__dialog.is-reel .modal__frame{
        height: 100%;
    }
}

.reveal{
    opacity:0;
    transform: translateY(14px);
    filter: blur(6px);
    transition: opacity .6s ease, transform .6s ease, filter .6s ease;
    will-change: opacity, transform, filter;
}
.reveal.is-in{
    opacity:1;
    transform: translateY(0);
    filter: blur(0);
}
@media (prefers-reduced-motion: reduce){
    .reveal{opacity:1; transform:none; filter:none; transition:none;}
}

/* =========================
   Anim pack: reveal + card fx + chips + parallax vars
========================= */

/* 1) Scroll reveal */
.reveal{
    opacity:0;
    transform: translateY(14px);
    filter: blur(6px);
    transition: opacity .6s ease, transform .6s ease, filter .6s ease;
    will-change: opacity, transform, filter;
}
.reveal.is-in{
    opacity:1;
    transform: translateY(0);
    filter: blur(0);
}
@media (prefers-reduced-motion: reduce){
    .reveal{opacity:1; transform:none; filter:none; transition:none;}
}

/* 2) Card micro-lift + shine (hover only when hover exists) */
.card-fx{
    position:relative;
    overflow:hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}
@media (hover:hover){
    .card-fx:hover{
        transform: translateY(-2px);
        box-shadow: 0 18px 60px rgba(0,0,0,.10);
    }
    .card-fx::after{
        content:"";
        position:absolute; inset:-40%;
        background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.22) 50%, transparent 60%);
        transform: translateX(-60%);
        opacity:0;
        transition: opacity .2s ease;
        pointer-events:none;
    }
    .card-fx:hover::after{
        opacity:1;
        animation: shine 1.1s ease;
    }
    @keyframes shine{
        from{ transform: translateX(-60%); }
        to{ transform: translateX(60%); }
    }
}

/* 3) Button tap feedback (mobile) */
.btn{ transform: translateZ(0); }
.btn:active{ transform: translateY(0) scale(.98); }

/* 4) Floating chips (mobile only visual) */
.toast-chip{
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    z-index: 120;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 16px 50px rgba(0,0,0,.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 700;
    font-size: 13px;
    color: #111;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}
.toast-chip.is-in{
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast-chip .dot{
    width: 10px; height: 10px;
    border-radius: 999px;
    background: var(--teal);
    box-shadow: 0 0 0 5px rgba(11,127,159,.12);
}

/* на десктопе чипы не показываем */
@media (min-width: 981px){
    .toast-chip{ display:none; }
}

/* 5) Parallax variables (orn-wrap pseudo + any data-parallax element) */
:root{
    --par: 0px;
    --par2: 0px;
}

/* двигаем орнаменты внутри orn-wrap через transform */
.orn-wrap::before{
    transform: translate3d(0, var(--par), 0);
}
.orn-wrap::after{
    transform: translate3d(0, var(--par2), 0);
}

/* на мобиле — орнаменты НЕ прячем, а уменьшаем и сдвигаем внутрь */
@media(max-width: 980px){
    .orn-wrap::before{
        display:block; /* важно: убрать display:none если было */
        left:-260px;
        top:80px;
        width:720px;
        height:720px;
    }
    .orn-wrap::after{
        display:block;
        right:-260px;
        bottom:40px;
        width:620px;
        height:620px;
    }
}
/* ===== Submit overlay (lead form) ===== */
.submit-overlay{
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    place-items: center;
    padding: 16px;
}

.submit-overlay.is-open{ display: grid; }

.submit-overlay::before{
    content:"";
    position:absolute;
    inset:0;
    background: rgba(10,12,14,.55);
    backdrop-filter: blur(6px);
}

.submit-overlay__card{
    position: relative;
    width: min(520px, 100%);
    border-radius: 20px;
    padding: 18px 18px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 28px 90px rgba(0,0,0,.30);
    text-align: center;
}

.submit-overlay__spinner{
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 3px solid rgba(11,127,159,.20);
    border-top-color: rgba(11,127,159,.95);
    margin: 4px auto 10px;
    animation: submitSpin .9s linear infinite;
}

@keyframes submitSpin{
    to{ transform: rotate(360deg); }
}

.submit-overlay__title{
    font-weight: 900;
    letter-spacing: -.01em;
    color: #111;
    font-size: 16px;
}

.submit-overlay__text{
    margin-top: 6px;
    font-size: 13px;
    color: #5f6a72;
}

.submit-overlay__btn{
    margin-top: 14px;
}

/* ===============================
   Blocking sending overlay
=============================== */

.sending-overlay{
    position: fixed;
    inset: 0;
    z-index: 9999;

    display:none;
    align-items:center;
    justify-content:center;

    background: rgba(8,10,12,.55);
    backdrop-filter: blur(6px);

    pointer-events: all; /* БЛОКИРУЕМ клики */
}

.sending-overlay.is-open{
    display:flex;
}

.sending-overlay__box{
    padding:18px 22px;
    border-radius:18px;
    background: rgba(255,255,255,.95);
    border:1px solid rgba(0,0,0,.08);
    box-shadow: 0 24px 80px rgba(0,0,0,.35);
    text-align:center;
}

.sending-overlay__spinner{
    width:42px;
    height:42px;
    margin:0 auto 10px;

    border-radius:999px;
    border:3px solid rgba(11,127,159,.25);
    border-top-color:#0b7f9f;

    animation: spinSend .9s linear infinite;
}

@keyframes spinSend{
    to{ transform: rotate(360deg); }
}

.sending-overlay__text{
    font-weight:700;
    font-size:14px;
    color:#111;
}

.flag{
    font-family: "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji", system-ui, sans-serif;
    font-size: 1em;
    line-height: 1;
}
/* FORCE: показываем только реальный текст и запрещаем "рисование" через ::before/::after */
.country-chip::before,
.country-chip::after,
.speaker-card .country-chip::before,
.speaker-card .country-chip::after{
    content: none !important;
    display: none !important;
}

/* FORCE: текст внутри чипа должен быть видимым */
.country-chip{
    font-size: 14px !important;          /* если у тебя было 0 */
    line-height: 1.1 !important;
    color: inherit !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    font-variant: normal !important;
    white-space: nowrap;
}

/* FORCE: если у чипа есть фон-иконка "флага", отключаем */
.country-chip{
    background-image: none !important;
}

/* если вдруг где-то прячется весь текст */
.country-chip,
.country-chip *{
    opacity: 1 !important;
    visibility: visible !important;
}

/* на всякий: emoji-рендер */
.country-chip{
    font-family: Inter, "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji", system-ui, sans-serif !important;
}

/* Gallery grid */
.gallery{
    display:grid;
    grid-template-columns:repeat(4, minmax(0,1fr));
    gap:12px;
}

.gallery-item{
    border:0;
    padding:0;
    background:transparent;
    cursor:pointer;
    border-radius:16px;
    overflow:hidden;
    position:relative;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    transform: translateZ(0);
}

.gallery-item img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
    transition: transform .25s ease;
}

.gallery-item:hover img{ transform: scale(1.03); }

@media (max-width: 980px){
    .gallery{ grid-template-columns:repeat(2, minmax(0,1fr)); }
    .gallery-item img{ height:200px; }
}
@media (max-width: 520px){
    .gallery{ grid-template-columns:1fr; }
    .gallery-item img{ height:220px; }
}

/* Lightbox */
.lightbox{
    position:fixed;
    inset:0;
    display:none;
    z-index:9999;
}

.lightbox.is-open{ display:block; }

.lightbox__backdrop{
    position:absolute;
    inset:0;
    background: rgba(0,0,0,.65);
}

.lightbox__dialog{
    position:relative;
    max-width:min(1100px, calc(100vw - 28px));
    max-height: calc(100vh - 28px);
    margin:14px auto;
    background: rgba(10, 12, 18, .92);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    overflow:hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

.lightbox__figure{
    margin:0;
    padding:0;
    display:flex;
    flex-direction:column;
}

.lightbox__img{
    width:100%;
    height: min(72vh, 720px);
    object-fit: contain;
    background: rgba(0,0,0,.35);
}

.lightbox__cap{
    padding:10px 14px;
    font-size:14px;
    color: rgba(255,255,255,.8);
    border-top: 1px solid rgba(255,255,255,.10);
}

.lightbox__close{
    position:absolute;
    top:10px;
    right:10px;
    width:40px;
    height:40px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
    color:#fff;
    cursor:pointer;
}

.lightbox__nav{
    position:absolute;
    top:50%;
    transform: translateY(-50%);
    width:44px;
    height:56px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
    color:#fff;
    cursor:pointer;
    font-size:32px;
    line-height:1;
}

.lightbox__prev{ left:10px; }
.lightbox__next{ right:10px; }

@media (max-width: 720px){
    .lightbox__nav{ display:none; } /* на мобилке можно свайпом */
    .lightbox__img{ height: min(70vh, 560px); }
}

/* When lightbox open, lock page scroll */
body.is-locked{
    overflow:hidden;
    touch-action:none;
}
#program .program{
    transition: max-height .28s ease;
    position: relative;
}

#program.is-collapsed .program{
    overflow:hidden;
}

/* fade снизу */
#program.is-collapsed .program::after{
    content:"";
    position:absolute;
    left:0; right:0; bottom:0;
    height:110px;
    pointer-events:none;
    background:linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.95) 70%, #fff 100%);
}

#program:not(.is-collapsed) .program::after{
    display:none;
}