* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
}

body {
    background-color: #020202;
    /* было #1a1a1a; */
    color: #333;
    line-height: 1.6;
    padding-top: 0;
    overflow-x: hidden;
    /* отступ под фиксированный хедер — теперь floating, не нужен */
}

:root {
    --gold: #ffaa00;
    --gold-dark: #e08800;
    --gold-light: #ffd060;
    --black: #080808;
    --surface: #111111;
    --surface2: #1a1a1a;
    --border: rgba(255, 170, 0, 0.18);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.55);
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Manrope', sans-serif;
}

header {
    position: fixed;
    top: 16px;
    left: 20px;
    right: 20px;
    width: auto;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px 10px 16px;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 60px;
    gap: 16px;
    white-space: nowrap;
}

header img {
    height: 44px;
    display: block;
}

/* WhatsApp Button Styles */
.whatsapp-button1 {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    /* WhatsApp green */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    /* Ensure it stays above other content */
    transition:
        transform 0.3s,
        background-color 0.3s;
}

.whatsapp-button1:hover {
    background-color: #20b358;
    /* Slightly darker green on hover */
    transform: scale(1.2);
}

.whatsapp-button1 img {
    width: 36px;
    height: 36px;
}

.whatsapp-arrow {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    animation: arrow-bounce 1.2s ease-in-out infinite;
    pointer-events: none;
}

.whatsapp-arrow svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 4px rgba(37, 211, 102, 0.8));
}

@keyframes arrow-bounce {

    0%,
    100% {
        transform: translateY(-50%) translateX(0px);
        opacity: 1;
    }

    50% {
        transform: translateY(-50%) translateX(-8px);
        opacity: 0.5;
    }
}

/* Скрываем стрелку при hover на кнопку */
.whatsapp-button1:hover .whatsapp-arrow {
    opacity: 0;
    transition: opacity 0.2s;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Второй menu-toggle вне header — скрываем всегда, используем только тот что внутри header */
body>.menu-toggle {
    display: none !important;
}

/* ========== MENU TOGGLE ========== */
.menu-toggle {
    display: none;
}


/* ========== OVERLAY ========== */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        visibility 0.42s;
    pointer-events: none;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 16px;
}

nav a:hover {
    color: #ffaa00;
}

/* ========== MOBILE NAV (global base) ========== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: #0e0e0e;
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 80px 28px 40px;
    gap: 4px;
    transform: translateX(110%);
    transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        visibility 0.42s;
    visibility: hidden;
    z-index: 1001;
}

.mobile-nav.active {
    transform: translateX(0);
    visibility: visible;
}

.close-menu {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
}

.mobile-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s;
}

.mobile-nav a:hover {
    color: var(--gold);
}

/* Обёртка телефон + город */
.header-contacts {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

/* Телефон */
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 170, 0, 0.9);
    padding: 10px 18px;
    border-radius: 999px;
    transition: background 0.2s;
    white-space: nowrap;
    line-height: 1.4;
}

.header-phone:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Переключатель города */
.city-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.city-switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffaa00;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.4;
    transition: background 0.2s;
}

.city-switcher-btn:hover {
    background: #3a4a5a;
}

.city-switcher-arrow {
    transition: transform 0.2s;
    width: 25px;
    height: 25px;
}

.city-switcher--open .city-switcher-arrow {
    transform: rotate(180deg);
}

/* Дропдаун */
.city-switcher-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #1c1c1e;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    min-width: 200px;
    z-index: 999;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.city-switcher--open .city-switcher-dropdown {
    display: block;
}

.city-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

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

    .menu-toggle {
        display: none;
    }

    .city-bottom-sheet {
        display: none !important;
    }

    /* Center quiz on mobile and adjust spacing */
    .quiz-wrapper {
        min-height: 100vh;
        padding: 10px;
        align-items: center;
    }

    .quiz-card {
        padding: 24px;
        max-width: 720px;
        width: 100%;
        margin: 0 auto;
    }

    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 2px;
        flex: 1;
        justify-content: center;
    }

    .desktop-nav a {
        color: rgba(255, 255, 255, 0.75);
        font-size: 13px;
        font-weight: 600;
        padding: 7px 12px;
        border-radius: 30px;
        transition: all 0.2s;
        letter-spacing: 0.3px;
    }

    .desktop-nav a:hover {
        color: var(--gold);
        background: rgba(255, 170, 0, 0.08);
    }
}

.city-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.15s;
    position: relative;
}

.city-option:last-child {
    border-bottom: none;
}

.city-option:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* Активный город */
.city-option--active {
    color: #ffaa00;
    background: rgba(255, 170, 0, 0.08);
    border-left: 3px solid #ffaa00;
    padding-left: 13px;
}

/* Галочка справа */
.city-option .city-option-check {
    margin-left: auto;
    opacity: 0;
    fill: #ffaa00;
}

.city-option--active .city-option-check {
    opacity: 1;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s;
    flex-shrink: 0;
}

.social-icon:hover {
    background: rgba(255, 170, 0, 0.15);
    color: var(--gold);
}

.social-icon svg {
    width: 26px;
    height: 26px;
    fill: white;
}

.social-icon:hover svg {
    fill: #ffaa00;
}

/* ===== HERO ===== */
.hero {
    text-align: center;
    background-image: url(templates/background6.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 80px;
    margin-top: -100px;
    padding-top: 320px;
}

/* Многослойный оверлей */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 170, 0, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255, 120, 0, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.92) 50%, rgba(0, 0, 0, 0.98) 100%);
    z-index: 1;
}

/* Прожекторы */
.hero-spotlights {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.spotlight {
    position: absolute;
    top: -5%;
    width: 200px;
    height: 140%;
    transform-origin: top center;
    opacity: 0.7;
}

.spotlight-1 {
    left: 5%;
    background: linear-gradient(to bottom, rgba(255, 170, 0, 0.6) 0%, rgba(255, 170, 0, 0.15) 40%, transparent 100%);
    animation: spotlight-swing 6s ease-in-out infinite;
    filter: blur(20px);
}

.spotlight-2 {
    left: 32%;
    background: linear-gradient(to bottom, rgba(255, 200, 50, 0.5) 0%, rgba(255, 170, 0, 0.1) 40%, transparent 100%);
    animation: spotlight-swing 9s ease-in-out infinite reverse;
    filter: blur(25px);
}

.spotlight-3 {
    left: 62%;
    background: linear-gradient(to bottom, rgba(255, 140, 0, 0.6) 0%, rgba(255, 100, 0, 0.15) 40%, transparent 100%);
    animation: spotlight-swing 7s ease-in-out infinite 1.5s;
    filter: blur(20px);
}

.spotlight-4 {
    left: 88%;
    background: linear-gradient(to bottom, rgba(255, 140, 0, 0.6) 0%, rgba(255, 100, 0, 0.15) 40%, transparent 100%);
    animation: spotlight-swing 8s ease-in-out infinite 2s;
    filter: blur(20px);
}

@keyframes spotlight-swing {

    0%,
    100% {
        transform: rotate(-20deg);
        opacity: 0.7;
    }

    50% {
        transform: rotate(20deg);
        opacity: 0.25;
    }
}

/* Частицы */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-particles span {
    position: absolute;
    bottom: -10px;
    display: block;
    border-radius: 2px;
    opacity: 0;
    animation: particle-rise 10s infinite;
}

.hero-particles span:nth-child(1) {
    left: 3%;
    width: 10px;
    height: 10px;
    background: #ffaa00;
    border-radius: 50%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.hero-particles span:nth-child(2) {
    left: 12%;
    width: 8px;
    height: 8px;
    background: #ff8800;
    border-radius: 2px;
    animation-delay: 1.2s;
    animation-duration: 9s;
}

.hero-particles span:nth-child(3) {
    left: 22%;
    width: 12px;
    height: 12px;
    background: #ffcc00;
    border-radius: 50%;
    animation-delay: 2.5s;
    animation-duration: 8s;
}

.hero-particles span:nth-child(4) {
    left: 33%;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation-delay: 0.5s;
    animation-duration: 11s;
    opacity: 0.6;
}

.hero-particles span:nth-child(5) {
    left: 44%;
    width: 10px;
    height: 10px;
    background: #ffaa00;
    border-radius: 2px;
    animation-delay: 1.8s;
    animation-duration: 6s;
}

.hero-particles span:nth-child(6) {
    left: 54%;
    width: 14px;
    height: 6px;
    background: #ff8800;
    border-radius: 3px;
    animation-delay: 3.5s;
    animation-duration: 9s;
}

.hero-particles span:nth-child(7) {
    left: 63%;
    width: 9px;
    height: 9px;
    background: #ffcc00;
    border-radius: 50%;
    animation-delay: 0.8s;
    animation-duration: 8s;
}

.hero-particles span:nth-child(8) {
    left: 72%;
    width: 11px;
    height: 11px;
    background: #ffaa00;
    border-radius: 2px;
    animation-delay: 2.8s;
    animation-duration: 10s;
}

.hero-particles span:nth-child(9) {
    left: 81%;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation-delay: 4.2s;
    animation-duration: 7s;
    opacity: 0.5;
}

.hero-particles span:nth-child(10) {
    left: 90%;
    width: 12px;
    height: 12px;
    background: #ff8800;
    border-radius: 50%;
    animation-delay: 1.5s;
    animation-duration: 9s;
}

.hero-particles span:nth-child(11) {
    left: 37%;
    width: 7px;
    height: 14px;
    background: #ffaa00;
    border-radius: 3px;
    animation-delay: 5s;
    animation-duration: 11s;
}

.hero-particles span:nth-child(12) {
    left: 67%;
    width: 10px;
    height: 10px;
    background: #ffcc00;
    border-radius: 50%;
    animation-delay: 3s;
    animation-duration: 8s;
}

@keyframes particle-rise {
    0% {
        bottom: -20px;
        opacity: 0;
        transform: translateX(0) rotate(0deg) scale(1);
    }

    8% {
        opacity: 1;
    }

    85% {
        opacity: 0.7;
    }

    100% {
        bottom: 108%;
        opacity: 0;
        transform: translateX(60px) rotate(720deg) scale(0.5);
    }
}

/* ===== КОНТЕНТ ===== */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

/* Бейдж */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.4);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    color: #ffaa00;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: badge-pulse 3s ease-in-out infinite;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffaa00;
    box-shadow: 0 0 8px #ffaa00;
    animation: dot-blink 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes dot-blink {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 8px #ffaa00;
    }

    50% {
        opacity: 0.3;
        transform: scale(0.6);
        box-shadow: none;
    }
}

