/* === ОСНОВНЫЕ СТИЛИ === */
:root {
    --neon-blue: #00ffff;
    --neon-pink: #ff00ff;
    --neon-violet: #bd00ff;
    --dark-bg: #0a0a1a;
    --darker-bg: #050510;
    --card-bg: rgba(10, 20, 40, 0.6);
    --text-light: #f0f8ff;
    --text-gray: #b0b0c0;
    --success-green: #00ff88;
    --error-red: #ff3366;
}

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

html {
    scroll-behavior: smooth;
    /* Для Firefox - тонкий скроллбар */
    scrollbar-width: thin;
    scrollbar-color: var(--neon-blue) #050510;
}

/* === КРАСИВЫЙ НЕОНОВЫЙ ПОЛЗУНОК (WEBKIT) === */
::-webkit-scrollbar {
    width: 10px;
    background-color: #050510;
}

::-webkit-scrollbar-track {
    background: #020205;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-blue), var(--neon-violet));
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    border: 2px solid #050510;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue);
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* === АНИМИРОВАННЫЙ ФОН === */
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #1a1a2e 0%, #000000 100%);
}

h1, h2, h3, h4 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

/* === НЕОНОВЫЕ ЭФФЕКТЫ === */
.neon-text-blue {
    color: var(--text-light);
    text-shadow: 0 0 5px var(--neon-blue), 0 0 20px var(--neon-blue);
}

.neon-text-pink {
    color: var(--text-light);
    text-shadow: 0 0 5px var(--neon-pink), 0 0 20px var(--neon-pink);
}

.neon-border-blue {
    border: 1px solid rgba(0, 255, 255, 0.5);
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
    background-color: var(--card-bg);
    backdrop-filter: blur(5px);
}

.neon-border-pink {
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.1);
    background-color: var(--card-bg);
    backdrop-filter: blur(5px);
}

/* === ЗАКРУГЛЕННЫЕ КНОПКИ === */
.neon-button {
    display: inline-block;
    padding: 14px 32px;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid var(--neon-blue);
    color: var(--text-light);
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.neon-button:hover {
    background-color: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
    transform: translateY(-2px);
}

.neon-button.pink {
    border-color: var(--neon-pink);
    background: rgba(255, 0, 255, 0.05);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.2);
    border-radius: 50px;
}

.neon-button.pink:hover {
    background-color: var(--neon-pink);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.6);
}

.header-call-btn, 
.calculate-btn,
button[type="submit"],
.notification-close,
.modal-content button {
    border-radius: 50px !important;
}

/* === ПЛАВАЮЩАЯ КНОПКА "ПОЗВОНИТЬ" (Только мобильные) === */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: rgba(10, 20, 40, 0.9);
    border: 2px solid var(--neon-blue);
    border-radius: 50%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    animation: pulse-blue 2s infinite;
    text-decoration: none;
    color: var(--neon-blue);
    font-size: 24px;
    backdrop-filter: blur(5px);
}

@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0); }
}

/* === ШАПКА === */
header {
    background: linear-gradient(to bottom, rgba(5, 5, 16, 1), rgba(5, 5, 16, 0.8));
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    font-size: 24px;
    color: var(--neon-blue);
    filter: drop-shadow(0 0 5px var(--neon-blue));
}

.logo-text {
    font-family: 'Exo 2', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text .neon-part { color: var(--neon-blue); }
.logo-text .normal-part { color: var(--text-light); }

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    text-transform: uppercase;
    position: relative;
}

nav a:hover {
    color: var(--neon-blue);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--neon-blue);
    transition: width 0.3s;
    box-shadow: 0 0 10px var(--neon-blue);
}

nav a:hover::after {
    width: 100%;
}

.header-call-btn {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.header-call-btn i {
    color: var(--neon-blue);
}

.header-call-btn:hover {
    background-color: rgba(0, 255, 255, 0.1);
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    border-radius: 50px;
}

/* === ГЛАВНЫЙ ЭКРАН === */
.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 25px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-gray);
    background: rgba(0,0,0,0.4);
    padding: 15px;
    border-radius: 15px;
    backdrop-filter: blur(2px);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

/* === СЕТКИ И КАРТОЧКИ === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.reviews-grid { 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    display: grid;
}

.service-card {
    padding: 35px 25px;
    transition: all 0.4s;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 15px;
}

.service-card:hover { 
    transform: translateY(-10px); 
    background-color: rgba(20, 30, 60, 0.8);
}

.service-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    font-size: 32px;
}

.service-card.neon-border-blue .service-icon-box { color: var(--neon-blue); border: 1px solid rgba(0, 255, 255, 0.3); }
.service-card.neon-border-pink .service-icon-box { color: var(--neon-pink); border: 1px solid rgba(255, 0, 255, 0.3); }

.service-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #fff;
}

.service-card p {
    color: var(--text-gray);
    font-size: 14px;
}

.reviews { background-color: rgba(0,0,0,0.3); }

.review-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    position: relative;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.review-author { font-weight: 700; color: var(--neon-blue); font-size: 16px; }
.review-stars { color: #ffd700; font-size: 14px; }
.review-text { font-style: italic; color: var(--text-gray); font-size: 14px; }

/* === КАЛЬКУЛЯТОР === */
.calculator { 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 40px; 
    background: rgba(10, 20, 40, 0.8); 
    border-radius: 15px;
    border: 2px dashed var(--neon-blue);
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.1),
        inset 0 0 20px rgba(0, 255, 255, 0.05);
    position: relative;
}

