/* ========================================
   БАТТЛПАРК - ЕДИНЫЙ ФАЙЛ СТИЛЕЙ
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1e1e1e;
    line-height: 1.6;
}

:root {
    --primary-red: #D32F2F;
    --primary-black: #1A1A1A;
    --light-gray: #F5F5F5;
    --border-light: #E0E0E0;
    --accent-red-light: #FFEBEE;
    --red: #d32f2f;
    --gray: #f5f5f5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}

/* ========== ПЛАВАЮЩАЯ КНОПКА ========== */
.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #D32F2F;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    z-index: 1000;
    transition: 0.3s;
}

.floating-button:hover {
    background: #B71C1C;
}

@media (max-width: 768px) {
    .floating-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ========== ШАПКА ========== */
header {
    background: white;
    border-bottom: 1px solid #eee;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1A1A1A;
}

.logo-text h1 span {
    color: #D32F2F;
}

.logo-text p {
    font-size: 0.65rem;
    color: #666;
}

.logo-text p a {
    color: #D32F2F;
    text-decoration: none;
    font-weight: 600;
}

.nav-pages {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.nav-pages a {
    text-decoration: none;
    font-weight: 600;
    color: #2c2c2c;
    transition: 0.3s;
}

.nav-pages a:hover {
    color: #D32F2F;
}

.btn-red {
    background: #D32F2F;
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    transition: 0.2s;
}

.btn-red:hover {
    background: #b71c1c;
    transform: translateY(-2px);
}

.cart-count {
    background: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    position: absolute;
    top: -10px;
    right: -15px;
}

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

    .nav-pages {
        justify-content: center;
        gap: 15px;
    }

    .nav-pages a {
        font-size: 0.85rem;
    }

    .btn-red {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}

/* ========== HERO ========== */
.hero {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 0 20px;
}

.hero h1 {
    font-size: 70px;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero h1 span {
    color: var(--red);
}

.hero p {
    font-size: 22px;
    max-width: 700px;
    margin: 0 auto 35px;
}

.hero-btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--red);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
}

.hero-btn:hover {
    background: #b71c1c;
    transform: translateY(-3px);
}

.hero-video {
    position: relative;
    height: 85vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-video video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.hero-content-new {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title-new {
    font-size: 4rem;
    font-weight: 800;
    animation: fadeIn 2s ease forwards;
}

.hero-title-new span {
    color: #D32F2F;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-hero {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 80px 0 60px;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

.page-hero h1 span {
    color: var(--primary-red);
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-title-new {
        font-size: 2.5rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }
}

/* ========== ABOUT ========== */
.about {
    padding: 90px 0;
    background: var(--gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-photo-container {
    border-radius: 20px;
    overflow: hidden;
}

.about-photo {
    width: 100%;
    border-radius: 20px;
    transition: transform 0.3s;
}

.about-photo:hover {
    transform: scale(1.02);
}

.section-title {
    font-size: 42px;
    margin-bottom: 25px;
    font-weight: 800;
    text-align: center;
}

.section-title span {
    color: var(--red);
}

.about p {
    margin-bottom: 18px;
    color: #555;
}

.photo-placeholder {
    height: 450px;
    border: 3px dashed #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: white;
    border-radius: 25px;
}

.photo-placeholder i {
    font-size: 70px;
    color: var(--red);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .about {
        padding: 50px 0;
    }

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

    .section-title {
        font-size: 32px;
    }
}

/* ========== FEATURES ========== */
.features {
    padding: 90px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card i {
    font-size: 50px;
    color: var(--red);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .features {
        padding: 50px 0;
    }

    .feature-card {
        padding: 25px 18px;
    }

    .feature-card i {
        font-size: 38px;
    }
}

/* ========== GALLERY ========== */
.gallery {
    padding: 90px 0;
    background: #111;
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.gallery-item {
    height: 260px;
    border-radius: 20px;
    background: #1f1f1f;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid rgba(211, 47, 47, 0.3);
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 50px;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .gallery {
        padding: 50px 0;
    }
}

/* ========== ТАРИФЫ НА ГЛАВНОЙ (tariffs-block) ========== */
.tariffs-block {
    padding: 80px 20px;
    background: #fff;
}

.tariffs-container {
    max-width: 1280px;
    margin: 0 auto;
}

.tariffs-header {
    text-align: center;
    margin-bottom: 60px;
}

.tariffs-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000;
}

.tariffs-header h2 span {
    color: #E53935;
    border-bottom: 3px solid #E53935;
    padding-bottom: 5px;
}

.tariffs-header p {
    font-size: 1rem;
    color: #666;
    max-width: 750px;
    margin: 0 auto;
}

/* ========== ТАРИФЫ (ОСНОВНЫЕ) ========== */
.tariffs-main {
    padding: 60px 0;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}

/* Ряды с карточками (центрирование) */
.row-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    align-items: stretch; /* все карточки растягиваются по высоте */
}

.row-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: stretch; /* все карточки растягиваются по высоте */
}

.row-top .tariff-card {
    width: calc(33.333% - 30px);
    min-width: 280px;
    max-width: 380px;
    flex: 1 0 auto;
}

.row-bottom .tariff-card {
    width: calc(25% - 30px);
    min-width: 250px;
    max-width: 300px;
    flex: 1 0 auto;
}

.tariff-card {
    background: #dedede;
    border-radius: 28px;
    padding: 32px 28px 36px;
    border: 1px solid #9e2626;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    position: relative;display: flex;
    flex-direction: column;
    justify-content: space-between; /* распределяет пространство между элементами */
    height: 100%; /* все карточки растягиваются на одинаковую высоту */
    min-height: 380px; /* задайте минимальную высоту, чтобы все были одинаковыми */
}

.tariff-card:hover {
    transform: translateY(-5px);
}

.tariff-card.popular {
    border: 2px solid #E53935;
    background: linear-gradient(145deg, #f5cfcf, #e76464);
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #E53935;
    color: white;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.tariff-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    min-height: 72px; /* ДОБАВЛЕНО — фиксированная высота для всех заголовков */
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-word; /* ДОБАВЛЕНО — длинные слова переносятся */
}


.tariff-price {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #2A2E35;
    min-height: 70px; /* ДОБАВЛЕНО — фиксированная высота блока с ценой */
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #E53935;
}

.currency {
    font-size: 1.3rem;
    font-weight: 700;
    color: #E53935;
}

.price-caption {
    font-size: 0.8rem;
    color: #ff3c3c;
    margin-top: 6px;
}

.price-note {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;    
    flex: 1; /* занимает свободное место */
    min-height: 40px; /* чтобы все описания были одной высоты */
    text-align: center;
}

.tariff-list {
    list-style: none;
    margin: 0 0 28px;
    flex-grow: 1;
    flex: 1; /* занимает всё свободное место, толкая кнопку вниз */
    margin-bottom: 20px; /* отступ перед кнопкой */
}

.tariff-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.tariff-list li i {
    width: 22px;
    color: #E53935;
}

.tariff-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    border: 2px solid #E53935;
    border-radius: 50px;
    padding: 14px 20px;
    color: #E53935;
    font-weight: 700;
    transition: 0.3s;
    width: 100%;
    text-decoration: none;
    margin-top: auto; /* прижимает кнопку к низу карточки */
    flex-shrink: 0; /* кнопка не сжимается */
    cursor: pointer;
    font-size: 1rem;
    min-height: 52px; /* ДОБАВЛЕНО — все кнопки одной высоты */

}

.tariff-button:hover {
    background: #E53935;
    color: white;
    gap: 14px;
}

/* СПЕЦИАЛЬНО ДЛЯ КАРТОЧЕК БЕЗ ОПИСАНИЯ */
.tariff-card .no-description {
    flex: 1; /* ДОБАВЛЕНО — занимает место, чтобы кнопка была внизу */
    min-height: 20px;
}

/* Адаптация тарифов */
@media (max-width: 1024px) {
    .row-top .tariff-card {
        width: calc(50% - 30px);
        max-width: 350px;
    }

    .row-bottom .tariff-card {
        width: calc(33.333% - 30px);
        max-width: 280px;
    }
}

@media (max-width: 768px) {

    .row-top .tariff-card,
    .row-bottom .tariff-card {
        width: calc(100% - 30px);
        max-width: 380px;
    }

    .tariff-title {
        font-size: 1.4rem;
    }

    .price {
        font-size: 2rem;
    }
}

/* ========== УСЛУГИ ========== */
.services-main {
    padding: 80px 0;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

.services-header h2 span {
    color: var(--primary-red);
    border-bottom: 4px solid var(--primary-red);
}

.services-grid-custom {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-item {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: #fff;
    border-radius: 32px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.service-image {
    flex: 1;
    min-width: 280px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.service-item:hover .service-image img {
    transform: scale(1.03);
}

.service-content {
    flex: 1.2;
    padding: 36px 36px 36px 0;
}

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-item:nth-child(even) .service-content {
    padding: 36px 0 36px 36px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-red-light);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon i {
    font-size: 30px;
    color: var(--primary-red);
}

.service-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-description {
    color: #555;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin: 20px 0 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: var(--primary-red);
    width: 20px;
}

.service-price {
    display: inline-block;
    background: var(--accent-red-light);
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-red);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    text-decoration: none;
}

.service-btn:hover {
    background: #b71c1c;
    gap: 14px;
    transform: translateY(-2px);
}

@media (max-width: 900px) {

    .service-item,
    .service-item:nth-child(even) {
        flex-direction: column;
    }

    .service-content {
        padding: 30px !important;
    }

    .service-content h3 {
        font-size: 1.5rem;
    }
}

/* ========== ПИТАНИЕ ========== */
.pricing-section {
    padding: 90px 0;
    background: #fefaf5;
}

.pricing-sub {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
}

.tariff-badge {
    display: inline-block;
    background: #ffefde;
    padding: 6px 14px;
    border-radius: 40px;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 15px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.price-card {
    background: #fff;
    border-radius: 32px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    transition: 0.25s;
    border: 1px solid #f0e0d0;
}

.price-card:hover {
    transform: translateY(-6px);
}

.price-card i {
    font-size: 48px;
    color: var(--red);
    margin-bottom: 18px;
}

.price-card h3 {
    font-size: 26px;
}

.price-value {
    font-size: 36px;
    font-weight: 800;
    margin: 18px 0;
}

.price-value small {
    font-size: 16px;
    font-weight: normal;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.package-card {
    background: #fffdf9;
    border-radius: 40px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid #ffe0cc;
}

.package-card.premium {
    background: linear-gradient(145deg, #fff, #fff2e6);
    border-left: 6px solid var(--red);
}

.package-card h3 {
    font-size: 32px;
}

.package-price {
    font-size: 44px;
    font-weight: 800;
    color: var(--red);
    margin: 20px 0;
}

.package-price small {
    font-size: 18px;
}

.package-list {
    text-align: left;
    margin: 30px 0;
}

.package-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.package-list li i {
    color: var(--red);
    width: 24px;
}

.pricing-note {
    text-align: center;
    margin-top: 60px;
    background: #ece3da;
    padding: 20px;
    border-radius: 60px;
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 50px 0;
    }
}

/* ========== КНОПКА "В КОРЗИНУ" ========== */
.add-to-cart-btn {
    background: linear-gradient(135deg, #D32F2F, #b71c1c);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

/* ========== БЕГУЩАЯ СТРОКА ========== */
.marquee {
    background: var(--primary-black);
    color: white;
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
    font-weight: 600;
}

.marquee-content {
    display: inline-block;
    animation: scrollMarquee 18s linear infinite;
}

.marquee-content span {
    margin: 0 35px;
}

.marquee-content i {
    color: var(--primary-red);
    margin-right: 8px;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .marquee-content {
        font-size: 0.9rem;
    }
}

/* ========== ФОТОГАЛЕРЕЯ ========== */
.filter-section {
    padding: 40px 0 20px;
    background: var(--light-gray);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--red);
    color: white;
}

.gallery-section {
    padding: 40px 0 70px;
    background: white;
}

.gallery-section .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-section .gallery-item {
    position: relative;
    height: 280px;
    border-radius: 20px;
    cursor: pointer;
}

.gallery-section .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.gallery-section .gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    transition: 0.3s;
}

.gallery-section .gallery-item:hover .gallery-overlay {
    bottom: 0;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    width: 80%;
    margin: 0 auto;
    border-radius: 50px;
}

@media (max-width: 768px) {
    .gallery-section .gallery-item {
        height: 240px;
    }
}

/* ========== КОМАНДА ========== */
.team-admins {
    background: linear-gradient(135deg, #481919, #2d2d2d);
    color: white;
    padding: 80px 0;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.admin-card {
    background: #622222;
    border-radius: 32px;
    padding: 28px 22px;
    text-align: center;
    width: 240px;
}

.admin-avatar {
    width: 100px;
    height: 100px;
    background: #c6c6c6;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #592b2b;
}

@media (max-width: 768px) {
    .team-admins {
        padding: 50px 0;
    }
}

/* ========== ОТЗЫВЫ ========== */
.reviews-scroll {
    overflow-x: auto;
    display: flex;
    gap: 28px;
    padding-bottom: 15px;
}

.review-card {
    min-width: 320px;
    background: white;
    border-radius: 24px;
    padding: 28px;
    border-left: 5px solid var(--primary-red);
}

@media (max-width: 768px) {
    .review-card {
        min-width: 280px;
    }
}

/* ========== СЦЕНАРИИ ========== */
.scenarios {
    background: white;
    padding: 70px 0;
}

.swiper {
    padding: 20px 0 40px;
}

.scenario-card {
    background: #fff;
    border-radius: 28px;
    border: 1px solid #ececec;
    padding: 32px;
}

.scenario-card h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .scenario-card h4 {
        font-size: 1.4rem;
    }
}

/* ========== ФОРМА И КОНТАКТЫ ========== */
.form-section {
    padding: 70px 0;
}

.form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.form-box {
    flex: 1;
    background: #fafafa;
    padding: 36px;
    border-radius: 32px;
}

.contact-details {
    flex: 0.9;
}

input,
textarea,
select {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 18px;
    border: 1px solid #ddd;
    border-radius: 60px;
    font-family: inherit;
}

.error-msg {
    color: red;
    font-size: 0.75rem;
    display: none;
}

.btn-submit {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 60px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.map iframe {
    width: 100%;
    height: 300px;
    border-radius: 28px;
}

@media (max-width: 768px) {
    .form-section {
        padding: 50px 0;
    }

    .form-grid {
        flex-direction: column;
    }
}

/* ========== ПОДВАЛ ========== */
footer {
    background: var(--primary-black);
    color: #ccc;
    padding: 50px 0 30px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.footer-nav a:hover {
    color: var(--primary-red);
}

@media (max-width: 768px) {
    .footer-nav {
        gap: 25px;
    }
}

/* ========== СТРАНИЦА КОНТАКТЫ ========== */
.page-title {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 80px 0 60px;
    text-align: center;
    color: white;
}

.page-title h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

.page-title h1 span {
    color: var(--primary-red);
}

.social-section {
    padding: 70px 0 40px;
    background: white;
}

.social-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.social-card {
    background: var(--light-gray);
    border-radius: 28px;
    padding: 35px 25px;
    text-align: center;
    width: 260px;
    transition: 0.2s;
}

.social-card:hover {
    transform: translateY(-8px);
}

.social-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.social-card.vk .social-icon {
    color: #0077FF;
}

.social-card.telegram .social-icon {
    color: #26A5E4;
}

.team-section {
    background: var(--light-gray);
    padding: 70px 0;
}

.team-category {
    margin-bottom: 60px;
}

.team-category h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.team-category h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    margin: 12px auto 0;
}

.member-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    width: 260px;
    text-align: center;
}

.member-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.member-info {
    padding: 20px 15px 25px;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.member-info .position {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 12px;
}

/* ========== СТРАНИЦА КОРЗИНЫ ========== */
.cart-section {
    padding: 60px 0;
    min-height: 60vh;
    background: var(--light-gray);
}

.cart-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
}

.cart-title span {
    color: var(--primary-red);
}

.cart-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 28px;
    overflow: hidden;
}

.cart-table th {
    background: var(--primary-red);
    color: white;
    padding: 18px 15px;
    text-align: left;
}

.cart-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
}

.cart-product-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 16px;
}

.cart-qty-minus,
.cart-qty-plus {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--primary-red);
    color: white;
    cursor: pointer;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
}

.cart-remove-btn:hover {
    color: var(--primary-red);
}

.cart-summary {
    margin-top: 40px;
    background: white;
    border-radius: 28px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.summary-info {
    font-size: 24px;
    font-weight: 800;
}

.summary-info span {
    color: var(--primary-red);
    font-size: 32px;
}

.cart-actions {
    display: flex;
    gap: 15px;
}

.btn-clear {
    background: transparent;
    border: 2px solid #ddd;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

.btn-clear:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.btn-checkout {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
}

.btn-back {
    display: inline-block;
    margin-top: 30px;
    color: var(--primary-red);
    text-decoration: none;
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 28px;
}

.empty-cart i {
    font-size: 80px;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-cart h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.btn-shop {
    background: var(--primary-red);
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
}

@media (max-width: 800px) {
    .cart-table thead {
        display: none;
    }

    .cart-table tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #eee;
        border-radius: 20px;
        padding: 15px;
    }

    .cart-table td {
        display: flex;
        justify-content: space-between;
        padding: 10px;
    }

    .cart-table td:before {
        content: attr(data-label);
        font-weight: bold;
        color: var(--primary-red);
    }
}

/* ========== ГЛАВНАЯ (дополнительные блоки) ========== */
.about-club {
    padding: 80px 0;
    background: var(--light-gray);
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 700;
    border-left: 5px solid var(--primary-red);
    padding-left: 20px;
    margin-bottom: 24px;
}

.why-better {
    padding: 80px 0;
    background: #f1eaea;
}

.advantages-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.advantage-card {
    min-width: 280px;
    text-align: center;
    padding: 35px 25px;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: #393939;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.advantage-icon i {
    font-size: 36px;
    color: #D32F2F;
}

.advantage-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.cta-section {
    background: linear-gradient(135deg, #481919, #2d2d2d);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: #D32F2F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.cta-icon i {
    font-size: 40px;
    color: white;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #D32F2F;
    color: white;
    padding: 16px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 1000;
    transition: 0.3s;
}

.cta-button:hover {
    background: #b71c1c;
    transform: translateY(-3px);
}

.cta {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #3f0f0f, #111);
    color: white;
}

.cta h2 {
    font-size: 50px;
    margin-bottom: 20px;
}

/* ========== ФОТОГРАФИИ С ДИАГОНАЛЬНЫМ НАХЛЁСТОМ ========== */
.stacked-photos {
    position: relative;
    min-height: 500px;
    margin: 40px 0;
}

.photo-stack-item {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
    transition: 0.3s;
}

.photo-stack-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-stack-item:hover {
    transform: translateY(-8px) scale(1.02);
    z-index: 10;
}

@media (min-width: 1024px) {
    .photo-stack-item {
        width: 380px;
        height: 450px;
    }

    .photo-1 {
        top: 0;
        left: 0;
        z-index: 2;
    }

    .photo-2 {
        bottom: -40px;
        right: -40px;
        z-index: 1;
    }
}

@media (max-width: 768px) {
    .stacked-photos {
        position: static;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        min-height: auto;
    }

    .photo-stack-item {
        position: static;
        width: calc(50% - 10px);
        height: auto;
        aspect-ratio: 4/5;
    }
}

/* ========== МОДАЛЬНОЕ ОКНО ДЛЯ ВЫБОРА КОЛИЧЕСТВА ========== */
.qty-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.qty-modal.active {
    display: flex;
}

.qty-modal-content {
    background: white;
    border-radius: 28px;
    padding: 30px;
    max-width: 350px;
    width: 90%;
    text-align: center;
}

.qty-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.qty-controls button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--red);
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.qty-controls .qty-number {
    font-size: 28px;
    font-weight: 800;
    min-width: 60px;
}

.qty-min-notice {
    font-size: 12px;
    color: #ff9800;
    margin-bottom: 20px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
}

.modal-buttons button {
    flex: 1;
    padding: 12px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

.btn-modal-cancel {
    background: #f0f0f0;
    border: none;
}

.btn-modal-add {
    background: var(--red);
    border: none;
    color: white;
}

/* ========== УВЕДОМЛЕНИЯ КОРЗИНЫ ========== */
.cart-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
/* ========== КНОПКА "НАВЕРХ" ========== */
.scroll-top-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #D32F2F;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    font-size: 22px;
}

.scroll-top-btn:hover {
    background: #b71c1c;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.4);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 80px;
        right: 15px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}