/* ===== Tokens ===== */
:root {
    --bg: #ffffff;
    --ink: #0b0d12;
    --muted: #3b4551;
    --line: rgba(0, 0, 0, 0.06);
    --dark: #3d4064;
    --brand: darkblue;
    /* цвет кнопки и квадрата-логотипа */
    --radius: 22px;
    --max: 1240px;
    --shadow: 0 40px 80px rgba(0, 0, 0, 0.18);
}

/* Reset bits */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

html,
body {
    overflow-x: hidden;
    overflow-y: visible;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    color: var(--ink);
    background: #f7f8fb;
}

/* ===== Topbar ===== */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    /* полностью белый */
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    /* усилится при скролле JS-ом */
}

.topbar.scrolled {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.wrap {
    max-width: var(--max);
    margin-inline: auto;
    padding: 12px 22px;
    display: flex;
    justify-content: space-between;
    /* слева бренд, центр меню, справа CTA */
    align-items: center;
    gap: 12px;
    position: relative;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 800;
}

.brand img {
    display: block;
    max-height: 56px;
    width: auto;
}

.brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: white;
    display: inline-block;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.brand-text {
    font-size: clamp(18px, 2.4vw, 24px);
}

/* Menu (center) */
.menu {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: clamp(18px, 6vw, 64px);
}

.menu>a,
.menu-link.services-toggle {
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(16px, 1.8vw, 22px);
    font-family: inherit;
    line-height: 1;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}

.menu>a:hover,
.menu-link.services-toggle:hover {
    color: darkblue;
}

.menu-link.services-toggle:focus,
.menu-link.services-toggle:focus-visible,
.menu-link.services-toggle:active {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

/* dropdown */
.menu-item.has-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding-bottom: 18px;
    margin-bottom: -18px;
}

.arrow-icon {
    width: 10px;
    height: 6px;
    margin-left: 6px;
    flex: 0 0 auto;
    opacity: 0.75;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.arrow-icon path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* поворот при открытии */
.menu-item.open .arrow-icon {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(10px);
    min-width: 260px;
    /* светлый */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        visibility 0.22s ease;
}

.submenu a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--muted);
    font-weight: 700;
    font-size: 18px;
    transition: background 0.2s ease, color 0.2s ease;
}

.submenu a:hover {
    background: rgba(15, 23, 42, 0.06);
    color: darkblue;
}

/* desktop hover */
@media (min-width: 901px) {
    .menu-item.has-dropdown:hover .submenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .menu-item.has-dropdown:hover .arrow-icon {
        transform: rotate(180deg);
    }
}

.menu-item.open .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-10%) translateY(0);
    -webkit-transform: translateX(-10%) translateY(0);
    -moz-transform: translateX(-10%) translateY(0);
    -ms-transform: translateX(-10%) translateY(0);
    -o-transform: translateX(-10%) translateY(0);
}

