@font-face {
    font-family: 'TenorSans';
    src: url('./Fonts/TenorSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ArsenalSC';
    src: url('./Fonts/ArsenalSC-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'TenorSans', sans-serif;
    line-height: 1.5;
    color: #000000;
    background: #FFFFFF;
    overflow-x: hidden;
{
    padding-top: 100px; /* высота хедера */
}
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== ПЕРЕМЕННЫЕ (ВАШИ ОРИГИНАЛЬНЫЕ) ========== */
:root {
    --color-dark: #000000;
    --color-light: #FFFFFF;
    --color-yellow: #FFBB00;
    --color-orange: #DFA400;

    --fs-xs: clamp(0.75rem, 1.5vw, 0.875rem);
    --fs-sm: clamp(0.875rem, 2vw, 1rem);
    --fs-base: clamp(1rem, 2.5vw, 1.125rem);
    --fs-md: clamp(1.125rem, 3vw, 1.5rem);
    --fs-lg: clamp(1.25rem, 4vw, 2rem);
    --fs-xl: clamp(1.5rem, 5vw, 2.5rem);
    --fs-2xl: clamp(2rem, 6vw, 3rem);
    --fs-3xl: clamp(2.5rem, 7vw, 4rem);
    --fs-4xl: clamp(3rem, 8vw, 5rem);
    --fs-5xl: clamp(4rem, 10vw, 6rem);
    --fs-6xl: clamp(5rem, 12vw, 7.5rem);
    --fs-7xl: clamp(6rem, 14vw, 9.375rem);
    --fs-8xl: clamp(7rem, 16vw, 10.5rem);

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    --space-4xl: 10rem;

    --container-max: 1920px;
    --container-padding: clamp(1rem, 5vw, 4rem);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ========== HEADER (ВАШ ОРИГИНАЛ) ========== */
.header {
    transition: transform 0.3s ease-in-out;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 20px;
    height: 175px;
    padding-left: clamp(1rem, 8vw, 122px);
    padding-right: clamp(1rem, 4vw, 62px);
    background-color: #000;
    color: #fff;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo-image {
    width: clamp(60px, 10vw, 98px);
    height: auto;
}

.header-nav {
    flex: 1;
}

.header-menu-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: clamp(1rem, 7vw, 110px);
    justify-content: center;
    list-style: none;
}

.header-menu-link {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    font-size: clamp(0.75rem, 2vw, 1.875rem);
    color: var(--color-light);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.header-menu-link:hover {
    color: var(--color-orange);
}

.header-actions .button {
    display: inline-flex;
    align-items: center;
    height: clamp(30px, 5vw, 38px);
    padding-inline: clamp(1rem, 2vw, 1.625rem);
    font-weight: 400;
    font-size: clamp(0.75rem, 2vw, 1.9375rem);
    text-transform: uppercase;
    color: #FFFFFF;
    white-space: nowrap;
    background-color: black;
    border: 1px solid #FFFFFF;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ========== HERO (ВАШ ОРИГИНАЛ) ========== */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 2rem;
}

.group-image {
    width: 100%;
    height: auto;
    max-height: 179vh;
    object-fit: contain;
    object-position: center top;
    background-color: #000;
    position: relative;
}

.black-rectangle {
    width: 100%;
    height: clamp(4rem, 10vw, 9.688rem);
    background: var(--color-dark);
    position: relative;
    margin-top: clamp(-10rem, -20vw, -25rem);
    z-index: 1;
}

.EX_LOGO {
    display: block;
    max-width: min(65%, 941px);
    height: auto;
    margin: clamp(-8rem, -16vw, -19.125rem) auto 20px;
    position: relative;
    top: -175px;
    z-index: 2;
    transform: scale(1.6);
}

/* ========== ОСТАЛЬНЫЕ СЕКЦИИ (ВАШИ СТИЛИ) ========== */
.section {
    padding: var(--space-3xl) 0;
}
.section__title {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: var(--space-xl);
    line-height: 1.1;
    font-weight: 400;
}
.section__title--main {
    font-size: var(--fs-8xl);
}
.section__title--large {
    font-size: var(--fs-7xl);
}
.section__subtitle {
    text-align: center;
    font-size: var(--fs-5xl);
    margin-bottom: var(--space-lg);
    text-transform: none;
    font-weight: 400;
}
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 20px;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.about__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}
.about__location {
    font-size: var(--fs-4xl);
    text-transform: uppercase;
    text-align: right;
    margin-top: var(--space-sm);
    font-weight: 400;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    margin-bottom: var(--space-2xl);
}
.about-grid.reverse {
    direction: rtl;
}
.about-grid.reverse > * {
    direction: ltr;
}
.about-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
}
.about-text {
    font-size: var(--fs-xl);
    line-height: 1.6;
    padding: var(--space-xl);
}
.about-full-text {
    font-size: var(--fs-lg);
    line-height: 1.7;
    max-width: 1600px;
    margin: var(--space-2xl) auto 0;
    text-align: center;
}
.guarantee__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
}
.repertoire {
    background: #f8f8f8;
}
.repertoire__text {
    font-size: var(--fs-2xl);
    text-align: center;
    max-width: 1400px;
    margin: 0 auto var(--space-lg);
    line-height: 1.6;
    font-weight: 400;
}
.repertoire__button {
    display: inline-block;
    background: var(--color-yellow);
    color: var(--color-dark);
    padding: var(--space-lg) var(--space-2xl);
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: var(--fs-2xl);
    font-weight: 400;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    margin-top: var(--space-lg);
    min-width: 400px;
}
.repertoire__button:hover {
    background: var(--color-orange);
}
.events__image-wrapper {
    border-radius: 15px;
    overflow: hidden;
    display: block;
    width: 100%;
}
.events__image {
    width: 100%;
    height: auto;
    display: block;
}
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
}
.reviews__image {
    width: 100%;
    height: auto;
    border-radius: 15px;
}
.blog__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}
.blog__post {
    margin-bottom: var(--space-3xl);
}
.blog__title {
    font-size: var(--fs-3xl);
    text-transform: uppercase;
    text-decoration: underline;
    text-align: center;
    margin-bottom: var(--space-xl);
    font-weight: 400;
}
.blog-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
    margin-bottom: var(--space-xl);
}
.blog__image {
    width: 100%;
    height: auto;
    border-radius: 15px;
}
.blog__text {
    font-family: 'ArsenalSC', sans-serif;
    font-size: var(--fs-xl);
    line-height: 1.7;
    text-align: justify;
}
.blog__videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}
.contacts {
    background: var(--color-dark);
    color: var(--color-light);
    text-align: center;
}
.contacts .section__title {
    color: var(--color-light);
}
.contact__info {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-sm);
    text-transform: capitalize;
    font-weight: 400;
    color: #FFFFFF !important;
}
.contact__phone {
    color: #ff0000;
    font-size: var(--fs-4xl);
    text-decoration: none;
    display: block;
    margin-bottom: var(--space-xl);
    font-weight: 400;
}
.contact__map {
    max-width: min(80%, 1200px);
    margin: 0 auto;
    display: block;
    border-radius: 15px;
}
.section__title--main,
.section__title--large,
.section__title--medium,
.section__subtitle {
    font-size: 7rem;   /* вместо 7.0em используем rem — надёжнее */
}

