/* =========================================================
   Dana Bilim Merkezi — общие стили
   Переведено с Tailwind CSS на чистый CSS
   Брейкпоинты: md = 768px, lg = 1024px (как в Tailwind по умолчанию)
   ========================================================= */



/* 172.16.16.110 ahmet 123456 port:22 */

:root {
    --color-text: #002b48;
    --color-accent: #ff0028;
    --color-maroon: #780032;
    --color-gold: #ffac00;
    --color-bg-light: #f7f7f7;
    --color-amber: #fbbf24;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--color-text);
    font-family: var(--font-main);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

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

/* =========================================================
   Обёртка страницы с фоновой картинкой
   ========================================================= */
.page-bg {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-position: center top;
    background-repeat: repeat;
    background-size: 34rem;
}

.container {
    width: 25rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
    flex: 1;
}

@media (min-width: 768px) {
    .container {
        width: 48rem;
        padding-bottom: 4rem;
    }
}

@media (min-width: 1024px) {
    .container {
        width: 64rem;
        padding-bottom: 5rem;
    }
}

/* =========================================================
   Шапка сайта
   ========================================================= */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    width: 8.75rem;
}

@media (min-width: 768px) {
    .header__logo {
        width: 6.5625rem;
    }
}

/* Мобильное меню — выезжающий сбоку сайдбар */
.nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 17rem;
    max-width: 80%;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 5.5rem 1.75rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1000;
    box-shadow: -6px 0 24px rgba(0, 0, 0, 0.18);
}

.nav--open {
    transform: translateX(0);
}

@media (min-width: 768px) {
    .nav {
        position: static;
        top: auto;
        right: auto;
        height: auto;
        width: auto;
        max-width: none;
        background: transparent;
        flex-direction: row;
        align-items: center;
        gap: 0;
        padding: 0;
        transform: none;
        transition: none;
        box-shadow: none;
        z-index: auto;
    }
}

.nav__link {
    display: block;
    padding: 0.9rem 0;
    font-size: 18px;
    border-bottom: 1px solid #eee;
    transition: color 0.2s ease;
}

.nav__link:hover {
    color: var(--color-accent);
}

@media (min-width: 768px) {
    .nav__link {
        display: inline-block;
        padding: 0.25rem 0.75rem;
        font-size: inherit;
        border-bottom: none;
    }
}

.nav__link--active {
    color: var(--color-accent);
    font-weight: 600;
}

.nav__link--active:hover {
    color: var(--color-accent);
}

@media (min-width: 768px) {
    .nav__link--active {
        color: inherit;
        font-weight: normal;
        border: 1px solid #000;
        border-radius: 1rem;
    }

    .nav__link--active:hover {
        color: var(--color-accent);
        border-color: var(--color-accent);
    }
}

/* Затемнение фона при открытом мобильном меню */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 900;
}

.nav-overlay--visible {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 768px) {
    .nav-overlay {
        display: none;
    }
}

/* Кнопка гамбургера с анимацией в крестик */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 2.75rem;
    height: 2.75rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 1100;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle__bar {
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: var(--color-maroon);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle--active .menu-toggle__bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle--active .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle--active .menu-toggle__bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* =========================================================
   Герой (главный блок)
   ========================================================= */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin: 1.25rem 0 2rem;
}

@media (min-width: 768px) {
    .hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.hero__star {
    width: 0.5625rem;
    margin-top: 2.375rem;
}

@media (min-width: 768px) {
    .hero__star {
        display: none;
    }
}

.hero__title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
    margin-top: 1.875rem;
}

@media (min-width: 768px) {
    .hero__title {
        font-size: 50px;
        margin-top: 0;
    }
}

.hero__text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 1.375rem;
    display: none;
    color: var(--color-text);
    opacity: 0.85;
}

@media (min-width: 768px) {
    .hero__text {
        display: block;
        margin-top: 2.5rem;
        font-size: 17px;
    }
}

.hero__text--mobile {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 1.375rem;
    color: var(--color-text);
    opacity: 0.85;
}

