/* style.css */
/* ========== ШРИФТОВАЯ СИСТЕМА ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,450;14..32,500;14..32,600;14..32,700;14..32,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: background-color 0.25s ease, border-color 0.2s ease, color 0.2s ease;
}

.price, .result-price, .gallery-caption small, .modal-slide-price,
.calc-group .range-value, #windowCount, .principle-card h3,
.footer-section a[href^="tel"], .footer-section a[href^="mailto"] {
    font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
    font-weight:500;
    letter-spacing: -0.02em;
}

.result-price { font-family: 'JetBrains Mono', monospace; font-weight: 600; letter-spacing: -0.02em; }
h1, h2, h3, h4, .logo, .nav-links a, .hero-btn, .btn-calc-order { letter-spacing: -0.02em; font-weight: 600; }
h1 { font-weight: 700; letter-spacing: -0.03em; }
h2 { font-weight: 600; letter-spacing: -0.02em; }
body, p, .slide-quote, .gallery-caption p, .detail-item, .result-note { font-weight: 400; letter-spacing: -0.01em; }
small, .city-tag, .project-type, .gallery-badge, .work-hours, .footer-section p, .seo-text p { letter-spacing: -0.005em; font-weight: 450; }
button, .hero-btn, .btn-calc-order, .theme-toggle, .modal-order-btn { font-weight: 500; letter-spacing: -0.01em; }
.nav-links a { font-weight: 500; letter-spacing: -0.01em; }
.slide-quote { font-style: normal; font-weight: 450; letter-spacing: -0.01em; }

:root {
    --bg-page: #f6f8fa;
    --surface: #ffffff;
    --text-primary: #354764;
    --text-secondary: #2d394b;
    --border-light: #e2e8f0;
    --accent: #444a4f;
    --accent-soft: #868e96;
    --card-shadow: 
        0 30px 40px -20px rgba(0, 0, 0, 0.25),   /* глубокая тёмная тень снизу */
        0 10px 20px -8px rgba(0, 0, 0, 0.15),    /* средняя тень */
        -6px -6px 16px rgba(255, 255, 255, 0.9), /* светлая тень сверху-слева */
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);       /* лёгкое затемнение снизу для реализма */
    --header-bg: rgba(255,255,255,0.80);
    --header-blur: blur(12px);
    --input-bg: #ffffff;
    --input-border: #e2e8f0;
    --calc-bg: #f1f5f9;
    --price-tag: #0f172a;
    --price-tag-text: #ffffff;
    --gallery-overlay: rgba(0,0,0,0.02);
		--neu-shadow-light: 8px 8px 16px rgba(166, 180, 200, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
    --neu-shadow-light-inset: inset 6px 6px 12px rgba(166, 180, 200, 0.2), inset -6px -6px 12px rgba(255, 255, 255, 0.7);
    --neu-shadow-light-hover: 4px 4px 12px rgba(166, 180, 200, 0.25), -4px -4px 12px rgba(255, 255, 255, 0.9);
}

body.dark {
    --bg-page: #1a1f2e;
    --surface: #252b3e;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --border-light: #3b4259;
    --accent: #e6b91e;
    --accent-soft: #f5d742;
    --card-shadow: 
        0 30px 40px -20px rgba(0, 0, 0, 0.6),    /* глубокая тёмная тень */
        0 10px 20px -8px rgba(0, 0, 0, 0.4),     /* средняя тень */
        -4px -4px 12px rgba(255, 255, 255, 0.06), /* едва заметная светлая тень */
        inset 0 -1px 0 rgba(255, 255, 255, 0.03); /* лёгкая подсветка снизу */
    --header-bg: rgba(26, 31, 46, 0.85);
    --header-blur: blur(14px);
    --input-bg: #2d3348;
    --input-border: #454e6b;
    --calc-bg: #1f2538;
    --price-tag: #e6b91e;
    --price-tag-text: #1a1f2e;
    --gallery-overlay: rgba(230,185,30,0.05);
		--neu-shadow-dark: 8px 8px 16px rgba(0, 0, 0, 0.4), -8px -8px 16px rgba(50, 60, 80, 0.2);
    --neu-shadow-dark-inset: inset 6px 6px 12px rgba(0, 0, 0, 0.3), inset -6px -6px 12px rgba(50, 60, 80, 0.15);
    --neu-shadow-dark-hover: 4px 4px 12px rgba(0, 0, 0, 0.35), -4px -4px 12px rgba(50, 60, 80, 0.25);
}

html { transition: opacity 0.15s ease; }
body { background-color: var(--bg-page); color: var(--text-primary); line-height: 1.5; min-height: 100vh; padding-top: 0; }

/* ========== НАВИГАЦИЯ ========== */
.navbar {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    width: calc(100% - 40px); max-width: 1280px; z-index: 1000;
    backdrop-filter: var(--header-blur); -webkit-backdrop-filter: var(--header-blur);
    background: var(--header-bg); border: 1px solid var(--border-light);
    border-radius: 80px; padding: 12px 32px; display: flex;
    align-items: center; justify-content: space-between; flex-wrap: wrap;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: all 0.3s ease;
		transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), 
                opacity 0.35s cubic-bezier(0.25, 0.1, 0.25, 1),
                background-color 0.25s ease, 
                border-color 0.2s ease, 
                box-shadow 0.3s ease !important;
}
.navbar:hover {
    transform: translateX(-50%) scale(1.02); box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-color: var(--accent); background: var(--surface); backdrop-filter: blur(20px);
}
body.dark .navbar:hover {
    box-shadow: 0 8px 30px rgba(230,185,30,0.2);
    border-color: var(--accent); background: rgba(37,43,62,0.95);
}
.navbar.scrolled { top: 10px; width: calc(100% - 30px); padding: 10px 28px; }
.navbar.scrolled:hover { transform: translateX(-50%) scale(1.02); }

