/* style.css */
:root {
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent: #2563eb;
    --accent-dark: #1d4ed8;
    --accent-light: #3b82f6;
    --placeholder: #e2e8f0;
    --border-radius: 12px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Анимации */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease-out,
        transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
    transition: var(--transition-smooth);
}
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: var(--transition-smooth);
}
.logo:hover {
    transform: scale(1.02);
}
.logo span {
    color: var(--accent);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 48px;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}
.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}
.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    background: rgba(37, 99, 235, 0.06);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 12px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 100;
}
.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-item {
    display: block;
    padding: 14px 18px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    margin-bottom: 4px;
}
.dropdown-item:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent);
    padding-left: 22px;
}
.dropdown-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 18px;
    margin-bottom: 4px;
}

.btn-header {
    padding: 14px 28px;
    background: var(--accent);
    color: white;
    font-weight: 700;
    font-size: 14px;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.btn-header:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

/* HERO */
.hero {
    padding: 180px 0 100px;
    background: url("тест баннер.png") center/cover no-repeat;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero-about {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(37, 99, 235, 0.72)), url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
}

.page-hero-outsourcing {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(37, 99, 235, 0.65)), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
}

.page-hero-fire {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(244, 63, 94, 0.65)), url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
}

.page-hero-sout {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(37, 99, 235, 0.65)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
}

.page-hero-medical {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(16, 185, 129, 0.65)), url('https://images.unsplash.com/photo-1579154204601-9f8f7a2c6b05?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
}

.page-hero-training {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(234, 179, 8, 0.65)), url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
}

.page-hero-electrical {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(249, 115, 22, 0.65)), url('https://images.unsplash.com/photo-1529429617124-0940f0a5c18f?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
}

.page-hero-ecology {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(34, 197, 94, 0.65)), url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
}

.page-hero-services {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(37, 99, 235, 0.65)), url('https://images.unsplash.com/photo-1504386106331-3e4e71712b38?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
}

.page-hero-contacts {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(59, 130, 246, 0.65)), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1.1fr) minmax(260px, 0.9fr);
    gap: 36px;
    align-items: center;
}
.hero-copy {
    text-align: left;
    max-width: 560px;
}
.hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.hero-visual img {
    width: 100%;
    max-width: 520px;
    border-radius: 28px;
    box-shadow: 0 24px 72px rgba(15, 23, 42, 0.16);
    object-fit: cover;
    height: auto;
    display: block;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}
.hero h1,
.page-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.hero h1 span {
    color: #93c5fd;
}
.hero-subtitle,
.page-hero p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-white {
    padding: 16px 32px;
    background: white;
    color: var(--accent);
    font-weight: 700;
    font-size: 15px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.btn-outline-white {
    padding: 16px 32px;
    background: transparent;
    color: white;
    font-weight: 700;
    font-size: 15px;
    border-radius: 10px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* SECTIONS */
.section {
    padding: 100px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 72px;
}
.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 20px;
}
.section-title {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-primary);
}
.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 500;
}

.text-block {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 800px;
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.page-services .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}
.service-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 32px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
    width: 100%;
}
.benefit-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 28px;
    padding: 32px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}
.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: var(--text-primary);
}
.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 36px 70px rgba(15, 23, 42, 0.12);
    border-color: rgba(37, 99, 235, 0.18);
}
.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(96, 165, 250, 0.95));
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.18);
}
.service-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.25;
}
.service-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 24px;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: gap 0.25s ease, border-color 0.25s ease;
}
.service-link:hover {
    gap: 14px;
    border-color: var(--accent);
}

.trust-marquee {
    overflow: hidden;
    background: rgba(248, 249, 251, 0.95);
    border-radius: 30px;
    padding: 24px 0;
    margin-top: 32px;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.trust-track {
    display: flex;
    gap: 18px;
    padding-left: 24px;
    animation: marquee 24s linear infinite;
}

.trust-item {
    flex: 0 0 auto;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    padding: 22px 28px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.06);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.license-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 28px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.06);
}

.license-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: 0 36px 70px rgba(15, 23, 42, 0.08);
}

.license-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

/* FEATURES & LISTS */
.feature-list {
    list-style: none;
    margin-top: 32px;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}
.feature-check {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}
.feature-text {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.6;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: start;
}

