/* Главная страница 2026 — блоки по ТЗ (SEO-оптимизация главной)
   Подключается после custom/crbase6064/css/style.css */

/* H1 в шапке вместо div.mid-line__tit1 — визуально без изменений */
h1.mid-line__tit1 {
    margin: 0;
    text-transform: none;
    text-align: center;
}
.congress26 h1.mid-line__tit1 {
    font-size: 25px;
    line-height: 30px;
    color: #FFF;
    font-weight: 700;
    padding-top: 50px;
}
@media (max-width: 991px) {
    .congress26 h1.mid-line__tit1 { padding-top: 0; font-size: 20px; }
}
@media (max-width: 767px) {
    .congress26 h1.mid-line__tit1 { font-size: 24px; line-height: 32px; }
}

/* ---------- общие ---------- */
.hp26 { --hp-orange: #FF6E00; --hp-navy: #243853; --hp-navy2: #1F529A; --hp-grey: #F4F6F9; --hp-text: #454545; }
.hp26 h2 { margin: 0 0 30px; }
.hp26 .hp26-lead {
    text-align: center;
    max-width: 900px;
    margin: -10px auto 30px;
    font-size: 18px;
    line-height: 26px;
}
.hp26-section { margin: 0 0 70px; }
.hp26-section:last-child { margin-bottom: 0; }
.hp26-center { text-align: center; }
.hp26 .link_button { margin: 10px 0 0; }

/* ---------- Блок 1. Конгресс в цифрах ---------- */
.hp26-stats {
    background: var(--hp-navy) url(/libs/img/bp26_header_bg.jpg) 50% 100% / cover no-repeat;
    position: relative;
    color: #FFF;
    padding: 70px 125px 60px;
    margin: 0 -15px;
    overflow: hidden;
}
.hp26-stats::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(36,56,83,.96) 0%, rgba(36,56,83,.88) 60%, rgba(31,82,154,.80) 100%);
}
.hp26-stats > * { position: relative; }
.hp26-stats h2 { color: #FFF; text-align: left; margin-bottom: 10px; }
.hp26-stats .hp26-stats__note { opacity: .75; font-size: 16px; margin-bottom: 40px; }
.hp26-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.hp26-stat {
    border-left: 2px solid rgba(255,255,255,.35);
    padding: 10px 0 10px 28px;
}
.hp26-stat__num {
    font-size: 64px;
    line-height: 1;
    font-weight: 700;
    color: var(--hp-orange);
    letter-spacing: -1px;
}
.hp26-stat__label {
    margin-top: 14px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
}

/* ---------- Блок 2. О конгрессе ---------- */
.hp26-about { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center; }
.hp26-about__text p { margin: 0 0 14px; font-size: 17px; line-height: 26px; }
.hp26-about__text .hp26-hello { font-size: 22px; font-weight: 700; color: var(--hp-orange); margin-bottom: 18px; }
.hp26-about__img img { width: 100%; height: auto; display: block; border-radius: 30px; box-shadow: 0 20px 50px rgba(36,56,83,.18); }

/* ---------- Блок 3. Для кого ---------- */
.hp26-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hp26-tag {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 14px;
    background: #FFF;
    border: 1px solid #E3E8F0;
    box-shadow: 0 6px 18px rgba(36,56,83,.08);
    color: var(--hp-navy);
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
}

/* ---------- Блок 4. Почему стоит участвовать ---------- */
.hp26-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hp26-why__item {
    background: var(--hp-grey);
    border-radius: 24px;
    padding: 30px 28px 28px;
    position: relative;
}
.hp26-why__num {
    display: inline-block;
    width: 44px; height: 44px; line-height: 44px;
    border-radius: 50%;
    background: var(--hp-orange);
    color: #FFF; font-weight: 700; font-size: 20px; text-align: center;
    margin-bottom: 16px;
}
.hp26-why__title { font-size: 20px; line-height: 26px; font-weight: 700; color: var(--hp-navy); margin-bottom: 10px; }
.hp26-why__item p { margin: 0; font-size: 16px; line-height: 23px; }

/* ---------- Блок 5. Что будет ---------- */
.hp26-format { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hp26-format__item {
    border: 2px solid #E3E8F0;
    border-radius: 20px;
    padding: 26px 22px;
    text-align: center;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    color: var(--hp-navy);
    transition: .3s;
}
.hp26-format__item:hover { border-color: var(--hp-orange); box-shadow: 0 10px 30px rgba(255,110,0,.12); }
.hp26-format__item .hp26-ico {
    display: block; width: 56px; height: 56px; margin: 0 auto 16px;
    border-radius: 50%; background: rgba(255,110,0,.12);
    position: relative;
}
.hp26-format__item .hp26-ico::after {
    content: ""; position: absolute; left: 20px; top: 15px;
    width: 12px; height: 22px;
    border: solid var(--hp-orange); border-width: 0 4px 4px 0;
    transform: rotate(45deg);
}

/* ---------- Блок 6. Ключевые темы ---------- */
.hp26-topics { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.content_wrapper .hp26-topics li {
    list-style: none;
    margin: 0;
    padding: 14px 0 14px 46px;
    position: relative;
    font-size: 17px;
    line-height: 24px;
    border-bottom: 1px solid #E3E8F0;
}
.hp26-topics li::before {
    content: ""; position: absolute; left: 0; top: 14px;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--hp-orange);
}
.hp26-topics li::after {
    content: ""; position: absolute; left: 9px; top: 19px;
    width: 6px; height: 12px;
    border: solid #FFF; border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

/* ---------- Блок 7. Спикеры ---------- */
.hp26-speakers { position: relative; }
.hp26-speakers__row {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--hp-orange) #EEE;
}
.hp26-speaker {
    flex: 0 0 240px;
    scroll-snap-align: start;
    text-align: center;
}
.hp26-speaker__img {
    width: 200px; height: 200px; margin: 0 auto 16px;
    border-radius: 50%; overflow: hidden;
    background: var(--hp-grey);
    border: 4px solid #FFF;
    box-shadow: 0 10px 30px rgba(36,56,83,.16);
}
.hp26-speaker__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp26-speaker__name { font-size: 19px; line-height: 25px; font-weight: 700; color: var(--hp-navy); margin-bottom: 8px; }
.hp26-speaker__pos { font-size: 15px; line-height: 21px; color: #6A7280; }
.hp26-speakers__more { text-align: center; margin-top: 10px; }

/* ---------- Блок 8. FAQ ---------- */
.hp26-faq { max-width: 1000px; margin: 0 auto; }
.hp26-faq details {
    background: #FFF;
    border: 1px solid #E3E8F0;
    border-radius: 16px;
    margin-bottom: 14px;
    box-shadow: 0 6px 18px rgba(36,56,83,.06);
    overflow: hidden;
}
.hp26-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 64px 22px 28px;
    position: relative;
}
.hp26-faq summary::-webkit-details-marker { display: none; }
.hp26-faq summary h3 {
    margin: 0;
    font-size: 20px;
    line-height: 28px;
    text-align: left;
    color: var(--hp-navy);
    text-transform: none;
}
.hp26-faq summary::after {
    content: "";
    position: absolute; right: 28px; top: 26px;
    width: 12px; height: 12px;
    border: solid var(--hp-orange); border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    transition: .25s;
}
.hp26-faq details[open] summary::after { transform: rotate(225deg); top: 32px; }
.hp26-faq details[open] summary h3 { color: var(--hp-orange); }
.hp26-faq__answer { padding: 0 28px 24px; font-size: 17px; line-height: 26px; }
.hp26-faq__answer p { margin: 0 0 10px; }

/* ---------- Блок 9. Место проведения ---------- */
.hp26-venue { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: stretch; }
.hp26-venue__info { display: flex; flex-direction: column; justify-content: center; }
.hp26-venue__hotel { font-size: 28px; line-height: 34px; font-weight: 700; color: var(--hp-navy); margin-bottom: 8px; }
.hp26-venue__addr { font-size: 18px; line-height: 26px; margin-bottom: 8px; }
.hp26-venue__metro { font-size: 16px; color: #6A7280; margin-bottom: 20px; }
.hp26-venue__map { border-radius: 24px; overflow: hidden; min-height: 420px; box-shadow: 0 10px 30px rgba(36,56,83,.12); }
.hp26-venue__map { position: relative; cursor: pointer; }
.hp26-venue__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; pointer-events: none; }
.hp26-venue__map.is-active iframe { pointer-events: auto; }
.hp26-venue__lock {
    position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
    z-index: 2; background: rgba(36,56,83,.85); color: #FFF;
    font-size: 14px; line-height: 20px; padding: 6px 14px; border-radius: 20px;
    pointer-events: none; white-space: nowrap;
}
.hp26-venue__map.is-active .hp26-venue__lock { display: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1349px) {
    .hp26-stats { padding-left: 60px; padding-right: 60px; }
    .hp26-stat__num { font-size: 54px; }
}
@media (max-width: 1199px) {
    .hp26-stats { padding: 50px 40px 40px; }
    .hp26-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .hp26-why { grid-template-columns: 1fr 1fr; }
    .hp26-format { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .hp26-about { grid-template-columns: 1fr; }
    .hp26-venue { grid-template-columns: 1fr; }
    .hp26-topics { grid-template-columns: 1fr; }
    .hp26-format { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .hp26-section { margin-bottom: 50px; }
    .hp26-stats { padding: 40px 25px 30px; }
    .hp26-stat__num { font-size: 44px; }
    .hp26-why { grid-template-columns: 1fr; }
    .hp26-tag { font-size: 16px; padding: 10px 16px; }
    .hp26-faq summary { padding: 18px 50px 18px 20px; }
    .hp26-faq summary h3 { font-size: 18px; line-height: 24px; }
    .hp26-faq summary::after { right: 20px; }
    .hp26-faq__answer { padding: 0 20px 20px; }
    .hp26-venue__map, .hp26-venue__map iframe { min-height: 320px; }
}
@media (max-width: 575px) {
    .hp26-stats__grid { grid-template-columns: 1fr; gap: 18px; }
    .hp26-format { grid-template-columns: 1fr; }
    .hp26-speaker { flex-basis: 200px; }
    .hp26-speaker__img { width: 160px; height: 160px; }
}