@media (min-width: 768px) {
    .hero__text--mobile {
        display: none;
    }
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    color: #fff;
    border: none;
    border-radius: 999px;
    background: var(--color-accent);
    margin-top: 2.5rem;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 14px 28px -14px rgba(255, 0, 40, 0.55);
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.hero__btn:hover {
    background: var(--color-maroon);
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -14px rgba(120, 0, 50, 0.5);
}

.hero__image-wrap {
    margin-left: auto;
}

.hero__image {
    margin-top: 1.75rem;
}

@media (min-width: 768px) {
    .hero__image {
        margin-top: 0;
        width: 37.5rem;
    }
}

/* =========================================================
   Секция "Biz öwrenýäris, Biz özgerýäris"
   ========================================================= */
.section-learn {
    margin-top: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .section-learn {
        margin-top: 8rem;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

.section-learn__content {
    grid-column: span 2;
}

.section-learn__star {
    width: 0.5625rem;
}

@media (min-width: 768px) {
    .section-learn__star {
        width: 1rem;
    }
}

.section-learn__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    margin-top: 2.25rem;
}

@media (min-width: 768px) {
    .section-learn__title {
        font-size: 55px;
        margin-top: 4.5rem;
    }
}

.section-learn__text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 1rem;
    opacity: 0.85;
}

.section-learn__image {
    grid-column: span 1;
    margin-left: auto;
    margin-top: 2.25rem;
}

@media (min-width: 768px) {
    .section-learn__image {
        margin-top: 0;
    }
}

/* =========================================================
   Секция "Biz barada" — десктоп
   ========================================================= */
.about {
    display: none;
    margin-top: 8rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

.about__image {
    width: 100%;
    grid-column: span 1;
}

.about__spacer {
    display: none;
}

@media (min-width: 768px) {
    .about__spacer {
        display: block;
        grid-column: span 1;
    }
}

.about__content {
    grid-column: span 2;
}

@media (min-width: 768px) {
    .about__content {
        grid-column: span 1;
    }
}

.about__star {
    width: 1.125rem;
}

.about__title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    margin-top: 1.875rem;
}

.about__text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 0.9375rem;
    opacity: 0.85;
}

.about__note {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 0.75rem;
    opacity: 0.7;
}

/* Секция "Biz barada" — мобильная версия */
.about-mobile {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .about-mobile {
        display: none;
    }
}

.about-mobile__star {
    width: 0.5625rem;
    margin-top: 1.875rem;
}

.about-mobile__title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    margin-top: 1.875rem;
}

.about-mobile__text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 1.875rem;
    opacity: 0.85;
}

.about-mobile__note {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 0.75rem;
    opacity: 0.7;
}

.about-mobile__image {
    width: 100%;
    margin-top: 3.5rem;
}

/* =========================================================
   Статистика (Nº1, 1000+, 50+)
   ========================================================= */
.stats {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .stats {
        flex-direction: row;
        justify-content: space-evenly;
        gap: 0;
        margin-top: 4rem;
    }
}

.stats__item {
    text-align: center;
}

.stats__number {
    font-size: 56px;
    font-weight: 600;
    line-height: 1;
    color: var(--color-accent);
}

.stats__label {
    font-size: 12px;
}

/* =========================================================
   Секция "Okuw tertibi" — десктоп
   ========================================================= */
.schedule {
    display: none;
    margin-top: 5rem;
}

@media (min-width: 768px) {
    .schedule {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin-top: 8rem;
    }
}

.schedule__content {
    grid-column: span 2;
}

@media (min-width: 1024px) {
    .schedule__content {
        grid-column: span 1;
    }
}

.schedule__star {
    width: 0.875rem;
}

.schedule__title {
    font-size: 55px;
    font-weight: 700;
    line-height: 1;
    margin-top: 4.25rem;
}

.schedule__text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 1.25rem;
    opacity: 0.85;
}

.schedule__spacer {
    display: none;
}

@media (min-width: 1024px) {
    .schedule__spacer {
        display: block;
        grid-column: span 1;
    }
}

.schedule__image-col {
    grid-column: span 1;
}

/* Секция "Okuw tertibi" — мобильная версия */
.schedule-mobile {
    display: flex;
    flex-direction: column;
    margin-top: 3.5rem;
}

@media (min-width: 768px) {
    .schedule-mobile {
        display: none;
    }
}

.schedule-mobile__content {
    margin-top: 2.25rem;
}

.schedule-mobile__star {
    width: 0.5625rem;
}

.schedule-mobile__title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .schedule-mobile__title {
        font-size: 55px;
        margin-top: 4.25rem;
    }
}

.schedule-mobile__text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 1.25rem;
    opacity: 0.85;
}

/* =========================================================
   Подвал (footer)
   ========================================================= */
.footer {
    background: var(--color-maroon);
}

.footer__container {
    width: 100%;
    max-width: 40rem;
    margin: 0 auto;
    padding: 2rem 1rem;
}

@media (min-width: 768px) {
    .footer__container {
        max-width: 48rem;
    }
}

@media (min-width: 1024px) {
    .footer__container {
        max-width: 64rem;
    }
}

/* ---- Top section ---- */
.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__logo {
    width: 9.25rem;
}

.footer__cols {
    display: flex;
    gap: 2.5rem;
}