/* CTA (right) */
.btn-quote {
    justify-self: end;
    padding: 12px 18px;
    background: darkblue;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(8, 9, 22, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-quote:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
}

/* Burger for mobile */
.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.nav-toggle:active {
    transform: scale(0.97);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #2d3440;
    margin: 5px 0;
    border-radius: 999px;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease,
        background 0.2s ease;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 10px);
        left: 12px;
        right: 12px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(8px);
        border: 1px solid #ddd;
        border-radius: 14px;
        /* расстояние между ссылками */
        padding: 20px;
        gap: 18px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
        z-index: 40;
    }

    .menu.active {
        display: flex;
    }

    .menu>a,
    .menu-link.services-toggle {
        text-decoration: none;
        color: #333;
        font-weight: 600;
        font-size: 18px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .menu>a:hover,
    .menu-link.services-toggle:hover {
        color: #000;
    }

    .menu-item {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .submenu {
        position: static;
        transform: none;
        min-width: 100%;
        width: 100%;
        margin-top: 10px;
        background: white;
        border-radius: 12px;
        border: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        padding: 10px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
    }

    .menu-item.open .submenu {
        display: block;
        transform: none;
    }

    .submenu a {
        display: block;
        padding: 10px 14px;
        text-decoration: none;
        color: #111;
        border-radius: 8px;
        font-weight: 500;
        font-size: 16px;
    }

    .submenu a:hover {
        background: #f3f4f6;
        color: #111;
    }

    .nav-toggle {
        display: block;
        justify-self: center;
    }

    .btn-quote {
        justify-self: end;
    }
}

/* layout helpers */
.container {
    max-width: var(--max);
    margin-inline: auto;
    padding: 24px 20px;
}

/* --- hero --- */
.hero {
    padding: 56px 0;
    background: linear-gradient(180deg, #fff, #fafbfc);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #f1f2f5;
    color: #444b57;
    font-weight: 800;
    border: 1px solid #e6e7eb;
}

.badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1e2a44;
}

.hero-title {
    margin: 18px 0 12px;
    font-size: clamp(40px, 6.5vw, 88px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: #0d0f14;
}

.hero-lead {
    font-size: clamp(16px, 1.6vw, 22px);
    color: #6b7585;
    max-width: 65ch;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin: 24px 0 18px;
    flex-wrap: wrap;
}
.hero-video {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0b1220;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 24s ease-in-out infinite alternate;
    -webkit-animation: heroZoom 24s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(8, 12, 22, 0.78) 0%,
            rgba(8, 12, 22, 0.58) 38%,
            rgba(8, 12, 22, 0.38) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-video .hero-grid {
    grid-template-columns: 1fr;
}

.hero-video .hero-copy {
    max-width: 760px;
}

.hero-video .badge {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-video .badge .dot {
    background: #fff;
}

.hero-video .hero-title {
    color: #fff;
}

.hero-video .hero-lead {
    color: rgba(255, 255, 255, 0.82);
}

.hero-video .hero-divider {
    background: rgba(255, 255, 255, 0.14);
}

.hero-video .stat .num {
    color: #fff;
}

.hero-video .stat .label {
    color: rgba(255, 255, 255, 0.72);
}

.hero-video .btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

.hero-video .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hero-video .play {
    background: rgba(255, 255, 255, 0.18);
}

.hero-video .play svg {
    fill: #fff;
}
/* кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 800;
    border: 1px solid #e6e7eb;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* плавная анимация */
    -webkit-transition: transform 0.2s ease, box-shadow 0.2s ease;
    -moz-transition: transform 0.2s ease, box-shadow 0.2s ease;
    -ms-transition: transform 0.2s ease, box-shadow 0.2s ease;
    -o-transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* чуть уменьшается при нажатии */
.btn:hover {
    color: white;
    background-color: darkblue;
    transform: scale(1.05);
    /* увеличиваем кнопку на 5% */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    /* лёгкая тень для объёма */
}

.btn:active {
    transform: scale(0.97);
}

/* лёгкое уменьшение при клике */
.btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.btn-primary {
    background: #0b0b17;
    color: #fff;
}

.btn-ghost {
    background: #fff;
    color: #0b0d12;
}

.play {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0b0b17;
}

.play svg {
    width: 10px;
    height: 10px;
    fill: #fff;
    transform: translateX(1px);
}

.hero-divider {
    border: 0;
    height: 1px;
    background: #e9eaee;
    margin: 10px 0 20px;
}

.stats {
    display: flex;
    gap: min(7vw, 60px);
    flex-wrap: wrap;
}

.stat .num {
    font-size: clamp(22px, 3.2vw, 36px);
    font-weight: 900;
    color: #0d0f14;
}

.stat .label {
    color: #7a8391;
}

/* image card */
.hero-art {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid #eceef2;
}

.hero-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/10;
}

/* responsive */
@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* section equitment */
/* === Section Headline === */
.section {
    padding: 60px 20px;
}

.section-header {
    display: grid;
    gap: 14px;
    justify-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* бейдж */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    background: #f2f3f5;
    color: #444b57;
}

.badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1e2a44;
}

/* заголовок */
.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #111;
    margin: 0;
}

/* подзаголовок */
.section-subtitle {
    color: #6b7585;
    font-size: 18px;
    line-height: 1.5;
    max-width: 65ch;
}

/* Grid */
.grid-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* Card */
.product-card {
    background: #fff;
    border: 1px solid #e9eaee;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    /* общая колонка */
    flex-direction: column;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.14);
    border-color: rgba(0, 0, 139, 0.18);
}

