:root {
    --blue-980: #050c16;
    --blue-950: #091525;
    --blue-920: #0d1f34;
    --blue-900: #112945;
    --blue-800: #183a61;
    --steel: #8ea3b8;
    --cyan: #63d4ff;
    --cyan-soft: rgba(99, 212, 255, .18);
    --orange: #f08c1b;
    --orange-dark: #cc6d08;
    --white: #ffffff;
    --bg: #edf3f8;
    --bg-alt: #dfe8f2;
    --text: #182538;
    --muted: #5f738b;
    --line: #d4e0ec;
    --line-strong: rgba(24,58,97,.18);
    --radius: 22px;
    --radius-sm: 18px;
    --shadow: 0 18px 44px rgba(5, 12, 22, 0.12);
    --shadow-strong: 0 24px 60px rgba(5, 12, 22, 0.22);
    --max: 1180px;
    --header-height: 110px;
    --sticky-bottom: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

main[id],
section[id] {
    scroll-margin-top: var(--header-height);
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(99,212,255,.08), transparent 28%),
        linear-gradient(180deg, #f4f8fc 0%, var(--bg) 55%, #e6eef6 100%);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(calc(100% - 28px), var(--max));
    margin: 0 auto;
}

.topbar {
    background:
        linear-gradient(90deg, rgba(5,12,22,.96), rgba(17,41,69,.96)),
        var(--blue-950);
    color: rgba(255,255,255,.84);
    font-size: 13px;
    border-bottom: 1px solid rgba(99,212,255,.14);
}

.topbar .container {
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 21, 37, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    width: 100px;
    height: 80px;
    object-fit: contain;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    flex: 0 0 auto;
}

.brand-text {
    color: white;
    min-width: 0;
}

.brand-text strong {
    display: block;
    font-size: 16px;
    line-height: 1.05;
    letter-spacing: .01em;
}

.brand-text span {
    display: block;
    margin-top: 2px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
}

.nav-toggle {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(99,212,255,.18);
    background: rgba(255,255,255,.05);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    cursor: pointer;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 22px;
    color: white;
}

.desktop-nav a {
    font-weight: 700;
    font-size: 15px;
    color: rgba(255,255,255,.86);
    transition: .2s ease;
}

.desktop-nav a:hover {
    color: var(--cyan);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: .2s ease;
    text-align: center;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(180deg, #ffa73c, var(--orange));
    color: white;
    box-shadow: 0 12px 26px rgba(240, 140, 27, .28);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #ff9a20, var(--orange-dark));
}

.btn-secondary {
    background: rgba(255,255,255,.06);
    color: white;
    border: 1px solid rgba(99,212,255,.2);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.btn-light {
    background: white;
    color: var(--blue-900);
    border: 1px solid var(--line);
}

.mobile-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    background:
        linear-gradient(180deg, rgba(5,12,22,.98), rgba(9,21,37,.98)),
        var(--blue-950);
    padding: 28px 14px calc(18px + env(safe-area-inset-bottom));
    display: none;
    z-index: 90;
    overflow-y: auto;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu-inner {
    display: grid;
    gap: 12px;
}

.mobile-link {
    display: block;
    padding: 15px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,.04);
    color: white;
    font-weight: 700;
    border: 1px solid rgba(99,212,255,.12);
}

.hero {
    position: relative;
    overflow: hidden;
    color: white;
    background:
        linear-gradient(180deg, rgba(5,12,22,.72) 0%, rgba(9,21,37,.62) 36%, rgba(5,12,22,.88) 100%),
        url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?auto=format&fit=crop&w=1800&q=80') center/cover;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(240,140,27,.22), transparent 22%),
        radial-gradient(circle at left center, rgba(99,212,255,.12), transparent 26%),
        linear-gradient(180deg, rgba(255,255,255,.03), transparent 40%);
    pointer-events: none;
}

.hero::after {
    display: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding: 10px 0 20px;
}

.hero-content {
    width: 100%;
    max-width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(6,17,29,.54);
    border: 1px solid rgba(99,212,255,.18);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: inset 0 0 20px rgba(99,212,255,.08);
}

h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 8.6vw, 64px);
    line-height: 1.02;
    letter-spacing: -.03em;
    text-wrap: balance;
    max-width: 1100px;
}

.accent {
    color: #ffab46;
}

.cyan-accent {
    color: var(--cyan);
}

.hero-perex {
    margin: 0;
    font-size: 16px;
    color: rgba(255,255,255,.86);
    max-width: 100%;
}

.hero-perex + .hero-perex {
    margin-top: 14px;
}

.hero-perex-wide {
    max-width: 100%;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
}

.hero-points {
    display: grid;
    gap: 10px;
    margin-top: 24px;
    max-width: 1100px;
}

.hero-point {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 10px;
    align-items: start;
    color: rgba(255,255,255,.94);
    font-size: 15px;
}

.hero-point span:first-child {
    color: var(--cyan);
    font-weight: 900;
}

