:root {
    --page: #ffffff;
    --ink: #141414;
    --muted: #686868;
    --line: #e5e5e5;
    --soft: #f4f4f4;
    --accent: #ff4a4a;
    --accent-dark: #dd3030;
    --deep: #111111;
    --green: #2f7d60;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
    --radius: 8px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: Inter, Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

body.is-modal-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}

.container_narrow {
    width: min(100% - 40px, 840px);
}

.section {
    padding: 76px 0;
}

.section_compact {
    padding-top: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 84px;
    padding: 14px clamp(20px, 4vw, 56px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(20, 20, 20, 0.08);
    backdrop-filter: blur(14px);
}

.logo-link {
    flex: 0 0 auto;
}

.logo-link img {
    width: clamp(174px, 20vw, 260px);
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2vw, 30px);
    color: #333333;
    font-size: 15px;
    font-weight: 700;
}

.top-nav a {
    padding: 10px 0;
}

.top-nav a:hover,
.top-nav a:focus-visible {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 210px;
}

.phone-link {
    font-size: 19px;
    font-weight: 700;
    white-space: nowrap;
}

.icon-link {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--ink);
}

.icon-link svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.notice {
    width: min(100% - 40px, 860px);
    margin: 18px auto 0;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-weight: 700;
}

.notice_success {
    background: #e9f7f0;
    color: #155b40;
}

.notice_error {
    background: #fff0f0;
    color: #9f1e1e;
}

.hero {
    position: relative;
    min-height: clamp(520px, 80vh, 820px);
    overflow: hidden;
    background: #f5f5f5;
}

.hero__image {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.18)), url("../img/hero-board.jpg");
    background-position: center;
    background-size: cover;
}

.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: clamp(520px, 80vh, 820px);
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: clamp(42px, 8vh, 92px);
}

.product-card {
    width: min(100%, 370px);
    padding: 30px;
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.product-card__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0;
}

.product-card h1 {
    margin: 0 0 18px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.1;
}

.product-card p {
    margin: 18px 0 24px;
    color: var(--muted);
    font-size: 16px;
}

.price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
}

.price {
    font-size: 28px;
    font-weight: 800;
}

.old-price {
    color: #777777;
    font-size: 20px;
    text-decoration: line-through;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0 28px;
    cursor: pointer;
    font-weight: 800;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.button_primary {
    background: var(--accent);
    color: #ffffff;
}

.button_primary:hover,
.button_primary:focus-visible {
    background: var(--accent-dark);
}

.button_outline {
    border-color: rgba(255, 255, 255, 0.75);
    color: #ffffff;
}

.button_outline:hover,
.button_outline:focus-visible {
    background: #ffffff;
    color: var(--ink);
}

.button_full {
    width: 100%;
    border-radius: var(--radius);
}

.button_footer {
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

.button_footer:hover,
.button_footer:focus-visible {
    background: #ffffff;
    color: var(--deep);
}

.intro {
    font-size: clamp(18px, 2.1vw, 22px);
    color: rgba(20, 20, 20, 0.72);
}

.intro p {
    margin: 0;
}

.mosaic {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 20px;
}

.mosaic_reversed {
    grid-template-columns: 1fr 1.45fr;
}

.mosaic__item {
    position: relative;
    min-height: 290px;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius);
    padding: 0;
    background: var(--soft);
    cursor: zoom-in;
}

.mosaic__item_large {
    grid-row: span 2;
}

.mosaic__item_wide {
    min-height: 250px;
}

.mosaic__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.mosaic__item:hover img,
.mosaic__item:focus-visible img {
    transform: scale(1.04);
}

.features {
    background: #eeeeee;
}

.section-heading {
    width: min(100%, 680px);
    margin: 0 auto 70px;
    text-align: center;
}

.section-heading_compact {
    margin-bottom: 38px;
}

.section-heading h2 {
    margin: 0 0 22px;
    font-size: clamp(32px, 5vw, 50px);
    line-height: 1.12;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 22px);
}

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