@keyframes badge-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 170, 0, 0);
    }

    50% {
        box-shadow: 0 0 25px rgba(255, 170, 0, 0.2);
    }
}

/* Заголовок */
.hero-title {
    font-size: clamp(18px, 2.8vw, 38px);
    color: white;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1.3;
    margin: 0;
}

.hero-title-sub {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 900;
}

.hero h8.highligted1 {
    display: inline;
    background: linear-gradient(135deg, #ffaa00, #ff8800);
    font-size: clamp(22px, 3.2vw, 44px);
    color: #000;
    text-transform: uppercase;
    border-radius: 12px;
    padding: 4px 16px;
    font-weight: 900;
    box-shadow: 0 4px 24px rgba(255, 170, 0, 0.45);
    position: relative;
}

.hero h8.highligted {
    display: inline;
    background: linear-gradient(135deg, #ffaa00, #ff8800);
    font-size: clamp(16px, 2vw, 28px);
    color: #000;
    text-transform: uppercase;
    border-radius: 10px;
    padding: 3px 12px;
    font-weight: 900;
    box-shadow: 0 4px 16px rgba(255, 170, 0, 0.35);
}

/* Слоган */
.hero-tagline {
    font-size: clamp(15px, 2vw, 22px) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 400 !important;
    text-transform: none !important;
    margin: 0 !important;
    letter-spacing: 0.5px;
    font-style: italic;
}

/* Фичи */
.hero-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 7px 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    transition: all 0.2s ease;
}

.hero-feature:hover {
    background: rgba(255, 170, 0, 0.1);
    border-color: rgba(255, 170, 0, 0.3);
    color: #ffaa00;
}

.hero-feature-icon {
    font-size: 15px;
}

/* Статистика */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px 40px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.hero-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffaa00, transparent);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-stat-num {
    font-size: clamp(22px, 2.8vw, 36px);
    font-weight: 900;
    background: linear-gradient(135deg, #ffaa00, #ff8800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hero-stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

.hero-stat-divider {
    width: 1px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
}

/* Кнопки */
.hero-buttons {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #ffaa00, #ff8800);
    color: #111;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 8px 30px rgba(255, 170, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.hero-btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.hero-btn-primary:hover::after {
    transform: translateX(100%);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 45px rgba(255, 170, 0, 0.55);
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    padding: 15px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease;
}

.hero-btn-secondary:hover {
    border-color: rgba(255, 170, 0, 0.5);
    color: #ffaa00;
    background: rgba(255, 170, 0, 0.06);
    transform: translateY(-2px);
}

/* Скролл мышь */
.hero-scroll {
    margin-top: 10px;
    opacity: 0.35;
    animation: scroll-fade 2s ease-in-out infinite;
}

.hero-scroll-mouse {
    width: 22px;
    height: 34px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
    margin: 0 auto;
}

.hero-scroll-wheel {
    width: 3px;
    height: 7px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: wheel-scroll 1.6s ease-in-out infinite;
}

@keyframes wheel-scroll {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(8px);
        opacity: 0.2;
    }
}

@keyframes scroll-fade {

    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 0.6;
    }
}

.section {
    padding: 50px 20px;
    text-align: center;
    scroll-margin-top: 80px;
    /* отступ при скролле по якорю, равный высоте header'а */
    z-index: 2;
}

.additional-content h4 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 35px;
    margin-top: 50px;
    z-index: 2;
    position: relative;
}

.section h5 {
    color: #ffffff;
    /* цвет текста h2 */
    font-size: 36px;
    margin-bottom: 15px;
    margin-top: 1px;
    padding-top: 1px;
    z-index: 2;
    position: relative;
}

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

#services {
    display: flex;
    flex-direction: column;
    padding: 80px 40px;
    background-image: url(templates/background6.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

#services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 15, 0, 0.92) 100%);
    z-index: 1;
}

.service-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 40px auto 0;
    width: 100%;
}

.service-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Карточка */
.service-card {
    background: linear-gradient(145deg, #1e1e1e, #252525);
    overflow: hidden;
    width: 340px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 560px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 170, 0, 0.1);
}

/* Золотая полоска сверху */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffaa00, transparent);
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 170, 0, 0.3);
}

.service-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    display: block;
}

.service-content {
    padding: 20px 20px 20px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-content h3 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 10px;
    color: #ffaa00;
    letter-spacing: 0.5px;
}

.service-content p {
    font-size: 14px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    flex-grow: 1;
    font-weight: 500;
    line-height: 1.6;
}

.service-button {
    background: linear-gradient(90deg, #ffaa00, #ff8800);
    color: #111;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    margin-top: auto;
    position: relative;
    z-index: 100;
    pointer-events: auto !important;
    box-shadow: 0 4px 15px rgba(255, 170, 0, 0.2);
}

.service-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 170, 0, 0.4);
    background: linear-gradient(90deg, #ff8800, #ffaa00);
}

.service-button:active {
    transform: translateY(0);
}

/* Горизонтальная карточка */
.horizontal-card {
    display: flex;
    background: linear-gradient(145deg, #1e1e1e, #252525);
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    max-width: 1052px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 170, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
    height: 220px;
    position: relative;
}

.horizontal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffaa00, transparent);
    z-index: 1;
}

.horizontal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 170, 0, 0.3);
}

.horizontal-card img {
    width: 40%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
    flex-shrink: 0;
}

.horizontal-content {
    text-align: left;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    flex: 1;
}

.horizontal-content h3 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 8px;
    color: #ffaa00;
    letter-spacing: 0.5px;
}

.horizontal-content p {
    font-size: 14px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    line-height: 1.6;
}

.horizontal-button {
    background: linear-gradient(90deg, #ffaa00, #ff8800);
    color: #111;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    cursor: pointer;
    width: fit-content;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 100;
    pointer-events: auto !important;
    box-shadow: 0 4px 15px rgba(255, 170, 0, 0.2);
}

.horizontal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 170, 0, 0.4);
    background: linear-gradient(90deg, #ff8800, #ffaa00);
}

.horizontal-button:active {
    transform: translateY(0);
}

.section {
    text-align: center;
}

.section-gal {
    color: #ffaa00;
    /* Желтый цвет заголовка */
    font-size: 56px;
    margin-bottom: 10px;
    text-transform: uppercase;
    /* Добавляем заглавные буквы */
    z-index: 2;
}

.section-gal {
    color: #ffffff;
    /* Белый цвет подзаголовка */
    font-size: 36px;
    margin-bottom: 40px;
    position: relative;
    /* Добавляем для корректного z-index */
}

#gallery {
    padding: 80px 40px 100px;
    background-color: #111;
    position: relative;
    overflow: hidden;
    /* убрали background-image отсюда */
}

/* Фон через псевдоэлемент — не влияет на скролл */
#gallery::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/templates/background6.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 15, 0, 0.92) 100%);
    z-index: 0;
    will-change: auto;
}

/* Коллажная сетка */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 200px 200px 200px;
    gap: 12px;
    max-width: 1100px;
    margin: 40px auto 0;
    position: relative;
    z-index: 2;
}

/* Расположение элементов в коллаже */
.gallery-item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item--tall {
    grid-row: span 2;
}

/* Базовый стиль карточки */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    will-change: transform;
    contain: layout style paint;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    transition: transform 0.4s ease;
    will-change: transform;
    transform: translateZ(0);
    /* переносим на GPU */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

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

/* Оверлей при hover */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 60%);
    border-radius: 16px;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 12px;
    background: rgba(255, 170, 0, 0.15);
    border: 1px solid rgba(255, 170, 0, 0.4);
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

/* Золотая рамка при hover */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    pointer-events: none;
    z-index: 3;
}