section {
    position: relative;
    padding: 28px 0;
}

.section-title {
    margin: 0 0 10px;
    font-size: clamp(28px, 7vw, 42px);
    line-height: 1.08;
    color: var(--blue-900);
    letter-spacing: -.02em;
}

.section-perex {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 15px;
    max-width: 740px;
}

.section-dark {
    background:
        linear-gradient(180deg, rgba(9,21,37,.98), rgba(17,41,69,.98)),
        var(--blue-950);
    color: white;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: .18;
    pointer-events: none;
}

.section-dark .section-title,
.section-dark .section-perex,
.section-dark .list-check div,
.section-dark .kv__v,
.section-dark .kv__k,
.section-dark .note,
.section-dark p,
.section-dark a,
.section-dark li {
    color: white;
}

.card {
    background: rgba(255,255,255,.94);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(17,41,69,0.06);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,212,255,.65), transparent);
    opacity: .7;
}

.section-dark .card,
.contact-panel {
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
    border: 1px solid rgba(99,212,255,.12);
    box-shadow: var(--shadow-strong);
}

.services-grid,
.reference-grid,
.jobs-grid,
.contact-wrap,
.equipment-grid,
.trust-wrap {
    display: grid;
    gap: 14px;
}

.service-card,
.reference-card,
.job-card,
.trust-box,
.contact-box,
.form-box,
.equipment-card,
.pricing-card {
    padding: 20px;
}

.service-card,
.reference-card,
.job-card,
.equipment-card,
.pricing-card {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-card:hover,
.reference-card:hover,
.job-card:hover,
.equipment-card:hover,
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(5,12,22,.16);
    border-color: rgba(99,212,255,.22);
}

.service-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.service-card h3,
.reference-card h3,
.job-card h3,
.equipment-card h3,
.pricing-card h3 {
    margin: 0;
    font-size: 20px;
    color: var(--blue-900);
}

.section-dark .service-card h3,
.section-dark .reference-card h3,
.section-dark .job-card h3,
.section-dark .equipment-card h3,
.section-dark .pricing-card h3,
.contact-panel h2,
.contact-panel h3 {
    color: var(--blue-900);
}

.tag {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(240,140,27,.18), rgba(240,140,27,.08));
    color: #ba6618;
    font-weight: 800;
    font-size: 12px;
    border: 1px solid rgba(240,140,27,.16);
}

.section-dark .tag,
.contact-panel .tag {
    background: rgba(99,212,255,.12);
    color: var(--cyan);
    border-color: rgba(99,212,255,.18);
}

.reference-tag {
    margin-bottom: 10px;
}

.service-card p,
.reference-card p,
.job-card p,
.equipment-card p,
.pricing-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.section-dark .service-card p,
.section-dark .reference-card p,
.section-dark .job-card p,
.section-dark .equipment-card p,
.section-dark .pricing-card p,
.contact-panel p {
    color: rgba(255,255,255,.8);
}

