/* ==========================================
   MEGAPOLIS STUDIO - Полный CSS
   Версия: 2.0
   Соответствие 152-ФЗ
   ========================================== */

/* ====== СБРОС СТИЛЕЙ ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    background: #05070a;
    color: #ececec;
    scroll-behavior: smooth;
}

/* ====== КОНТЕЙНЕР ====== */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==========================================
   ЛОГОТИП С АНИМАЦИЕЙ
   ========================================== */
.logo-wrapper {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    width: 55px;
    height: 55px;
}

.logo-corner {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: 2px solid #c9a03d;
    transition: 0.3s;
    animation: logoPulse 1.5s ease-in-out infinite;
    position: relative;
    cursor: pointer;
}

.logo-corner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(201, 160, 61, 0.4);
        border-color: #c9a03d;
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 8px rgba(201, 160, 61, 0.15);
        border-color: #ffd966;
    }
}

.camera-circle {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border-radius: 50%;
    pointer-events: none;
    animation: cameraRotate 4s linear infinite;
}

.camera-icon {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    filter: drop-shadow(0 0 4px #c9a03d);
    animation: cameraBlink 0.8s step-end infinite;
}

@keyframes cameraRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes cameraBlink {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 2px #c9a03d;
    }
    50% {
        opacity: 0.3;
        text-shadow: 0 0 8px #ffd966;
    }
}

/* ==========================================
   HERO СЕКЦИЯ
   ========================================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at 30% 40%, #0a1025, #010101);
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

.hero h1 {
    font-size: 5.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF, #3b82f6 40%, #c9a03d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    padding: 0.1em 0.3em;
    border: 3px solid #c9a03d;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(201, 160, 61, 0.3);
}

.hero h1:hover {
    transform: scale(1.05);
    border-color: #ffd966;
    box-shadow: 0 0 20px rgba(201, 160, 61, 0.6);
}

.hero p {
    font-size: 1.2rem;
    color: #ccc;
    margin: 24px 0 40px;
    line-height: 1.6;
}

.btn-gold {
    background: linear-gradient(95deg, #1e3a8a, #2563eb);
    padding: 14px 40px;
    border-radius: 60px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: 1px solid #c9a03d;
    transition: 0.3s;
    cursor: pointer;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -10px #2563eb;
}

/* ==========================================
   КЛИЕНТЫ (БЕГУЩАЯ СТРОКА)
   ========================================== */
.clients-marquee {
    margin: 30px 0 40px;
    padding: 20px 0;
    background: rgba(10, 15, 30, 0.5);
    border-radius: 60px;
    border: 1px solid rgba(201, 160, 61, 0.2);
    overflow: hidden;
}

.clients-marquee__title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: #c9a03d;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.star {
    display: inline-block;
    margin: 0 8px;
    animation: starPulse 1.2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 16px;
    width: fit-content;
    animation: marqueeRightToLeft 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeRightToLeft {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.marquee-logo {
    flex-shrink: 0;
    width: 90px;
    height: 65px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid rgba(201, 160, 61, 0.15);
    transition: all 0.3s ease;
}

.marquee-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0.3) brightness(0.85);
    transition: all 0.3s ease;
}

.marquee-logo:hover {
    border-color: #c9a03d;
    transform: scale(1.05);
    background: rgba(201, 160, 61, 0.1);
}

.marquee-logo:hover img {
    filter: grayscale(0) brightness(1);
}

/* ==========================================
   УНИВЕРСАЛЬНЫЙ БЛОК
   ========================================== */
.universal-badge {
    background: rgba(15, 20, 40, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 80px;
    padding: 50px 40px;
    margin: 70px 0;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.5);
}

.universal-badge h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.gold-text {
    color: #c9a03d;
}

.pill-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.pill {
    background: rgba(30, 40, 80, 0.6);
    padding: 10px 26px;
    border-radius: 60px;
    border-left: 2px solid #c9a03d;
    border-right: 2px solid #3b82f6;
    font-size: 0.9rem;
    transition: 0.3s;
}

.pill:hover {
    background: rgba(201, 160, 61, 0.15);
    transform: translateY(-2px);
}

/* ==========================================
   ЗАГОЛОВКИ СЕКЦИЙ
   ========================================== */