.gallery-item:hover::after {
    border-color: rgba(255, 170, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.15);
}

/* Кнопка */
.gallery-button {
    background: linear-gradient(90deg, #ffaa00, #ff8800);
    color: #111;
    padding: 14px 50px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-top: 40px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 6px 20px rgba(255, 170, 0, 0.3);
}

.gallery-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 170, 0, 0.5);
    background: linear-gradient(90deg, #ff8800, #ffaa00);
}

#reviews {
    padding: 80px 40px 100px;
    background-color: #020202;
    color: #fff;
    text-align: center;
    background-image: url(templates/background6.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

#reviews::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 15, 0, 0.92) 100%);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

.reviews-gallery {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 16px;
    margin: 40px auto 0;
    padding: 0;
}

/* Базовая карточка */
.review-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 380px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.review-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 170, 0, 0);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    pointer-events: none;
    z-index: 3;
}

.review-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.review-card:hover::after {
    border-color: rgba(255, 170, 0, 0.45);
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.1);
}

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

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

/* Затухание для последнего ряда на десктопе */
@media (min-width: 769px) {

    .card-7,
    .card-8,
    .card-9 {
        overflow: hidden;
    }

    .card-7::before,
    .card-8::before,
    .card-9::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 180px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
        z-index: 2;
        pointer-events: none;
    }
}

/* Позиции карточек */
.card-1 {
    grid-column: 1/2;
    grid-row: 1/2;
}

.card-2 {
    grid-column: 2/3;
    grid-row: 1/2;
}

.card-3 {
    grid-column: 3/4;
    grid-row: 1/2;
}

.card-4 {
    grid-column: 1/2;
    grid-row: 2/3;
}

.card-5 {
    grid-column: 2/3;
    grid-row: 2/3;
}

.card-6 {
    grid-column: 3/4;
    grid-row: 2/3;
}

.card-7 {
    grid-column: 1/2;
    grid-row: 3/4;
}

.card-8 {
    grid-column: 2/3;
    grid-row: 3/4;
}

.card-9 {
    grid-column: 3/4;
    grid-row: 3/4;
}

/* Кнопки */
.more-reviews-btn,
.less-reviews-btn {
    height: 52px;
    width: 260px;
    background: linear-gradient(90deg, #ffaa00, #ff8800);
    color: #111;
    border: none;
    padding: 0 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    margin: 40px auto 0;
    display: block;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 20px rgba(255, 170, 0, 0.3);
}

.more-reviews-btn:hover,
.less-reviews-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 170, 0, 0.5);
    background: linear-gradient(90deg, #ff8800, #ffaa00);
}

.less-reviews-btn {
    display: none;
}

/* Мобилка */
@media (max-width: 768px) {
    #reviews {
        padding: 60px 16px 80px;
    }

    .reviews-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .card-1,
    .card-2,
    .card-3,
    .card-4,
    .card-5,
    .card-6,
    .card-7,
    .card-8,
    .card-9 {
        grid-column: auto;
        grid-row: auto;
        height: 200px;
    }

    .card-7::before,
    .card-8::before,
    .card-9::before {
        display: none;
    }

    .review-card:nth-child(n+3) {
        display: none;
    }

    .reviews-gallery.show-all .review-card {
        display: block;
    }

    .more-reviews-btn,
    .less-reviews-btn {
        width: 100%;
        font-size: 14px;
    }
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    background: #080808;
    margin-top: 80px;
    overflow: hidden;
}

/* Золотая полоска сверху */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffaa00, #ff8800, transparent);
}

/* Фоновое свечение */
.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(255, 170, 0, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.footer-top {
    padding: 64px 20px 48px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
}

/* Бренд */
.footer-brand {}

.footer-logo img {
    height: 44px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.footer-brand-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 260px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-btn:hover {
    background: rgba(255, 170, 0, 0.12);
    border-color: rgba(255, 170, 0, 0.35);
    color: #ffaa00;
    transform: translateY(-2px);
}

/* Заголовки колонок */
.footer-col-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.footer-col-title-line {
    display: block;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #ffaa00, #ff8800);
    border-radius: 2px;
    flex-shrink: 0;
}

/* Ссылки навигации */
.footer-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

.footer-link svg {
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s ease;
    flex-shrink: 0;
    color: #ffaa00;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(4px);
}

.footer-link:hover svg {
    opacity: 1;
    transform: translateX(0);
}

/* Контакты */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 12px;
    transition: all 0.2s ease;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid transparent;
}

.footer-contact-item:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
}

.footer-contact-icon--wa {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.footer-contact-icon--ig {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
}

.footer-contact-item:hover .footer-contact-icon {
    transform: scale(1.1);
}

.footer-city-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 170, 0, 0.06);
    border: 1px solid rgba(255, 170, 0, 0.15);
    border-radius: 50px;
    padding: 5px 12px;
}

.footer-city-badge strong {
    color: #ffaa00;
    font-weight: 700;
}

/* Мини CTA */
.footer-quiz-cta {
    margin-top: 24px;
    padding: 16px;
    background: rgba(255, 170, 0, 0.06);
    border: 1px solid rgba(255, 170, 0, 0.15);
    border-radius: 14px;
}

.footer-quiz-cta p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 10px;
    line-height: 1.4;
}

.footer-quiz-btn {
    display: inline-block;
    background: linear-gradient(90deg, #ffaa00, #ff8800);
    color: #111;
    font-size: 12px;
    font-weight: 900;
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.footer-quiz-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 170, 0, 0.35);
}

/* Нижняя полоска */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 20px;
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
}

.footer-bottom-badges {
    display: flex;
    gap: 10px;
}

.footer-badge {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50px;
    padding: 4px 12px;
    font-weight: 600;
}

#packages {
    background-image: url(templates/background6.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    z-index: 2;
    padding: 80px 20px;
}

#packages::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 15, 0, 0.92) 100%);
    z-index: 1;
}

.package-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: 1000px;
    margin: 40px auto 0;
    flex-direction: row;
    position: relative;
    z-index: 2;
    align-items: stretch;
}

/* Левая часть — описание */
.package-description {
    width: 480px;
    flex-shrink: 0;
    color: #fff;
    text-align: left;
    background: linear-gradient(145deg, #1e1e1e, #252525);
    border-radius: 20px;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 170, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.package-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffaa00, transparent);
}

.package-info {
    display: none;
    flex-direction: column;
    gap: 8px;
}

.package-info.active {
    display: flex;
}

.package-info h3 {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 4px;
    letter-spacing: 0.5px;
}

.package-info h4 {
    font-size: 14px;
    color: #ffaa00;
    margin: 0 0 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.package-info p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 500;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border-left: 2px solid rgba(255, 170, 0, 0.4);
}

.package-info p1 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    text-align: center;
    margin-top: 8px;
    display: block;
}

/* Кнопки пакетов */
.package-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.package-button {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 170, 0, 0.25);
    padding: 8px 0;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    width: 120px;
    text-align: center;
    letter-spacing: 0.5px;
}

.package-button:hover {
    background: rgba(255, 170, 0, 0.15);
    color: #ffaa00;
    border-color: #ffaa00;
}

.package-button.active {
    background: linear-gradient(90deg, #ffaa00, #ff8800);
    color: #111;
    border-color: transparent;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(255, 170, 0, 0.3);
}

.package-button.new::after,
.package-button.xit::after {
    position: absolute;
    top: -8px;
    right: -6px;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 10px;
    letter-spacing: 0.5px;
}

.package-button.new::after {
    content: "ТОП";
    background: #ff3333;
}

.package-button.xit::after {
    content: "ХИТ";
    background: #ff3333;
}

/* Правая часть — изображение */
.package-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 2;
    justify-content: space-between;
    gap: 16px;
}

.package-image {
    display: none;
    width: 100%;
    background: linear-gradient(145deg, #1e1e1e, #252525);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 170, 0, 0.1);
    position: relative;
}

.package-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffaa00, transparent);
    z-index: 1;
}

.package-image.active {
    display: block;
}

.package-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.package-details {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
}

.detail-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 170, 0, 0.08);
    border: 1px solid rgba(255, 170, 0, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
}

.detail-item .icon {
    color: #ffaa00;
    margin-right: 6px;
    font-size: 12px;
}

/* Кнопка действия */
.package-actions {
    display: flex;
    justify-content: center;
    width: 100%;
}

.action-button.participate {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    background: linear-gradient(90deg, #ffaa00, #ff8800);
    color: #111;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 170, 0, 0.3);
}

.action-button.participate::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
}

.action-button.participate:hover {
    background: linear-gradient(90deg, #ff8800, #ffaa00);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 170, 0, 0.4);
    text-decoration: none;
}

#team {
    background-image: url(templates/background6.png);
    background-size: cover;
    /* Растягивает изображение, сохраняя пропорции */
    background-position: center;
    /* Центрирует изображение */
    background-repeat: no-repeat;
    /* Предотвращает повторение изображения *additional-column/
        overflow: hidden; /* Обрезаем псевдоэлемент, если он выходит за границы блока */
    position: relative;
    z-index: 2;
}

