:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-soft: #eef4fb;
    --ink: #132033;
    --muted: #64748b;
    --line: #dde7f2;
    --brand: #f59e0b;
    --brand-dark: #d97706;
    --navy: #0f2742;
    --navy-2: #15395e;
    --success: #0f766e;
    --radius-lg: 28px;
    --shadow-soft: 0 14px 40px rgba(15, 39, 66, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
}

a {
    color: inherit;
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.page-shell {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 78% 20%, rgba(245, 158, 11, 0.28), transparent 26%),
        radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.16), transparent 30%),
        linear-gradient(135deg, #07182b 0%, var(--navy) 48%, var(--navy-2) 100%);
}

.page-shell::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: auto -10% -175px -10%;
    height: 190px;
    background: var(--bg);
    transform: rotate(-3deg);
    transform-origin: left top;
    pointer-events: none;
}

.site-header,
.hero {
    position: relative;
    z-index: 2;
}

.site-header {
    padding: 22px 0;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo__mark {
    display: grid;
    min-width: 50px;
    height: 50px;
    padding: 0 9px;
    place-items: center;
    border-radius: 16px;
    background: var(--brand);
    color: #111827;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.logo strong,
.logo small {
    display: block;
}

.logo strong {
    font-size: 18px;
    line-height: 1.1;
}

.logo small {
    max-width: 245px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 14px;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.header-phone {
    font-weight: 800;
    text-decoration: none;
}

.hero {
    padding: 72px 0 120px;
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
    gap: 54px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 760px;
    margin: 0 0 22px;
    font-size: clamp(42px, 6vw, 60px);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.lead {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 19px;
    line-height: 1.65;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    font: inherit;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    background: linear-gradient(135deg, var(--brand), #fbbf24);
    color: #111827;
    box-shadow: 0 16px 30px rgba(245, 158, 11, 0.24);
}

.button--ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.metrics {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 42px;
}

.metrics div {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
}

.metrics strong,
.metrics span {
    display: block;
}

.metrics strong {
    font-size: 25px;
}

.metrics span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.hero-panel {
    position: relative;
    min-height: 470px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 36px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
        repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 18px);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.hero-panel::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -100px;
    top: -70px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.24);
    filter: blur(12px);
}

.route-card {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    z-index: 2;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(10, 25, 45, 0.72);
    backdrop-filter: blur(16px);
}

.route-card--top {
    top: 28px;
    bottom: auto;
    left: auto;
    width: min(330px, calc(100% - 56px));
}

.route-card span,
.route-card small,
.route-card strong {
    display: block;
}

.route-card span,
.route-card small {
    color: rgba(255, 255, 255, 0.62);
}

.route-card strong {
    margin: 7px 0;
    font-size: 18px;
}

.truck-visual {
    position: absolute;
    left: 50%;
    top: 49%;
    width: 330px;
    height: 180px;
    transform: translate(-50%, -50%);
}

.truck-visual__box,
.truck-visual__cab {
    position: absolute;
    bottom: 50px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.truck-visual__box {
    left: 0;
    width: 210px;
    height: 92px;
    border-radius: 22px 12px 12px 22px;
}

.truck-visual__cab {
    right: 18px;
    width: 112px;
    height: 78px;
    border-radius: 16px 28px 14px 8px;
}

.truck-visual__cab::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 14px;
    width: 38px;
    height: 25px;
    border-radius: 8px;
    background: #93c5fd;
}

.truck-visual__wheel {
    position: absolute;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border: 9px solid #111827;
    border-radius: 50%;
    background: #ffffff;
}

.truck-visual__wheel--one {
    left: 48px;
}

.truck-visual__wheel--two {
    right: 42px;
}

.truck-visual__line {
    position: absolute;
    left: -16px;
    height: 5px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.45);
}

.truck-visual__line--one {
    top: 48px;
    width: 88px;
}

.truck-visual__line--two {
    top: 70px;
    width: 54px;
}

.section {
    padding: 86px 0;
}

.section--raised {
    position: relative;
    z-index: 4;
    margin-top: -42px;
    padding-top: 0;
}

.section-head {
    max-width: 680px;
    margin-bottom: 26px;
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head h2 {
    margin: 0 0 12px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.section-head p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.calc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: 24px;
    align-items: start;
}

.calc-layout .section-head {
    grid-column: 1 / -1;
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.form {
    display: grid;
    gap: 16px;
}

.calc-card,
.request-card {
    grid-template-columns: repeat(2, 1fr);
    padding: 28px;
}

.field {
    display: grid;
    gap: 8px;
}

.field--wide {
    grid-column: 1 / -1;
}

label {
    color: #334155;
    font-size: 14px;
    font-weight: 900;
}

input,
select,
textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 13px 14px;
    color: var(--ink);
    background: #ffffff;
    font: inherit;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

textarea {
    min-height: 124px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.result-card {
    min-height: 100%;
    padding: 32px;
    position: sticky;
    top: 18px;
    overflow: hidden;
}

.result-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -80px;
    top: -80px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.15);
}

.result-card__icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 20px;
    background: #fff7ed;
    color: var(--brand-dark);
    font-size: 28px;
    font-weight: 900;
}

.result-card h3 {
    margin: 22px 0 10px;
    font-size: 24px;
}

.result__price {
    margin: 12px 0 16px;
    color: var(--navy);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 950;
    letter-spacing: -0.05em;
}

.muted {
    color: var(--muted);
    line-height: 1.5;
}

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

.feature-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.feature-card__icon {
    display: inline-grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 18px;
    background: var(--surface-soft);
    color: var(--navy);
    font-weight: 950;
}

.feature-card h3 {
    margin: 22px 0 10px;
    font-size: 22px;
}

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

.section--dark {
    color: #ffffff;
    background:
        radial-gradient(circle at 16% 24%, rgba(245, 158, 11, 0.18), transparent 22%),
        linear-gradient(135deg, #07182b, #102a46);
}

.section--dark h2 {
    margin: 0 0 16px;
    font-size: clamp(34px, 4vw, 54px);
    letter-spacing: -0.05em;
}

.section--dark p:not(.eyebrow) {
    max-width: 570px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
}

.request-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 38px;
    align-items: center;
}

.request-card {
    border-color: rgba(255, 255, 255, 0.12);
}

.status {
    min-height: 22px;
    color: var(--success);
    font-weight: 900;
}

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

.city-group {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.city-group h3 {
    display: inline-flex;
    margin: 0 0 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff7ed;
    color: var(--brand-dark);
    font-size: 15px;
}

.city-group ul {
    margin: 0;
    padding-left: 18px;
    columns: 2;
    color: #334155;
    line-height: 1.9;
}

.footer {
    padding: 34px 0;
    color: rgba(255, 255, 255, 0.68);
    background: #07182b;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo--footer small {
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 980px) {
    .nav {
        display: none;
    }

    .hero__inner,
    .calc-layout,
    .request-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-bottom: 110px;
    }

    .hero-panel {
        min-height: 420px;
    }

    .result-card {
        position: relative;
        top: auto;
    }

    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .header-phone {
        display: none;
    }

    .hero {
        padding-top: 40px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .lead {
        font-size: 16px;
    }

    .hero__actions,
    .metrics {
        grid-template-columns: 1fr;
    }

    .metrics {
        display: grid;
    }

    .hero-panel {
        min-height: 360px;
        border-radius: 26px;
    }

    .truck-visual {
        width: 280px;
        transform: translate(-50%, -45%) scale(0.84);
    }

    .route-card {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .route-card--top {
        top: 18px;
        width: calc(100% - 36px);
    }

    .section {
        padding: 62px 0;
    }

    .section--raised {
        padding-top: 0;
        margin-top: -30px;
    }

    .calc-card,
    .request-card,
    .cities {
        grid-template-columns: 1fr;
    }

    .city-group ul {
        columns: 1;
    }

    .footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 440px) {
    .container {
        width: min(100% - 22px, 1160px);
    }

    .calc-card,
    .request-card,
    .result-card,
    .feature-card,
    .city-group {
        padding: 20px;
        border-radius: 22px;
    }

    .button {
        width: 100%;
    }
}