.section-header {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 70px 0 30px;
    background: linear-gradient(135deg, #fff, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ==========================================
   УСЛУГИ
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px;
    margin: 40px 0;
}

.service-card {
    background: rgba(13, 17, 30, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    padding: 28px;
    border: 1px solid #2a3360;
    transition: 0.3s;
    cursor: pointer;
}

.service-card:hover {
    border-color: #c9a03d;
    transform: translateY(-5px);
}

.service-card.selected {
    border-color: #c9a03d;
    background: rgba(201, 160, 61, 0.1);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
    color: #c9a03d;
}

.service-card p {
    color: #bbb;
    line-height: 1.4;
}

.price-badge {
    display: inline-block;
    background: #1e3a8a;
    padding: 6px 14px;
    border-radius: 40px;
    margin-top: 16px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* ==========================================
   СКИДКА
   ========================================== */
.discount-simple {
    background: linear-gradient(135deg, #0f1430, #080b1a);
    border-radius: 48px;
    padding: 40px;
    margin: 60px 0;
    border: 1px solid #c9a03d;
    text-align: center;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 160, 61, 0.7); }
    50% { box-shadow: 0 0 0 18px rgba(201, 160, 61, 0); }
}

.discount-simple h2 {
    font-size: 1.8rem;
    color: #c9a03d;
    margin-bottom: 16px;
    animation: pulse 2s infinite;
    display: inline-block;
    padding: 0 18px;
}

.discount-rule {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 16px 0;
    animation: bounce 1s ease infinite;
}

.arrow-bounce {
    display: inline-block;
    animation: bounce 0.8s ease infinite;
    font-size: 2rem;
    margin: 0 8px;
}

/* ==========================================
   ПАВИЛЬОНЫ
   ========================================== */
.pav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    margin: 40px 0;
}

.pav-card {
    background: rgba(13, 17, 30, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 44px;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid #2a3360;
    overflow: hidden;
}

.pav-card:hover {
    transform: translateY(-6px);
    border-color: #c9a03d;
    box-shadow: 0 30px 40px -15px #1e3a8a;
}

.pav-number {
    padding: 28px 28px 12px;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #c9a03d;
}

.pav-title {
    font-size: 2.5rem;
    font-weight: 700;
    padding: 0 28px;
    color: #3b82f6;
}

.pav-specs {
    padding: 20px 28px;
    background: rgba(8, 11, 20, 0.5);
    margin: 14px;
    border-radius: 28px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #1e2542;
    font-size: 0.9rem;
}

.spec-row:last-child {
    border-bottom: none;
}

.all-tasks {
    margin: 16px 28px 28px;
    background: rgba(59, 130, 246, 0.15);
    padding: 6px 14px;
    border-radius: 30px;
    display: inline-block;
    color: #c9a03d;
    font-size: 0.75rem;
}

/* ==========================================
   МОДАЛЬНОЕ ОКНО ФОТО
   ========================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 80%;
}

.modal img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 24px;
    border: 2px solid #c9a03d;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #c9a03d;
    font-size: 2rem;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 50px;
    border: none;
    transition: 0.3s;
}

.nav-btn:hover {
    background: #c9a03d;
    color: black;
}

.prev { left: 20px; }
.next { right: 20px; }

.close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 2rem;
    cursor: pointer;
    color: #c9a03d;
    transition: 0.3s;
}

.close-modal:hover {
    color: #ffd966;
    transform: scale(1.1);
}

#modalCaption {
    margin-top: 20px;
    text-align: center;
    color: #ccc;
    font-size: 1rem;
}

/* ==========================================
   ФОРМА СВЯЗИ
   ========================================== */
.contact-gold {
    background: linear-gradient(145deg, #0f1225, #080a18);
    border-radius: 48px;
    padding: 44px;
    margin: 60px 0;
    border: 1px solid #3b82f6;
}

.form-pav-section {
    background: rgba(15, 18, 37, 0.6);
    border-radius: 28px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: center;
}

.form-pav-title {
    font-size: 0.9rem;
    color: #c9a03d;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.form-pav-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.form-pav-btn {
    background: #0f1225;
    border: 1px solid #2a3360;
    border-radius: 60px;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.2s;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
    color: #ececec;
}

.form-pav-btn span {
    font-size: 0.65rem;
    font-weight: normal;
    color: #8b92b0;
    margin-top: 2px;
}

.form-pav-btn:hover {
    border-color: #c9a03d;
    transform: translateY(-2px);
}

.form-pav-btn.selected {
    background: #c9a03d;
    border-color: #c9a03d;
    color: #0a0f1a;
}

.form-pav-btn.selected span {
    color: #0a0f1a;
}

.form-pav-hint {
    font-size: 0.7rem;
    color: #6b7280;
    margin-top: 8px;
}

.selected-info-form {
    background: rgba(59, 130, 246, 0.15);
    padding: 10px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    margin-bottom: 24px;
    text-align: center;
    border: 1px solid rgba(201, 160, 61, 0.25);
}

.input-icon {
    position: relative;
    margin-bottom: 20px;
}

.input-icon span {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    z-index: 1;
}

.input-icon input,
.input-icon textarea {
    width: 100%;
    padding: 14px 18px 14px 48px;
    background: #0f1225;
    border: 1px solid #2a3360;
    border-radius: 60px;
    color: white;
    font-size: 0.95rem;
    transition: 0.2s;
}

.input-icon textarea {
    border-radius: 28px;
    resize: vertical;
    padding-top: 14px;
    min-height: 80px;
}

.input-icon input:focus,
.input-icon textarea:focus {
    outline: none;
    border-color: #c9a03d;
    box-shadow: 0 0 0 3px rgba(201, 160, 61, 0.15);
}

.submit-btn {
    background: linear-gradient(95deg, #1e3a8a, #2563eb);
    border: none;
    padding: 14px 28px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    color: white;
    width: 100%;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 20px -8px #2563eb;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Чекбокс согласия (152-ФЗ) */
.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0 15px;
    font-size: 0.85rem;
    color: #bbb;
    cursor: pointer;
    line-height: 1.4;
}

.consent-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #c9a03d;
    cursor: pointer;
    flex-shrink: 0;
}

.consent-checkbox a {
    color: #c9a03d;
    text-decoration: underline;
}

.consent-checkbox a:hover {
    color: #ffd966;
}

.form-status {
    margin-top: 16px;
    padding: 12px;
    border-radius: 60px;
    text-align: center;
    display: none;
    font-size: 0.9rem;
}

.form-status.success {
    display: block;
    background: #10b981;
    color: white;
}

.form-status.error {
    display: block;
    background: #ef4444;
    color: white;
}

.contact-footer {
    margin-top: 32px;
    text-align: center;
    font-size: 0.9rem;
}

.contact-footer p {
    margin-bottom: 12px;
}

.contact-footer p:last-child {
    margin-bottom: 0;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #8b92b0;
}

.contact-footer a {
    color: #c9a03d;
    text-decoration: none;
    transition: 0.3s;
}

.contact-footer a:hover {
    color: #ffd966;
}

/* Разделитель между контактами */
.footer-separator {
    margin: 0 10px;
    color: #3a3f5c;
    font-weight: 300;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .contact-footer p {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .footer-separator {
        display: none;
    }
    
    .contact-footer p:last-child {
        margin-top: 12px;
    }
}

/* ==========================================
   ЮРИДИЧЕСКИЕ ССЫЛКИ
   ========================================== */
.legal-links {
    margin-top: 20px;
    text-align: center;
    font-size: 0.8rem;
}

.legal-links a {
    color: #8b92b0;
    text-decoration: none;
    transition: 0.3s;
}

.legal-links a:hover {
    color: #c9a03d;
}

.legal-separator {
    margin: 0 10px;
    color: #3a3f5c;
}

.footer-legal {
    margin-top: 15px;
    font-size: 0.8rem;
}

.footer-legal a {
    color: #8b92b0;
    text-decoration: none;
    margin: 0 5px;
    transition: 0.3s;
}

.footer-legal a:hover {
    color: #c9a03d;
}

/* ==========================================
   ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ (МОДАЛЬНОЕ ОКНО)
   ========================================== */
.policy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1001;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.policy-content {
    background: #0f1225;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 32px;
    border: 1px solid #c9a03d;
    position: relative;
    width: 100%;
}

.policy-header {
    text-align: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid rgba(201, 160, 61, 0.3);
    position: sticky;
    top: 0;
    background: #0f1225;
    z-index: 1;
}

.policy-header h2 {
    font-size: 1.6rem;
    color: #c9a03d;
    margin-bottom: 5px;
}

.policy-date {
    color: #8b92b0;
    font-size: 0.8rem;
    margin-top: 10px;
}

.policy-body {
    padding: 20px 30px;
}

.policy-section {
    margin-bottom: 25px;
}

.policy-section h3 {
    color: #c9a03d;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.policy-section p {
    color: #cbd5e6;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.policy-section ul {
    list-style: none;
    padding-left: 20px;
}

.policy-section ul li {
    color: #cbd5e6;
    margin-bottom: 8px;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.4;
}

.policy-section ul li:before {
    content: "•";
    color: #c9a03d;
    position: absolute;
    left: -15px;
}

.policy-section strong {
    color: #fff;
}

.policy-footer {
    padding: 20px 30px 30px;
    text-align: center;
    border-top: 1px solid rgba(201, 160, 61, 0.2);
    position: sticky;
    bottom: 0;
    background: #0f1225;
}

.policy-close-btn {
    background: #c9a03d;
    border: none;
    padding: 10px 30px;
    border-radius: 40px;
    color: #0a0f1a;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.9rem;
}

.policy-close-btn:hover {
    background: #ffd966;
    transform: scale(1.05);
}

.close-policy {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.6rem;
    cursor: pointer;
    color: #c9a03d;
    z-index: 2;
    transition: 0.3s;
}

.close-policy:hover {
    color: #ffd966;
    transform: scale(1.1);
}

/* ==========================================
   COOKIE БАННЕР (152-ФЗ)
   ========================================== */
#cookieConsent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 15, 26, 0.98);
    border-top: 2px solid #c9a03d;
    z-index: 10000;
    display: none;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

#cookieConsent.show {
    display: block;
    animation: cookieSlideUp 0.5s ease;
}

@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-text p {
    margin: 0;
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-text a {
    color: #c9a03d;
    text-decoration: underline;
}

.cookie-text a:hover {
    color: #ffd966;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: #c9a03d;
    color: #0a0f1a;
}

.cookie-btn.accept:hover {
    background: #ffd966;
    transform: scale(1.05);
}

/* ==========================================
   КИНО-ЭФФЕКТЫ ПРИ КЛИКЕ НА ЛОГОТИП
   ========================================== */
.film-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    animation: filmFade 0.8s ease-out forwards;
}

@keyframes filmFade {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

.film-clap {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 5rem;
    z-index: 10000;
    pointer-events: none;
    animation: clapPop 0.5s ease-out forwards;
    filter: drop-shadow(0 0 10px #c9a03d);
}

@keyframes clapPop {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

.film-flash {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 215, 0, 0.8) 50%, transparent 100%);
    border-radius: 50%;
    transform: scale(0);
    z-index: 10001;
    pointer-events: none;
    animation: flashBang 0.4s ease-out forwards;
}

@keyframes flashBang {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==========================================
   ФУТЕР
   ========================================== */
.footer-premium {
    background: #020408;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(201, 160, 61, 0.19);
    font-size: 0.8rem;
    color: #8b92b0;
}

.footer-premium p {
    margin-bottom: 10px;
}

/* ==========================================
   СКРОЛЛБАР
   ========================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #05070a;
}

::-webkit-scrollbar-thumb {
    background: #2a3360;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c9a03d;
}

/* ==========================================
   АДАПТИВНОСТЬ ДЛЯ ПЛАНШЕТОВ
   ========================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .section-header {
        font-size: 2rem;
    }
    
    .pav-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
}

/* ==========================================
   АДАПТИВНОСТЬ ДЛЯ ТЕЛЕФОНОВ
   ========================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* Логотип */
    .logo-wrapper {
        width: 48px;
        height: 48px;
        top: 12px;
        left: 12px;
    }
    
    .camera-icon {
        font-size: 18px;
        top: -14px;
    }
    
    /* Hero */
    .hero {
        min-height: 70vh;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        border-width: 2px;
        border-radius: 20px;
    }
    
    .hero p {
        font-size: 1rem;
        margin: 20px 0 30px;
    }
    
    .btn-gold {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    /* Клиенты */
    .clients-marquee {
        margin: 20px 0;
        padding: 12px 0;
        border-radius: 30px;
    }
    
    .clients-marquee__title {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .marquee-logo {
        width: 60px;
        height: 45px;
        padding: 5px;
    }
    
    .marquee-track {
        gap: 10px;
        animation-duration: 30s;
    }
    
    /* Универсальный блок */
    .universal-badge {
        margin: 40px 0;
        padding: 30px 20px;
        border-radius: 40px;
    }
    
    .universal-badge h2 {
        font-size: 1.5rem;
    }
    
    .pill-icons {
        gap: 10px;
    }
    
    .pill {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    /* Заголовки */
    .section-header {
        font-size: 1.6rem;
        margin: 40px 0 20px;
    }
    
    /* Услуги */
    .services-grid {
        gap: 16px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    /* Скидка */
    .discount-simple {
        padding: 24px 16px;
        margin: 30px 0;
    }
    
    .discount-rule {
        font-size: 1.1rem;
    }
    
    .arrow-bounce {
        font-size: 1.5rem;
    }
    
    /* Павильоны */
    .pav-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pav-card {
        border-radius: 32px;
    }
    
    .pav-title {
        font-size: 1.8rem;
        padding: 0 20px;
    }
    
    .pav-number {
        padding: 20px 20px 8px;
    }
    
    .pav-specs {
        padding: 16px 20px;
        margin: 10px;
    }
    
    .spec-row {
        font-size: 0.85rem;
    }
    
    .all-tasks {
        margin: 12px 20px 20px;
    }
    
    /* Форма */
    .contact-gold {
        padding: 24px 16px;
        margin: 30px 0;
        border-radius: 32px;
    }
    
    .form-pav-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
        min-width: 70px;
    }
    
    .form-pav-btn span {
        font-size: 0.6rem;
    }
    
    .input-icon input,
    .input-icon textarea {
        padding: 12px 16px 12px 42px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    /* Cookie */
    .cookie-content {
        padding: 12px 16px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .cookie-text p {
        font-size: 0.8rem;
    }
    
    .cookie-buttons {
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 10px;
        font-size: 0.85rem;
    }
    
    /* Политика */
    .policy-content {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 20px;
    }
    
    .policy-body {
        padding: 15px 20px;
    }
    
    .policy-header {
        padding: 20px;
    }
    
    .policy-header h2 {
        font-size: 1.3rem;
    }
    
    .policy-section h3 {
        font-size: 1rem;
    }
    
    .policy-section p,
    .policy-section ul li {
        font-size: 0.85rem;
    }
    
    /* Модальное окно фото */
    .nav-btn {
        font-size: 1.5rem;
        padding: 8px 14px;
    }
    
    .prev { left: 10px; }
    .next { right: 10px; }
    
    .close-modal {
        top: 10px;
        right: 15px;
        font-size: 1.5rem;
    }
    
    /* Футер */
    .footer-premium {
        padding: 30px 20px;
    }
    
    .footer-legal {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-legal span {
        display: none;
    }
    
    .legal-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .legal-separator {
        display: none;
    }
}

/* ==========================================
   АДАПТИВНОСТЬ ДЛЯ МАЛЕНЬКИХ ТЕЛЕФОНОВ
   ========================================== */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .section-header {
        font-size: 1.3rem;
    }
    
    .pav-title {
        font-size: 1.5rem;
    }
    
    .form-pav-grid {
        gap: 6px;
    }
    
    .form-pav-btn {
        padding: 6px 10px;
        font-size: 0.75rem;
        min-width: 60px;
    }
    
    .marquee-logo {
        width: 50px;
        height: 38px;
    }
}

/* ==========================================
   ДОПОЛНИТЕЛЬНЫЕ УТИЛИТЫ
   ========================================== */
.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.no-scroll {
    overflow: hidden;
}

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

.fade-in {
    animation: fadeIn 0.5s ease;
}