#team::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    /* Затемнение: цвет и прозрачность */
    z-index: 1;
    /* Размещает затемнение позади контента */
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 5px;
    animation: fadeIn 2s ease-in-out;
    /* Анимация появления */
    position: relative;
    z-index: 2;
}

.team-carousel {
    display: flex;
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    gap: 40px;
}

.team-member {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 2;
}

.team-member img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    border: 5px solid #ffaa00;
    /* Желтый ободок */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.team-member h3 {
    font-size: 24px;
    margin-top: 15px;
    color: #fff;
    text-transform: uppercase;
}

.team-member h7 {
    color: #ffaa00;
    font-size: 42px;
    text-transform: uppercase;
    font-weight: bold;
}

.team h6 {
    margin-bottom: 5px;
}

/* Стили для кнопок карусели */
.carousel-prev,
.carousel-next {
    display: none;
    /* Скрываем кнопки по умолчанию */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.whatsapp-order {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 30px;
    position: relative;
    z-index: 2;
}

.whatsapp-button {
    background-color: #ffaa00;
    color: #1a1a1a;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.whatsapp-button:hover {
    background-color: #25d366;
    /* Темный цвет WhatsApp */
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-button:active {
    transform: translateY(1px);
}

/* Иконка WhatsApp */
.whatsapp-button::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 10px;
    vertical-align: middle;
}

.what-is-show {
    width: auto;
    height: auto;
    background-image: url(templates/background3.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
    position: relative;
    overflow: hidden;
    padding-top: 310px;
    padding-bottom: 60px;
}

.what-is-show::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.92) 100%);
    z-index: 1;
}

.what-is-show .container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.what-is-show h2 {
    color: #ffffff;
    font-size: 56px;
    font-weight: 900;
    text-align: center;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}

.what-is-show h4 {
    font-size: 56px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffaa00, #ff8800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.what-is-show h3 {
    color: #ffaa00;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 70px;
    line-height: 1;
    text-transform: uppercase;
}

.info-columns {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.column {
    flex: 1;
    max-width: 340px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.svg-placeholder {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 170, 0, 0.08);
    border: 1px solid rgba(255, 170, 0, 0.25);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.svg-placeholder::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(255, 170, 0, 0.12);
    animation: pulse-ring 2.5s ease-in-out infinite;
}

@keyframes pulse-ring {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

.column-icon-svg {
    display: block;
    width: 38px;
    height: 38px;
}

.column-content {
    background: linear-gradient(145deg, #1e1e1e, #252525);
    border-radius: 20px;
    padding: 28px 24px;
    width: 100%;
    flex: 1;
    box-sizing: border-box;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 170, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffaa00, transparent);
}

.column-content:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 170, 0, 0.25);
}

.column h3 {
    color: #ffaa00;
    font-size: 14px;
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.3;
}

.column p {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

#additionally {
    background-image: url(templates/background6.png);
    background-size: cover;
    /* Растягивает изображение, сохраняя пропорции */
    background-position: center;
    /* Центрирует изображение */
    background-repeat: no-repeat;
    /* Предотвращает повторение изображения */
    overflow: hidden;
    /* Обрезаем псевдоэлемент, если он выходит за границы блока */
    position: relative;
    z-index: 2;
    padding-bottom: 100px;
}

.overlay-image {
    position: relative;
    top: 270px;
    left: -20px;
    width: 120%;
    height: 100%;
}

#additionally::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    /* Затемнение: цвет и прозрачность */
    z-index: 1;
    /* Размещает затемнение позади контента */
}

/* Styles for the new section below */
.additional-content {
    margin-top: 10px;
}

.section h4h {
    margin-top: 40px;
    /* единый верхний отступ */
    background: rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.2);
    /*#151515;*/
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(8px);
    /* лёгкий фон для читаемости */
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    z-index: 1000;
    position: relative;
    border: 2px solid #ffaa00;
    /* рамка жёлтым */
    border-radius: 15px;
    /* скруглим углы для красоты */
    padding: 20px 30px;
    /* внутренние отступы */
    text-align: center;
    /* центрируем текст */
    display: inline-block;
    /* чтобы рамка подстраивалась под текст */
}

.additional-content h2 {
    margin-bottom: 10px;
    font-size: 54px;
    color: #ffffff;
    z-index: 1000;
    position: relative;
}

.additional-content h2 span {
    display: inline;
    /* Чтобы элемент занимал только необходимую ширину */
    background-color: #ffaa00;
    /* Задаем желтый фон */
    font-size: 54px;
    margin-bottom: 30px;
    color: #000;
    z-index: 2;
    position: relative;
    text-transform: uppercase;
    border: 5px solid #ffaa00;
    border-radius: 45px;
    padding: 5px 20px;
    /* Небольшие внутренние отступы */
}

.additional-columns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.additional-column {
    flex: 1;
    max-width: 200px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: none;
}

.additional-svg-placeholder {
    width: 200px;
    height: 200px;
    margin-bottom: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.additional-column-icon-svg {
    display: block;
    width: 100px;
    height: 100px;
    fill: #ffaa00;
    justify-content: center;
    align-items: center;
}

#additionally {
    background-color: #020202;
}

.additional-column-content {
    background-color: none;
    border: none;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    align-items: flex-start;
}

.additional-column h3 {
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
}

.additional-column p {
    display: none;
}

/* Стилизация фона-ленты (оставляем как было) */
.ribbon-bg {
    position: absolute;
    bottom: 350px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 150px;
    background: linear-gradient(to right,
            transparent,
            #a0884a 20%,
            #d4b867 50%,
            #a0884a 80%,
            transparent);
    opacity: 0.6;
    z-index: 1;
    filter: blur(10px);
}

.ribbon-bg1 {
    position: relative;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100px;
    background: linear-gradient(to right,
            transparent,
            #a0884a 40%,
            #d4b867 90%,
            #a0884a 80%,
            transparent);
    opacity: 0.6;
    z-index: 1;
    filter: blur(10px);
}

/* Анимация появления */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

html {
    scroll-behavior: smooth;
    touch-action: block;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    /*#151515;*/
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
}

.modal-content {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 15px;
    width: 350px;
    text-align: left;
    position: relative;
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ffaa00;
}

.modal-content label {
    font-weight: bold;
    display: block;
    margin: 10px 0 5px;
}

.modal-content input,
.modal-content select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    /* полупрозрачный тёмный фон */
    border: 1px solid #444;
    /* тонкая граница */
    color: #fff;
    /* белый текст */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 35px;
}

.modal-content button {
    width: 100%;
    padding: 12px;
    background: #25d366;
    border: none;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
}

.modal-content button:hover {
    background: #20b358;
}

.close {
    position: absolute;
    top: 0px;
    right: 15px;
    font-size: 26px;
    cursor: pointer;
}

#application {
    background-image: url(templates/background6.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
    position: relative;
    padding: 80px 20px;
}

#application::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 15, 0, 0.92) 100%);
    z-index: -1;
}

.application-section {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    color: #fff;
    z-index: 2;
    text-align: center;
    position: relative;
}

.application-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: stretch;
    z-index: 2;
    background: linear-gradient(145deg, #1e1e1e, #252525);
    border-radius: 24px;
    padding: 40px;
    max-width: 1100px;
    margin: 40px auto 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 170, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Золотая полоска сверху */
.application-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffaa00, transparent);
}

/* Форма */
.application-form {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.application-section label {
    font-weight: 700;
    color: #ffaa00;
    font-size: 12px;
    text-align: left;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: -8px;
}

.application-section input,
.application-section select,
.application-section textarea {
    width: 100%;
    max-width: 100%;
    height: 50px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    line-height: 1.4;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.application-section input:focus,
.application-section select:focus,
.application-section textarea:focus {
    border-color: #ffaa00;
    background: rgba(255, 170, 0, 0.05);
    box-shadow: 0 0 0 3px rgba(255, 170, 0, 0.1);
}

.application-section input::placeholder,
.application-section textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.application-section select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23ffaa00' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 24px;
    padding-right: 44px;
    background-color: rgba(255, 255, 255, 0.05);
}

.application-section textarea {
    height: auto;
    min-height: 80px;
    resize: vertical;
}

.application-section button[type="submit"] {
    padding: 16px;
    background: linear-gradient(90deg, #ffaa00, #ff8800);
    color: #111;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    margin-top: 8px;
    box-shadow: 0 4px 20px rgba(255, 170, 0, 0.3);
}

.application-section button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 170, 0, 0.5);
}

/* Правая часть — контакты */
.application-contacts {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 30px 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 220px;
}

.application-contacts h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
    margin-top: 16px;
}

.application-contacts h3:first-child {
    margin-top: 0;
}