.footer__col {
    color: #fff;
}

.footer__col-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.footer__link {
    font-size: 12px;
    color: #fff;
    opacity: 0.85;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer__link:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer__socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    align-items: center;
}

.footer__social-icon {
    width: 1.25rem;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer__socials a:hover .footer__social-icon {
    opacity: 1;
    transform: translateY(-2px);
}

/* ---- Bottom section ---- */
.footer__bottom {
    margin-top: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__copy {
    color: var(--color-gold);
    font-size: 12px;
    margin: 0;
}

.footer__legal {
    display: flex;
    gap: 5rem;
}

.footer__legal-item {
    color: var(--color-gold);
    font-size: 12px;
    margin: 0;
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
    .footer__container {
        padding: 1.5rem 1rem;
    }

    .footer__top {
        flex-direction: column;
        gap: 1.5rem;
        padding-bottom: 1.25rem;
    }

    .footer__logo {
        width: 7.5rem;
    }

    .footer__cols {
        flex-direction: column;
        gap: 1.25rem;
        width: 100%;
    }

    .footer__col {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer__col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer__col-title {
        font-size: 13px;
    }

    .footer__links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.35rem 0.75rem;
        margin-top: 0;
    }

    .footer__link {
        font-size: 11px;
    }

    .footer__socials {
        margin-top: 0;
    }

    .footer__social-icon {
        width: 1.5rem;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        margin-top: 1rem;
    }

    .footer__legal {
        gap: 1.5rem;
    }

    .footer__legal-item {
        font-size: 11px;
    }
}

/* Мобильный подвал (упрощённая версия) */
.footer-mobile {
    background: var(--color-maroon);
    display: none;
}

@media (max-width: 767px) {
    .footer-mobile {
        display: block;
    }
}

.footer-mobile__inner {
    display: flex;
    justify-content: space-between;
}

.footer-mobile__logo {
    width: 8.25rem;
}

.footer-mobile__socials {
    display: flex;
    margin-top: 3.75rem;
}

.footer-mobile__social-icon {
    width: 2rem;
}

.footer-mobile__social-icon--mid {
    width: 2rem;
    margin: 0 0.75rem;
}

.footer-mobile__nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-mobile__nav-link {
    color: #fff;
}

/* На десктопе основной footer виден, мобильный скрыт (управляется через footer-mobile media above) */
@media (min-width: 768px) {
    .footer--desktop-only {
        display: block;
    }
}

@media (max-width: 767px) {
    .footer--desktop-only {
        display: none;
    }
}

/* =========================================================
   Страница "Biz barada" (About Us)
   ========================================================= */
.values {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    background: var(--color-bg-light);
    padding: 1.75rem;
    margin-top: 5rem;
}

@media (min-width: 768px) {
    .values {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
        padding: 3.375rem 2.75rem;
        margin-top: 6rem;
    }
}

.values__item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-align: left;
}

@media (min-width: 768px) {
    .values__item {
        flex-direction: column;
        text-align: center;
    }
}

.values__icon {
    width: 5.75rem;
    height: 5.75rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .values__icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

.values__title {
    color: var(--color-accent);
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.values__text {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0.25rem 0 0;
    opacity: 0.85;
}

.values__text--tight {
    font-weight: 300;
    line-height: 1;
}

.branches {
    margin-top: 3rem;
}

.branches__star {
    width: 0.75rem;
    margin-top: 4.375rem;
}

.branches__grid {
    margin-top: 4.25rem;
}

@media (min-width: 768px) {
    .branches__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.branches__title {
    font-size: 56px;
    font-weight: 700;
    margin: 0;
}

.branches__text {
    font-size: 15px;
    margin: 0.75rem 0;
}

.branches__map--real {
    width: 100%;
    height: 20rem;
    min-height: 20rem;
    position: relative;
}

.branches__map--real .leaflet-container {
    border-radius: 1.25rem;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.branches__map--real .leaflet-popup-pane {
    position: absolute;
    z-index: 1000;
}

.branches__map--real .leaflet-popup {
    z-index: 1000 !important;
}

.branches__map--real .leaflet-popup-content-wrapper {
    overflow: visible;
}

@media (min-width: 768px) {
    .branches__map--real {
        height: 22rem;
        min-height: 22rem;
    }
}

.partners {
    text-align: center;
    margin-top: 5rem;
}

@media (min-width: 768px) {
    .partners {
        margin-top: 7.5rem;
    }
}

.partners__title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .partners__title {
        font-size: 38px;
    }
}

.partners__text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin: 1rem auto 0;
    opacity: 0.85;
}

@media (min-width: 768px) {
    .partners__text {
        width: 31.25rem;
    }
}

.partners__logos {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.partners__logo {
    width: 3.25rem;
}

/* =========================================================
   Страница "Контакт"
   ========================================================= */
.contact {
    margin: 3rem 0;
    align-items: center;
}

@media (min-width: 768px) {
    .contact {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        margin: 5rem 0;
    }
}

.contact__form-col {
    grid-column: span 3;
}

.contact__star {
    width: 0.625rem;
}

@media (min-width: 768px) {
    .contact__star {
        width: 0.875rem;
    }
}

.contact__title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    margin-top: 0.75rem;
}

@media (min-width: 768px) {
    .contact__title {
        font-size: 56px;
        margin-top: 1rem;
    }
}

/* Карточка с полями формы — приподнятая поверхность поверх фонового изображения */
.contact__card {
    margin-top: 2.5rem;
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(6px);
    border-radius: 1.5rem;
    box-shadow: 0 20px 45px -25px rgba(0, 43, 72, 0.35);
    max-width: 44rem;
}

@media (min-width: 768px) {
    .contact__card {
        padding: 2.5rem;
    }
}

.contact__row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    margin-top: 1.75rem;
}

.contact__row:first-child {
    margin-top: 0;
}

@media (min-width: 768px) {
    .contact__row {
        gap: 3rem;
        flex-wrap: nowrap;
    }
}

/* Обёртка поля: иконка + инпут на общей подчёркнутой линии */
.contact__field {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex: 1 1 10rem;
    border-bottom: 2px solid rgba(0, 43, 72, 0.2);
    padding-bottom: 0.375rem;
    transition: border-color 0.25s ease;
}

.contact__field:focus-within {
    border-color: var(--color-accent);
}

.contact__field-icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
    color: var(--color-accent);
    opacity: 0.75;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.contact__field:focus-within .contact__field-icon {
    opacity: 1;
    transform: scale(1.08);
}

.contact__input {
    width: 100%;
    min-width: 0;
    padding: 0.25rem 0;
    font-size: 17px;
    color: var(--color-text);
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
}

.contact__input::placeholder {
    color: var(--color-text);
    opacity: 0.55;
}

.contact__message-wrap {
    margin-top: 1.75rem;
}

.contact__message {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.25rem 0;
    font-size: 17px;
    line-height: 1.4;
    color: var(--color-text);
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    resize: none;
}

.contact__message::placeholder {
    color: var(--color-text);
    opacity: 0.55;
}

.contact__submit {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border: 1.5px solid var(--color-text);
    border-radius: 999px;
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.contact__submit-icon {
    width: 1rem;
    height: 1rem;
    transition: transform 0.25s ease;
}

.contact__submit:hover {
    background: var(--color-text);
    color: #fff;
    transform: translateY(-2px);
}

.contact__submit:hover .contact__submit-icon {
    transform: translateX(3px);
}

@media (min-width: 768px) {
    .contact__submit {
        margin-top: 2.5rem;
    }
}

.contact__image-col {
    grid-column: span 1;
    margin: 2.5rem auto 0;
    position: relative;
    max-width: 16rem;
}

@media (min-width: 768px) {
    .contact__image-col {
        margin: auto;
    }
}

.contact__image-col::before {
    content: "";
    position: absolute;
    inset: 8% 8% auto auto;
    width: 85%;
    height: 85%;
    /* background: var(--color-gold); */
    opacity: 0.18;
    border-radius: 50%;
    z-index: 0;
}

.contact__image {
    width: 100%;
    position: relative;
    z-index: 1;
}

/* =========================================================
   Страница "Kurslar" (курсы)
   ========================================================= */
.courses-hero {
    margin-top: 2.5rem;
    max-width: 40rem;
}

@media (min-width: 768px) {
    .courses-hero {
        margin-top: 3.5rem;
    }
}

.courses-hero__star {
    width: 0.625rem;
}

@media (min-width: 768px) {
    .courses-hero__star {
        width: 0.875rem;
    }
}

.courses-hero__title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    margin-top: 0.75rem;
}

@media (min-width: 768px) {
    .courses-hero__title {
        font-size: 56px;
        margin-top: 1rem;
    }
}

.courses-hero__text {
    margin-top: 1rem;
    font-size: 15px;
    line-height: 1.5;
}

/* Чипы-фильтры (якорные ссылки на секции) */
.course-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: 2.5rem;
    padding-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .course-filters {
        margin-top: 2.75rem;
    }
}

.course-filters__chip {
    display: inline-block;
    padding: 0.5rem 1.1rem;
    border: 1.5px solid rgba(0, 43, 72, 0.2);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    background: #fff;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    white-space: nowrap;
}

.course-filters__chip:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* Секция одной категории курсов */
.course-section {
    margin-top: 3.5rem;
    scroll-margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .course-section {
        margin-top: 5rem;
    }
}

.course-section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 2px solid rgba(0, 43, 72, 0.12);
    padding-bottom: 1rem;
}