.product-card:hover .pc-media img {
    transform: scale(1.05);
}

.pc-media {
    overflow: hidden;
}

.pc-media img {
    transition: transform 0.4s ease;
}

.product-card:hover .pc-title {
    color: darkblue;
}

.pc-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    background: #f4f5f7;
    color: #222;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #e6e7eb;
}

.pc-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.pc-body {
    display: flex;
    /* колонка для контента */
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    flex: 1;
    /* растягиваем, чтобы cta ушёл вниз */
}

.pc-title {
    font-size: 22px;
    margin: 6px 0 0;
    line-height: 1.25;
}

.pc-meta {
    color: #3c4251;
    font-weight: 600;
}

.pc-desc {
    color: #6f7785;
}

.pc-features {
    padding-left: 18px;
    color: #7d8592;
    display: grid;
    gap: 6px;
}

.pc-features li {
    list-style: disc;
}

/* CTA block — всегда внизу */
.pc-cta {
    margin-top: auto;
    /* волшебство: прижимает к низу */
    display: flex;
    justify-content: center;
    padding-top: 12px;
}

/* Button style */
.btn-ghost-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid #dcdfe6;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-weight: 800;
    width: 100%;
    /* одинаковая ширина */
    max-width: 320px;
    /* и ограничение, чтобы выглядело аккуратно */
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-ghost-outline:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.btn-ghost-outline:active {
    transform: scale(0.98);
}

/* Responsive */
@media (max-width: 1100px) {
    .grid-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .grid-products {
        grid-template-columns: 1fr;
    }

    .pc-media img {
        height: 200px;
    }
}

/* бегущая строка */
/* Partners / Brands */
.partners {
    background: #ffffff;
    /* чисто белый фон */
    padding: 90px 0;
}

