/* =========================================
   СБРОС СТИЛЕЙ
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================
   ОСНОВА
   ========================================= */

html {
    scroll-behavior: smooth;
}

h1, h2, h3,
.category-title span,
.footer-logo {
    font-family: 'Unbounded', 'Manrope', Arial, Helvetica, sans-serif;
}

body {
    font-family: 'Manrope', Arial, Helvetica, sans-serif;

    background: #111111;

    color: #ffffff;
}


/* =========================================
   ГЛАВНЫЙ ЭКРАН
   ========================================= */

.hero {
    position: relative;

    width: 100%;

    min-height: 100vh;

    background-image: url("images/hero.jpg");

    background-size: cover;

    background-position: center;

    overflow: hidden;
}


/* Затемнение */

.hero-overlay {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.30);

    z-index: 1;
}


/* =========================================
   НАВИГАЦИЯ
   ========================================= */

.header {
    position: absolute;

    top: 0;
    right: 0;

    padding: 35px 50px;

    z-index: 5;
}

.navigation {
    display: flex;

    align-items: center;

    gap: 35px;
}

.navigation a {
    color: #ffffff;

    text-decoration: none;

    font-size: 17px;

    font-weight: 400;

    transition: opacity 0.3s ease;
}

.navigation a:hover {
    opacity: 0.6;
}


/* =========================================
   ГЛАВНЫЙ ТЕКСТ
   ========================================= */

.hero-content {
    position: absolute;

    z-index: 3;

    left: 50px;

    top: 32%;

    max-width: 850px;
}

h1 {
    font-size: clamp(65px, 8vw, 105px);

    line-height: 0.95;

    font-weight: 700;

    letter-spacing: -4px;

    margin-bottom: 32px;
}

.description {
    font-size: 25px;

    line-height: 1.35;

    font-weight: 400;

    max-width: 700px;

    margin-bottom: 25px;
}

.mission {
    font-size: 30px;

    font-weight: 500;

    margin-top: 10px;
}


/* =========================================
   ЛОГОТИП
   ========================================= */

.hero-logo {
    position: absolute;
    z-index: 5;
    left: 50px;
    top: 120px;
    width: 90px;
    height: auto;
}


/* =========================================
   О НАС
   ========================================= */

.about {
    width: 100%;

    padding: 150px 50px;

    background: #151515;
}

.about-inner {
    width: 100%;

    max-width: 1600px;

    margin: 0 auto;
}


/* =========================================
   ЗАГОЛОВОК
   ========================================= */

.about-header {
    margin-bottom: 70px;
}

.about-label {
    font-size: 14px;

    letter-spacing: 4px;

    opacity: 0.5;

    margin-bottom: 25px;
}

.about-header h2 {
    font-size: clamp(55px, 7vw, 100px);

    line-height: 0.92;

    letter-spacing: -5px;

    font-weight: 600;
}


/* =========================================
   ОСНОВНОЙ ТЕКСТ
   ========================================= */

.about-text {

    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 70px;
}


.about-lead {
    font-size: 28px;

    line-height: 1.35;

    font-weight: 400;
}


/* =========================================
   ФАКТЫ
   ========================================= */

.about-facts {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;

    align-items: stretch;
}

.about-fact {
    min-height: 125px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 26px;

    border: 1px solid rgba(255, 0, 0, 0.5);

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.025);

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.about-fact:hover {
    background: rgba(255, 0, 0, 0.08);

    border-color: #ff0000;

    transform: translateY(-3px);

}

.about-fact p {
    width: 100%;

    font-size: 22px;

    line-height: 1.3;

    text-align: center;

    opacity: 0.9;
}


/* =========================================
   КАТАЛОГ
   ========================================= */

.catalog {
    width: 100%;

    max-width: 1600px;

    margin: 0 auto;

   padding: 140px 50px 30px;

    background: #111111;
}


/* =========================================
   ЗАГОЛОВОК КАТАЛОГА
   ========================================= */

.catalog-header {
    max-width: 900px;

    margin-bottom: 110px;
}

.catalog-label {
    font-size: 14px;

    letter-spacing: 3px;

    opacity: 0.5;

    margin-bottom: 25px;
}