.course-section__title {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}

@media (min-width: 768px) {
    .course-section__title {
        font-size: 34px;
    }
}

.course-section__count {
    font-size: 13px;
    color: var(--color-text);
    opacity: 0.55;
    white-space: nowrap;
}

/* Сетка карточек-курсов */
.course-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.875rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .course-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

/* Карточка курса — нативный <details> как аккордеон */
.course-card {
    background: #fff;
    border-radius: 1rem;
    border: 1.5px solid rgba(0, 43, 72, 0.1);
    padding: 0;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.course-card[open],
.course-card:hover {
    border-color: rgba(255, 0, 40, 0.35);
    box-shadow: 0 14px 30px -22px rgba(0, 43, 72, 0.4);
}

.course-card__summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
}

.course-card__summary::-webkit-details-marker {
    display: none;
}

.course-card__summary::marker {
    content: "";
}

.course-card__heading {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.course-card__tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.course-card__title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
}

.course-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.course-card__duration {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text);
    background: var(--color-bg-light);
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
}

.course-card__chevron {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    color: var(--color-text);
    transition: transform 0.25s ease;
}

.course-card[open] .course-card__chevron {
    transform: rotate(180deg);
}

.course-card__body {
    padding: 0 1.25rem 1.25rem;
}

.course-card__text {
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    opacity: 0.85;
}