.partners-head {
    text-align: center;
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.partners-title {
    margin: 0;
    font-size: clamp(30px, 4vw, 52px);
    letter-spacing: -0.02em;
}

.partners-subtitle {
    margin: 0;
    color: #7a8391;
    font-size: 18px;
}

/* текстовый блок */
.partners-text {
    max-width: 920px;
    margin: 0 auto 34px;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.7;
}

.partners-text p {
    margin: 0 0 14px;
}

/* marquee */
.brands-marquee {
    position: relative;
    height: 140px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.brands-marquee::before,
.brands-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 160px;
    z-index: 2;
    pointer-events: none;
}

.brands-marquee::before {
    left: 0;
    background: linear-gradient(to right, #fff 25%, transparent);
}

.brands-marquee::after {
    right: 0;
    background: linear-gradient(to left, #fff 25%, transparent);
}

.brands-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: brands-scroll 28s linear infinite;
}

.brands-group {
    display: flex;
    align-items: center;
    gap: 90px;
    padding-right: 90px;
}

/* одинаковая ячейка под любой логотип */
.brand-item {
    width: 200px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item img {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.88;
    filter: grayscale(100%);
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.brand-item img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}


@keyframes brands-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* меньше анимаций — для доступности */
@media (prefers-reduced-motion: reduce) {
    .brands-track {
        animation: none;
    }
}

/* адаптив */
@media (max-width: 700px) {
    .partners-text {
        font-size: 16px;
    }

    .brands-marquee {
        height: 120px;
    }

    .brand-item {
        width: 160px;
        height: 60px;
    }

    .brand-item img {
        max-height: 40px;
    }

    .brands-group {
        gap: 60px;
        padding-right: 60px;
    }
}

/* footer */
.footer {
    background: #0f1629;
    color: #9ca3af;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr;
    gap: 40px;
}

/* titles */
.footer-title {
    font-size: 24px;
    margin-bottom: 12px;
    color: #ffffff;
}

.footer-heading {
    font-size: 18px;
    margin-bottom: 14px;
    color: #ffffff;
}

/* text */
.footer-text {
    color: #9ca3af;
    line-height: 1.6;
    max-width: 380px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.footer-list li {
    color: #d1d5db;
    line-height: 1.5;
}

.footer-list a {
    color: #e5e7eb;
    text-decoration: none;
}

.footer-list a:hover {
    text-decoration: underline;
}

.footer-list address {
    font-style: normal;
    color: #d1d5db;
}

.label {
    display: block;
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 2px;
}

/* bottom bar */
.footer-bottom {
    margin-top: 50px;
    padding: 22px 0;
    /* вертикаль */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

/* подпись */
.footer-credit {
    font-size: 13px;
    color: #9ca3af;
    white-space: nowrap;
}

.footer-credit span {
    color: #e5e7eb;
    font-weight: 600;
}

/* responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* адаптив — на мобильных в столбик */
@media (max-width: 600px) {
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (min-width: 1400px) {
    .footer-bottom-inner {
        padding: 0 40px;
    }
}

/* About */
.about {
    background: #ffffff;
    padding: 90px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: start;
}

.about-title {
    margin: 16px 0 10px;
    font-size: clamp(28px, 3.6vw, 46px);
    letter-spacing: -0.02em;
    line-height: 1.08;
    color: #0b0d12;
}

.about-lead {
    margin: 0 0 18px;
    color: #6b7585;
    font-size: 18px;
    line-height: 1.7;
    max-width: 70ch;
}

.about-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 12px;
}

.about-block {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.about-block h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #0b0d12;
}

.about-block p {
    margin: 0;
    color: #4b5563;
    line-height: 1.65;
    font-size: 15px;
}

.about-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.about-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 110px;
    /* красиво при скролле, если хедер фиксированный */
}

.about-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
    color: #0b0d12;
}

.about-list {
    margin: 0;
    padding-left: 18px;
    color: #4b5563;
    display: grid;
    gap: 10px;
    line-height: 1.6;
}

.about-note {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: #6b7585;
    line-height: 1.6;
    font-size: 14px;
}

@media (max-width: 980px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-blocks {
        grid-template-columns: 1fr;
    }

    .about-card {
        position: static;
    }
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    width: 24px;
    height: 2px;
    background: #111;
    display: block;
}

@media (max-width: 900px) {
    .burger {
        display: flex;
    }
}

/* ===== CONTACT PAGE ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.contact-intro {
    max-width: 980px;
    margin: 0 auto;
}

.contact-title {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    margin: 14px 0 10px;
    letter-spacing: -0.02em;
}

.contact-lead {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
    max-width: 78ch;
}

.contact-quick {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.quick-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
}

.quick-card h3 {
    margin: 0 0 6px;
    font-size: 14px;
    color: var(--ink);
}

.quick-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.quick-card a {
    color: var(--ink);
    text-decoration: none;
}

.quick-card a:hover {
    text-decoration: underline;
}

/* ===== FORM CARD ===== */
.form-card {
    max-width: 980px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.06);
}

.form-head h2 {
    margin: 0 0 6px;
    font-size: 26px;
}

.form-head p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.6;
}

.quote-form .field {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.quote-form label {
    font-weight: 600;
    color: var(--ink);
}

.quote-form input,
.quote-form textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.03);
    border-radius: 14px;
    padding: 14px 14px;
    font: inherit;
    outline: none;
}