.catalog-header h2 {
    font-size: clamp(52px, 7vw, 95px);

    line-height: 0.95;

    letter-spacing: -4px;

    font-weight: 600;

    margin-bottom: 35px;
}

.catalog-description {
    max-width: 600px;

    font-size: 25px;

    line-height: 1.5;

    opacity: 0.65;
}
/* =========================================
   КАТЕГОРИЯ
   ========================================= */

.catalog-category {
    margin-bottom: 80px;
}

/* =========================================
   НАЗВАНИЕ КАТЕГОРИИ
   ========================================= */

.category-title {
    display: flex;

    align-items: center;

    gap: 25px;

    margin-bottom: 40px;
}

.category-title span {
    font-size: 56px;

    line-height: 1;

    font-weight: 600;

    letter-spacing: -3px;

    opacity: 0.9;
}

.category-title h3 {
    font-size: 42px;

    line-height: 1;

    font-weight: 500;

    letter-spacing: -1.5px;
}


/* =========================================
   ФОТОГАЛЕРЕЯ КАТАЛОГА (базовая, на будущее)
   ========================================= */

.catalog-gallery {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.catalog-gallery img:not(.carousel-slide) {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    background: #1b1b1b;
    transition:
        transform 0.5s ease,
        opacity 0.5s ease;
}

.catalog-gallery img:hover:not(.carousel-slide) {
    transform: scale(1.02);
    opacity: 0.85;
}


/* =========================================
   ГАЛЕРЕЯ С ПОДПИСЯМИ
   (Спортивная форма, Мерч, Аксессуары —
   4 фото в ряд, с подписями)
   ========================================= */

.catalog-gallery--accessories {
    grid-template-columns: repeat(4, 1fr);
}

.catalog-gallery--accessories img:not(.carousel-slide) {
    height: 300px;
}

.catalog-item {
    display: flex;

    flex-direction: column;
}

.catalog-item img {
    margin-bottom: 18px;
}

.catalog-caption {
    font-size: 20px;

    opacity: 0.75;

    text-align: center;
}


/* =========================================
   КАРУСЕЛЬ ФОТО ТОВАРА
   ========================================= */

.carousel {
    position: relative;

    width: 100%;

    height: 300px;

    overflow: hidden;

    border-radius: 4px;

    margin-bottom: 18px;
}

.carousel-track {
    position: relative;

    width: 100%;

    height: 100%;
}

.carousel-slide {
    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: none;

    margin-bottom: 0 !important;
}

.carousel-slide.active {
    display: block;
}

.carousel-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 34px;

    height: 34px;

    border: none;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.5);

    color: #ffffff;

    font-size: 18px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: background 0.3s ease;

    z-index: 2;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    position: absolute;

    bottom: 12px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 6px;

    z-index: 2;
}

.carousel-dot {
    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.4);

    cursor: pointer;

    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: #ffffff;
}


/* =========================================
   НАШИ ЧЕМПИОНЫ
   ========================================= */

.champions {
    width: 100%;

    max-width: 1600px;

    margin: 0 auto;

    padding: 30px 50px 160px;

    background: #111111;

    overflow: hidden;
}


/* =========================================
   ЗАГОЛОВОК ЧЕМПИОНОВ
   ========================================= */

.champions-header {
    margin-bottom: 70px;
}

.champions-label {
    font-size: 14px;

    letter-spacing: 4px;

    opacity: 0.5;

    margin-bottom: 25px;
}

.champions-header h2 {
    font-size: clamp(50px, 6vw, 85px);

    line-height: 0.95;

    letter-spacing: -3px;

    font-weight: 600;
}


/* =========================================
   ГАЛЕРЕЯ ЧЕМПИОНОВ
   Masonry
   ========================================= */

.champions-gallery {
    column-count: 4;

    column-gap: 18px;
}


/* =========================================
   ФОТО ЧЕМПИОНОВ
   ========================================= */

.champion-photo {
    break-inside: avoid;

    margin-bottom: 18px;

    overflow: hidden;

    background: #1b1b1b;

    border-radius: 16px;
}

.champion-photo img {
    width: 100%;

    height: auto;

    display: block;

    transition: transform 0.5s ease;
}

.champion-photo:hover img {
    transform: scale(1.03);
}
/* =========================
   ОТЗЫВЫ
========================= */

/* =========================
   ОТЗЫВЫ
========================= */