.calculator::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px dotted rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    pointer-events: none;
}

.calc-step { 
    margin-bottom: 30px; 
    position: relative;
}

.calc-step label { 
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--neon-blue);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

select, input, textarea {
    width: 100%;
    padding: 14px 15px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: 0.3s;
}

select:focus, input:focus {
    border-color: var(--neon-blue);
    outline: none;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.params-group { display: flex; gap: 15px; flex-wrap: wrap; }
.params-group input { flex: 1; min-width: 150px; border-radius: 10px; }

.calc-result { 
    text-align: center; 
    padding: 30px; 
    margin-top: 30px; 
    display: none;
    border: 1px solid var(--neon-pink);
    border-radius: 15px;
    background: rgba(255, 0, 255, 0.05);
    animation: fadeIn 0.5s ease;
}

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

#price { 
    font-size: 44px;
    color: var(--neon-pink);
    font-weight: bold;
    text-shadow: 0 0 3px var(--neon-pink);
    margin: 15px 0;
    display: block;
    letter-spacing: 1px;
    padding: 5px 0;
    line-height: 1;
}

.price-breakdown {
    text-align: left;
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    display: none;
}

.price-breakdown ul { list-style-type: none; }

.price-breakdown li {
    padding: 8px 0;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.price-breakdown li span:first-child { color: var(--text-gray); max-width: 70%; }
.price-breakdown li span:last-child { color: #fff; font-weight: 600; min-width: 30%; text-align: right; }

.price-breakdown li:last-child {
    border-top: 2px solid var(--neon-pink);
    margin-top: 10px;
    padding-top: 12px;
    border-bottom: none;
    font-weight: bold;
    color: var(--neon-pink);
}

/* === КОНТАКТЫ === */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-item { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.contact-icon {
    font-size: 20px; color: var(--neon-blue);
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.map-container {
    width: 100%;
    height: 400px;
    margin-top: 40px;
    border: 1px solid var(--neon-blue);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
    filter: grayscale(100%) invert(100%) contrast(90%);
}

.map-container iframe { width: 100%; height: 100%; border: 0; }

/* === ФУТЕР === */
footer {
    background-color: #020205;
    padding: 50px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-gray);
}

.footer-logo {
    font-family: 'Exo 2', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-logo .neon-part { 
    color: var(--neon-blue); 
    text-shadow: 0 0 5px var(--neon-blue), 0 0 20px var(--neon-blue);
}
.footer-logo .normal-part { 
    color: var(--text-light); 
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.policy-link {
    color: var(--neon-blue);
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    margin: 15px 10px 0;
    display: inline-block;
    transition: color 0.3s;
}

.policy-link:hover {
    color: var(--neon-pink);
}

/* === ЧЕКБОКС СОГЛАСИЯ === */
.consent-container {
    margin: 25px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.consent-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
    border-radius: 5px 0 0 5px;
    transition: all 0.3s ease;
}

.consent-container.error {
    border-color: var(--error-red) !important;
    animation: pulse-border 1s 3;
}

.consent-container.error::before {
    background: var(--error-red);
    box-shadow: 0 0 10px var(--error-red);
}

.consent-container.checked {
    border-color: var(--success-green) !important;
}

.consent-container.checked::before {
    background: var(--success-green);
    box-shadow: 0 0 10px var(--success-green);
}

.consent-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    margin-bottom: 10px;
}

.custom-checkbox {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 3px;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--neon-blue);
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

/* ИСПРАВЛЕННАЯ ГАЛОЧКА: Иконка Font Awesome вместо границ */
.checkmark::after {
    content: '\f00c'; /* Font Awesome check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    display: none;
    
    /* Центрирование */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    
    color: #00ff88;
    font-size: 14px;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.8);
    
    border: none;
    width: auto;
    height: auto;
}

.consent-checkbox-wrapper input:checked ~ .checkmark {
    background-color: rgba(0, 255, 0, 0.1);
    border-color: #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.consent-checkbox-wrapper input:checked ~ .checkmark::after {
    display: block;
}

.consent-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-gray);
    text-align: left;
}

.consent-text a {
    color: var(--neon-blue);
    text-decoration: underline;
    transition: color 0.3s;
}

.consent-text a:hover {
    color: var(--neon-pink);
}

.required-star {
    color: var(--error-red) !important;
    font-weight: bold;
    font-size: 18px;
}

#consentError {
    color: var(--error-red);
    font-size: 13px;
    margin-top: 8px;
    display: none;
    background: rgba(255, 51, 102, 0.1);
    padding: 8px 12px;
    border-radius: 5px;
    border-left: 3px solid var(--error-red);
}