.application-contacts p {
    margin: 4px 0 0 42px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.application-contacts a {
    color: #ffaa00;
    text-decoration: none;
    transition: color 0.2s;
}

.application-contacts a:hover {
    color: #ffffff;
}

/* Разделитель между контактами */
.application-contacts h3:not(:first-child) {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Мобилка */
@media (max-width: 768px) {
    .application-wrapper {
        flex-direction: column;
        padding: 24px 20px;
        gap: 24px;
    }

    .application-contacts {
        min-width: unset;
    }

    .application-section button[type="submit"] {
        font-size: 15px;
    }
}

.section-title {
    font-size: 45px;
    /* единый размер для названия */
    font-weight: bold;
    color: #ffaa00;
    /* желтый */
    margin-bottom: 1px;
    text-align: center;
    z-index: 1000;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #ffaa00 60%, #ff6600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.emoji {
    -webkit-text-fill-color: initial;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.section-subtitle {
    /* единый размер для белого текста */
    font-weight: normal;
    color: #fff;
    margin-bottom: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 25px;
    z-index: 1000;
    position: relative;
    background: linear-gradient(135deg, #ffffff 100%, #ffaa00 0%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

/* Хедер всегда видим — не скрываем анимацией */
header[data-animate] {
    opacity: 1;
    transform: none;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

.quiz-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px 16px 15px 16px;
    background-image: url(templates/background6.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    min-height: 80vh;
}

.quiz-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    pointer-events: none;
    z-index: 0;
}

.quiz-card {
    max-width: 980px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.172);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 28px;
    padding: 40px;
    color: #fff;
    position: relative;
    z-index: 10;
}

.quiz-title {
    font-size: 34px;
    margin-bottom: 30px;
}

.quiz-title span {
    color: #f5b301;
}

.quiz-steps {
    min-height: 220px;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
}

.quiz-step {
    display: none !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    animation: fadeOut 0.3s ease forwards;
}

.quiz-step.active {
    display: block !important;
    position: relative;
    opacity: 1;
    pointer-events: auto;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.quiz-step label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
}

.quiz-step label1 {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    color: #ffaa00;
    font-weight: 600;
}

.quiz-step select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg ...></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    font-weight: 600;
}

#guestCount {
    color: #f5b301;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.1s ease;
}

.quiz-step input,
.quiz-step select {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    background: #1f1f1f;
    border: 2px solid #333;
    color: #fff;
    font-size: 16px;
    transition: border-color 0.3s ease;
    border-color: #ffaa00;
}

.quiz-step input:focus,
.quiz-step select:focus {
    outline: none;
    border-color: #f5b301;
    box-shadow: 0 0 8px rgba(245, 179, 1, 0.3);
}

.quiz-step input:valid,
.quiz-step select:valid {
    border-color: #ffaa00;
}

.quiz-step input[type="date"] {
    cursor: pointer;
    padding: 14px;
    font-size: 16px;
    color: #fff;
    position: relative;
    color: #fff;
    text-align: left;
}

.quiz-step input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(1);
    opacity: 0;
    /* Делаем невидимым, но кликабельным */
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* Для Firefox */
.quiz-step input[type="date"]::-moz-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(1);
    opacity: 0.8;
}

/* Цвет текста даты для разных браузеров */
.quiz-step input[type="date"]::-webkit-datetime-edit {
    color: #fff;
}

.quiz-step input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    color: #fff;
}

.quiz-step input[type="date"]::-webkit-datetime-edit-text {
    color: #fff;
}

.quiz-step input[type="date"]::-webkit-datetime-edit-month-field,
.quiz-step input[type="date"]::-webkit-datetime-edit-day-field,
.quiz-step input[type="date"]::-webkit-datetime-edit-year-field {
    color: #fff;
}

/* Range slider styling */
.quiz-step input[type="range"] {
    width: 100%;
    height: 6px;
    padding: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right,
            #f5b301 0%,
            #f5b301 var(--value),
            #333 var(--value),
            #333 100%);
    border-radius: 3px;
}

/* Guest count buttons */
.guests-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.guests-buttons button {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #f5b301;
    background: #000;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 200ms ease;
    text-transform: uppercase;
    font-size: 14px;
}

.guests-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 179, 1, 0.12);
}

.guests-buttons button.active {
    background: #f5b301;
    color: #000;
    box-shadow: 0 6px 20px rgba(245, 179, 1, 0.28);
}

@media (max-width: 768px) {
    .guests-buttons {
        grid-template-columns: 1fr 1fr;
    }
}

.quiz-step input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: auto;
    border-radius: 50%;
    background: #f5b301;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(245, 179, 1, 0.5);
    transition: all 0.2s ease;
}

.quiz-step input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(245, 179, 1, 0.8);
}

/* Thumb для ползунка (Firefox) */
.quiz-step input[type="range"]::-moz-range-thumb {
    width: 100%;
    height: auto;
    border-radius: 50%;
    background: #f5b301;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(245, 179, 1, 0.5);
    transition: all 0.2s ease;
}

.quiz-step input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(245, 179, 1, 0.8);
}

.quiz-format {
    display: flex;
    gap: 16px;
}

.quiz-format button {
    flex: 1;
    padding: 16px;
    background: #111;
    border: 1px solid #ffaa00;
    border-radius: 16px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
    font-weight: 600;
    font-size: 14px;
}

.quiz-format button:hover {
    border-color: #f5b301;
    transform: translateY(-2px);
}

.quiz-format button.active {
    background: #f5b301;
    border-color: #f5b301;
    color: #000;
    box-shadow: 0 4px 12px rgba(245, 179, 1, 0.3);
}

/* Format submenu and details styling */
.format-submenu,
.format-details {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.format-submenu button,
.format-details button {
    flex: 1 1 calc(50% - 12px);
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #f5b301;
    background: #000;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 160ms ease;
    text-align: left;
    font-size: 14px;
}

.format-submenu .highlight,
.format-details .highlight {
    color: #f5b301;
    font-weight: 700;
    font-size: 14px;
}

.format-submenu button.active .highlight {
    color: #ffffff;
    /* Или white */
}

.format-submenu button:hover,
.format-details button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245, 179, 1, 0.1);
}

.format-submenu button.active,
.format-details button.active {
    background: #f5b301;
    color: #000;
    border-color: #f5b301;
    box-shadow: 0 8px 26px rgba(245, 179, 1, 0.22);
}

/* Goals grid - multi-select buttons */
.goal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
    position: relative;
}

.goal-grid button {
    padding: 12px;
    border-radius: 16px;
    border: 1px solid #f5b301;
    background: #000;
    color: #fff;
    cursor: pointer;
    transition: all 0.18s ease;
    text-align: left;
    font-weight: 600;
    text-transform: lowercase;
    font-size: 14px;
}

.goal-grid button::first-letter {
    text-transform: uppercase;
}

.goal-grid button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 179, 1, 0.08);
}

.goal-grid button.active {
    background: #f5b301;
    border-color: #f5b301;
    color: #000;
    box-shadow: 0 6px 20px rgba(245, 179, 1, 0.28);
}

@media (max-width: 768px) {
    .goal-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom "Другое" input */
/* Custom "Другое" input - always visible */
.goal-other {
    display: block;
    margin-top: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #ffaa00;
    font-weight: 600;
}

.goal-other input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #f5b301;
    background: #1f1f1f;
    color: #fff;
    font-weight: 600;
    box-sizing: border-box;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
    font-size: 12px;
}

.goal-other input::placeholder {
    color: #888;
    font-weight: 500;
    font-size: 13px;
}

.goal-other input:focus {
    border-color: #f5b301;
    outline: none;
    box-shadow: 0 6px 18px rgba(245, 179, 1, 0.16);
    background: #2a2a2a;
}

.quiz-submit {
    margin-top: 20px;
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    border: none;
    background: #f5b301;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.quiz-submit:hover:not(:disabled) {
    background: #ffb703;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 179, 1, 0.4);
}

.quiz-submit:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.quiz-privacy {
    margin-top: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    line-height: 1.4;
}

/* Next button on goals step */
.quiz-next {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 18px;
    border-radius: 16px;
    background: #f5b301;
    color: #000;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        filter 180ms ease;
    box-shadow: 0 6px 18px rgba(245, 179, 1, 0.14);
}

.quiz-next:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(245, 179, 1, 0.28);
    filter: brightness(1.02);
}

.quiz-next:active {
    transform: translateY(0) scale(0.995);
}

.quiz-next:focus {
    outline: 3px solid rgba(245, 179, 1, 0.22);
    outline-offset: 3px;
}

/* Center the "Далее" button inside the goals step */
.quiz-step[data-step="1"] .quiz-next,
.quiz-step[data-step="4"] .quiz-next,
.quiz-step[data-step="2"] .quiz-next {
    display: block;
    margin: 16px auto 0 auto;
    width: auto;
    text-align: center;
    font-size: 16px;
}

/* Нижняя навигация */
.quiz-nav {
    margin-top: 30px;
    background: #fff;
    border-radius: 20px;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    position: relative;
    z-index: 20;
    pointer-events: auto;
}

.nav-btn {
    flex: 1;
    padding: 14px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 16px;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    z-index: 100 !important;
    pointer-events: auto !important;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #333;
    text-transform: uppercase;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.nav-btn:hover {
    background: rgba(245, 179, 1, 0.1);
    border-color: #f5b301;
    transform: translateY(-2px);
}

.nav-btn:active {
    transform: translateY(0);
}

.nav-btn.active {
    background: #f5b301 !important;
    color: #000 !important;
    border-color: #f5b301 !important;
    box-shadow: 0 4px 12px rgba(245, 179, 1, 0.3);
    pointer-events: auto !important;
}

/* Notification Banner */
.notification-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid #f5b301;
    border-radius: 28px;
    padding: 48px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow:
        0 20px 60px rgba(245, 179, 1, 0.3),
        0 0 40px rgba(245, 179, 1, 0.15);
    animation: slideInBanner 0.4s ease-out;
    color: #fff;
    display: none;
}