.course-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.course-card__level {
    font-size: 12px;
    opacity: 0.6;
}

.course-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--color-accent);
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.course-card__cta:hover {
    background: var(--color-maroon);
    transform: translateY(-1px);
}

/* =========================================================
   Страница "Şahamçalar" (филиалы) — ШАБЛОН
   Плейсхолдеры фото и карты нужно заменить на реальные данные.
   ========================================================= */
.branches-hero {
    margin-top: 2.5rem;
    max-width: 40rem;
}

@media (min-width: 768px) {
    .branches-hero {
        margin-top: 3.5rem;
    }
}

.branches-hero__star {
    width: 0.625rem;
}

@media (min-width: 768px) {
    .branches-hero__star {
        width: 0.875rem;
    }
}

.branches-hero__title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    margin-top: 0.75rem;
}

@media (min-width: 768px) {
    .branches-hero__title {
        font-size: 56px;
        margin-top: 1rem;
    }
}

.branches-hero__text {
    margin-top: 1rem;
    font-size: 15px;
    line-height: 1.5;
}

/* Branch map layout — map + side panel */
.map-layout {
    display: flex;
    gap: 0;
    margin-top: 2rem;
    height: 20rem;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #e5e3df;
}

@media (min-width: 768px) {
    .map-layout {
        height: 28rem;
        margin-top: 3rem;
    }
}

.map-layout__map {
    flex: 1;
    min-width: 0;
    position: relative;
}

.map-layout__map .leaflet-container {
    width: 100%;
    height: 100%;
}

.map-layout__info {
    width: 240px;
    flex-shrink: 0;
    background: #fff;
    overflow-y: auto;
    position: relative;
    transition: width 0.3s ease, opacity 0.3s ease;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 12px;
    z-index: 10;
}

.map-layout__info--hidden {
    width: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

@media (max-width: 767px) {
    .map-layout {
        flex-direction: column;
        height: auto;
        border-radius: 0;
        margin-left: -1rem;
        margin-right: -1rem;
        margin-top: 1rem;
        overflow: visible;
    }

    .map-layout__map {
        height: 65vh;
        min-height: 20rem;
        border-radius: 0;
    }

    .map-layout__info {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 55vh;
        margin: 0;
        border-radius: 1.25rem 1.25rem 0 0;
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15), 0 -1px 6px rgba(0, 0, 0, 0.08);
        z-index: 1000;
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        -webkit-overflow-scrolling: touch;
    }

    .map-layout__info::before {
        content: '';
        display: block;
        width: 36px;
        height: 4px;
        background: rgba(0, 0, 0, 0.15);
        border-radius: 2px;
        margin: 10px auto 6px;
    }

    .map-layout__info--hidden {
        transform: translateY(100%);
        opacity: 0;
        pointer-events: none;
    }

    .map-layout__info:not(.map-layout__info--hidden) {
        transform: translateY(0);
        opacity: 1;
    }

    .map-layout__close {
        position: absolute;
        top: 10px;
        right: 12px;
        width: 32px;
        height: 32px;
        background: rgba(0, 0, 0, 0.06);
        border-radius: 50%;
        font-size: 20px;
    }

    .branch-info__img {
        border-radius: 0;
        height: 160px;
    }

    .branch-info__body {
        padding: 12px 16px 20px;
    }

    .branch-info__title {
        font-size: 17px;
    }

    .branch-info__row {
        font-size: 13px;
    }
}