/* COUNTERS */
.counters {
    background: linear-gradient(135deg, #f1f5f9 0%, #e0e7ff 100%);
}
.counters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.counter-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: var(--transition-bounce);
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.counter-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.12);
}
.counter-number {
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(
        135deg,
        var(--text-primary) 0%,
        var(--accent) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}
.counter-suffix {
    font-size: 40px;
    font-weight: 800;
    color: var(--accent);
}
.counter-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* PROCESS */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.process-step {
    text-align: center;
    position: relative;
}
.process-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 32px;
    right: -24px;
    font-size: 24px;
    color: var(--accent);
    font-weight: 700;
}
.process-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 20px;
}
.process-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.process-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ */
.faq-container {
    max-width: 880px;
    margin: 0 auto;
}
.faq-item {
    background: var(--bg-page);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
}
.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.faq-question {
    width: 100%;
    padding: 28px 32px;
    background: none;
    border: none;
    text-align: left;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: "+";
    font-size: 28px;
    font-weight: 400;
    color: var(--accent);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}
.faq-item.active .faq-question {
    color: var(--accent);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.4s ease;
    padding: 0 32px;
}
.faq-item.active .faq-answer {
    max-height: 400px;
    padding-bottom: 28px;
}
.faq-answer p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    font-weight: 500;
}

/* CONTACTS FORM */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-info-item {
    margin-bottom: 32px;
}
.contact-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 8px;
}
.contact-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}
.contact-value a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.contact-value a:hover {
    color: var(--accent);
}

.form-group {
    margin-bottom: 24px;
}
.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.form-input,
.form-textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    transition: var(--transition-smooth);
    background: white;
}
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-textarea {
    min-height: 120px;
    resize: vertical;
}
.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--accent);
    color: white;
    font-weight: 700;
    font-size: 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition-bounce);
}
.btn-submit:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}
.form-note {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 16px;
    line-height: 1.5;
}

.map-frame-wrapper {
    margin-top: 32px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.map-frame {
    width: 100%;
    min-height: 320px;
    border: 0;
}

.photo-block {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.photo-block img,
.info-image,
.team-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.timeline-step {
    background: white;
    border-radius: 22px;
    padding: 28px 24px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.timeline-step strong {
    display: block;
    font-size: 26px;
    color: var(--accent);
    margin-bottom: 14px;
}

.timeline-step p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.team-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.team-card h3 {
    font-size: 20px;
    margin: 20px 24px 10px;
    color: var(--text-primary);
}

.team-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin: 0 24px 24px;
}

/* PLACEHOLDER & CTA */
.placeholder-block {
    background: var(--placeholder);
    border-radius: var(--border-radius);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 16px;
    border: 2px dashed #cbd5e1;
    margin: 40px 0;
}
.cta {
    background: linear-gradient(135deg, var(--text-primary) 0%, #1e293b 100%);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    color: white;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.15) 0%,
        transparent 60%
    );
}
.cta-content {
    position: relative;
    z-index: 1;
}
.cta h2 {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}
.cta p {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.btn-large {
    padding: 20px 48px;
    background: white;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: var(--transition-bounce);
    text-decoration: none;
    display: inline-block;
}
.btn-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* FOOTER */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 80px 0 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}
.footer-brand .logo {
    color: white;
    margin-bottom: 20px;
    display: inline-block;
}
.footer-text {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 24px;
}
.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-smooth);
}
.footer-links a:hover {
    color: white;
    padding-left: 4px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .process-step:not(:last-child)::after {
        display: none;
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .hero,
    .page-hero {
        padding: 140px 0 80px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        justify-content: center;
    }
    .hero-visual img {
        max-width: 100%;
        width: 100%;
    }
    .section {
        padding: 80px 0;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .counters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .grid-2,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .cta {
        margin: 0 16px 80px;
        padding: 60px 24px;
    }
}
/* =========================================
   МОБИЛЬНОЕ БУРГЕР-МЕНЮ
   ========================================= */

.burger {
    display: none; /* Скрыт на десктопе */
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Анимация крестика при открытии меню */
.burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Само мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    background: white;
    z-index: 1050;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    padding: 100px 32px 40px;
}

.mobile-menu.open {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-link {
    padding: 16px 0;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--accent);
}

/* Выпадающее подменю в мобильной версии */
.mobile-dropdown-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    text-align: left;
}

.mobile-arrow {
    font-size: 24px;
    font-weight: 400;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-arrow {
    transform: rotate(45deg);
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(37, 99, 235, 0.04);
    border-radius: 8px;
    margin-top: 8px;
}

.mobile-dropdown.active .mobile-dropdown-content {
    max-height: 500px;
    padding: 8px 0;
}

.mobile-sublink {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
}

.mobile-sublink:hover {
    color: var(--accent);
    background: rgba(37, 99, 235, 0.06);
    padding-left: 24px;
}

/* Затемнение фона при открытом меню */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Активация бургера на мобильных */
@media (max-width: 1024px) {
    .burger {
        display: flex;
    }
}
