/* =========================================
   🌐 1. RESET & NORMALIZE
   ========================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================================
   🎨 2. DESIGN TOKENS (Variables)
   Сохранены все оригинальные цвета и тени
   Добавлена система отступов
   ========================================= */
:root {
    /* Цвета (как в исходнике) */
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --primary-light: #86efac;
    --secondary: #3b82f6;
    --dark: #000000;
    --text: #000000;
    --text-light: #404040;
    --gray: #737373;
    --light-gray: #fafafa;
    --border: #e5e5e5;
    --white: #ffffff;

    /* Тени (как в исходнике) */
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);

    /* Система отступов (для удобства, не ломает дизайн) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
}

/* =========================================
   📱 3. BASE STYLES (Mobile First)
   База для 320px и выше
   ========================================= */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.5;
    color: var(--text);
    background: #f5f5f5;
    font-size: 16px;
    min-width: 320px;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--dark);
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

img, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

/* =========================================
   📦 4. UTILITIES & CONTAINER
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px; /* Mobile padding */
    width: 100%;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   🧭 5. NAVIGATION (Mobile First Fix)
   Исправлено: нет конфликтов, плавное открытие
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    padding: 12px 0;
}

.navbar.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    z-index: 1002;
}

.logo-icon {
    color: var(--primary);
}

/* Бургер-кнопка */
.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    position: relative;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 2.5px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Анимация бургера */
.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger-menu.active span:nth-child(2) {
    opacity: 0;
}
.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Мобильное меню (выезжает справа) */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 80%);
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    padding: 100px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: right 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

.nav-menu.active {
    right: 0;
}

.nav-menu a {
    font-size: 1.125rem;
    font-weight: 500;
    padding: 8px 0;
    display: block;
    color: var(--text);
}
.nav-menu a:hover {
    color: var(--primary);
}

/* Оверлей */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}
.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Десктопное меню */
@media (min-width: 1024px) {
    .burger-menu,
    .nav-overlay {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        background: transparent;
        box-shadow: none;
        flex-direction: row;
        align-items: center;
        gap: 40px;
        transition: none;
        overflow: visible;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 0;
    }
}

.nav-phone {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.875rem, 3vw, 1.125rem);
}

/* =========================================
   🦸 6. HERO SECTION (Сохранен гиф и градиент)
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 48px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(34, 197, 94, 0.25) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--dark);
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    color: var(--primary-dark);
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
    color: var(--dark);
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
    color: var(--text);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.stat-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}
.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.4s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }

.stat-number {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    color: var(--text);
}

/* =========================================
   🔘 7. BUTTONS (Стили как в оригинале)
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-height: 48px;
    min-width: 48px;
    text-align: center;
    border: 2px solid transparent;
    line-height: 1.2;
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark);
    border: 2px solid var(--dark);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: var(--dark);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* =========================================
   📋 8. COMPONENTS (Features, Services, Cards)
   Сохранена вся стилистика
   ========================================= */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--white);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid var(--border);
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    color: var(--dark);
}

/* Сетки */
.features-grid,
.services-grid,
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .features-grid,
    .services-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (min-width: 1024px) {
    .services-grid,
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Карточки Features */
.feature-card {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.feature-icon {
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: clamp(1.125rem, 3vw, 1.375rem);
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Карточки Services */
.service-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 1rem;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.service-card.featured {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.15);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.service-icon {
    color: var(--primary);
    margin-bottom: 20px;
}

.service-title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 15px;
    color: var(--dark);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-price {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* =========================================
   🖼️ 9. PORTFOLIO (Слайдер до/после сохранен)
   ========================================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-item {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.before-after-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    flex-shrink: 0;
}

.before-after-container {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: ew-resize;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.after-image {
    clip-path: inset(0 50% 0 0);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--white);
    cursor: ew-resize;
    transform: translateX(-50%);
    z-index: 10;
}

.slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary);
    transform: translateX(-50%);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.4);
    z-index: 11;
}

.slider-labels {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 5;
}

.label-before,
.label-after {
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.portfolio-info {
    padding: 24px;
    flex-grow: 1;
}

.portfolio-category {
    display: inline-block;
    background: var(--white);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid var(--border);
}

.portfolio-info h3 {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    margin-bottom: 10px;
    color: var(--dark);
}

.portfolio-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.portfolio-meta {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Адаптация слайдера на мобильных */
@media (max-width: 768px) {
    .slider-button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .slider-labels {
        padding: 0 10px;
    }
    .label-before,
    .label-after {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* =========================================
   ⚙️ 10. PROCESS & REVIEWS
   ========================================= */
.process-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-timeline {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-step {
    text-align: center;
    padding: 24px;
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(30px);
    height: 100%;
}

.process-step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.process-step:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 900;
    margin: 0 auto 20px;
}

.step-icon {
    color: var(--primary);
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin-bottom: 15px;
    color: var(--dark);
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.step-duration {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Reviews */
.review-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
    opacity: 0;
    transform: translateY(30px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-card h4 {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    margin-bottom: 5px;
    color: var(--dark);
}

.review-rating {
    display: flex;
    gap: 4px;
}

.review-rating svg {
    color: #fbbf24;
}

.review-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
    flex-grow: 1;
}

.review-project {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
}

/* =========================================
   📢 11. CTA & FOOTER
   ========================================= */
.cta {
    padding: 64px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 5vw, 3rem);
    margin-bottom: 20px;
    color: var(--white);
}

.cta-content p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary-dark);
}
.cta .btn-primary:hover {
    background: var(--dark);
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 48px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: clamp(1rem, 3vw, 1.125rem);
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-contacts,
.footer-links {
    list-style: none;
}

.footer-contacts li,
.footer-links li {
    margin-bottom: 12px;
}

.footer-contacts a,
.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.footer-contacts a:hover,
.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    font-size: 0.875rem;
}

/* =========================================
   🪟 12. MODAL
   ========================================= */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--white);
    padding: 32px;
    border-radius: 1.25rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.modal-close:hover {
    color: var(--dark);
}

.modal-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 30px;
    text-align: center;
    color: var(--dark);
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    min-height: 48px;
    color: var(--text);
    background: var(--white);
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.modal-form button {
    width: 100%;
}

/* =========================================
   🎯 13. SECTIONS & SPACING
   ========================================= */
.features,
.services,
.portfolio,
.process,
.reviews {
    padding: 64px 0;
}

@media (min-width: 768px) {
    .features,
    .services,
    .portfolio,
    .process,
    .reviews {
        padding: 100px 0;
    }
}

/* =========================================
   ♿ 14. ACCESSIBILITY & PRINT
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media print {
    .navbar,
    .modal,
    .btn,
    .footer-socials,
    .burger-menu,
    .nav-overlay {
        display: none !important;
    }
    body {
        font-size: 12pt;
        line-height: 1.5;
        background: white;
        color: black;
    }
    .container {
        max-width: 100%;
        padding: 0;
    }
}