/* ========== ПЛАНШЕТЫ (до 1024px) — ИСПРАВЛЯЕМ «ЛЕСЕНКУ» ========== */
@media (max-width: 1024px) {
    .header {
        height: auto;
        min-height: 120px;
        padding: var(--space-sm) var(--container-padding);
        flex-wrap: wrap;
        gap: 1rem;
    }
    .header-nav {
        order: 3;
        width: 100%;
        margin-top: 0;
    }
    .header-menu-list {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    .header-menu-link {
        font-size: 0.9rem;
        white-space: normal; /* позволяет переносить длинные слова */
    }
    .header-actions {
        margin-left: auto;
    }
    .EX_LOGO {
        width: 60%;
        margin-top: -124px;
        transform: scale(0.8);
        top: 0;
    }
    .black-rectangle {
        height: 60px;
        margin-top: -20px;
    }
    .section__title--main { font-size: 3.5rem; }
    .section__title--large { font-size: 2.8rem; }
    .about-text { font-size: 1.2rem; }
    .blog__text { font-size: 1rem; }
    .repertoire__text { font-size: 1.3rem; }
}

/* ========== МОБИЛЬНЫЕ (до 768px) ========== */
@media (max-width: 768px) {
    .header-nav {
        display: none !important;
    }
    .header {
        flex-direction: row !important;
        justify-content: space-between !important;
        padding: 8px 12px !important;
        min-height: 70px;
        flex-wrap: nowrap !important;
    }
    .header-actions .button {
        font-size: 13px;
        padding: 5px 12px;
        height: auto;
    }
    .EX_LOGO {
        transform: scale(1.2);
        max-width: 70%;
        margin: -104px auto 0;
        top: 0;
    }
    .black-rectangle {
        height: 40px;
        margin-top: -20px;
    }
    .group-image {
        max-height: 70vh;
        object-fit: contain;
    }
    .about-grid,
    .reviews__grid,
    .blog-content-grid,
    .blog__videos {
        grid-template-columns: 1fr;
    }
    .repertoire__button {
        min-width: auto;
        width: 90%;
        padding: var(--space-md);
        font-size: var(--fs-xl);
    }
    .about__location {
        text-align: center;
        font-size: var(--fs-2xl);
    }
    .section__title--main { font-size: 2.5rem; }
    .section__title--large { font-size: 2rem; }
    .section__subtitle { font-size: 1.5rem; }
    .about-text { font-size: 1rem; padding: 0; }
    .blog__title { font-size: 1.5rem; }
    .contact__info { font-size: 1.25rem; }
    .contact__phone { font-size: 1.5rem; }
    .repertoire__text { font-size: 1.125rem; }
    .repertoire__button { font-size: 1.125rem; padding: 0.75rem 1.5rem; }
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    .social-icon.custom-icon img {
        width: 45px;
        height: 45px;
    }
    .social-links {
        gap: 1rem;
    }
}


/* ========== МАЛЕНЬКИЕ ТЕЛЕФОНЫ (до 480px) ========== */
@media (max-width: 480px) {
    .header {
        padding: 6px 10px !important;
    }
    .header-actions .button {
        font-size: 12px;
        padding: 4px 10px;
    }
    .EX_LOGO {
        transform: scale(1);
        max-width: 85%;
        margin: -62px auto 0;
    }
    .black-rectangle {
        height: 30px;
        margin-top: -10px;
    }
    .section__title--main {
        font-size: 2rem;
    }
    .section__title--large {
        font-size: 1.75rem;
    }
    .section {
        padding: 3rem 0;
    }
    .contact__phone {
        font-size: 1.25rem;
        word-break: break-all;
    }

    .section__title--main,
    .section__title--large,
    .section__title--medium,
    .section__subtitle {
        font-size: 2.0rem !important;
    }
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    .social-icon.custom-icon img {
        width: 45px;
        height: 45px;
    }
    .social-links {
        gap: 1rem;
    }
}

/* ============================================= */
/* МЕДИА-ЗАПРОСЫ ДЛЯ ВСЕХ РАЗМЕРОВ МОНИТОРОВ     */
/* ============================================= */

/* 1. Маленькие ноутбуки / старые мониторы (ширина 1025px – 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
    /* Пример корректировки логотипа */
    .EX_LOGO {
        width: min(55%, 600px);
        margin-top: 19px;
    }
    .black-rectangle {
        height: 70px;
        margin-top: -5px;
    }
    .header-menu-link {
        font-size: 0.85rem;
    }
}