.map-layout__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    z-index: 2;
    transition: background 0.2s;
}

.map-layout__close:hover {
    background: rgba(0, 0, 0, 0.12);
}

/* Mobile backdrop */
.map-layout__backdrop {
    display: none;
}

@media (max-width: 767px) {
    .map-layout__backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .map-layout__backdrop--visible {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Info card content */
.branch-info {
    padding: 0;
}

.branch-info__img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
    border-radius: 1rem 1rem 0 0;
}

.branch-info__body {
    padding: 14px;
}

.branch-info__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--color-text);
}

.branch-info__row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.4;
    margin: 8px 0;
    color: var(--color-text);
    opacity: 0.85;
}

.branch-info__row svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--color-accent);
}

.branch-info__placeholder {
    height: 100%;
    min-height: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--color-text);
    opacity: 0.4;
    padding: 2rem;
    text-align: center;
}

.branch-info__placeholder svg {
    width: 2rem;
    height: 2rem;
}

.branch-info__placeholder-text {
    font-size: 12px;
    font-weight: 600;
}

/* Old classes — kept for about page */
.branches-map--real {
    width: 100%;
    height: 20rem;
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .branches-map--real {
        height: 22rem;
    }
}

.branch-marker {
    background: transparent;
    border: none;
}

/* Old placeholder — hide when real map is used */
.branches-map {
    display: none;
}

/* Сетка карточек филиалов */
.branch-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .branch-grid {
        grid-template-columns: 1fr 1fr;
        margin-top: 4rem;
    }
}

@media (min-width: 1024px) {
    .branch-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.branch-card {
    background: #fff;
    border-radius: 1.25rem;
    border: 1.5px solid rgba(0, 43, 72, 0.1);
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.branch-card:hover {
    border-color: rgba(255, 0, 40, 0.3);
    box-shadow: 0 16px 32px -22px rgba(0, 43, 72, 0.45);
    transform: translateY(-3px);
}

/* Branch photo slider */
.branch-slider {
    position: relative;
    height: 11rem;
    overflow: hidden;
    background: rgba(0, 43, 72, 0.04);
    -webkit-transform: translateZ(0);
}

@media (min-width: 768px) {
    .branch-slider {
        height: 13rem;
    }
}

.branch-slider__track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.branch-slider__slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.branch-slider__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.branch-slider__dots {
    position: absolute;
    bottom: 0.6rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.35rem;
    z-index: 2;
}

.branch-slider__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.branch-slider__dot--active {
    background: #fff;
    transform: scale(1.3);
}

.branch-slider__placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(0, 43, 72, 0.05);
    color: var(--color-text);
    opacity: 0.55;
}

.branch-slider__placeholder-icon {
    width: 2rem;
    height: 2rem;
}

.branch-slider__placeholder-text {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.branch-card__body {
    padding: 1.25rem;
}

.branch-card__number {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.branch-card__title {
    font-size: 19px;
    font-weight: 700;
    margin-top: 0.3rem;
}

.branch-card__info {
    margin-top: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.branch-card__row {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 13px;
    color: var(--color-text);
    opacity: 0.85;
}

.branch-card__row-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: var(--color-accent);
    opacity: 0.8;
}

.branch-card__placeholder-text {
    font-style: italic;
    opacity: 0.5;
}

.branch-card__footer {
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 43, 72, 0.1);
}

.branch-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
}

.branch-card__link-icon {
    width: 0.9rem;
    height: 0.9rem;
    transition: transform 0.2s ease;
}

.branch-card__link:hover .branch-card__link-icon {
    transform: translateX(3px);
}

/* =========================================================
   Страница "Çäreler" (мероприятия) — ШАБЛОН
   ========================================================= */
.events-hero {
    margin-top: 2.5rem;
    max-width: 40rem;
}

@media (min-width: 768px) {
    .events-hero {
        margin-top: 3.5rem;
    }
}

.events-hero__star {
    width: 0.625rem;
}

@media (min-width: 768px) {
    .events-hero__star {
        width: 0.875rem;
    }
}

.events-hero__title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    margin-top: 0.75rem;
}

@media (min-width: 768px) {
    .events-hero__title {
        font-size: 56px;
        margin-top: 1rem;
    }
}

