/* ===== ОСНОВНЫЕ СТИЛИ ===== */
:root {
    --primary-color: #0a0a0a;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #1a1a1a;
    --dark-color: #0c0c0c;
    --text-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #000;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ОБЩИЕ СТИЛИ ДЛЯ АДАПТИВНЫХ ИЗОБРАЖЕНИЙ */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== ШАПКА ХИДЕР HEADER ===== */
header {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(80, 80, 80, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: auto;
    margin-left: 0;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #b0b0b0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
}

nav ul li a:hover {
    color: #fff;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== ГЛАВНЫЙ БАННЕР MAIN BANNER ===== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/IMG/remont_computerov_sakhalin.jpg') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(20, 20, 20, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 20, 20, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    pointer-events: none;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(200, 200, 200, 0.7);
    border-radius: 50%;
    animation: float 6s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(20px);
        opacity: 0;
    }
}

.pulse-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px 1px rgba(255, 255, 255, 0.2);
    animation: pulse 4s infinite;
}
@keyframes pulse {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
    100% {
        opacity: 0;
        transform: scaleX(0);
    }
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #fff, #888, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #a0a0a0;
}

.btn {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 12px 30px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover {
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn:hover::before {
    left: 100%;
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

/* ===== ОСНОВНОЕ СОДЕРЖАНИЕ ===== */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    color: #fff;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.section-title p {
    color: #b0b0b0;
    font-size: 1.1rem;
    margin-top: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== УСЛУГИ ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border: 1px solid rgba(80, 80, 80, 0.3);
    backdrop-filter: blur(5px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(100, 100, 100, 0.5);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

.service-card p {
    margin-bottom: 15px;
    color: #b0b0b0;
}

.service-price {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* ===== СТИЛИ СРОЧНОЙ ЗАЯВКИ ===== */
.emergency-order {
    background: #0a0a0a;
    padding: 80px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.emergency-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.emergency-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: rgba(255,255,255,0.05);
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: #3498db;
    transform: translateX(10px);
}
.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.feature-text p {
    color: #b0b0b0;
    margin: 0;
    font-size: 1rem;
}

.emergency-form {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border: 1px solid #333;
}

.form-row {
    margin-bottom: 25px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #7f8c8d;
    z-index: 2;
}

.emergency-form input,
.emergency-form select,
.emergency-form textarea {
    width: 100%;
    padding: 15px 15px 15px 50px;
    background: rgba(0,0,0,0.7);
    border: 1px solid #444;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.emergency-form input:focus,
.emergency-form select:focus,
.emergency-form textarea:focus {
    border-color: #3498db;
    outline: none;
}

.emergency-form textarea {
    height: 120px;
    resize: vertical;
}

.emergency-form input::placeholder,
.emergency-form textarea::placeholder {
    color: #888;
}

.emergency-btn {
    width: 100%;
    background: #e74c3c;
    border: none;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages {
    background-color: var(--light-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(30, 30, 30, 0.7);
    border-radius: 0;
    border: 1px solid rgba(80, 80, 80, 0.3);
    backdrop-filter: blur(5px);
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
    border-color: rgba(100, 100, 100, 0.5);
}

.advantage-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.advantage-item p {
    color: #b0b0b0;
}

/* ===== ЦЕНЫ ===== */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid rgba(80, 80, 80, 0.3);
    backdrop-filter: blur(5px);
}

.pricing-card:hover {
    transform: scale(1.03);
    border-color: rgba(100, 100, 100, 0.5);
}

.pricing-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    border-bottom: 1px solid rgba(80, 80, 80, 0.3);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
}

.pricing-body {
    padding: 30px 20px;
}

.pricing-body ul {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-body ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(80, 80, 80, 0.3);
    color: #b0b0b0;
}

.pricing-body ul li:last-child {
    border-bottom: none;
}

/* ===== СЛАЙДЕР ОТЗЫВОВ ===== */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.slider-wrapper {
    position: relative;
    min-height: 300px;
}

.testimonial-item {
    display: none;
    background-color: rgba(30, 30, 30, 0.7);
    padding: 30px;
    border-radius: 0;
    box-shadow: var(--shadow);
    border: 1px solid rgba(80, 80, 80, 0.3);
    backdrop-filter: blur(5px);
    width: 100%;
}

.testimonial-item.active {
    display: block;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #b0b0b0;
    line-height: 1.6;
}
.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
}

.author-info p {
    color: #b0b0b0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.slider-prev,
.slider-next {
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(80, 80, 80, 0.3);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 0;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--secondary-color);
}

/* ===== СТИЛИ КОНТАКТОВ ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 15px;
    min-width: 30px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(80, 80, 80, 0.5);
    border-radius: 0;
    font-family: inherit;
    background: rgba(30, 30, 30, 0.7);
    color: #fff;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* ===== ФУТЕР ===== */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(80, 80, 80, 0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #fff;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #b0b0b0;
}

/* ===== СТИЛИ ДЛЯ EMAILJS ===== */
.form-message {
    padding: 10px;
    border-radius: 0;
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: rgba(212, 237, 218, 0.2);
    color: #8bc34a;
    border: 1px solid rgba(195, 230, 203, 0.3);
    display: block;
}

.form-message.error {
    background-color: rgba(248, 215, 218, 0.2);
    color: #f44336;
    border: 1px solid rgba(245, 198, 203, 0.3);
    display: block;
}

.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦ УСЛУГ ===== */
.service-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/IMG/baner-remont-noutbukov.webp') no-repeat center center/cover;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.service-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}
.service-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* СЕТКА БРЕНДОВ */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.brand-category {
    background: rgba(40, 40, 40, 0.7);
    border: 1px solid rgba(80, 80, 80, 0.3);
    padding: 25px;
    transition: all 0.3s ease;
}

.brand-category:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.brand-header {
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.brand-header strong {
    color: #fff;
    font-size: 1.2rem;
}

.brand-models {
    color: var(--text-color);
    line-height: 1.6;
}

/* СЕТКА ПРЕИМУЩЕСТВ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.feature-item {
    text-align: center;
    padding: 25px;
    background: rgba(40, 40, 40, 0.7);
    border: 1px solid rgba(80, 80, 80, 0.3);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-item h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.feature-item p {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* СЕТКА ПРОБЛЕМ */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.problem-card {
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(80, 80, 80, 0.3);
    padding: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.problem-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.problem-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.problem-icon {
    font-size: 2rem;
    margin-right: 15px;
}

/* ПРОЦЕСС РЕМОНТА */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
}

.process-step {
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(80, 80, 80, 0.3);
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
    backdrop-filter: blur(5px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background: var(--accent-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* ТАБЛИЦА ЦЕН */
.price-detail-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: rgba(30, 30, 30, 0.7);
}

.price-detail-table th,
.price-detail-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(80, 80, 80, 0.3);
}

.price-detail-table th {
    background: rgba(40, 40, 40, 0.9);
    color: var(--secondary-color);
}

.price-detail-table tr:hover {
    background: rgba(50, 50, 50, 0.3);
}

/* ГАРАНТИЙНЫЙ БЛОК */
.guarantee-card {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(231, 76, 60, 0.1));
    border: 1px solid var(--secondary-color);
    padding: 30px;
    text-align: center;
    margin: 40px 0;
    backdrop-filter: blur(5px);
}

/* ЮРИДИЧЕСКОЕ ПРИМЕЧАНИЕ */
.legal-notice {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(80, 80, 80, 0.3);
}

.legal-notice small {
    color: var(--text-color);
    font-size: 0.85rem;
}

/* СТИЛИ COOKIE */
.cookie-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(80, 80, 80, 0.5);
    padding: 20px;
    border-radius: 0;
    backdrop-filter: blur(10px);
    z-index: 10000;
    max-width: 500px;
    display: none;
}
.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.4;
}

.cookie-content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.cookie-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    flex-shrink: 0;
    transition: background 0.3s;
}

.cookie-btn:hover {
    background: #2980b9;
}

/* СТИЛИ ДЛЯ ЧЕКБОКСА КОНФИДЕНЦИАЛЬНОСТИ */
.privacy-checkbox {
    margin: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #b0b0b0;
    line-height: 1.4;
}

.privacy-checkbox input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.privacy-checkbox label {
    flex: 1;
    text-align: left;
}

.privacy-checkbox a {
    color: #b0b0b0;
    text-decoration: underline;
}

.privacy-checkbox a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: var(--shadow);
        backdrop-filter: blur(10px);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 10px 0;
    }

    .hero {
        padding: 60px 0 !important;
        height: auto;
    }

    section {
        padding: 60px 0;
    }

    .container {
        width: 95%;
        padding: 0 15px;
    }

    .hero h2 {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
        margin-bottom: 20px !important;
        padding: 0 10px !important;
        word-wrap: break-word !important;
    }

    .hero p {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        margin-bottom: 30px !important;
        padding: 0 10px !important;
    }

    .btn {
        display: block !important;
        margin: 12px auto !important;
        width: 90% !important;
        max-width: 280px !important;
        padding: 16px 20px !important;
        font-size: 1.1rem !important;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-notification {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    /* АДАПТИВНОСТЬ ДЛЯ СРОЧНОЙ ЗАЯВКИ */
    .emergency-order {
        padding: 60px 0;
    }
    
    .emergency-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .emergency-form {
        padding: 25px;
    }
    
    .feature-box {
        padding: 20px;
        flex-direction: row;
        text-align: left;
        gap: 15px;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-text h4 {
        font-size: 1.2rem;
    }
    
    .emergency-features {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.4rem !important;
    }

    .hero p {
        font-size: 0.95rem !important;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .service-card-content {
        padding: 15px;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }
/* АДАПТИВНОСТЬ ДЛЯ СРОЧНОЙ ЗАЯВКИ */
    .emergency-order {
        padding: 50px 0;
    }
    
    .emergency-form {
        padding: 20px;
    }
    
    .feature-box {
        padding: 15px;
        gap: 12px;
    }
    
    .feature-icon {
        font-size: 1.8rem;
    }
    
    .feature-text h4 {
        font-size: 1.1rem;
    }
    
    .emergency-form input,
    .emergency-form select,
    .emergency-form textarea {
        padding: 12px 12px 12px 45px;
    }
    
    .emergency-btn {
        padding: 16px;
        font-size: 1rem;
    }
}

@media (max-width: 1280px) and (min-width: 769px) {
    .container {
        width: 95%;
        max-width: 1100px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        height: 80vh;
    }

    /* АДАПТИВНОСТЬ ДЛЯ СРОЧНОЙ ЗАЯВКИ */
    .emergency-content {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 800px;
    }
    
    .emergency-features {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .feature-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    
    .feature-icon {
        font-size: 2.2rem;
    }
    
    .feature-text h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .emergency-features {
        grid-template-columns: 1fr;
    }
}

/* Улучшение производительности */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* БЕЛЫЙ ТЕКСТ ДЛЯ ОФЕРТЫ */
html body section.oferta-content {
    color: white !important;
}

html body section.oferta-content * {
    color: inherit !important;
}