/* 2. Стандартные ноутбуки и мониторы (1367px – 1600px) */
@media (min-width: 1367px) and (max-width: 1600px) {
    .EX_LOGO {
        width: min(50%, 650px);
        margin-top: -1px;
    }
    .black-rectangle {
        height: 75px;
        margin-top: -8px;
    }
    .video-wrapper {
        max-width: 1100px;      /* уменьшаем ширину */
        width: 100%;            /* ширина = 100% от max-width */
        padding-bottom: 40%; /* сохраняем пропорции 16:9 */
    }
}

/* 3. Full HD и MacBook Air (1601px – 1920px) */
@media (min-width: 1601px) and (max-width: 1920px) {
    .EX_LOGO {
        width: min(48%, 700px);
        margin-top: -13px;
    }
    .black-rectangle {
        height: 80px;
        margin-top: -10px;
    }
    .video-wrapper {
        max-width: 1100px;      /* уменьшаем ширину */
        width: 100%;            /* ширина = 100% от max-width */
        padding-bottom: 40%; /* сохраняем пропорции 16:9 */
    }
}

/* 4. QHD / 2K (1921px – 2560px) */
@media (min-width: 1921px) and (max-width: 2560px) {
    .container {
        max-width: 1800px;
    }
    html {
        font-size: 18px;
    }
    .EX_LOGO {
        width: min(45%, 750px);
        margin-top: -32px;
    }
    .black-rectangle {
        height: 90px;
        margin-top: -15px;
    }
    .header {
        height: 190px;
    }
    .video-wrapper {
        max-width: 1100px;      /* уменьшаем ширину */
        width: 100%;            /* ширина = 100% от max-width */
        padding-bottom: 40%; /* сохраняем пропорции 16:9 */
    }
}

