/* ==================== ОБЩИЕ СТИЛИ ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2054d8;
    --secondary-color: #16337e;
    --accent-color: #f59e0b;
    --accent-warm: #ff6b45;
    --text-dark: #1a2133;
    --text-light: #64748b;
    --bg-light: #f6f7fb;
    --bg-white: #ffffff;
    --shadow: 0 10px 30px rgba(20, 30, 60, 0.08);
    --shadow-lg: 0 24px 64px rgba(20, 30, 60, 0.16);
    --radius-lg: 22px;
    --radius-md: 14px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: var(--font-display);
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== НАВИГАЦИЯ ==================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin-left: auto;
}

.nav-menu li {
    white-space: nowrap;
}

.nav-menu-max-item {
    display: none;
}

.nav-phones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    margin-left: 1.5rem;
}

.nav-phone-link {
    display: block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    line-height: 1.05;
    font-weight: 700;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-phone-link:hover {
    color: var(--secondary-color);
}

.nav-max-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 1rem;
    padding: 12px 22px;
    background: linear-gradient(135deg, #00d4ff, #7b68ee, #8b00ff);
    color: #fff !important;
    border-radius: 16px;
    text-decoration: none !important;
    font-weight: 700;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1;
    box-shadow: 0 4px 15px rgba(123, 104, 238, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-max-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(123, 104, 238, 0.35);
}

.nav-max-link span {
    text-decoration: none !important;
}

.nav-max-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.nav-max-icon svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ==================== HERO СЕКЦИЯ ==================== */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #10172b;
    background-image: url('images/hero-truck.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 900px 500px at 15% 20%, rgba(32, 84, 216, 0.35), transparent 60%),
        linear-gradient(
            180deg,
            rgba(11, 16, 32, 0.96) 0%,
            rgba(13, 20, 41, 0.86) 45%,
            rgba(11, 16, 32, 0.95) 100%
        );
    pointer-events: none;
}

.hero-badges {
    list-style: none;
    display: flex;
    gap: 2.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-badges li {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.92);
}

.hero-badges strong {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff, #bcd0ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-badges span {
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.8);
    margin-top: 0.2rem;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45), 0 8px 32px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

/* Анимации появления */
.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Индикатор прокрутки */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0;
    }
}

/* ==================== ПРЕИМУЩЕСТВА ==================== */

.advantages {
    padding: 4rem 0;
    background: var(--bg-white);
    margin-top: -3rem;
    position: relative;
    z-index: 20;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(32, 84, 216, 0.12), rgba(245, 158, 11, 0.14));
    color: var(--primary-color);
    transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.08) rotate(-4deg);
    background: linear-gradient(135deg, rgba(32, 84, 216, 0.18), rgba(245, 158, 11, 0.2));
}

.advantage-icon svg {
    width: 30px;
    height: 30px;
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.advantage-card p {
    color: var(--text-light);
}

/* ==================== СЕКЦИИ ==================== */

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* ==================== УСЛУГИ ==================== */

.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card--featured {
    border-color: rgba(255, 107, 69, 0.35);
    box-shadow: 0 14px 40px rgba(255, 107, 69, 0.14);
}

.service-card--featured:hover {
    box-shadow: 0 24px 64px rgba(255, 107, 69, 0.22);
}

.service-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 107, 69, 0.12);
    color: var(--accent-warm);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
}

.service-video-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
    padding: 0.7rem 1.3rem;
    border-radius: 999px;
    border: 1.5px solid rgba(32, 84, 216, 0.25);
    background: transparent;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.92rem;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.service-video-trigger:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.service-video-trigger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: currentColor;
    color: inherit;
    font-size: 0.6rem;
}

.service-video-trigger-icon::before {
    content: '▶';
    color: var(--bg-white);
    margin-left: 1px;
}

.service-video-trigger:not(:hover) .service-video-trigger-icon {
    background: rgba(32, 84, 216, 0.14);
}

.service-video-trigger:not(:hover) .service-video-trigger-icon::before {
    color: var(--primary-color);
}