.events-hero__text {
    margin-top: 1rem;
    font-size: 15px;
    line-height: 1.5;
}

.event-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .event-grid {
        grid-template-columns: 1fr 1fr;
        margin-top: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .event-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.event-card {
    background: #fff;
    border-radius: 1.25rem;
    border: 1.5px solid rgba(0, 43, 72, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.event-card:hover {
    border-color: rgba(255, 0, 40, 0.3);
    box-shadow: 0 16px 32px -22px rgba(0, 43, 72, 0.45);
    transform: translateY(-3px);
}

/* Плейсхолдер фото/афиши мероприятия — заменить на <img> */
.event-card__photo {
    position: relative;
    height: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(0, 43, 72, 0.05);
    border-bottom: 1px dashed rgba(0, 43, 72, 0.25);
    color: var(--color-text);
    opacity: 0.55;
    overflow: hidden;
}

.event-card__photo--has-image {
    border-bottom: none;
    opacity: 1;
}

.event-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1;
}

.event-card__photo-icon {
    width: 1.75rem;
    height: 1.75rem;
}

.event-card__photo-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.event-card__date {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--color-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    opacity: 1;
}

.event-card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-card__category {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.event-card__title {
    font-size: 19px;
    font-weight: 700;
    margin-top: 0.3rem;
}

.event-card__info {
    margin-top: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-card__row {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 13px;
    color: var(--color-text);
    opacity: 0.85;
}

.event-card__row-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: var(--color-accent);
    opacity: 0.8;
}

.event-card__placeholder-text {
    font-style: italic;
    opacity: 0.55;
}

.event-card__footer {
    margin-top: auto;
    padding-top: 1rem;
}

.event-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
}

.event-card__link-icon {
    width: 0.9rem;
    height: 0.9rem;
    transition: transform 0.2s ease;
}

.event-card__link:hover .event-card__link-icon {
    transform: translateX(3px);
}

/* =========================================================
   Страница деталей мероприятия (event-details.html) — ШАБЛОН
   ========================================================= */
.event-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.75rem;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    opacity: 0.7;
}

.event-detail__back-icon {
    width: 0.9rem;
    height: 0.9rem;
    transition: transform 0.2s ease;
}

.event-detail__back:hover .event-detail__back-icon {
    transform: translateX(-3px);
}

/* Плейсхолдер главного фото/афиши — заменить на <img> */
.event-detail__hero {
    position: relative;
    margin-top: 1.25rem;
    height: 13rem;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: repeating-linear-gradient(135deg, rgba(0, 43, 72, 0.04) 0 12px, rgba(0, 43, 72, 0.07) 12px 24px);
    border: 2px dashed rgba(0, 43, 72, 0.3);
    color: var(--color-text);
    opacity: 0.6;
    overflow: hidden;
}

.event-detail__hero--has-image {
    border: none;
    opacity: 1;
}

.event-detail__hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 1.5rem;
    opacity: 1;
}

.event-detail__hero-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .event-detail__hero {
        margin-top: 2rem;
        height: 22rem;
    }
}

.event-detail__hero-icon {
    width: 2.5rem;
    height: 2.5rem;
}

.event-detail__hero-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.event-detail__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    opacity: 1;
}

.event-detail__content {
    margin-top: 1.75rem;
    max-width: 44rem;
}

.event-detail__tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.event-detail__title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
    margin-top: 0.4rem;
}

@media (min-width: 768px) {
    .event-detail__title {
        font-size: 42px;
    }
}

.event-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 43, 72, 0.12);
    border-bottom: 1px solid rgba(0, 43, 72, 0.12);
}

.event-detail__meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
}

.event-detail__meta-icon {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--color-accent);
    flex-shrink: 0;
}

.event-detail__meta-placeholder {
    font-style: italic;
    opacity: 0.55;
}

.event-detail__cta {
    margin-top: 1.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--color-accent);
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.event-detail__cta:hover {
    background: var(--color-maroon);
    transform: translateY(-2px);
}

.event-detail__section {
    margin-top: 2.5rem;
    max-width: 44rem;
}

.event-detail__section-title {
    font-size: 20px;
    font-weight: 700;
}

.event-detail__text {
    margin-top: 0.75rem;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.85;
}

.event-detail__text + .event-detail__text {
    margin-top: 0.75rem;
}

/* Доп. фото мероприятия */
.event-detail__gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .event-detail__gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

.event-detail__gallery-photo {
    height: 6rem;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    background: rgba(0, 43, 72, 0.05);
    border: 1px dashed rgba(0, 43, 72, 0.25);
    color: var(--color-text);
    opacity: 0.5;
    overflow: hidden;
}