.logo {
    font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em; text-decoration: none;
    line-height: 1.2; transition: transform 0.2s ease;
    background: linear-gradient(135deg, #1E2B3C 0%, #2C3E4E 100%);
    background-clip: text; -webkit-background-clip: text; color: transparent;
    text-shadow: 0 1px 1px rgba(255,255,255,0.5);
}
body.dark .logo {
    background: linear-gradient(135deg, #FFE066 0%, #F5B81B 100%);
    background-clip: text; -webkit-background-clip: text; color: transparent;
    text-shadow: 0 1px 0 rgba(0,0,0,0.2), 0 1px 2px rgba(255,255,255,0.25);
}
.logo:hover { transform: scale(1.02); }
body.dark .logo:hover { transform: scale(1.02); text-shadow: 0 1px 0 rgba(0,0,0,0.2), 0 1px 2px rgba(255,255,255,0.3); }

.logo span {
    font-weight: 500; font-size: 0.8rem; display: block; margin-top: -4px;
    background: linear-gradient(135deg, var(--text-secondary), var(--text-primary));
    background-clip: text; -webkit-background-clip: text; color: transparent;
}
body.dark .logo span {
    background: linear-gradient(135deg, #E2E8F0, #FFFFFF);
    background-clip: text; -webkit-background-clip: text; color: transparent;
    text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}

.nav-links { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.nav-links a {
    text-decoration: none; color: var(--text-primary); font-weight: 500;
    font-size: 1rem; padding: 8px 4px; transition: all 0.3s ease;
    display: inline-block; position: relative; cursor: pointer;
}
.nav-links a:hover { color: var(--accent) !important; transform: translateY(-3px) !important; background: transparent !important; box-shadow: none !important; }
.nav-links a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-soft)); transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
body.dark .nav-links a:hover { text-shadow: none !important; }

.theme-toggle {
    background: transparent; border: 1px solid var(--border-light); border-radius: 40px;
    padding: 6px 18px; font-size: 0.95rem; color: var(--text-primary); cursor: pointer;
    display: flex; align-items: center; gap: 8px; background-color: var(--surface); transition: all 0.3s ease;
}
.theme-toggle:hover { transform: translateY(-2px); border-color: var(--accent); background: var(--accent); color: var(--price-tag-text); }

.container { max-width: 1280px; margin: 0 auto; padding: 1.5rem 2rem 3rem; padding-top: 120px; }
section { margin-bottom: 5rem; scroll-margin-top: 100px; }
h2 { font-size: 2.2rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 2rem; border-left: 6px solid var(--accent); padding-left: 1.5rem; }

/* ========== HERO СЛАЙДЕР ========== */
.hero-slider { margin-bottom: 3rem; border-radius: 48px; overflow: hidden; position: relative; }
.slider-container { position: relative; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(0, 20, 40, 0.05); border-radius: 48px; }
.slider-track { display: flex; transition: transform 0.5s ease-in-out; }
.slide { flex-shrink: 0; width: 100%; position: relative; min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.slide-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 0; }
.slide-content { position: relative; z-index: 2; max-width: 850px; padding: 2rem; color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.slide-content h1 { font-size: 3.2rem; font-weight: 700; margin-bottom: 1rem; text-shadow: 0 2px 20px rgba(0,0,0,0.5); letter-spacing: -0.02em; text-align: center; }
.slide-quote { font-size: 1.1rem; line-height: 1.5; margin: 1.5rem 0 1.8rem; padding: 1rem 1.8rem; background: transparent; backdrop-filter: blur(5px); border-radius: 48px; border: 1px solid rgba(255,255,255,0.3); font-style: italic; max-width: 650px; text-align: center; color: white; text-shadow: 0 1px 4px rgba(0,0,0,1); }
.slide-quote::before { content: "“"; font-size: 1.5rem; color: var(--accent); margin-right: 4px; text-shadow: none; }
.slide-quote::after { content: "”"; font-size: 1.5rem; color: var(--accent); margin-left: 4px; vertical-align: top; text-shadow: none; }
.city-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); backdrop-filter: blur(4px); padding: 0.4rem 1.2rem; border-radius: 40px; font-weight: 500; font-size: 0.85rem; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.4); border-radius: 50%; cursor: pointer; z-index: 10; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; }
.slider-btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-50%) scale(1.1); }
.prev-btn { left: 20px; }
.next-btn { right: 20px; }
.slider-dots { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s ease; }
.dot.active { width: 28px; border-radius: 10px; background: var(--accent); }
.dot:hover { background: rgba(255,255,255,0.9); }

/* ========== ГАЛЕРЕЯ ========== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; margin-top: 2rem; }
.gallery-item { background: var(--surface); border-radius: 32px; overflow: hidden; box-shadow: var(--card-shadow); border: 1px solid var(--border-light); transition: all 0.4s; cursor: pointer; position: relative; }
.gallery-item:hover { transform: translateY(-12px); box-shadow: 0 24px 40px rgba(0,0,0,0.12); border-color: var(--accent); }
.gallery-img { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gallery-overlay); }
.gallery-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.gallery-item:hover .gallery-img img { transform: scale(1.08); }
.gallery-caption { padding: 1.4rem 1.5rem 1.6rem; position: relative; }
.gallery-caption h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--text-primary); }
.gallery-caption .project-type { display: inline-block; font-size: 0.75rem; font-weight: 500; color: var(--accent); background: rgba(68,74,79,0.1); padding: 0.2rem 0.8rem; border-radius: 20px; margin-bottom: 0.7rem; }
body.dark .gallery-caption .project-type { background: rgba(230,185,30,0.15); }
.gallery-caption p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.4; margin-bottom: 0.8rem; }
.gallery-caption small { display: block; font-size: 0.75rem; color: var(--accent-soft); margin-top: 0.5rem; }
.gallery-badge { position: absolute; top: 12px; right: 12px; background: var(--accent); color: var(--price-tag-text); padding: 0.3rem 0.9rem; border-radius: 40px; font-size: 0.7rem; font-weight: 600; z-index: 2; backdrop-filter: blur(4px); }

/* ========== МОДАЛЬНОЕ ОКНО ========== */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); z-index: 2000; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s; }
.modal.active { display: flex; opacity: 1; }
.modal-container { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.modal-carousel { position: relative; overflow: visible; padding: 40px 0; }
.modal-track { display: flex; align-items: center; justify-content: center; gap: 20px; transition: all 0.4s; }
.modal-slide { flex-shrink: 0; width: 380px; background: var(--surface); border-radius: 32px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.3); transition: all 0.3s; cursor: pointer; opacity: 0.5; transform: scale(0.85); }
.modal-slide.active { opacity: 1; transform: scale(1); box-shadow: 0 30px 50px rgba(0,0,0,0.4); }
.modal-slide.prev, .modal-slide.next { opacity: 0.4; transform: scale(0.85); filter: blur(2px); }
.modal-slide:hover { transform: scale(0.9); }
.modal-slide.active:hover { transform: scale(1.02); }
.modal-slide-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #2d2d2d; }
.modal-slide-info { padding: 1.2rem; text-align: center; }
.modal-slide-info h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--text-primary); }
.modal-slide-type { display: inline-block; background: var(--accent); color: var(--price-tag-text); padding: 0.2rem 0.8rem; border-radius: 20px; font-size: 0.7rem; margin-bottom: 0.5rem; }
.modal-slide-desc { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 0.5rem; line-height: 1.4; }
.modal-slide-price { font-size: 1.1rem; font-weight: 700; color: var(--accent); margin-top: 0.3rem; }
.modal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; transition: all 0.3s; z-index: 15; }
.modal-nav:hover { background: var(--accent); transform: translateY(-50%) scale(1.1); }
.modal-prev { left: 20px; }
.modal-next { right: 20px; }
.modal-close { position: absolute; top: -50px; right: 20px; width: 40px; height: 40px; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; cursor: pointer; transition: all 0.2s; border: 1px solid rgba(255,255,255,0.3); z-index: 20; }
.modal-close:hover { background: var(--accent); transform: scale(1.1); }
.modal-order-btn { display: block; margin-top: 0.8rem; padding: 0.5rem 1rem; background: var(--accent); color: var(--price-tag-text); border: none; border-radius: 40px; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.2s; width: 100%; }
.modal-order-btn:hover { transform: scale(1.02); opacity: 0.9; }
.modal-dots { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.modal-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s; }
.modal-dot.active { width: 24px; border-radius: 10px; background: var(--accent); }