/* 5. 4K и MacBook Pro 16 (2561px – 3840px) */
@media (min-width: 2561px) and (max-width: 3840px) {
    .container {
        max-width: 2000px;
    }
    html {
        font-size: 20px;
    }
    .EX_LOGO {
        width: min(40%, 800px);
        margin-top: -49px;
    }
    .black-rectangle {
        height: 100px;
        margin-top: -20px;
    }
    .header {
        height: 210px;
    }
    .section__title--main {
        font-size: 5rem;
    }
    .section__title--large {
        font-size: 4rem;
    }
    .video-wrapper {
        max-width: 1100px;      /* уменьшаем ширину */
        width: 100%;            /* ширина = 100% от max-width */
        padding-bottom: 40%; /* сохраняем пропорции 16:9 */
    }
}

/* 6. Сверхширокие мониторы (3841px и выше) */
@media (min-width: 3841px) {
    .container {
        max-width: 2400px;
    }
    html {
        font-size: 22px;
    }
    .EX_LOGO {
        width: min(35%, 900px);
        margin-top: -76px;
    }
    .black-rectangle {
        height: 110px;
        margin-top: -25px;
    }
    .header {
        height: 230px;
    }
    .video-wrapper {
        max-width: 1100px;      /* уменьшаем ширину */
        width: 100%;            /* ширина = 100% от max-width */
        padding-bottom: 40%; /* сохраняем пропорции 16:9 */
    }
}

/* ========== ХОВЕР ЭФФЕКТЫ ========== */
@media (hover: hover) and (pointer: fine) {
    .header-menu-link:hover {
        color: var(--color-orange);
    }
    .header-actions .button:hover {
        background: var(--color-light);
        color: var(--color-dark);
        transform: translateY(-2px);
    }
    .repertoire__button:hover {
        background: var(--color-orange);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
}

/* ========== АНИМАЦИИ ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* ========== ВСПОМОГАТЕЛЬНЫЕ КЛАССЫ ========== */
.text-center { text-align: center; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* Базовые стили для иконок */
.social-links {
    display: flex;
    justify-content: center;
    gap: 3.5rem;

    flex-wrap: wrap;
    margin-top: -110px;
}

/* Стили для обычных иконок Font Awesome — без фона */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 74px;
    background-color: transparent; /* убрали белый фон */
    border-radius: 0; /* убираем скругление, если не нужно */
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.3s ease; /* плавное увеличение */
    text-decoration: none;
}

/* Стили для пользовательских SVG-иконок — тоже без фона */
.social-icon.custom-icon {
    background-color: transparent;
    padding: 0; /* убираем отступы */
}

/* Адаптация SVG внутри иконки */
.social-icon.custom-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Эффект при наведении — увеличение */
.social-icon:hover {
    transform: scale(1.1); /* увеличиваем иконку */
    background-color: transparent; /* фон не меняем */
}

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
    .social-links {
        gap: 1rem;
        margin: 1.5rem 0;
    }
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

.blog__videos .video-wrapper {
    max-width: 900px;          /* увеличьте ширину (было, вероятно, 100% или меньше) */
    margin: 0 auto;
    padding-bottom: 70%;/* центрирование */
}

/* Анимация скрытия хедера */
.header {
    transition: transform 0.3s ease-in-out;
}
.header-hidden {
    transform: translateY(-100%);
}

.contact-gallery {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.contact-item img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s;
}

.contact-item img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .contact-gallery {
        gap: 1rem;
    }
    .contact-item {
        min-width: 150px;
    }
}

@media (max-width: 480px) {
    .contact-gallery {
        flex-direction: column;
        align-items: center;
    }
    .contact-item {
        max-width: 80%;
    }
}
.header {
    transition: transform 0.3s ease-in-out;
    transform: translateY(0);
}

.header-hidden {
    transform: translateY(-100%);
}