.notification-banner.success {
    border-color: #4caf50;
    box-shadow:
        0 20px 60px rgba(76, 175, 80, 0.3),
        0 0 40px rgba(76, 175, 80, 0.15);
}

.notification-banner.error {
    border-color: #f44336;
    box-shadow:
        0 20px 60px rgba(244, 67, 54, 0.3),
        0 0 40px rgba(244, 67, 54, 0.15);
}

.notification-banner-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.notification-banner-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.notification-banner-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    line-height: 1.5;
}

.notification-banner-button {
    background: #f5b301;
    color: #000;
    border: none;
    padding: 14px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.notification-banner-button:hover {
    background: #ffb703;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 179, 1, 0.4);
}

.notification-banner-button:active {
    transform: translateY(0);
}

.notification-banner.success .notification-banner-button {
    background: #4caf50;
}

.notification-banner.success .notification-banner-button:hover {
    background: #66bb6a;
}

.notification-banner.error .notification-banner-button {
    background: #f44336;
}

.notification-banner.error .notification-banner-button:hover {
    background: #ef5350;
}

.banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    display: none;
    animation: fadeInOverlay 0.3s ease-out;
}

.banner-overlay.visible {
    display: block;
}

@keyframes slideInBanner {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BRANDS SECTION ===== */
.brands-section {
    padding: 80px 0 60px;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

/* Фоновое свечение */
.brands-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255, 170, 0, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* Золотая линия сверху */
.brands-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 170, 0, 0.4), transparent);
}

/* Шапка */
.brands-header {
    text-align: center;
    padding: 0 20px;
    margin-bottom: 48px;
    position: relative;
    z-index: 2;
}

.brands-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffaa00;
    margin-bottom: 16px;
}

.brands-eyebrow::before,
.brands-eyebrow::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: #ffaa00;
    opacity: 0.5;
}