.reviews {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 30px 50px 160px;
    background: #111111;
    overflow: hidden;
}

.reviews-header {
    margin-bottom: 70px;
}

.reviews-label {
    font-size: 14px;
    letter-spacing: 4px;
    opacity: 0.5;
    margin-bottom: 25px;
}

.reviews-header h2 {
    font-size: clamp(50px, 6vw, 85px);
    line-height: 0.95;
    letter-spacing: -3px;
    font-weight: 600;
    margin: 0;
}

.reviews-description {
    max-width: 600px;
    font-size: 25px;
    line-height: 1.5;
    opacity: 1;
    margin-top: 25px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px 18px;
}

.review-card {
    min-width: 0;
    max-width: 350px;
}

.review-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #1b1b1b;
    border-radius: 16px;
    overflow: hidden;
}

.review-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.review-card:hover .review-image img {
    transform: scale(1.02);
}

.review-name {
    margin: 16px 0 0;
    font-size: 20px;
    line-height: 1.3;
    text-align: center;
    opacity: 0.75;
}

/* =========================================
   КОНТАКТЫ
   ========================================= */

.contacts {
    width: 100%;

    max-width: 1600px;

    margin: 0 auto;

    padding: 150px 50px 100px;

    background: #111111;
}

.contacts-inner {
    width: 100%;
}


/* Заголовок */

.contacts-header {
    margin-bottom: 120px;
}

.contacts-label {
    font-size: 14px;

    letter-spacing: 4px;

    opacity: 0.5;

    margin-bottom: 25px;
}

.contacts-header h2 {
    font-size: clamp(55px, 7vw, 95px);

    line-height: 0.9;

    letter-spacing: -5px;

    font-weight: 600;
}


/* =========================================
   НИЖНЯЯ ЧАСТЬ КОНТАКТОВ
   ========================================= */

.contacts-bottom {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    padding-top: 40px;

    border-top: 1px solid rgba(255, 255, 255, 0.2);
}


/* Текст */

.contacts-text {
    max-width: 500px;
}

.contacts-text p {
    font-size: 26px;

    line-height: 1.5;

    opacity: 0.65;
}


/* Контакты */

.contacts-links {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 18px;
}

.contacts-links a {
    color: #ffffff;

    text-decoration: none;

    font-size: 28px;

    line-height: 1.2;

    transition: opacity 0.3s ease;

    cursor: pointer;
}

.contacts-links a:hover {
    opacity: 0.5;
}


/* =========================================
   FOOTER
   ========================================= */