/* ========== Акции ========== */
.principles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.principle-card { text-align: center !important; background: var(--surface); border-radius: 32px; padding: 2rem 1.5rem; box-shadow: var(--card-shadow); border: 1px solid var(--border-light); }
.principle-card h3 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 2.2rem !important;
    letter-spacing: -0.03em !important;
    color: var(--accent) !important;
    margin-bottom: 0.8rem !important;
		line-height: 1.1 !important;
}

.principle-card p {
    font-family: 'Inter', sans-serif !important;
    font-weight: 450 !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    color: var(--text-secondary) !important;
		margin-bottom: 0.3rem !important;
}

.principle-card p strong {
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    color: var(--text-primary) !important;
		margin-bottom: 0.2rem !important; 
}

/* ========== БЛОК ОТЗЫВОВ (СЛАЙДЕР) ========== */
#reviews {
    max-width: 1280px;
    margin: 0 auto 5rem auto;
    padding: 0;
}

#reviews h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border-left: 6px solid var(--accent);
    padding-left: 1.5rem;
}

.reviews-slider {
    position: relative;
    background: var(--surface);
    border-radius: 48px;
    padding: 3rem 2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
}

.reviews-container {
    overflow: hidden;
    border-radius: 32px;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.review-slide {
    flex-shrink: 0;
    width: 100%;
    padding: 0 1rem;
    text-align: center;
}

.review-stars {
    font-size: 1.5rem;
    color: #f5b81b;
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
    max-width: 700px;
    margin: 0 auto 1.5rem;
    font-style: italic;
}

.review-author {
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent);
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-dot.active {
    width: 28px;
    border-radius: 10px;
    background: var(--accent);
}

.review-dot:hover {
    background: var(--accent-soft);
}

/* Адаптив для отзывов */
@media (max-width: 768px) {
    #reviews h2 {
        font-size: 1.6rem;
        padding-left: 1rem;
    }
    
    .reviews-slider {
        padding: 2rem 1rem;
        border-radius: 32px;
    }
    
    .review-text {
        font-size: 0.95rem;
    }
    
    .review-stars {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .review-text {
        font-size: 0.85rem;
    }
    
    .review-author {
        font-size: 0.9rem;
    }
}

/* ========== КАЛЬКУЛЯТОР ========== */
.calculator-container { background: var(--surface); border-radius: 36px; padding: 2.2rem; box-shadow: var(--card-shadow); border: 1px solid var(--border-light); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.calc-form { display: flex; flex-direction: column; gap: 1.5rem; }
.calc-group { display: flex; flex-direction: column; gap: 0.5rem; }
.calc-group label { font-weight: 600; color: var(--text-primary); display: flex; align-items: center; gap: 8px; font-size: 0.95rem; }
.calc-group select { background: var(--input-bg); border: 1px solid var(--input-border); border-radius: 24px; padding: 0.9rem 1rem; color: var(--text-primary); font-size: 1rem; cursor: pointer; }
.range-container { display: flex; align-items: center; gap: 15px; }
.range-container input[type="range"] { flex: 1; height: 6px; background: linear-gradient(90deg, var(--accent), var(--accent-soft)); border-radius: 3px; -webkit-appearance: none; }
.range-container input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; background: var(--accent); border-radius: 50%; cursor: pointer; border: 2px solid var(--surface); }
.range-value { min-width: 60px; text-align: right; color: var(--text-secondary); }
.counter { display: flex; align-items: center; gap: 15px; }
.counter-btn { width: 40px; height: 40px; background: var(--accent); border: none; border-radius: 50%; color: var(--price-tag-text); font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.counter-btn:hover { transform: scale(1.1); }
#windowCount { font-size: 1.5rem; font-weight: 600; min-width: 30px; text-align: center; color: var(--text-primary); }
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.option-check { background: var(--calc-bg); border: 1px solid var(--border-light); border-radius: 20px; padding: 12px 15px; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 10px; }
.option-check:hover { border-color: var(--accent); background: var(--surface); }
.option-check input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; accent-color: var(--accent); }
.option-check span { font-weight: 500; font-size: 0.95rem; flex: 1; }
.option-check small { color: var(--accent); font-size: 0.85rem; }
.calc-result { background: var(--calc-bg); border-radius: 28px; padding: 1.8rem; border: 1px solid var(--border-light); }
.result-header { text-align: center; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-light); }
.result-header h3 { font-size: 1.2rem; margin-bottom: 0.8rem; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--text-primary); }
.result-price { font-size: 2.2rem; font-weight: 700; color: var(--accent); }
.result-details { margin-bottom: 1.5rem; }
.detail-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); font-size: 0.9rem; }
.result-note { background: rgba(102,126,234,0.1); border-radius: 16px; padding: 12px; color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 8px; }
.btn-calc-order { width: 100%; padding: 14px; background: var(--accent); color: var(--price-tag-text); border: none; border-radius: 40px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-calc-order:hover { opacity: 0.9; transform: translateY(-2px); }

/* ========== ФОРМА ========== */
.order-form { background: var(--surface); border-radius: 36px; padding: 2.5rem; box-shadow: var(--card-shadow); border: 1px solid var(--border-light); max-width: 720px; margin: 2rem auto 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.full-width { grid-column: span 2; }
.order-form input, .order-form select, .order-form textarea { width: 100%; padding: 1rem 1.2rem; background: var(--input-bg); border: 1px solid var(--input-border); border-radius: 30px; font-size: 1rem; color: var(--text-primary); }
.order-form textarea { min-height: 120px; resize: vertical; }
.error-message { color: #e03a3a; font-size: 0.85rem; margin: 0.3rem 0 0 1.2rem; display: none; }
.order-form button { margin-top: 1.5rem; width: 100%; padding: 1rem; font-size: 1.2rem; }

/* ========== КНОПКА ГЕРОЯ ========== */
.hero-btn { background: linear-gradient(90deg, #444a4f, #868e96, #444a4f); background-size: 200% auto; color: var(--price-tag-text); border: none; border-radius: 60px; padding: 0.9rem 2.2rem; font-size: 1rem; font-weight: 600; margin: 0.5rem 0 1rem; cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; gap: 10px; animation: shimmer 7s infinite; }
body.dark .hero-btn { background: linear-gradient(90deg, #e6b91e, #f5d742, #e6b91e); background-size: 200% auto; }
.hero-btn:hover { transform: scale(1.03); gap: 14px; animation: shimmer 3s infinite; }
@keyframes shimmer { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* ========== ФУТЕР ========== */
footer { background: var(--surface); border-top: 1px solid var(--border-light); padding: 3rem 2rem 1.5rem; margin-top: 3rem; text-align: center; color: var(--text-secondary); }
.footer-content { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-bottom: 2rem; }
.footer-section { text-align: center; }
.footer-section h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; color: var(--accent); display: flex; align-items: center; justify-content: center; gap: 8px; }
.footer-section p { margin-bottom: 0.6rem; color: var(--text-secondary); font-size: 0.9rem; }
.footer-section a { color: var(--text-secondary); text-decoration: none; }
.footer-section a:hover { color: var(--accent); }
.social-links { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; margin-top: 0.5rem; }
.social-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 24px; background: var(--bg-page); border: 1px solid var(--border-light); border-radius: 40px; font-size: 0.9rem; font-weight: 500; transition: all 0.3s; width: fit-content; }
.social-link:hover { background: var(--accent); border-color: var(--accent); color: var(--price-tag-text); transform: translateY(-3px); }
.work-tag { margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--border-light); font-weight: 500; color: var(--accent) !important; }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid var(--border-light); text-align: center; font-size: 0.8rem; }

/* ========== SEO ========== */
.seo-text { max-width: 1280px; margin: 3rem auto 0; padding: 2rem; background: var(--surface); border-radius: 32px; border: 1px solid var(--border-light); }
.seo-text h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.seo-text p { color: var(--text-secondary); line-height: 1.6; }

/* ========== КАРТА ========== */
#map { max-width: 1280px; margin: 0 auto 4rem; padding: 0; }
#map h2 { font-size: 2.2rem; font-weight: 600; margin-bottom: 2rem; border-left: 6px solid var(--accent); padding-left: 1.5rem; }
.map-wrapper { background: var(--surface); border-radius: 32px; overflow: hidden; border: 1px solid var(--border-light); box-shadow: var(--card-shadow); }
.map-container { width: 100%; height: 380px; overflow: hidden; }
.map-container iframe { width: 100%; height: 100%; display: block; }
.map-address { padding: 1.5rem 2rem; background: var(--surface); border-top: 1px solid var(--border-light); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.address-card { display: flex; align-items: center; gap: 15px; color: var(--text-primary); }
.address-card i { font-size: 1.8rem; color: var(--accent); }
.address-card strong { font-size: 1.1rem; }
.work-hours { font-size: 0.8rem; color: var(--text-secondary); display: block; margin-top: 4px; }
.map-link { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-page); border: 1px solid var(--border-light); padding: 10px 20px; border-radius: 40px; text-decoration: none; color: var(--text-primary); font-size: 0.9rem; font-weight: 500; transition: all 0.3s; }
.map-link:hover { background: var(--accent); border-color: var(--accent); color: var(--price-tag-text); }

/* ========== АДАПТИВНОСТЬ ========== */

/* Десктоп (по умолчанию) — текст в навигации */
.navbar {
    padding: 12px 32px;
}
.nav-links {
    gap: 40px;
}
.nav-links a {
    font-size: 1rem;
    width: auto;
    height: auto;
    padding: 8px 4px;
    background: transparent;
    border: none;
    color: var(--text-primary) !important;
}
.nav-links a::after {
    display: block;
}
.theme-toggle {
    width: auto;
    height: auto;
    padding: 6px 18px;
    border-radius: 40px;
}
.theme-toggle span:last-child {
    display: inline;
}

/* Планшеты и средние экраны (600px - 1024px) */
@media (min-width: 600px) and (max-width: 1024px) {
    .container {
        padding-top: 110px;
    }
    
    /* Навигация — иконки */
    .navbar {
        padding: 10px 20px;
        flex-wrap: nowrap;
        background: var(--surface);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .nav-links {
        gap: 10px !important;
    }
    .nav-links a {
        font-size: 0 !important;
        width: 44px;
        height: 44px;
        padding: 8px;
        background: var(--surface);
        border: 1px solid var(--border-light);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: transparent !important;
    }
    .nav-links a::after {
        display: none;
    }
    
    /* Иконки */
    .nav-links a[href="#principles"]::before {
        content: "\f005";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 1.2rem;
        color: var(--text-primary);
    }
    .nav-links a[href="#gallery"]::before {
        content: "\f302";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 1.2rem;
        color: var(--text-primary);
    }
    .nav-links a[href="#calculator"]::before {
        content: "\f1ec";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 1.2rem;
        color: var(--text-primary);
    }
    .nav-links a[href="#order"]::before {
        content: "\f304";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 1.2rem;
        color: var(--text-primary);
    }
    .nav-links a[href="#footer"]::before {
        content: "\f879";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 1.2rem;
        color: var(--text-primary);
    }
    
    .nav-links a:hover {
        transform: none !important;
        background: var(--accent) !important;
        border-color: var(--accent) !important;
    }
    .nav-links a:hover::before {
        color: var(--price-tag-text) !important;
    }
    
    .theme-toggle {
        padding: 0;
        width: 44px;
        height: 44px;
        justify-content: center;
        border-radius: 50%;
    }
    .theme-toggle span:last-child {
        display: none;
    }
    
    /* Галерея — 2 колонки */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Футер — 2 колонки */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    section {
        scroll-margin-top: 90px;
    }
}

/* Мобильные (до 600px) */
@media (max-width: 599px) {
    .container {
        padding-top: 100px;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Навигация — иконки */
    .navbar {
        top: 10px;
        width: calc(100% - 20px);
        padding: 8px 12px;
        flex-wrap: nowrap;
        background: var(--surface);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .navbar.scrolled {
        top: 5px;
        padding: 8px 12px;
    }
    
    .logo {
        font-size: 1rem;
    }
    .logo span {
        font-size: 0.55rem;
    }
    
    .nav-links {
        gap: 5px !important;
    }
    .nav-links a {
        font-size: 0 !important;
        width: 40px;
        height: 40px;
        padding: 6px;
        background: var(--surface);
        border: 1px solid var(--border-light);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: transparent !important;
    }
    .nav-links a::after {
        display: none;
    }
    
    /* Иконки */
    .nav-links a[href="#principles"]::before {
        content: "\f005";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 1.1rem;
        color: var(--text-primary);
    }
    .nav-links a[href="#gallery"]::before {
        content: "\f302";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 1.1rem;
        color: var(--text-primary);
    }
    .nav-links a[href="#calculator"]::before {
        content: "\f1ec";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 1.1rem;
        color: var(--text-primary);
    }
    .nav-links a[href="#order"]::before {
        content: "\f304";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 1.1rem;
        color: var(--text-primary);
    }
    .nav-links a[href="#footer"]::before {
        content: "\f879";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 1.1rem;
        color: var(--text-primary);
    }
    
    .nav-links a:hover {
        transform: none !important;
        background: var(--accent) !important;
        border-color: var(--accent) !important;
    }
    .nav-links a:hover::before {
        color: var(--price-tag-text) !important;
    }
    
    .theme-toggle {
        padding: 0;
        width: 40px;
        height: 40px;
        justify-content: center;
        border-radius: 50%;
    }
    .theme-toggle span:last-child {
        display: none;
    }
    #themeIcon {
        font-size: 1.2rem;
    }
    
    h2 {
        font-size: 1.5rem;
        padding-left: 0.5rem;
    }
    
    section {
        scroll-margin-top: 80px;
    }
    
    .slide {
        min-height: 70vh;
    }
    .slide-content h1 {
        font-size: 1.8rem;
    }
    .slide-quote {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    .full-width {
        grid-column: span 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
    }
}

/* Большие десктопы */
@media (min-width: 1025px) {
    .navbar {
        flex-direction: row;
    }
    .nav-links {
        width: auto;
    }
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

body.modal-open {
    overflow: hidden;
    padding-right: 17px;
}

/* ========== ВОССТАНОВЛЕНИЕ И ФИНАЛЬНЫЙ ФИКС ========== */

/* Возвращаем стандартные стили для десктопа */
.navbar {
    padding: 12px 32px;
    flex-wrap: wrap;
}
.nav-links {
    gap: 40px;
}
.nav-links a {
    font-size: 1rem;
    width: auto;
    height: auto;
    padding: 8px 4px;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--text-primary) !important;
}
.nav-links a::after {
    display: block;
}
.theme-toggle {
    width: auto;
    height: auto;
    padding: 6px 18px;
    border-radius: 40px;
}
.theme-toggle span:last-child {
    display: inline;
}

/* Калькулятор — ВОЗВРАЩАЕМ ИСХОДНЫЙ ВИД */
.calculator-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    padding: 2.2rem !important;
}
.options-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
}
.option-check {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 15px !important;
}

/* ========== МОБИЛЬНЫЕ (до 1024px) — ТОЛЬКО НАВИГАЦИЯ, КАЛЬКУЛЯТОР НЕ ТРОГАЕМ ========== */
@media (max-width: 1024px) {
    /* Шапка — компактная полоска */
    .navbar {
        padding: 8px 16px !important;
        flex-wrap: nowrap !important;
        background: var(--surface) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        top: 10px !important;
        width: calc(100% - 20px) !important;
        border-radius: 50px !important;
    }
    
    .logo {
        font-size: 1.1rem !important;
        line-height: 1.2 !important;
    }
    .logo span {
        font-size: 0.6rem !important;
    }
    
    /* Навигация — иконки */
    .nav-links {
        gap: 6px !important;
        flex-wrap: nowrap !important;
    }
    
    .nav-links a {
        font-size: 0 !important;
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        background: var(--surface) !important;
        border: 1px solid var(--border-light) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: transparent !important;
    }
    
    /* Иконки */
    .nav-links a[href="#principles"]::before {
        content: "\f005" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.1rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#gallery"]::before {
        content: "\f302" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.1rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#calculator"]::before {
        content: "\f1ec" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.1rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#order"]::before {
        content: "\f304" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.1rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#footer"]::before {
        content: "\f879" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.1rem !important;
        color: var(--text-primary) !important;
    }
    
    .nav-links a::after {
        display: none !important;
    }
    
    /* ВОЗВРАЩАЕМ ОТКЛИК ПРИ НАВЕДЕНИИ/АКТИВНОСТИ */
    .nav-links a:hover,
    .nav-links a:active,
    .nav-links a:focus {
        transform: scale(0.95) !important;
        background: var(--accent) !important;
        border-color: var(--accent) !important;
    }
    .nav-links a:hover::before,
    .nav-links a:active::before,
    .nav-links a:focus::before {
        color: var(--price-tag-text) !important;
    }
    
    /* Кнопка темы */
    .theme-toggle {
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        justify-content: center !important;
        border-radius: 50% !important;
        background: var(--surface) !important;
        border: 1px solid var(--border-light) !important;
    }
    .theme-toggle span:last-child {
        display: none !important;
    }
    #themeIcon {
        font-size: 1.2rem !important;
        margin: 0 !important;
    }
    .theme-toggle:hover,
    .theme-toggle:active {
        background: var(--accent) !important;
    }
    
    /* Отступ для якорей */
    section {
        scroll-margin-top: 80px !important;
    }
    
    .container {
        padding-top: 100px !important;
    }
}

/* Калькулятор на мобильных — отдельно, БЕЗ ВМЕШАТЕЛЬСТВА В ДИЗАЙН */
@media (max-width: 900px) {
    .calculator-container {
        grid-template-columns: 1fr !important;
        padding: 1.5rem !important;
    }
    .options-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Галерея на мобильных */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Планшеты */
@media (min-width: 769px) and (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Очень узкие */
@media (max-width: 400px) {
    .nav-links a {
        width: 36px !important;
        height: 36px !important;
    }
    .nav-links a::before {
        font-size: 1rem !important;
    }
    .theme-toggle {
        width: 36px !important;
        height: 36px !important;
    }
    .logo {
        font-size: 1rem !important;
    }
}

body.modal-open {
    overflow: hidden;
    padding-right: 17px;
}

/* ========== ЭКСТРЕННЫЙ ФИКС: ОТКЛИК И СЛАЙДЕР ========== */

/* Восстанавливаем отклик для всех интерактивных элементов */
.nav-links a,
.theme-toggle,
button,
.hero-btn,
.btn-calc-order,
.gallery-item,
.modal-order-btn {
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Отклик для иконок навигации на мобильных */
@media (max-width: 1024px) {
    .nav-links a {
        transition: all 0.2s ease !important;
    }
    
    .nav-links a:active {
        transform: scale(0.9) !important;
        background: var(--accent) !important;
        border-color: var(--accent) !important;
    }
    
    .nav-links a:active::before {
        color: var(--price-tag-text) !important;
    }
    
    /* Для браузеров, которые не поддерживают :active на мобильных — через класс */
    .nav-links a:focus,
    .nav-links a:hover {
        background: var(--accent) !important;
        border-color: var(--accent) !important;
    }
    .nav-links a:focus::before,
    .nav-links a:hover::before {
        color: var(--price-tag-text) !important;
    }
    
    .theme-toggle:active {
        background: var(--accent) !important;
    }
}

/* Фикс слайдера на мобильных */
@media (max-width: 600px) {
    .slide {
        min-height: 80vh !important;
    }
    
    .slide-content {
        padding: 1rem !important;
    }
    
    .slide-content h1 {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .slide-quote {
        font-size: 0.75rem !important;
        padding: 0.5rem 0.8rem !important;
        margin: 0.8rem 0 !important;
        max-width: 100% !important;
        line-height: 1.4 !important;
    }
    
    .hero-btn {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.8rem !important;
    }
    
    .city-tag {
        font-size: 0.65rem !important;
        padding: 0.2rem 0.8rem !important;
    }
}

/* Для Infinix и других устройств с шириной 360-400px */
@media (max-width: 400px) {
    .slide-content h1 {
        font-size: 1.4rem !important;
    }
    
    .slide-quote {
        font-size: 0.7rem !important;
        padding: 0.4rem 0.6rem !important;
    }
    
    .hero-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.75rem !important;
    }
}

/* Убираем белые полосы по бокам слайдера */
.hero-slider,
.slider-container,
.slide {
    overflow: hidden !important;
}

.slide-bg {
    background-size: cover !important;
    background-position: center !important;
}

/* ========== ТОЧЕЧНЫЙ ФИКС ДЛЯ INFINIX И ПЛАНШЕТОВ (600px - 900px) ========== */
@media (min-width: 600px) and (max-width: 900px) {
    
    /* Шапка — делаем компактной полоской */
    .navbar {
        padding: 8px 16px !important;
        flex-wrap: nowrap !important;
        background: var(--surface) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        top: 10px !important;
        width: calc(100% - 20px) !important;
        border-radius: 50px !important;
    }
    
    .logo {
        font-size: 1.1rem !important;
        line-height: 1.2 !important;
    }
    .logo span {
        font-size: 0.6rem !important;
        margin-top: -2px !important;
    }
    
    /* Навигация — иконки вместо текста */
    .nav-links {
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }
    
    .nav-links a {
        font-size: 0 !important;
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        background: var(--surface) !important;
        border: 1px solid var(--border-light) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: transparent !important;
    }
    
    /* Иконки Font Awesome */
    .nav-links a[href="#principles"]::before {
        content: "\f005" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.1rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#gallery"]::before {
        content: "\f302" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.1rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#calculator"]::before {
        content: "\f1ec" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.1rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#order"]::before {
        content: "\f304" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.1rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#footer"]::before {
        content: "\f879" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.1rem !important;
        color: var(--text-primary) !important;
    }
    
    .nav-links a::after {
        display: none !important;
    }
    
    /* Кнопка темы — только иконка */
    .theme-toggle {
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        justify-content: center !important;
        border-radius: 50% !important;
        background: var(--surface) !important;
        border: 1px solid var(--border-light) !important;
    }
    .theme-toggle span:last-child {
        display: none !important;
    }
    #themeIcon {
        font-size: 1.2rem !important;
        margin: 0 !important;
    }
    
    /* Отступ для якорей */
    section {
        scroll-margin-top: 80px !important;
    }
    
    .container {
        padding-top: 100px !important;
    }
}

/* ========== ФИКС СТРЕЛОК СЛАЙДЕРА НА МОБИЛЬНЫХ ========== */
@media (max-width: 768px) {
    .slider-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
        background: rgba(0, 0, 0, 0.3) !important;
        backdrop-filter: blur(4px) !important;
    }
    
    .prev-btn {
        left: 10px !important;
    }
    
    .next-btn {
        right: 10px !important;
    }
    
    /* Сдвигаем текст слайдера от краёв, чтобы стрелки не перекрывали */
    .slide-content {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
}

@media (max-width: 480px) {
    .slider-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.8rem !important;
    }
    
    .prev-btn {
        left: 5px !important;
    }
    
    .next-btn {
        right: 5px !important;
    }
    
    .slide-content {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
}
/* ========== ФИКС МОДАЛЬНОГО ОКНА НА МОБИЛЬНЫХ ========== */
@media (max-width: 768px) {
    
    /* Контейнер модалки — меньше отступов */
    .modal-container {
        padding: 0 10px !important;
    }
    
    /* Стрелки навигации — компактнее и прозрачнее */
    .modal-nav {
        width: 40px !important;
        height: 40px !important;
        background: rgba(0, 0, 0, 0.4) !important;
        backdrop-filter: blur(4px) !important;
        font-size: 1rem !important;
    }
    
    /* Сдвигаем стрелки ближе к краям */
    .modal-prev {
        left: 5px !important;
    }
    
    .modal-next {
        right: 5px !important;
    }
    
    /* Крестик закрытия — делаем видимым и доступным */
    .modal-close {
        top: 10px !important;
        right: 10px !important;
        width: 44px !important;
        height: 44px !important;
        background: rgba(0, 0, 0, 0.6) !important;
        backdrop-filter: blur(4px) !important;
        font-size: 1.5rem !important;
        z-index: 30 !important;
        position: fixed !important; /* Фиксируем относительно экрана */
    }
    
    /* Сам слайд — даём больше места */
    .modal-slide {
        width: 100% !important;
        max-width: 350px !important;
    }
    
    /* Текст внутри слайда — компактнее */
    .modal-slide-info {
        padding: 1rem !important;
    }
    
    .modal-slide-info h3 {
        font-size: 1.1rem !important;
    }
    
    .modal-slide-desc {
        font-size: 0.75rem !important;
    }
    
    .modal-slide-specs {
        font-size: 0.65rem !important;
    }
    
    /* Точки-индикаторы — поднимаем выше */
    .modal-dots {
        margin-top: 10px !important;
    }
}

/* Для очень узких экранов */
@media (max-width: 480px) {
    .modal-nav {
        width: 36px !important;
        height: 36px !important;
    }
    
    .modal-slide {
        max-width: 300px !important;
    }
    
    .modal-close {
        top: 5px !important;
        right: 5px !important;
        width: 40px !important;
        height: 40px !important;
    }
}

/* ========== ФИКС ДЛЯ ПЛАНШЕТА В ВЕРТИКАЛЬНОЙ ОРИЕНТАЦИИ ========== */
@media (min-width: 600px) and (max-width: 900px) and (orientation: portrait) {
    
    /* Шапка — компактная полоска */
    .navbar {
        padding: 10px 20px !important;
        flex-wrap: nowrap !important;
        background: var(--surface) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        top: 10px !important;
        width: calc(100% - 20px) !important;
        border-radius: 50px !important;
    }
    
    .logo {
        font-size: 1.2rem !important;
    }
    .logo span {
        font-size: 0.65rem !important;
    }
    
    /* Навигация — иконки вместо текста */
    .nav-links {
        gap: 10px !important;
        flex-wrap: nowrap !important;
    }
    
    .nav-links a {
        font-size: 0 !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        background: var(--surface) !important;
        border: 1px solid var(--border-light) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: transparent !important;
    }
    
    /* Иконки Font Awesome */
    .nav-links a[href="#principles"]::before {
        content: "\f005" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.2rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#gallery"]::before {
        content: "\f302" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.2rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#calculator"]::before {
        content: "\f1ec" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.2rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#order"]::before {
        content: "\f304" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.2rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#footer"]::before {
        content: "\f879" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.2rem !important;
        color: var(--text-primary) !important;
    }
    
    .nav-links a::after {
        display: none !important;
    }
    
    /* Кнопка темы — только иконка */
    .theme-toggle {
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        justify-content: center !important;
        border-radius: 50% !important;
        background: var(--surface) !important;
        border: 1px solid var(--border-light) !important;
    }
    .theme-toggle span:last-child {
        display: none !important;
    }
    #themeIcon {
        font-size: 1.3rem !important;
        margin: 0 !important;
    }
    
    /* Отступы */
    section {
        scroll-margin-top: 80px !important;
    }
    
    .container {
        padding-top: 110px !important;
    }
    
    /* Галерея — 2 колонки */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ========== ФИКС ДЛЯ БОЛЬШИХ ПЛАНШЕТОВ (1200px - 1600px) ========== */
@media (min-width: 1000px) and (max-width: 1600px) and (orientation: portrait) {
    
    /* Шапка — компактная полоска с иконками */
    .navbar {
        padding: 10px 24px !important;
        flex-wrap: nowrap !important;
        background: var(--surface) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        top: 15px !important;
        width: calc(100% - 30px) !important;
        border-radius: 60px !important;
    }
    
    .logo {
        font-size: 1.4rem !important;
    }
    .logo span {
        font-size: 0.7rem !important;
    }
    
    /* Навигация — иконки */
    .nav-links {
        gap: 12px !important;
        flex-wrap: nowrap !important;
    }
    
    .nav-links a {
        font-size: 0 !important;
        width: 50px !important;
        height: 50px !important;
        padding: 0 !important;
        background: var(--surface) !important;
        border: 1px solid var(--border-light) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: transparent !important;
    }
    
    /* Иконки Font Awesome */
    .nav-links a[href="#principles"]::before {
        content: "\f005" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.4rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#gallery"]::before {
        content: "\f302" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.4rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#calculator"]::before {
        content: "\f1ec" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.4rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#order"]::before {
        content: "\f304" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.4rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#footer"]::before {
        content: "\f879" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.4rem !important;
        color: var(--text-primary) !important;
    }
    
    .nav-links a::after {
        display: none !important;
    }
    
    /* Кнопка темы — только иконка */
    .theme-toggle {
        width: 50px !important;
        height: 50px !important;
        padding: 0 !important;
        justify-content: center !important;
        border-radius: 50% !important;
        background: var(--surface) !important;
        border: 1px solid var(--border-light) !important;
    }
    .theme-toggle span:last-child {
        display: none !important;
    }
    #themeIcon {
        font-size: 1.5rem !important;
        margin: 0 !important;
    }
    
    /* Отступы */
    section {
        scroll-margin-top: 90px !important;
    }
    
    .container {
        padding-top: 120px !important;
    }
    
    /* Галерея — 3 колонки */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
      /* ========== ФИКС СЛАЙДЕРА (СТРЕЛКИ НЕ ЗАЛЕЗАЮТ НА ТЕКСТ) ========== */
    
    /* Стрелки — делаем минимальными */
    .slider-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 1rem !important;
        background: rgba(0, 0, 0, 0.25) !important;
        backdrop-filter: blur(4px) !important;
    }
    
    /* Прижимаем стрелки к самому краю */
    .prev-btn {
        left: 8px !important;
    }
    
    .next-btn {
        right: 8px !important;
    }
    
    /* Даём тексту МАКСИМАЛЬНЫЕ отступы */
    .slide-content {
        padding-left: 70px !important;
        padding-right: 70px !important;
        max-width: 700px !important;
        margin: 0 auto !important;
    }
    
    /* Уменьшаем всё содержимое слайда */
    .slide-content h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.8rem !important;
    }
    
    .slide-quote {
        font-size: 0.9rem !important;
        padding: 0.8rem 1.2rem !important;
        max-width: 500px !important;
        margin: 1rem 0 !important;
    }
    
    .hero-btn {
        padding: 0.7rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
    
    .city-tag {
        font-size: 0.75rem !important;
        padding: 0.25rem 0.8rem !important;
    }

		/* ========== ФИНАЛЬНЫЙ ФИКС: СКРЫВАЕМ СТРЕЛКИ НА ПЛАНШЕТЕ В ПОРТРЕТЕ ========== */
@media (min-width: 1000px) and (max-width: 2000px) and (orientation: portrait) {
    
    /* Шапка — компактная полоска с иконками */
    .navbar {
        padding: 10px 24px !important;
        flex-wrap: nowrap !important;
        background: var(--surface) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        top: 15px !important;
        width: calc(100% - 30px) !important;
        border-radius: 60px !important;
    }
    
    .logo {
        font-size: 1.4rem !important;
    }
    .logo span {
        font-size: 0.7rem !important;
    }
    
    .nav-links {
        gap: 12px !important;
        flex-wrap: nowrap !important;
    }
    
    .nav-links a {
        font-size: 0 !important;
        width: 50px !important;
        height: 50px !important;
        padding: 0 !important;
        background: var(--surface) !important;
        border: 1px solid var(--border-light) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: transparent !important;
    }
    
    .nav-links a[href="#principles"]::before {
        content: "\f005" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.4rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#gallery"]::before {
        content: "\f302" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.4rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#calculator"]::before {
        content: "\f1ec" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.4rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#order"]::before {
        content: "\f304" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.4rem !important;
        color: var(--text-primary) !important;
    }
    .nav-links a[href="#footer"]::before {
        content: "\f879" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-size: 1.4rem !important;
        color: var(--text-primary) !important;
    }
    
    .nav-links a::after {
        display: none !important;
    }
    
    .theme-toggle {
        width: 50px !important;
        height: 50px !important;
        padding: 0 !important;
        justify-content: center !important;
        border-radius: 50% !important;
        background: var(--surface) !important;
        border: 1px solid var(--border-light) !important;
    }
    .theme-toggle span:last-child {
        display: none !important;
    }
    #themeIcon {
        font-size: 1.5rem !important;
        margin: 0 !important;
    }
    
    section {
        scroll-margin-top: 90px !important;
    }
    
    .container {
        padding-top: 120px !important;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    /* ========== ЖЁСТКИЙ ФИКС СЛАЙДЕРА ========== */
    
    /* Сужаем сам слайд */
    .slide {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Стрелки — минимальные */
    .slider-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
        background: rgba(0, 0, 0, 0.2) !important;
        backdrop-filter: blur(2px) !important;
    }
    
    .prev-btn {
        left: 5px !important;
    }
    
    .next-btn {
        right: 5px !important;
    }
    
    /* Текст — ОЧЕНЬ УЗКИЙ, чтобы гарантированно не залезать под стрелки */
    .slide-content {
        max-width: 500px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .slide-content h1 {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .slide-quote {
        font-size: 0.8rem !important;
        padding: 0.5rem 0.8rem !important;
        margin: 0.8rem 0 !important;
        line-height: 1.4 !important;
        max-width: 100% !important;
    }
    
    .slide-quote::before,
    .slide-quote::after {
        font-size: 0.9rem !important;
    }
    
    .hero-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
    }
    
    .city-tag {
        font-size: 0.65rem !important;
        padding: 0.2rem 0.6rem !important;
    }

/* ========== ФИНАЛЬНЫЙ ФИКС ТЕНЕЙ ДЛЯ СЛАЙДЕРА И SEO ========== */
.hero-slider {
    box-shadow: var(--card-shadow) !important;
    transition: box-shadow 0.4s cubic-bezier(0.2, 0.9, 0.4, 1) !important;
    border-radius: 48px !important;
    overflow: visible !important;
}

.hero-slider .slider-container {
    box-shadow: none !important;
    overflow: hidden !important;
}

.seo-text {
    box-shadow: var(--card-shadow) !important;
    transition: box-shadow 0.4s cubic-bezier(0.2, 0.9, 0.4, 1) !important;
    overflow: visible !important;
}

.hero-slider:hover,
.seo-text:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 40px 50px -25px rgba(0, 0, 0, 0.3), 0 15px 25px -10px rgba(0, 0, 0, 0.2), -8px -8px 20px rgba(255, 255, 255, 0.95) !important;
}

body.dark .hero-slider:hover,
body.dark .seo-text:hover {
    box-shadow: 0 40px 50px -25px rgba(0, 0, 0, 0.7), 0 15px 25px -10px rgba(0, 0, 0, 0.5), -4px -4px 16px rgba(255, 255, 255, 0.08) !important;
}

}
}
/* ========== ПЛАВНЫЕ АНИМАЦИИ (МЕДЛЕННЫЕ, ЛЁГКИЕ) ========== */

/* Навигация */
.navbar {
    animation: navFadeIn 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}
@keyframes navFadeIn {
    0% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Hero-слайдер — ЧИСТОЕ ПОЯВЛЕНИЕ, МЕДЛЕННОЕ */
.hero-animated {
    animation: heroFadeIn 1.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
@keyframes heroFadeIn {
    0% { opacity: 0; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}

/* Элементы при скролле — МЕДЛЕННОЕ появление */
.fade-up {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1.4s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 1.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.fade-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Задержки для каскада — более длинные */
.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.40s; }
.delay-5 { transition-delay: 0.50s; }

/* Карточки при наведении — мягче */
.gallery-item, .principle-card {
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
                box-shadow 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.gallery-item:hover, .principle-card:hover {
    transform: translateY(-5px);
}

/* Заголовки секций */
section h2 {
    transition: opacity 1.2s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Блокируем "дерганье" страницы при загрузке */
html {
    scroll-behavior: auto !important;
}

body {
    overflow-x: hidden;
}

/* Временно скрываем контент до анимации */
.loading-init {
    opacity: 0;
}

.loading-init .hero-slider,
.loading-init .navbar {
    animation: none !important;
}




/* Навигация тоже скрыта */
body:not(.loaded) .navbar {
    opacity: 0;
    transform: translateX(-50%) translateY(-30px);
}

/* Когда страница загружена — всё показываем плавно */
body.loaded {
    overflow: auto;
    position: static;
}

body.loaded .navbar {
    animation: navSoft 1.2s cubic-bezier(0.25, 0.1, 0.15, 1) forwards;
}

body.loaded .container,
body.loaded footer {
    opacity: 1;
    transition: opacity 0.01s;
}

/* ========== АНИМАЦИЯ ПЕЧАТНОЙ МАШИНКИ С ВОЛНОЙ ========== */

.consent-text {
    display: inline-block;
    animation: waveTyping 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
    transform-origin: center;
    white-space: nowrap;
}

@keyframes waveTyping {
    0% {
        opacity: 0;
        transform: scale(0.3);
        letter-spacing: -2px;
    }
    10% {
        opacity: 1;
        transform: scale(1.1);
        letter-spacing: 0px;
    }
    20% {
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Для каждой буквы своя задержка */
.consent-letter {
    display: inline-block;
    animation: waveLetter 0.5s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
}

@keyframes waveLetter {
    0% {
        opacity: 0;
        transform: scale(0.2) translateY(15px);
        filter: blur(4px);
    }
    30% {
        opacity: 1;
        transform: scale(1.3) translateY(-3px);
        filter: blur(0);
    }
    60% {
        transform: scale(1) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Задержки для волны */
.letter-delay-1 { animation-delay: 0.00s; }
.letter-delay-2 { animation-delay: 0.04s; }
.letter-delay-3 { animation-delay: 0.08s; }
.letter-delay-4 { animation-delay: 0.12s; }
.letter-delay-5 { animation-delay: 0.16s; }
.letter-delay-6 { animation-delay: 0.20s; }
.letter-delay-7 { animation-delay: 0.24s; }
.letter-delay-8 { animation-delay: 0.28s; }
.letter-delay-9 { animation-delay: 0.32s; }
.letter-delay-10 { animation-delay: 0.36s; }
.letter-delay-11 { animation-delay: 0.40s; }
.letter-delay-12 { animation-delay: 0.44s; }
.letter-delay-13 { animation-delay: 0.48s; }
.letter-delay-14 { animation-delay: 0.52s; }
.letter-delay-15 { animation-delay: 0.56s; }
.letter-delay-16 { animation-delay: 0.60s; }
.letter-delay-17 { animation-delay: 0.64s; }
.letter-delay-18 { animation-delay: 0.68s; }
.letter-delay-19 { animation-delay: 0.72s; }
.letter-delay-20 { animation-delay: 0.76s; }
.letter-delay-21 { animation-delay: 0.80s; }
.letter-delay-22 { animation-delay: 0.84s; }
.letter-delay-23 { animation-delay: 0.88s; }
.letter-delay-24 { animation-delay: 0.92s; }
.letter-delay-25 { animation-delay: 0.96s; }

/* ========== СТИЛИ ДЛЯ ЧЕКБОКСА ========== */

/* Контейнер чекбокса — правильное выравнивание по вертикали */
.checkbox-consent {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 1rem 0;
    cursor: pointer;
}

/* Скрываем стандартный чекбокс */
.checkbox-consent input[type="checkbox"] {
    display: none;
}

/* Создаём кастомный чекбокс */
.checkbox-consent .custom-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 2px solid var(--border-light);
    background-color: var(--input-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

/* Галочка (SVG вместо символа) */
.checkbox-consent .custom-checkbox::after {
    content: "✓";
    font-size: 14px;
    font-weight: bold;
    color: transparent;
    transition: all 0.2s ease;
}

/* Состояние "выбран" — СВЕТЛАЯ ТЕМА (серебристый) */
.checkbox-consent input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #868e96;
    border-color: #868e96;
}

.checkbox-consent input[type="checkbox"]:checked + .custom-checkbox::after {
    color: white;
}

/* Состояние "выбран" — ТЁМНАЯ ТЕМА (желто-золотистый) */
body.dark .checkbox-consent input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #e6b91e;
    border-color: #e6b91e;
}

body.dark .checkbox-consent input[type="checkbox"]:checked + .custom-checkbox::after {
    color: #1a1f2e;
}

/* Эффект наведения */
.checkbox-consent:hover .custom-checkbox {
    border-color: var(--accent);
    transform: scale(1.05);
}

/* Текст чекбокса — центрируем по вертикали */
.checkbox-consent .checkbox-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.3;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.checkbox-consent .checkbox-text a {
    color: var(--accent);
    text-decoration: none;
}

.checkbox-consent .checkbox-text a:hover {
    text-decoration: underline;
}

/* ========== ВАШ НОВЫЙ КОД — ВСТАВЬТЕ В САМЫЙ КОНЕЦ ========== */

/* Стили для чекбокса */
.checkbox-consent {
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.checkbox-consent .custom-checkbox {
    outline: none;
    box-shadow: none;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent);
}

.checkbox-consent input[type="checkbox"]:focus + .custom-checkbox {
    outline: none;
    box-shadow: none;
}

/* Эффект блеска на карточке */
.principle-card {
    position: relative;
    overflow: hidden;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
}

.principle-card:hover::before {
    left: 100%;
		transition: left 0.5s ease;
}

/* Для тёмной темы — золотой блеск */
body.dark .principle-card::before {
    background: linear-gradient(90deg, transparent, rgba(230,185,30,0.15), transparent);
}

/* ========== УСИЛЕННЫЙ БЛОК АКЦИЙ ========== */

/* Бейдж с датой */
.promo-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e6b91e, #f5d742);
    color: #1a1f2e;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.2rem 1rem;
    border-radius: 40px;
    margin-left: 1rem;
    vertical-align: middle;
}

body.dark .promo-badge {
    background: linear-gradient(135deg, #e6b91e, #f5d742);
    color: #1a1f2e;
}

/* Иконка в карточке */
.promo-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Цены */
.promo-price {
    margin: 0.5rem 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.old-price {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.new-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e03a3a;
    background: rgba(224, 58, 58, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
}

body.dark .new-price {
    color: #e6b91e;
    background: rgba(230, 185, 30, 0.15);
}

/* Таймер */
.promo-timer {
    margin: 0.8rem 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.timer-days {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent);
}

/* Кнопка в карточке */
.promo-btn {
    background: transparent;
    border: 1px solid var(--accent);
    border-radius: 40px;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.promo-btn:hover {
    background: var(--accent);
    color: var(--price-tag-text);
    transform: translateY(-2px);
}

/* Адаптив для карточек */
@media (max-width: 768px) {
    .promo-price {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .promo-badge {
        font-size: 0.7rem;
        margin-left: 0.5rem;
    }
    
    h2 {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }
}