.quote-form input:focus,
.quote-form textarea:focus {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.18);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-submit {
    width: 100%;
    margin-top: 10px;
    height: 56px;
    border: 0;
    border-radius: 16px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.form-submit:hover {
    filter: brightness(1.02);
}

.form-submit:active {
    transform: scale(0.99);
}

.form-footnote {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.form-footnote a {
    color: var(--ink);
    text-decoration: none;
}

.form-footnote a:hover {
    text-decoration: underline;
}

.error {
    color: #b42318;
    font-size: 12px;
    min-height: 14px;
}

.form-success {
    margin-top: 12px;
    text-align: center;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-quick {
        grid-template-columns: 1fr;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

.service-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cta-band {
    padding-top: 0;
}

.cta-box {
    background: #111827;
    color: #fff;
    border-radius: 24px;
    padding: 40px 28px;
    text-align: center;
}

.cta-box h2 {
    margin-bottom: 12px;
}

.cta-box p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.map-wrap iframe {
    border-radius: 20px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-list details {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 16px 18px;
    background: #fff;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 600;
}

.faq-list p {
    margin-top: 12px;
}

.contact-form {
    max-width: 900px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    padding: 14px 16px;
    font: inherit;
}

.contact-form button {
    margin-top: 16px;
}

@media (max-width: 900px) {

    .service-grid-3,
    .gallery-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 220px;
    }
}

.review-card .review-stars {
    font-size: 18px;
    line-height: 1;
    margin-bottom: 12px;
}

.review-card .review-meta {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 14px;
}

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
}

.review-stars span {
    color: #f5b301;
    font-size: 20px;
    line-height: 1;
}
@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

/*секции о компании */

.service-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .service-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .service-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Баннер */

.cta-visual-banner {
    padding: 24px 0;
}

.cta-banner-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 5px;
    overflow: hidden;
    background-image: url("images/adamant-banner-tech.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #07101f;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.cta-banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% center;
    z-index: 0;
}

.cta-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(8, 12, 28, 0.82) 0%, rgba(8, 12, 28, 0.62) 38%, rgba(8, 12, 28, 0.28) 62%, rgba(8, 12, 28, 0.18) 100%);
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.cta-banner-copy {
    max-width: 620px;
    color: #fff;
}

.cta-banner-badge {
    margin-bottom: 24px;
    border: 1px solid rgba(130, 92, 255, 0.55);
    background: rgba(22, 26, 44, 0.35);
    backdrop-filter: blur(10px);
    color: #fff;
}

.cta-banner-title {
    margin: 0 0 20px;
    font-size: clamp(48px, 7vw, 88px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}

.cta-banner-line {
    width: 88px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #6a3df0 0%, #8f68ff 100%);
    margin-bottom: 24px;
}

.cta-banner-text {
    margin: 0 0 20px;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.95);
}

.cta-banner-services {
    margin: 0 0 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 15px;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.9);
}

.cta-banner-services span {
    color: #8f68ff;
    font-weight: 700;
}

.cta-banner-btn {
    min-width: 220px;
    justify-content: center;
    background: linear-gradient(135deg, #5b2dd1 0%, #7d52ff 100%);
    box-shadow: 0 14px 34px rgba(91, 45, 209, 0.35);
}

/* Tablet */
@media (max-width: 1100px) {

    .cta-banner-box,
    .cta-banner-content {
        min-height: 560px;
    }

    .cta-banner-image {
        object-position: 72% center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .cta-visual-banner {
        padding: 16px 0;
    }

    .cta-banner-box,
    .cta-banner-content {
        min-height: 500px;
        border-radius: 24px;
    }

    .cta-banner-image {
        object-position: 78% center;
    }

    .cta-banner-overlay {
        background:
            linear-gradient(180deg, rgba(8, 12, 28, 0.78) 0%, rgba(8, 12, 28, 0.56) 45%, rgba(8, 12, 28, 0.72) 100%);
    }

    .cta-banner-copy {
        max-width: 100%;
        padding: 32px 0;
    }

    .cta-banner-title {
        font-size: 52px;
    }

    .cta-banner-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 480px) {

    .cta-banner-box,
    .cta-banner-content {
        min-height: 440px;
    }

    .cta-banner-title {
        font-size: 42px;
    }

    .cta-banner-text {
        font-size: 20px;
    }

    .cta-banner-services {
        font-size: 13px;
        gap: 8px 10px;
    }
}