.consent-checkbox-wrapper:has(input:checked) ~ #consentError {
    display: none !important;
}

/* === УВЕДОМЛЕНИЯ === */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: translateX(400px);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 300px;
    backdrop-filter: blur(10px);
    font-size: 14px;
}

.notification.show { transform: translateX(0); }

.notification-success {
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.notification-error {
    background: rgba(255, 51, 102, 0.15);
    border: 1px solid var(--error-red);
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.3);
    max-width: 280px;
}

.notification-warning {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid #ffc107;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.3);
    max-width: 320px;
}

.notification-icon { font-size: 18px; flex-shrink: 0; }
.notification-success .notification-icon { color: var(--neon-blue); }
.notification-error .notification-icon { color: var(--error-red); }
.notification-warning .notification-icon { color: #ffc107; }

.notification-content { flex-grow: 1; }
.notification-title { font-size: 14px; margin-bottom: 2px; font-family: 'Exo 2', sans-serif; }
.notification-message { font-size: 12px; opacity: 0.9; line-height: 1.3; }

.notification-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 50%;
}

.notification-close:hover { color: white; background: rgba(255, 255, 255, 0.2); }

/* === ФОРМА === */
.form-group { margin-bottom: 20px; position: relative; }

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--neon-blue);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    padding: 16px 50px 16px 20px !important;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.6);
}

.form-input.error { border-color: var(--error-red); box-shadow: 0 0 15px rgba(255, 51, 102, 0.2); animation: pulse-border 1s 3; }
.form-input.success { border-color: var(--success-green); box-shadow: 0 0 15px rgba(0, 255, 136, 0.2); }

.error-message {
    color: var(--error-red);
    font-size: 12px;
    margin-top: 5px;
    display: none;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* ГАЛОЧКИ ВАЛИДАЦИИ ФОРМЫ */
.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px !important;
    width: 16px;
    height: 16px;
    opacity: 0;
    transition: opacity 0.3s, color 0.3s;
    margin: 0 !important;
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.form-input.success + .input-icon { opacity: 1; color: var(--success-green); }
.form-input.error + .input-icon { opacity: 1; color: var(--error-red); }

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 51, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 51, 102, 0); }
}

/* === ИСПРАВЛЕННЫЕ МОДАЛЬНЫЕ ОКНА === */
.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 16, 0.85); /* Темный фон */
    backdrop-filter: blur(8px); /* Размытие заднего плана */
    
    align-items: center;
    justify-content: center;
    
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.modal.open {
    display: flex; /* Для центрирования */
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: linear-gradient(145deg, rgba(20, 30, 60, 0.95), rgba(10, 15, 30, 0.98));
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.15), inset 0 0 20px rgba(0, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 800px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Красивый скролл внутри модального окна */
.modal-content::-webkit-scrollbar { width: 6px; }
.modal-content::-webkit-scrollbar-thumb { background: var(--neon-pink); border-radius: 6px; }

.modal.open .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    color: var(--text-gray);
    font-size: 28px;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: var(--neon-blue);
    background: rgba(255,255,255,0.1);
    transform: rotate(90deg);
}

.modal-title {
    margin-bottom: 30px;
    color: var(--neon-blue);
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    padding-bottom: 15px;
}

.modal-section {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.1);
}

.modal-section h3 {
    color: var(--neon-pink);
    margin-bottom: 10px;
    font-size: 18px;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 992px) {
    .hero h1 { font-size: 36px; }
    nav a { font-size: 12px; }
    .notification { top: 80px; right: 10px; left: 10px; max-width: none; }
}

@media (max-width: 768px) {
    .mobile-call-btn { display: flex; } 
    nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0; right: 0;
        background-color: rgba(5, 5, 16, 0.98);
        padding: 20px;
        border-bottom: 1px solid var(--neon-blue);
        height: 100vh;
    }
    nav.active { display: block; }
    nav ul { flex-direction: column; align-items: center; gap: 30px; margin-top: 40px;}
    nav a { font-size: 18px; }
    .mobile-menu-btn { display: block; }
    .header-call-btn { display: none; } 
    .hero-buttons { flex-direction: column; }
    .hero { padding-top: 150px; }
    .calculator { padding: 20px; }
    .modal-content { padding: 25px; margin: 0; }
    .consent-container { padding: 15px; }
    .notification { top: 70px; padding: 10px 15px; font-size: 13px; }
    .footer-logo { font-size: 20px; }
    #price { font-size: 36px; padding: 5px 0; }
    .price-breakdown li { font-size: 13px; flex-direction: column; gap: 5px; }
    .price-breakdown li span:first-child { max-width: 100%; }
    .price-breakdown li span:last-child { min-width: 100%; text-align: left; }
    .form-input { padding: 14px 40px 14px 15px !important; }
    .input-icon { right: 12px; font-size: 14px !important; }
    #consentError { font-size: 11px; padding: 6px 10px; }
}