.list-check,
.list-plain {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.list-check div,
.list-plain li {
    color: var(--text);
}

.list-check div {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: start;
}

.list-check span:first-child {
    color: var(--orange);
    font-weight: 900;
}

.list-plain {
    padding-left: 18px;
    margin-bottom: 0;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.stat {
    padding: 16px 10px;
    border-radius: 18px;
    background: linear-gradient(160deg, var(--blue-950), var(--blue-800));
    color: white;
    text-align: center;
    border: 1px solid rgba(99,212,255,.14);
    box-shadow: inset 0 0 30px rgba(99,212,255,.06);
}

.stat strong {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}

.equipment-media {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, #f7fbff, #eef5fb);
    padding: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.section-dark .equipment-media {
    background: rgba(255,255,255,.04);
    border-color: rgba(99,212,255,.12);
}

.equipment-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: white;
    font-size: 13px;
    font-weight: 700;
    margin-top: 10px;
}

.section-dark .badge {
    background: rgba(255,255,255,.05);
    border-color: rgba(99,212,255,.14);
    color: white;
}

.kv {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.kv__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f7fafe;
    border: 1px solid var(--line);
}

.section-dark .kv__row,
.contact-panel .kv__row {
    background: rgba(255,255,255,.05);
    border-color: rgba(99,212,255,.12);
}

.kv__k {
    color: var(--muted);
    font-size: 13px;
}

.kv__v {
    font-weight: 700;
    color: var(--blue-900);
}

.note {
    margin-top: 12px;
    padding: 14px;
    border-radius: 16px;
    background: #f7fafe;
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 14px;
}

.section-dark .note,
.contact-panel .note {
    background: rgba(255,255,255,.05);
    border-color: rgba(99,212,255,.12);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 14px;
}

th,
td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.section-dark th,
.section-dark td {
    border-bottom-color: rgba(99,212,255,.14);
}

th:last-child,
td:last-child {
    text-align: right;
}

.contact-panel {
    color: white;
}

.field {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.field label {
    font-weight: 700;
    color: var(--blue-900);
    font-size: 15px;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfdff;
    padding: 15px 16px;
    color: var(--text);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(99,212,255,.7);
    box-shadow: 0 0 0 4px rgba(99,212,255,.12);
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.helper {
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 16px;
}

.map iframe {
    width: 100%;
    height: 260px;
    border: 0;
    border-radius: 18px;
    margin-top: 14px;
    filter: saturate(.84) contrast(1.04);
}

.mobile-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    background: rgba(255,255,255,.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    box-shadow: 0 -8px 28px rgba(8, 22, 41, 0.1);
}

footer {
    background:
        linear-gradient(180deg, rgba(5,12,22,1), rgba(9,21,37,1)),
        var(--blue-950);
    color: rgba(255,255,255,.72);
    padding: 24px 0 calc(24px + var(--sticky-bottom));
    margin-top: 12px;
    border-top: 1px solid rgba(99,212,255,.12);
}

.footer-grid {
    display: grid;
    gap: 8px;
    font-size: 14px;
}

.section-btn {
    margin-top: 14px;
}

.section-title-light {
    color: white;
}

.section-perex-light {
    color: rgba(255,255,255,.82);
}

.honeypot {
    display: none;
}

.earthworks-card {
    padding: 22px;
    display: grid;
    gap: 26px;
}

.earthworks-top {
    display: grid;
    gap: 14px;
}

.earthworks-top-grid {
    display: grid;
    gap: 18px;
}

.earthworks-points {
    display: grid;
    gap: 10px;
}

.earthworks-point {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: start;
    font-size: 15px;
}

.earthworks-point span:first-child {
    color: var(--orange);
    font-weight: 900;
}

.earthworks-bottom {
    display: grid;
    gap: 16px;
}

.earthworks-left {
    display: grid;
    gap: 16px;
}

.earthworks-right {
    display: grid;
    gap: 12px;
}

.earthworks-mini-card {
    padding: 18px;
    border-radius: 20px;
    background: #f7fafe;
    border: 1px solid var(--line);
}

.earthworks-mini-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    color: var(--blue-900);
}

.earthworks-cta-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.earthworks-media-small {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(180deg, #f7fbff, #eef5fb);
    padding: 18px;
}

.earthworks-media-small img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    margin: 0 auto;
}

@media (min-width: 760px) {
    :root {
        --header-height: 110px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .equipment-grid,
    .trust-wrap,
    .reference-grid,
    .jobs-grid,
    .contact-wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-inner {
        padding: 10px 0 20px;
    }

    section {
        padding: 44px 0;
    }

    .container {
        width: min(calc(100% - 40px), var(--max));
    }

    .earthworks-card {
        padding: 28px;
    }
}

@media (min-width: 1024px) {
    :root {
        --sticky-bottom: 0px;
        --header-height: 110px;
    }

    .nav-toggle,
    .mobile-menu,
    .mobile-sticky {
        display: none !important;
    }

    .desktop-nav {
        display: flex;
    }

    .header-inner {
        min-height: var(--header-height);
    }

    .brand-logo {
        width: 160px;
        height: 90px;
    }

    .brand-text strong {
        font-size: 24px;
    }

    .brand-text span {
        font-size: 14px;
    }

    .hero-inner {
        display: block;
        padding: 10px 0 20px;
    }

    .hero-content {
        max-width: 100%;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .equipment-grid,
    .trust-wrap,
    .reference-grid,
    .jobs-grid,
    .contact-wrap {
        grid-template-columns: 1fr 1fr;
    }

    .earthworks-top-grid {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
        gap: 20px;
    }

    .earthworks-bottom {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .earthworks-card {
        padding: 32px;
    }

    .earthworks-media-small img {
        max-height: 260px;
    }

    footer {
        padding-bottom: 28px;
    }
}

.popup-open {
    overflow: hidden;
}

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 16, 28, 0.62);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 9999;
    backdrop-filter: blur(6px);
}

.popup-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.popup-box {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    color: #13202b;
    border-radius: 22px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
    padding: 34px 28px 26px;
    text-align: center;
    transform: translateY(18px) scale(0.98);
    transition: transform 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.popup-overlay.is-visible .popup-box {
    transform: translateY(0) scale(1);
}

.popup-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(14, 165, 233, 0.28);
}

.popup-icon.is-error {
    background: linear-gradient(135deg, #ef4444, #f97316);
    box-shadow: 0 14px 30px rgba(239, 68, 68, 0.24);
}

.popup-box h3 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.2;
}

.popup-box p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.6;
    color: #4a5a67;
}

.popup-btn {
    min-width: 120px;
}

#contactSubmitBtn[disabled] {
    opacity: 0.75;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .popup-box {
        padding: 28px 20px 22px;
        border-radius: 18px;
    }

    .popup-box h3 {
        font-size: 24px;
    }

    .popup-box p {
        font-size: 15px;
    }

    .popup-icon {
        width: 64px;
        height: 64px;
        font-size: 30px;
    }
}