.feature-card {
    display: grid;
    min-height: 100%;
    overflow: hidden;
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.feature-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.feature-card div {
    padding: 20px;
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.2;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.kit-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 54px;
    width: min(100%, 940px);
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.kit-list li {
    position: relative;
    min-height: 36px;
    padding-left: 40px;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
}

.kit-list li::before {
    position: absolute;
    top: 2px;
    left: 0;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: #d6d6d6;
    color: var(--ink);
    content: "✓";
    font-size: 15px;
    font-weight: 900;
}

.test-drive {
    position: relative;
    min-height: min(100vh, 760px);
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
}

.test-drive__media {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.2)), url("../img/test-drive.jpg");
    background-position: center;
    background-size: cover;
}

.test-drive__content {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    padding: 90px 0;
}

.test-drive h2 {
    margin: 0 0 18px;
    font-size: clamp(38px, 7vw, 72px);
    line-height: 1.05;
}

.test-drive p {
    margin: 0 0 30px;
    font-size: clamp(18px, 2vw, 22px);
}

.test-drive__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.site-footer {
    padding: 58px 0;
    background: var(--deep);
    color: #ffffff;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-logo {
    width: min(100%, 214px);
    margin-bottom: 28px;
}

.site-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
    color: #ffffff;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.modal[aria-hidden="false"] {
    display: flex;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.modal__panel {
    position: relative;
    width: min(100%, 540px);
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    padding: clamp(28px, 5vw, 42px);
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.modal__panel h2 {
    margin: 0 36px 10px 0;
    font-size: clamp(28px, 5vw, 36px);
    line-height: 1.15;
}

.modal__panel p {
    margin: 0 0 22px;
    color: var(--muted);
}

.modal__close,
.lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 34px;
    line-height: 1;
}

.modal__close:hover,
.modal__close:focus-visible {
    background: var(--soft);
}

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

.lead-form label {
    display: grid;
    gap: 7px;
    color: #2c2c2c;
    font-weight: 700;
}

.lead-form input[type="text"],
.lead-form input[type="tel"] {
    width: 100%;
    min-height: 52px;
    border: 1px solid #cfcfcf;
    border-radius: var(--radius);
    padding: 0 14px;
    color: var(--ink);
    outline: none;
}

.lead-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 74, 74, 0.15);
}

.policy {
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

.policy input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.policy a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.form-message {
    min-height: 22px;
    font-size: 14px;
    font-weight: 700;
}

.form-message_success {
    color: var(--green);
}

.form-message_error {
    color: #a52222;
}

.form-note {
    margin-top: 18px !important;
    text-align: center;
    font-size: 13px;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 26px;
    background: rgba(0, 0, 0, 0.86);
}

.lightbox[aria-hidden="false"] {
    display: flex;
}

.lightbox img {
    max-width: min(100%, 1180px);
    max-height: calc(100vh - 52px);
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox__close {
    z-index: 1;
    color: #ffffff;
}

@media (max-width: 1040px) {
    .site-header {
        flex-wrap: wrap;
        gap: 10px 24px;
    }

    .top-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .header-actions {
        min-width: auto;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .container,
    .container_narrow {
        width: min(100% - 28px, var(--container));
    }

    .section {
        padding: 54px 0;
    }

    .section_compact {
        padding-top: 0;
    }

    .site-header {
        min-height: 76px;
        padding: 12px 14px;
    }

    .phone-link {
        font-size: 16px;
    }

    .hero {
        min-height: 620px;
    }

    .hero__image {
        background-position: 42% center;
    }

    .hero__content {
        min-height: 620px;
        align-items: flex-end;
        justify-content: center;
        padding: 0 0 24px;
    }

    .product-card {
        padding: 24px;
    }

    .mosaic,
    .mosaic_reversed {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mosaic__item,
    .mosaic__item_wide {
        min-height: auto;
        aspect-ratio: 4 / 3;
    }

    .mosaic__item_large {
        grid-row: auto;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .feature-grid,
    .kit-list {
        grid-template-columns: 1fr;
    }

    .test-drive {
        min-height: 580px;
    }

    .test-drive__media {
        background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.32)), url("../img/test-drive.jpg");
    }

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

@media (max-width: 520px) {
    .top-nav {
        gap: 18px;
        font-size: 14px;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .icon-link {
        width: 32px;
        height: 32px;
    }

    .button {
        width: 100%;
        min-height: 50px;
    }

    .test-drive__actions,
    .footer-actions {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