.event-detail__gallery-photo--has-image {
    border: none;
    opacity: 1;
}

.event-detail__gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 768px) {
    .event-detail__gallery-photo {
        height: 7rem;
    }
}

.event-detail__gallery-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.event-detail__gallery-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
}

/* =========================================================
   Floating Action Button (Call) — только мобилка
   ========================================================= */
.fab {
    display: none;
}

@media (max-width: 767px) {
    .fab {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 1.5rem;
        right: 1.5rem;
        width: 3.5rem;
        height: 3.5rem;
        border-radius: 50%;
        background: var(--color-accent);
        color: #fff;
        box-shadow: 0 6px 20px rgba(255, 0, 40, 0.45);
        z-index: 800;
        text-decoration: none;
        animation: fab-pulse 2.5s ease-in-out infinite;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .fab:active {
        transform: scale(0.92);
    }

    .fab:hover {
        background: var(--color-maroon);
        box-shadow: 0 8px 28px rgba(120, 0, 50, 0.5);
    }
}

.fab__icon {
    width: 1.5rem;
    height: 1.5rem;
}

@keyframes fab-pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(255, 0, 40, 0.45); }
    50% { box-shadow: 0 6px 28px rgba(255, 0, 40, 0.7); }
}

/* =========================================================
   Language Switcher — десктоп (dropdown)
   ========================================================= */
.header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-switch {
    position: relative;
}

.lang-switch__btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border: 1.5px solid rgba(0, 43, 72, 0.15);
    border-radius: 999px;
    background: #fff;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lang-switch__btn:hover {
    border-color: var(--color-accent);
    box-shadow: 0 2px 8px rgba(255, 0, 40, 0.12);
}

.lang-switch__globe {
    width: 1rem;
    height: 1rem;
    color: var(--color-accent);
}

.lang-switch__current {
    line-height: 1;
}

.lang-switch__chevron {
    width: 0.85rem;
    height: 0.85rem;
    transition: transform 0.2s ease;
}

.lang-switch.is-open .lang-switch__chevron {
    transform: rotate(180deg);
}

.lang-switch__dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 10rem;
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 43, 72, 0.1);
    box-shadow: 0 12px 36px -8px rgba(0, 43, 72, 0.2);
    padding: 0.35rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1200;
}

.lang-switch.is-open .lang-switch__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switch__option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0.5rem;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    transition: background-color 0.15s ease;
}

.lang-switch__option:hover {
    background: var(--color-bg-light);
}

.lang-switch__option--active {
    background: var(--color-text);
    color: #fff;
}

.lang-switch__option--active:hover {
    background: var(--color-text);
}

.lang-switch__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    background: rgba(0, 43, 72, 0.08);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--color-text);
}

.lang-switch__option--active .lang-switch__code {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.lang-switch__name {
    font-weight: 500;
}

/* Десктоп: показываем dropdown */
@media (min-width: 768px) {
    .lang-switch__btn {
        display: flex;
    }
}

/* Мобилка: скрываем dropdown, показываем кружок */
@media (max-width: 767px) {
    .lang-switch__btn {
        display: none;
    }

    .lang-switch__dropdown {
        position: fixed;
        bottom: 6rem;
        right: 1.5rem;
        top: auto;
        min-width: 9rem;
        border-radius: 1rem;
    }
}

/* =========================================================
   Язык в мобильном меню (выездное)
   ========================================================= */
.nav__lang-mobile {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eee;
}

.nav__lang-mobile__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2rem;
    border-radius: 0.5rem;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    background: var(--color-bg-light);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav__lang-mobile__link:hover {
    background: #e5e5e5;
}

.nav__lang-mobile__link--active {
    background: var(--color-text);
    color: #fff;
}

@media (min-width: 768px) {
    .nav__lang-mobile {
        display: none;
    }
}

/* =========================================================
   Мобильный кружок языка (fixed, как FAB)
   ========================================================= */
.lang-fab {
    display: none;
}

@media (max-width: 767px) {
    .lang-fab {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 6rem;
        right: 1.5rem;
        width: 3rem;
        height: 3rem;
        border-radius: 50%;
        background: #fff;
        color: var(--color-text);
        border: 1.5px solid rgba(0, 43, 72, 0.15);
        box-shadow: 0 4px 16px rgba(0, 43, 72, 0.15);
        z-index: 800;
        text-decoration: none;
        font-size: 13px;
        font-weight: 700;
        font-family: inherit;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .lang-fab:hover {
        border-color: var(--color-accent);
        box-shadow: 0 6px 20px rgba(255, 0, 40, 0.2);
    }

    .lang-fab:active {
        transform: scale(0.92);
    }
}