.brands-title {
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.brands-title span {
    background: linear-gradient(135deg, #ffaa00, #ff8800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brands-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
    margin: 0;
}

/* Счётчики */
.brands-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 52px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.brands-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.brands-stat-num {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 900;
    background: linear-gradient(135deg, #ffaa00, #ff8800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.brands-stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.brands-stat-sep {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
}

/* ===== КАРУСЕЛЬ ===== */
.brands-track-wrap {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    padding: 8px 0;
}

/* Затухание по краям */
.brands-fade-left,
.brands-fade-right {
    position: absolute;
    top: 0;
    width: 160px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.brands-fade-left {
    left: 0;
    background: linear-gradient(to right, #0a0a0a 0%, transparent 100%);
}

.brands-fade-right {
    right: 0;
    background: linear-gradient(to left, #0a0a0a 0%, transparent 100%);
}

.brands-track {
    overflow: hidden;
}

.brands-slide {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: brands-scroll 28s linear infinite;
}

.brands-slide--reverse {
    animation: brands-scroll-reverse 32s linear infinite;
}

/* Пауза при наведении */
.brands-track-wrap:hover .brands-slide {
    animation-play-state: paused;
}

@keyframes brands-scroll {
    0% {
        transform: translateX(0);
    }

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

@keyframes brands-scroll-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Карточка бренда */
.brand-card {
    flex-shrink: 0;
    width: 180px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 16px 24px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.06), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.brand-card:hover {
    border-color: rgba(255, 170, 0, 0.3);
    background: rgba(255, 170, 0, 0.04);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.brand-card:hover::before {
    opacity: 1;
}

.brand-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.45);
    transition: filter 0.3s ease;
}

.brand-card:hover img {
    filter: brightness(0) invert(1) opacity(0.9);
}

/* CTA блок */
.brands-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 52px;
    padding: 28px 40px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.brands-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    font-weight: 500;
}

.brands-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #ffaa00, #ff8800);
    color: #111;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 24px rgba(255, 170, 0, 0.3);
    white-space: nowrap;
}

.brands-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(255, 170, 0, 0.5);
}

/* Мобильная версия ГЛАВНАЯ */
@media (max-width: 768px) {
    
    .menu-toggle {
        display: flex;
        border: none;
        cursor: pointer;
    }
    .brands-section {
        padding: 60px 0 40px;
    }

    .brands-stats {
        gap: 20px;
        margin-bottom: 36px;
    }

    .brands-stat-sep {
        height: 28px;
    }

    .brands-fade-left,
    .brands-fade-right {
        width: 60px;
    }

    .brand-card {
        width: 140px;
        height: 72px;
        padding: 12px 18px;
        border-radius: 12px;
    }

    .brands-cta {
        flex-direction: column;
        gap: 16px;
        padding: 24px 20px;
        text-align: center;
    }

    .brands-cta p {
        font-size: 14px;
    }

    .brands-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .whatsapp-arrow {
        display: none;
    }

    /* Кнопка текущего города */
    .mobile-city-switcher {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }

    .mobile-city-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 12px;
        padding: 11px 14px;
        color: #ffffff;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        text-align: left;
        transition: background 0.2s;
    }

    .mobile-city-btn:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .mobile-city-arrow {
        margin-left: auto;
        transition: transform 0.2s;
        width: 25px;
        height: 25px;
    }

    /* Bottom sheet */
    .city-bottom-sheet {
        position: fixed;
        inset: 0;
        z-index: 99999;
        /* выше всего */
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.25s;
    }

    .city-bottom-sheet.active {
        pointer-events: all;
        opacity: 1;
    }

    .city-bottom-sheet__overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
    }

    .city-bottom-sheet__panel {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        background: #1a1a1a;
        border-radius: 20px 20px 0 0;
        padding: 0 0 30px;
        transform: translateY(-100%);
        transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    }

    .city-bottom-sheet.active .city-bottom-sheet__panel {
        transform: translateY(0);
    }

    .city-bottom-sheet__panel {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        background: #1c1c1e;
        border-radius: 0 0 24px 24px;
        padding-bottom: 16px;
        transform: translateY(-100%);
        transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    }

    .city-bottom-sheet__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: #ffffff;
        font-size: 17px;
        font-weight: 700;
    }

    .city-bottom-sheet__close:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .city-bottom-sheet__close {
        background: rgba(255, 255, 255, 0.12);
        border: none;
        color: #ffffff;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }

    .city-bottom-sheet__list {
        display: flex;
        flex-direction: column;
        max-height: 60vh;
        overflow-y: auto;
    }

    .city-sheet-option {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px 20px;
        color: #ffffff;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        transition: background 0.15s;
    }

    .city-sheet-option:last-child {
        border-bottom: none;
    }

    .city-sheet-option:hover {
        background: rgba(255, 255, 255, 0.06);
    }

    /* Активный город — жёлтая полоска слева + жёлтый текст */
    .city-sheet-option--active {
        color: #ffaa00;
        background: rgba(255, 170, 0, 0.08);
        border-left: 3px solid #ffaa00;
        padding-left: 17px;
    }

    .city-check {
        margin-left: auto;
        opacity: 0;
        fill: #ffaa00;
    }

    .city-sheet-option--active .city-check {
        opacity: 1;
    }

    .header-contacts {
        display: none;
    }

    .desktop-nav {
        display: none;
    }

    /* Мобильные контакты — вверху меню */
    .mobile-contacts {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-bottom: 8px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        margin-top: 0;
        padding-top: 0;
    }

    /* Кнопка телефона */
    .mobile-phone {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #ffffff;
        text-decoration: none;
        font-size: 11px;
        font-weight: 700;
        background: rgba(255, 170, 0, 0.12);
        border: 1px solid rgba(255, 170, 0, 0.3);
        padding: 10px 10px;
        border-radius: 12px;
        transition: background 0.2s;
        width: 100%;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
    }

    .mobile-phone svg {
        flex-shrink: 0;
        /* иконка не сжимается */
        width: 13px;
        height: 13px;
    }

    .mobile-phone:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    /* Выбор города */
    .mobile-city-switcher {
        display: flex;
        flex-direction: column;
        gap: 6px;
        width: 100%;
    }

    .mobile-city-label {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.45);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .mobile-city-options {
        display: flex;
        gap: 8px;
        width: 100%;
    }

    .mobile-city-option {
        flex: 1;
        text-align: center;
        padding: 11px 10px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: #cccccc;
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.2s;
        box-sizing: border-box;
    }

    .mobile-city-option:hover {
        background: rgba(255, 255, 255, 0.15);
        color: #ffffff;
    }

    .mobile-city-option--active {
        background: rgba(255, 170, 0, 0.15);
        border-color: rgba(255, 170, 0, 0.5);
        color: #ffaa00;
    }

    .close-menu {
        position: absolute;
        top: 10px;
        right: 20px;
        background: none;
        border: none;
        color: #ffffff !important;
        ;
        font-size: 28px;
        cursor: pointer;
        z-index: 2000;
        opacity: 1 !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    .close-menu:hover {
        color: #ffaa00;
    }

    .footer-top {
        padding: 40px 16px 32px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand-desc {
        max-width: 100%;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .whatsapp-button1 {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-button1 img {
        width: 30px;
        height: 30px;
    }

    header {
        top: 10px;
        left: 10px;
        right: 10px;
        width: auto;
        padding: 8px 14px 8px 12px;
        justify-content: space-between;
        align-items: center;
        position: fixed;
    }

    header img {
        height: 36px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        height: 100dvh;
        width: 82%;
        max-width: min(320px, 82vw);
        background: linear-gradient(160deg, #111111 0%, #1a1500 100%);
        border-left: 1px solid rgba(255, 170, 0, 0.15);
        display: flex;
        flex-direction: column;
        padding: 0;
        box-sizing: border-box;
        transform: translateX(110%);
        transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            visibility 0.42s;
        visibility: hidden;
        z-index: 1001;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-nav.active {
        display: flex;
        transform: translateX(0);
        visibility: visible;
    }

    /* Шапка — фикс кривого расположения */
    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 50px 16px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        flex-shrink: 0;
    }

    .mobile-nav-logo img {
        height: 36px;
    }

    .close-menu {
        position: static !important;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .close-menu:hover {
        background: rgba(255, 170, 0, 0.15);
        border-color: rgba(255, 170, 0, 0.4);
    }

    .mobile-contacts {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 12px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        flex-shrink: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-phone {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #ffffff;
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
        background: rgba(255, 170, 0, 0.08);
        border: 1px solid rgba(255, 170, 0, 0.2);
        padding: 11px 14px;
        border-radius: 12px;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    .mobile-phone:hover {
        background: rgba(255, 170, 0, 0.15);
        border-color: rgba(255, 170, 0, 0.4);
    }

    .mobile-city-switcher {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .mobile-city-label {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.35);
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 700;
        flex-shrink: 0;
    }

    .mobile-city-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        padding: 10px 12px;
        color: #ffffff;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
        flex: 1;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-city-btn:hover {
        border-color: rgba(255, 170, 0, 0.4);
        background: rgba(255, 170, 0, 0.08);
    }

    /* Разделитель */
    .mobile-nav-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.06);
        margin: 0;
        flex-shrink: 0;
    }

    /* Ссылки */
    /* Ссылки — фикс отображения */
    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        padding: 6px 8px;
        gap: 2px;
        flex: 1;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-nav-link {
        display: flex !important;
        align-items: center;
        gap: 12px;
        padding: 12px 10px !important;
        border-radius: 12px;
        color: rgba(255, 255, 255, 0.85) !important;
        text-decoration: none;
        font-size: 15px !important;
        font-weight: 600;
        transition: all 0.2s ease;
        border-bottom: none !important;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    .mobile-nav-link:hover,
    .mobile-nav-link:active {
        background: rgba(255, 170, 0, 0.08);
        color: #ffaa00 !important;
        padding-left: 14px !important;
    }

    .mobile-nav-link--highlight {
        background: rgba(255, 170, 0, 0.08) !important;
        border: 1px solid rgba(255, 170, 0, 0.25) !important;
        color: #ffaa00 !important;
    }

    .mobile-nav-link--highlight:hover {
        background: rgba(255, 170, 0, 0.15);
    }

    .mobile-nav-link-icon {
        font-size: 20px;
        width: 30px;
        text-align: center;
        flex-shrink: 0;
    }

    .mobile-nav-link-text {
        flex: 1;
    }

    .mobile-nav-link-arrow {
        opacity: 0.2;
        flex-shrink: 0;
        transition: all 0.2s ease;
    }

    .mobile-nav-link:hover .mobile-nav-link-arrow {
        opacity: 0.7;
        transform: translateX(3px);
    }

    /* CTA кнопка */
    .mobile-nav-cta {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin: 6px 10px 0;
        padding: 14px 16px;
        background: linear-gradient(90deg, #ffaa00, #ff8800);
        color: #111 !important;
        border-radius: 14px;
        font-size: 13px !important;
        font-weight: 900;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow: 0 6px 20px rgba(255, 170, 0, 0.3);
        border-bottom: none !important;
        box-sizing: border-box;
        width: calc(100% - 20px);
    }

    .mobile-nav-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(255, 170, 0, 0.45);
    }

    .mobile-social {
        display: flex !important;
        gap: 10px;
        padding: 12px 16px 28px;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
        flex-shrink: 0;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }


    .mobile-social-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px !important;
        height: 44px !important;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        color: rgba(255, 255, 255, 0.7);
        transition: all 0.2s ease;
        padding: 0 !important;
        flex-shrink: 0;
        text-decoration: none;
    }

    .mobile-social-btn:hover {
        background: rgba(255, 170, 0, 0.12);
        border-color: rgba(255, 170, 0, 0.3) !important;
        color: #ffaa00;
        padding-left: 0 !important;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            visibility 0.42s;
        z-index: 1000;
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    #reviews {
        padding-top: 150px;
        padding-bottom: 150px;
    }

    .reviews-gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .review-card {
        grid-column: auto;
        grid-row: auto;
        height: 350px;
    }

    /* Hide all but first two reviews by default on mobile */
    .review-card:nth-child(n + 3) {
        display: none;
    }

    .reviews-gallery.show-all .review-card {
        display: block;
    }

    .more-reviews-btn {
        display: block;
    }

    .less-reviews-btn {
        display: none;
    }

    .reviews-gallery.show-all~.more-reviews-btn {
        display: none;
    }

    .reviews-gallery.show-all~.less-reviews-btn {
        display: block;
    }

    .card-2::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: -10px;
        /* Высота эффекта */
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        /* Для Safari */
        z-index: 2;
        pointer-events: none;
        /* Чтобы клики проходили сквозь */
    }

    .service-card {
        width: 100%;
        max-width: 360px;
        height: auto;
    }

    .service-grid {
        padding: 10px;
    }

    .service-card img {
        height: 250px;
    }

    .horizontal-card {
        flex-direction: column;
        height: auto;
    }

    .horizontal-card img {
        width: 100%;
        height: 200px;
        border-radius: 20px 20px 0 0;
    }

    .horizontal-content {
        width: 100%;
        text-align: center;
        padding: 20px;
        /* Сохраняем отступы для текста */
    }

    .horizontal-button {
        margin: 0 auto;
    }

    .horizontal-button {
        font-size: 13px;
        text-align: center;
        width: 100%;
    }

    .horizontal-button::before {
        width: 20px;
        height: 20px;
    }

    body {
        padding-top: 0px;
    }

    .hero {
        padding: 130px 16px 70px;
        min-height: 100svh;
        margin-top: -100px;
        padding-top: 270px;
    }

    .hero-content {
        gap: 16px;
    }

    .hero-badge {
        font-size: 10px;
        padding: 6px 14px;
        letter-spacing: 1px;
    }

    .hero-title {
        font-size: 18px;
    }

    .hero h8.highligted1 {
        font-size: 20px;
        padding: 3px 10px;
        border-radius: 8px;
    }

    .hero h8.highligted {
        font-size: 16px;
        padding: 2px 8px;
    }

    .hero-tagline {
        font-size: 13px !important;
    }

    .hero-features {
        gap: 8px;
    }

    .hero-feature {
        font-size: 12px;
        padding: 6px 12px;
    }

    .hero-stats {
        gap: 16px;
        padding: 16px 20px;
    }

    .hero-stat-divider {
        height: 30px;
    }

    .hero-stat-num {
        font-size: 22px;
    }

    .hero-stat-label {
        font-size: 9px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        justify-content: center;
        font-size: 14px;
        padding: 15px 20px;
    }

    .spotlight {
        filter: blur(12px);
        opacity: 0.5;
    }

    .hero-scroll {
        display: none;
    }

    #packages {
        padding-bottom: 200px;
    }

    .package-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .package-display {
        width: 100%;
        max-width: 400px;
        margin-top: 10px;
    }

    .package-image img {
        height: auto;
        width: 100%;
    }

    .package-info {
        padding-top: 15px;
        font-size: 14px;
        width: 100%;
    }

    .package-description {
        width: 100%;
        max-width: 400px;
        text-align: center;
        height: auto;
        font-size: 14px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
        /* 🔥 симметричные отступы слева и справа */
        box-sizing: border-box;
    }

    .package-buttons {
        padding-bottom: 20px;
        padding-top: 20px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        /* 🔥 центрирование */
        gap: 15px;
        width: 100%;
        margin: 0 auto;
        font-weight: bold;
    }

    .package-button {
        flex: 1 1 140px;
        max-width: 150px;
        min-width: 120px;
        font-size: 16px;
        text-align: center;
        padding: 10px;
        border-radius: 25px;
        cursor: pointer;
        font-weight: bold;
        font-size: 14px;
    }

    .package .package-info {
        font-size: 1px;
        line-height: 1.4;
        height: auto;
        /* Высота авто на мобильных */
        margin-bottom: 20px;
    }

    .package-actions {
        flex-direction: column;
        gap: 10px;
        width: 300px;
        align-items: center;
        justify-content: center;
        display: flex;
    }

    .action-button {
        width: 100%;
        max-width: width - 50px;
    }

    .package-info h3 {
        font-size: 18px;
        /* меньше заголовок */
    }

    .package-info h4 {
        font-size: 14px;
        /* меньше подзаголовок */
    }

    .package-info p {
        font-size: 12px;
        /* уменьшенный текст описания */
        line-height: 1.4;
    }

    .package-info p1 {
        font-size: 17px;
        /* уменьшенный текст описания */
        line-height: 1.4;
        font-weight: bold;
    }

    .package-description .detail-item .icon {
        color: #ffaa00 !important;
        margin-bottom: 5px;
    }

    .package-image,
    .package-actions {
        width: 100%;
        max-width: 400px;
        /* 🔥 одинаковый max-width */
        margin: 20 auto;
        box-sizing: border-box;
    }

    .package-actions .action-button.participate {
        width: 100%;
        /* 🔥 тянется ровно по фону */
    }

    #team {
        padding-top: 50px;
    }

    .team-grid {
        flex-direction: column;
        align-items: center;
    }

    .team-member img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .team-carousel {
        position: relative;
        width: 100%;
        max-width: 300px;
        display: block;
    }

    .team-member {
        display: none;
        /* Скрываем все элементы по умолчанию */
    }

    .team-member.active {
        display: block;
        /* Показываем только активный элемент */
    }

    .carousel-prev,
    .carousel-next {
        display: block;
        /* Показываем кнопки в мобильной версии */
        top: 35%;
        transform: translateY(-50%);
        background-color: #8b4513;
        /* Коричневый фон, как на скриншоте */
        color: #fff;
        border: none;
        padding: 8px 12px;
        /* Уменьшаем размер кнопок */
        font-size: 18px;
        /* Уменьшаем размер стрелок */
        border-radius: 50%;
        width: 40px;
        /* Фиксированная ширина кнопки */
        height: 40px;
        /* Фиксированная высота кнопки */
        line-height: 1;
        /* Центрируем стрелку */
        cursor: pointer;
        transition: background-color 0.3s ease;
        z-index: 10;
    }

    .carousel-prev {
        left: -20px;
        /* Смещаем кнопку ближе к краю рамки */
        z-index: 10;
    }

    .carousel-next {
        right: -20px;
        /* Смещаем кнопку ближе к краю рамки */
        z-index: 10;
    }

    .carousel-prev:hover,
    .carousel-next:hover {
        background-color: #654321;
        /* Темнее при наведении */
    }

    .what-is-show {
        width: auto;
        height: auto;
        background-image: url(templates/background_mobile.png);
        background-size: contain;
        background-position: top;
        background-repeat: no-repeat;
        background-color: #020202;
        position: relative;
        overflow: hidden;
        padding: 0 0 60px;
        margin-bottom: 60px;
    }

    .what-is-show::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 60%, rgba(2, 2, 2, 1) 100%);
        z-index: 1;
    }

    .what-is-show h2 {
        margin-top: 280px;
        font-size: 28px;
        margin-bottom: 5px;
    }

    .what-is-show h4 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .info-columns {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .column {
        max-width: 92%;
        width: 92%;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
    }

    .column-content {
        margin-top: 0;
        padding: 20px 18px;
        height: auto;
        width: 100%;
        flex: 1;
    }

    .svg-placeholder {
        width: 60px;
        height: 60px;
        margin-bottom: 14px;
    }

    .column-icon-svg {
        width: 28px;
        height: 28px;
    }

    .column h3 {
        margin-top: 0;
        font-size: 13px;
        margin-bottom: 12px;
    }

    .column p {
        font-size: 14px;
    }

    #additionally {
        background-size: contain;
        background-repeat: repeat;
        padding-top: 1px;
        padding-bottom: 40px;
    }

    .additional-content {
        margin-top: 50px;
    }

    .section.additional-content h2 {
        font-size: 30px;
        margin-bottom: 40px;
        color: #ffffff;
    }

    .additional-content h2 span {
        font-size: 30px;
        color: #000;
        padding: 1px 10px;
    }

    .additional-columns {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* 2 в ряд */
        gap: 20px;
        /* расстояние между иконками */
        justify-items: center;
        /* центрируем иконки в колонках */
    }

    .additional-column {
        max-width: 100%;
        /* Full width for columns */
    }

    .additional-svg-placeholder {
        width: 80px;
        /* Smaller SVG icons */
        height: 80px;
        margin-bottom: 15px;
    }

    .additional-column-icon-svg {
        width: 80px;
        height: 80px;
    }

    .additional-column h3 {
        font-size: 18px;
        font-weight: bold;
    }

    .section h4 {
        color: #ffffff;
        font-size: 38px;
    }

    .additional-content h4 {
        font-size: 18px;
    }

    .what-is-show h4 {
        color: #ffaa00;
        font-size: 40px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 70px;
        line-height: 1;
        text-transform: uppercase;
    }

    .package-info h4 {
        font-size: 18px;
        color: #ffaa00;
        margin-bottom: 15px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 10px;
    }

    .gallery-item--large,
    .gallery-item--wide,
    .gallery-item--tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item {
        height: 150px;
    }

    .gallery-button {
        width: 100%;
        font-size: 14px;
    }

    #services {
        padding: 60px 16px;
    }

    #gallery {
        padding: 60px 16px 80px;
    }

    .whatsapp-order a {
        font-size: 16px;
    }

    .modal-content {
        width: 90%;
        padding: 15px;
    }

    .modal-content h2 {
        font-size: 20px;
    }

    .modal-content label {
        font-size: 20px;
    }

    .modal-content input,
    .modal-content select {
        padding: 6px;
        font-size: 16px;
    }

    .modal-content button {
        font-size: 14px;
        padding: 10px;
    }

    .close {
        font-size: 26px;
    }

    .application-section {
        width: 100%;
        padding: 20px;
    }

    .application-section h2 {
        font-size: 24px;
    }

    .application-section label {
        font-size: 18px;
    }

    .application-section input,
    .application-section select,
    .application-section textarea {
        font-size: 16px;
        padding: 10px;
        width: 100%;
    }

    .application-section button {
        font-size: 16px;
        padding: 14px;
        width: auto;
    }

    .application-wrapper {
        flex-direction: column;
    }

    .application-contacts {
        margin-top: 30px;
    }

    .application-form,
    .application-form input,
    .application-form select,
    .application-form textarea,
    .application-form button {
        width: 100% !important;
        /* игнорирует все max-width */
        max-width: 100% !important;
        box-sizing: border-box;
        text-align: left;
    }

    .application-form input[type="date"] {
        text-align: left !important;
        -webkit-text-align: left !important;
    }

    .application-form input[type="date"]::-webkit-datetime-edit {
        text-align: left !important;
    }

    .application-wrapper {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        /* центрируем все дочерние блоки */
    }

    .application-form input[type="date"]::-webkit-datetime-edit-fields-wrapper {
        text-align: left !important;
        width: 100%;
    }

    .application-form input[type="date"] {
        padding-left: 16px;
        padding-right: 0;
        direction: ltr;
        text-indent: 0;
    }

    .application-form input[type="date"]::-webkit-date-and-time-value {
        text-align: left;
        margin: 0;
    }

    .application-form button {
        text-align: center !important;
    }

    .application-contacts {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* ✅ текст + иконки по центру */
        text-align: center;
        margin: 0 auto;
        /* ✅ центрируем сам блок */
        padding: 20px;
        width: 90%;
        /* ✅ отступы слева и справа */
        max-width: 500px;
        /* ✅ чтобы не было слишком растянуто */
        border-radius: 15px;
        width: 100% !important;
        /* игнорирует все max-width */
        max-width: 100% !important;
    }

    .application-section form,
    .application-section button {
        width: 90%;
        /* форма тоже с отступами */
        max-width: 500px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 20px;
        /* единый размер для названия */
        font-weight: bold;
        color: #ffaa00;
        /* желтый */
        margin-bottom: 1px;
        text-align: center;
        z-index: 1000;
        position: relative;
    }

    .section-subtitle {
        /* единый размер для белого текста */
        color: #fff;
        margin-bottom: 40px;
        text-align: center;
        font-weight: bold;
        font-size: 15px;
        z-index: 2000;
        position: relative;
    }

    .quiz-wrapper {
        padding: 20px 12px 20px 12px;
    }

    .quiz-card {
        padding: 24px;
    }

    .quiz-title {
        font-size: 24px;
    }

    .quiz-step input,
    .quiz-step select {
        font-size: 16px;
        padding: 14px;
        width: 100%;
    }

    .quiz-format {
        flex-direction: column;
    }

    .quiz-format button {
        padding: 14px;
        border-radius: 14px;
    }

    .quiz-nav {
        gap: 6px;
        padding: 6px;
    }

    .nav-btn {
        padding: 10px 6px;
        font-size: 12px;
        border-radius: 12px;
    }

    .quiz-submit {
        padding: 14px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}