.footer {
    display: grid;

    grid-template-columns: 1fr 1fr 1fr;

    align-items: end;

    gap: 40px;

    max-width: 1600px;

    margin: 0 auto;

    padding: 40px 50px;

    background: #111111;

    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo {
    font-size: 25px;

    font-weight: 700;

    letter-spacing: -1px;
}

.footer p {
    font-size: 14px;

    line-height: 1.4;

    opacity: 0.5;
}

.footer span {
    font-size: 13px;

    opacity: 0.4;

    text-align: right;
}


/* =========================================
   ПЛАНШЕТ
   ========================================= */

/* =========================================
   ОЧЕНЬ ШИРОКИЕ ЭКРАНЫ (2K, ультравайд)
   ========================================= */

@media (min-width: 1700px) {

    .catalog-gallery img:not(.carousel-slide) {
        height: 480px;
    }

    .catalog-gallery--accessories img:not(.carousel-slide) {
        height: 340px;
    }

    .carousel {
        height: 340px;
    }

}


@media (max-width: 1100px) {


    /* Навигация */

    .navigation {
        gap: 22px;
    }

    .navigation a {
        font-size: 15px;
    }


    /* О нас */

    .about-facts {
        grid-template-columns: repeat(2, 1fr);
    }


    /* Каталог */

    .catalog-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

   .catalog-gallery img:not(.carousel-slide) {
        height: 380px;
    }

    .catalog-gallery--accessories {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-gallery--accessories img:not(.carousel-slide) {
        height: 280px;
    }
    .carousel {
        height: 280px;
    }
 /* Отзывы */

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-card {
        max-width: 100%;
    }




    /* Чемпионы */

    .champions-gallery {
        column-count: 2;
    }


    /* Контакты */

    .contacts-bottom {
        grid-template-columns: 1fr;

        gap: 70px;
    }

}


/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================= */

@media (max-width: 700px) {


    /* =====================================
       НАВИГАЦИЯ
       ===================================== */

    .header {
        padding: 25px 20px;

        left: 0;

        right: 0;
    }

    .navigation {
        justify-content: flex-end;

        flex-wrap: wrap;

        gap: 15px;
    }

    .navigation a {
        font-size: 14px;
    }


    /* =====================================
       ГЛАВНЫЙ ЭКРАН
       ===================================== */

    .hero-content {
        left: 20px;

        right: 20px;

        top: 30%;
    }

    h1 {
        font-size: 58px;

        letter-spacing: -2px;
    }

    .description {
        font-size: 19px;
    }

    .mission {
        font-size: 24px;
    }


    /* =====================================
       ЛОГОТИП
       ===================================== */

  .hero-logo {
    left: 20px;
    top: 15%;
    right: auto;
    bottom: auto;
    width: 45px;
}


    /* =====================================
       О НАС
       ===================================== */

    .about {
        padding: 90px 20px;
    }

    .about-header {
        margin-bottom: 50px;
    }

    .about-header h2 {
        font-size: 52px;

        letter-spacing: -3px;
    }

    .about-text {
        margin-bottom: 50px;
    }

    .about-lead {
        font-size: 22px;

        line-height: 1.4;
    }

    .about-facts {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .about-fact {
        min-height: 90px;

        padding: 22px;

        border-radius: 12px;
    }

    .about-fact p {
        font-size: 19px;

        line-height: 1.3;
    }


    /* =====================================
       КАТАЛОГ
       ===================================== */

    .catalog {
        padding: 90px 20px 20px;
    }

    .catalog-header {
        margin-bottom: 75px;
    }

    .catalog-header h2 {
        font-size: 52px;

        letter-spacing: -2px;
    }

    .catalog-description {
        font-size: 18px;
    }


    /* =====================================
       КАТЕГОРИИ
       ===================================== */

    .catalog-category {
        margin-bottom: 90px;
    }

    .category-title {
        gap: 15px;

        margin-bottom: 25px;
    }

    .category-title span {
        font-size: 40px;

        letter-spacing: -2px;
    }

    .category-title h3 {
        font-size: 28px;
    }


    /* =====================================
       ФОТО КАТАЛОГА
       ===================================== */

    .catalog-gallery {
        grid-template-columns: 1fr 1fr;

        gap: 8px;
    }

  .catalog-gallery img:not(.carousel-slide) {
        height: 230px;
    }

    .catalog-gallery--accessories {
        grid-template-columns: 1fr 1fr;
    }

    .catalog-gallery--accessories img:not(.carousel-slide) {
        height: 200px;
    }

    .catalog-caption {
        font-size: 16px;
    }

    .carousel {
        height: 200px;
    }

    .carousel-arrow {
        width: 28px;

        height: 28px;

        font-size: 15px;
    }

     .catalog-contact-button.catalog-contact-button {
        margin: -50px auto 40px;
        padding: 12px 26px;
        font-size: 15px;
    }


    /* =====================================
       НАШИ ЧЕМПИОНЫ
       ===================================== */

    .champions {
        padding: 20px 20px 100px;
    }

    .champions-header {
        margin-bottom: 45px;
    }

    .champions-label {
        font-size: 13px;

        letter-spacing: 3px;
    }

    .champions-header h2 {
        font-size: 48px;

        letter-spacing: -2px;
    }


    /* Фотографии */

    .champions-gallery {
        column-count: 2;

        column-gap: 10px;
    }

    .champion-photo {
        margin-bottom: 10px;

        border-radius: 12px;
    }
/* =====================================
       ОТЗЫВЫ
       ===================================== */

    .reviews {
        padding: 20px 20px 100px;
    }

    .reviews-header {
        margin-bottom: 45px;
    }

    .reviews-header h2 {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .reviews-description {
        font-size: 18px;

        margin-top: 15px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .review-card {
        max-width: 100%;
    }

    .review-name {
        font-size: 16px;
    }

    /* =====================================
       КОНТАКТЫ
       ===================================== */

    .contacts {
        padding: 90px 20px 80px;
    }

    .contacts-header {
        margin-bottom: 70px;
    }

    .contacts-header h2 {
        font-size: 52px;

        letter-spacing: -3px;
    }

    .contacts-bottom {
        gap: 60px;
    }

    .contacts-text p {
        font-size: 18px;
    }

    .contacts-links a {
        font-size: 22px;
    }


    /* =====================================
       FOOTER
       ===================================== */

    .footer {
        grid-template-columns: 1fr;

        gap: 25px;

        padding: 35px 20px;
    }

    .footer span {
        text-align: left;
    }

}
.red-text {
    color: #ff0000;
}
.typing-cursor {
    display: inline-block;

    margin-left: 4px;

    color: #ffffff;

    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }

    51%, 100% {
        opacity: 0;
    }
}
/* =========================================
   ПЛАВНОЕ ПОЯВЛЕНИЕ ФАКТОВ
   ========================================= */

.about-fact {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

.about-fact.show {
    opacity: 1;
    transform: translateY(0);
}
.about-label,
.catalog-label,
.champions-label,
.contacts-label {
    display: none;
}
/* =========================================
   АНИМАЦИЯ ЦИФР КАТАЛОГА
   ========================================= */

.category-title span {
    color: #ff0000;

    opacity: 0;

    transform: translateY(15px);

    text-shadow: none;

    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}

.category-title span.number-show {
    opacity: 1;

    transform: translateY(0);

    animation: numberGlow 0.9s ease forwards;
}

@keyframes numberGlow {

    0% {
        text-shadow:
            0 0 0 rgba(255, 0, 0, 0);
    }

    40% {
        text-shadow:
            0 0 10px rgba(255, 0, 0, 0.8),
            0 0 25px rgba(255, 0, 0, 0.5);
    }

    100% {
        text-shadow:
            0 0 0 rgba(255, 0, 0, 0);
    }
}
/* =========================================
   АНИМАЦИЯ ПОДЧЁРКИВАНИЯ «ВАШУ»
   ========================================= */

.underline-word {
    color: #ff0000;

    position: relative;

    display: inline-block;
}

.underline-word::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -5px;

    width: 100%;
    height: 3px;

    background: #ff0000;

    transform: scaleX(0);

    transform-origin: left center;

   transition: transform 1.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.underline-word.show-underline::after {
    transform: scaleX(1);

}
/* =========================================
   ПЕЧАТАНИЕ ЗАГОЛОВКА КОНТАКТОВ
   ========================================= */

.contacts-typing span {
    display: inline-block;
}

.contacts-typing .red-word {
    color: #ff0000;

    position: relative;

    display: inline-block;
}

.contacts-typing .red-word::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -5px;

    width: 100%;
    height: 3px;

    background: #ff0000;

    transform: scaleX(0);

    transform-origin: left center;

    transition: transform 1.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.contacts-typing .red-word.show-underline::after {
    transform: scaleX(1);
}
.red-description {
    color: #ff0000;
    opacity: 1;
}
.catalog-contact-button {
    display: block;
    width: fit-content;

    margin: 10px auto 0;
    padding: 20px 45px;

    color: #ff0000;
    background: rgba(255, 255, 255, 0.025);

    border: 1px solid rgba(255, 0, 0, 0.5);
    border-radius: 14px;

    text-decoration: none;
    font-size: 22px;
    font-weight: 500;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        color 0.3s ease;
}

.catalog-contact-button:hover {
    color: #ffffff;
    background: rgba(255, 0, 0, 0.12);
    border-color: #ff0000;
    transform: translateY(-3px);
}
.white-text {
    color: #ffffff;
}
.contacts-description {
    margin-top: 35px;
    font-size: 28px;
    line-height: 1.4;
    color: #ff0000;
    opacity: 1;
}
.contacts-logo {
    width: 100px;
    max-width: 100px;
    height: auto;
    display: block;
    justify-self: end;
    align-self: end;
}
.contacts-logo {
    object-fit: contain;
}
@media (max-width: 700px) {

    .contacts-header h2 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .contacts-description {
        font-size: 20px;
        margin-top: 20px;
    }

    .contacts-links a {
        font-size: 19px;
    }

    .contacts-logo {
        width: 60px;
        margin-top: 15px;
    }

}