.service-image {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.service-cover-area {
    height: 200px;
    position: relative;
    z-index: 1;
}

.service-cover-btn {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    cursor: pointer;
    position: relative;
    background: transparent;
    text-align: left;
}

.service-cover-btn--static {
    cursor: default;
}

.service-cover-btn.service-cover-btn--has-gallery {
    cursor: pointer;
}

.service-cover-btn.service-cover-btn--has-gallery::after {
    content: '▾';
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    font-size: 1.1rem;
    line-height: 38px;
    text-align: center;
    color: var(--primary-color);
    pointer-events: none;
    transition: transform 0.25s ease;
}

.service-cover-btn.service-cover-btn--has-gallery[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.service-cover-fallback {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.service-cover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.service-gallery-panel {
    padding: 0 1rem 1.25rem;
    background: var(--bg-white);
}

.service-gallery-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0 0 0.75rem;
    padding-top: 0.65rem;
    letter-spacing: 0.02em;
}

.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 0.55rem;
}

.service-gallery-thumb {
    padding: 0;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: var(--bg-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-gallery-thumb:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow);
}

.service-gallery-thumb:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.service-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.service-lightbox[hidden] {
    display: none !important;
}

.service-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.service-lightbox-inner {
    position: relative;
    z-index: 1;
    max-width: min(94vw, 1100px);
    max-height: 92vh;
}

.service-lightbox-img {
    max-width: 100%;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.service-lightbox-close {
    position: absolute;
    top: -2.75rem;
    right: 0;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.service-lightbox-close:hover {
    background: white;
}

@media (max-width: 600px) {
    .service-lightbox-close {
        top: auto;
        bottom: calc(100% + 0.5rem);
        right: 0;
    }
}

/* Видео-лайтбокс («Отделка помещений») */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.video-lightbox[hidden] {
    display: none !important;
}

.video-lightbox-inner {
    position: relative;
    z-index: 1;
    width: min(92vw, 420px);
}

.video-lightbox-video {
    width: 100%;
    max-height: 88vh;
    border-radius: var(--radius-lg);
    display: block;
    background: #000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ==================== О КОМПАНИИ ==================== */

.about {
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-cta {
    margin-top: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
}

/* ==================== ПРОЕКТЫ ==================== */

.projects {
    background: var(--bg-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.project-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.project-image {
    height: 300px;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.project-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    color: white;
    width: 100%;
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-overlay p {
    opacity: 0.9;
}

/* ==================== ПРОЦЕСС РАБОТЫ ==================== */

.process {
    position: relative;
    background-color: #0f172a;
    background-image: url('images/fon2.jpg');
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.97) 0%,
        rgba(15, 23, 42, 0.88) 45%,
        rgba(15, 23, 42, 0.94) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.process > .container {
    position: relative;
    z-index: 1;
}

.process .section-title {
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.process .section-subtitle {
    color: rgba(226, 232, 240, 0.95);
}

.process .process-step h3 {
    color: rgba(255, 255, 255, 0.98);
}

.process .process-step p {
    color: rgba(226, 232, 240, 0.92);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 2.5rem 3rem;
    position: relative;
    justify-items: center;
    max-width: 980px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
    transition: var(--transition);
}

.process-step:hover .process-number {
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
}

@media (min-width: 769px) {
    .process-timeline::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 12%;
        right: 12%;
        height: 2px;
        background: repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.35) 0 10px,
            transparent 10px 20px
        );
        z-index: 0;
    }

    .process-step {
        z-index: 1;
    }
}

/* ==================== ЧАСТЫЕ ВОПРОСЫ ==================== */

.faq {
    background: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.5rem;
    border: 1px solid transparent;
    transition: var(--transition);
}

.faq-item[open] {
    border-color: rgba(32, 84, 216, 0.18);
    background: var(--bg-white);
    box-shadow: var(--shadow);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.3rem 0;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(32, 84, 216, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 400;
    transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin-top: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ==================== КОНТАКТЫ ==================== */

.contact {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

/* Форма */
.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

/* ==================== ФУТЕР ==================== */

.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ==================== КНОПКА "НАВЕРХ" ==================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* ==================== АДАПТИВНОСТЬ ==================== */

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-phones {
        display: none;
    }

    .nav-max-link {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        gap: 0.6rem;
    }

    .logo {
        flex-shrink: 0;
    }

    .hero {
        background-position: 58% center;
    }

    .process {
        background-position: 58% center;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
        margin-left: 0.35rem;
        flex-shrink: 0;
    }

    .nav-phones {
        display: flex;
        order: 2;
        margin-left: auto;
        margin-right: 0;
        align-items: flex-end;
        gap: 2px;
    }

    .nav-phone-link {
        font-size: 0.86rem;
        line-height: 1.1;
        font-weight: 700;
        letter-spacing: 0;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu-max-item {
        display: block;
        width: 100%;
    }

    .nav-max-link--mobile {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        margin-left: 0;
        margin-top: 0.4rem;
        padding: 11px 16px;
        font-size: 14px;
        border-radius: 13px;
        gap: 9px;
        line-height: 1.15;
    }

    .nav-max-link--mobile .nav-max-icon {
        width: 24px;
        height: 24px;
    }

    .nav-max-link--mobile .nav-max-icon svg {
        width: 16px;
        height: 16px;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .hero-badges {
        gap: 1.4rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .hero-badges strong {
        font-size: 1.5rem;
    }

    .faq-item {
        padding: 0.9rem 1.1rem;
    }

    .faq-item summary {
        font-size: 0.98rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .logo span {
        display: none;
    }

    .logo img {
        height: 42px;
    }

    .nav-phone-link {
        font-size: 0.74rem;
        line-height: 1.05;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .nav-max-link--mobile {
        font-size: 13px;
        padding: 10px 14px;
        border-radius: 12px;
        gap: 8px;
    }

    .nav-max-link--mobile .nav-max-icon {
        width: 22px;
        height: 22px;
    }

    .nav-max-link--mobile .nav-max-icon svg {
        width: 15px;
        height: 15px;
    }
}