:root {
    --primary: #e53935;
    --primary-dark: #c62828;
    --primary-soft: #fdecea;
    --ink: #2b2b2b;
    --ink-soft: #4b4b4b;
    --muted: #767676;
    --line: #e7e7e7;
    --soft: #f6f6f6;
    --dark: #2d2d2d;
    --white: #fff;
    --radius: 18px;
    --shadow: 0 16px 45px rgba(20, 20, 20, .08);
    --container: 1360px;
    --font: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4 {
    line-height: 1.15;
    margin: 0;
    letter-spacing: -.02em;
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.site-main {
    min-height: 60vh;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: background .3s ease, border-color .3s ease;
}

.site-header.is-home:not(.scrolled) {
    background: transparent;
    border-bottom-color: transparent;
}

.site-header.is-home:not(.scrolled) .brand-copy strong {
    color: #fff;
}

.site-header.is-home:not(.scrolled) .brand-copy small {
    color: rgba(255, 255, 255, .62);
}

.site-header.is-home:not(.scrolled) .main-nav {
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .14);
}

.site-header.is-home:not(.scrolled) .main-nav > a {
    color: rgba(255, 255, 255, .9);
}

.site-header.is-home:not(.scrolled) .main-nav > a:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.site-header.is-home:not(.scrolled) .main-nav > a.active {
    background: var(--primary);
    color: #fff;
}

.site-header.is-home:not(.scrolled) .main-nav .nav-phone {
    color: #fff;
}

.site-header.is-home:not(.scrolled) .mobile-toggle span {
    background: #fff;
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.brand img {
    width: 52px;
    height: 38px;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-copy strong {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.brand-copy small {
    margin-top: 3px;
    font-size: 9px;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 5px;
    border-radius: 999px;
    background: var(--soft);
}

.main-nav > a {
    padding: 9px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}

.main-nav > a:hover {
    background: #fff;
    color: var(--ink);
}

.main-nav > a.active {
    background: var(--primary);
    color: #fff;
}

.main-nav .nav-phone {
    margin-left: 8px;
    font-weight: 700;
    color: var(--ink);
}

.main-nav .nav-cta {
    margin-left: 4px;
    padding: 10px 18px;
    font-size: 13px;
}

.mobile-toggle {
    display: none;
    border: 0;
    background: transparent;
    width: 44px;
    height: 44px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(229, 57, 53, .25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background: #fff;
    border-color: var(--line);
    color: var(--ink);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.btn-ghost-light {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, .2);
}

.btn-block {
    width: 100%;
}

/* ---------- Typography / sections ---------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.section {
    padding: 74px 0;
}

.section-soft {
    background: var(--soft);
}

.section-head {
    max-width: 780px;
    margin: 0 auto 36px;
    text-align: center;
}

.section-head.split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    max-width: none;
    text-align: left;
    gap: 24px;
}

.section-head h1,
.section-head h2 {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    margin: 10px 0 10px;
}

.section-head p {
    color: var(--muted);
    font-size: 15px;
}

.lead {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
    margin: 14px 0 20px;
}

.page-head {
    padding: 64px 0 46px;
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    border-bottom: 1px solid var(--line);
}

.page-head h1 {
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 800;
    margin: 12px 0 12px;
}

.page-head p {
    color: var(--muted);
    max-width: 720px;
    font-size: 16px;
}

.page-pad {
    padding-top: 38px;
    padding-bottom: 64px;
}

.muted {
    color: var(--muted);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    color: #fff;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -79px;
    padding-top: 79px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 15, 15, .86) 0%, rgba(15, 15, 15, .62) 55%, rgba(15, 15, 15, .25) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 90px 0;
    max-width: 900px;
}

.hero-kicker {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .08);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 800;
    letter-spacing: -.04em;
    max-width: 820px;
    margin: 22px 0 18px;
}

.hero p {
    max-width: 640px;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

/* ---------- Cars ---------- */

.car-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.car-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}

.car-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.car-card-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: #f1f1f1;
    overflow: hidden;
}

.car-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.car-card:hover .car-card-image img {
    transform: scale(1.04);
}

.car-country,
.car-stock {
    position: absolute;
    top: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    font-size: 10px;
    font-weight: 700;
}

.car-country {
    left: 12px;
}

.car-stock {
    right: 12px;
    background: var(--primary);
    color: #fff;
}

.car-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.car-card h3 {
    font-size: 17px;
    font-weight: 700;
}

.car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.car-specs span {
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--soft);
    color: var(--muted);
    font-size: 11px;
}

.car-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 8px;
}

.car-card-footer strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-dark);
}

.car-card-footer small {
    display: block;
    color: var(--muted);
    font-size: 9px;
    max-width: 180px;
}

.car-link {
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* ---------- Info cards / grids ---------- */

.section-grid,
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.section-grid .section-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.info-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 4px;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.info-card h3 {
    font-size: 17px;
    font-weight: 700;
}

.info-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-card li {
    position: relative;
    padding-left: 16px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.info-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
}

.info-card p {
    color: var(--muted);
    font-size: 13px;
}

/* ---------- Commission ---------- */

.commission-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.commission-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
}

.commission-card h3 {
    margin-bottom: 14px;
    font-size: 18px;
}

.commission-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.commission-card li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
    font-size: 13px;
}

.commission-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
}

/* ---------- Platforms ---------- */

.platform-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.platform-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-soft);
    transition: border-color .2s ease, transform .2s ease;
}

.platform-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.platform-card img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

/* ---------- Two column / callouts ---------- */

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: center;
}

.two-col h2 {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    margin-bottom: 12px;
}

.callout-card {
    background: var(--dark);
    color: #fff;
    border-radius: 24px;
    padding: 30px;
    display: grid;
    gap: 4px;
}

.callout-card strong {
    font-size: 32px;
    font-weight: 800;
    color: #ff8a80;
    margin-top: 14px;
}

.callout-card span {
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
}

.benefit-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.benefit-list article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
}

.benefit-list h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.benefit-list p {
    color: var(--muted);
    font-size: 12px;
}

/* ---------- Lead form ---------- */

.lead-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: start;
}

.lead-block h2 {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    margin-bottom: 10px;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 8px;
    margin-top: 20px;
}

.check-list li {
    position: relative;
    padding-left: 22px;
    color: var(--ink-soft);
    font-size: 14px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
}

.lead-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 26px;
    box-shadow: var(--shadow);
}

.lead-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.lead-form {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.form-row {
    display: grid;
    gap: 6px;
}

.form-row label {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-soft);
}

.input {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 13px;
    font-family: var(--font);
    font-size: 14px;
    background: #fff;
    color: var(--ink);
}

.input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, .12);
}

.textarea {
    min-height: 100px;
    resize: vertical;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.5;
}

.consent input {
    margin-top: 3px;
    accent-color: var(--primary);
}

.consent a {
    color: var(--primary-dark);
    text-decoration: underline;
}

.validation-message,
.form-error {
    color: var(--primary-dark);
    font-size: 11px;
}

.form-success {
    display: grid;
    gap: 6px;
    padding: 22px;
    border-radius: 16px;
    background: #eef8f0;
    border: 1px solid #cdebd4;
    color: #246b34;
}

.empty-state {
    text-align: center;
    padding: 70px 20px;
    border: 1px dashed var(--line);
    border-radius: 20px;
    display: grid;
    gap: 12px;
    justify-items: center;
}

.empty-state h1 {
    font-size: 32px;
}

.empty-state p {
    color: var(--muted);
}

/* ---------- Detail ---------- */

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: var(--primary-dark);
}

.detail-head {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-end;
    margin-bottom: 26px;
}

.detail-head h1 {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    margin: 10px 0 8px;
}

.detail-head p {
    color: var(--muted);
    font-size: 14px;
}

.detail-price {
    text-align: right;
    display: grid;
    gap: 8px;
    min-width: 260px;
}

.detail-price strong {
    font-size: 30px;
    color: var(--primary-dark);
}

.detail-price span {
    color: var(--muted);
    font-size: 10px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.detail-side {
    position: sticky;
    top: 100px;
}

.gallery-main {
    border-radius: 22px;
    overflow: hidden;
    background: #f1f1f1;
}

.gallery-main img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0;
}

.gallery-thumb {
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    background: #eee;
    cursor: pointer;
    flex: none;
    width: 92px;
    height: 64px;
}

.gallery-thumb.active {
    border-color: var(--primary);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-section {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    margin-top: 18px;
}

.detail-section h2 {
    font-size: 21px;
    margin-bottom: 14px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
}

.spec-grid > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 13px;
}

.spec-grid span {
    color: var(--muted);
}

/* ---------- Stages / FAQ ---------- */

.stages {
    display: grid;
    gap: 16px;
}

.stage-card {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 240px;
    gap: 20px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
}

.stage-number {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stage-body h2 {
    font-size: 19px;
    margin-bottom: 8px;
}

.stage-body ul {
    list-style: none;
    display: grid;
    gap: 4px;
}

.stage-body li {
    position: relative;
    padding-left: 15px;
    color: var(--muted);
    font-size: 13px;
}

.stage-body li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.stage-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 14px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 18px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
}

.faq-item p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

/* ---------- Reviews ---------- */

.review-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.tab {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 8px 16px;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.review-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    display: grid;
    gap: 8px;
}

.review-stars {
    color: #f2b01e;
    letter-spacing: 2px;
}

.review-card p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.65;
}

.review-card span {
    color: var(--muted);
    font-size: 12px;
}

.review-screens {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.review-screens figure {
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}

.review-screens img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.review-screens figcaption {
    padding: 10px 12px;
    font-size: 12px;
    color: var(--muted);
}

/* ---------- Credit / about / contacts / legal ---------- */

.credit-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.credit-step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
}

.credit-step span {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-soft);
    -webkit-text-stroke: 1px var(--primary);
}

.credit-step h2 {
    font-size: 17px;
    margin: 10px 0 8px;
}

.credit-step p {
    color: var(--muted);
    font-size: 13px;
}

.video-placeholder {
    min-height: 260px;
    border-radius: 24px;
    background: linear-gradient(135deg, #2d2d2d, #4a2a2a);
    color: rgba(255, 255, 255, .75);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.check-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 16px 13px 38px;
    position: relative;
    font-size: 13px;
}

.check-item::before {
    content: "✓";
    position: absolute;
    left: 15px;
    color: var(--primary);
    font-weight: 800;
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px;
    border-radius: 24px;
    background: var(--soft);
    border: 1px solid var(--line);
}

.contacts-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 30px;
    align-items: start;
}

.contacts-info h2 {
    font-size: 22px;
    margin: 22px 0 12px;
}

.office-grid {
    display: grid;
    gap: 10px;
}

.office-card {
    text-align: left;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    display: grid;
    gap: 4px;
    cursor: pointer;
    font-family: var(--font);
}

.office-card.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, .1);
}

.office-card strong {
    font-size: 14px;
}

.office-card span {
    color: var(--muted);
    font-size: 12px;
}

.contact-lines {
    display: grid;
    gap: 8px;
}

.contact-lines a {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}

.contact-lines span {
    color: var(--muted);
    font-size: 13px;
}

.map {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    border-radius: 18px;
    margin-top: 18px;
}

.legal-text {
    max-width: 900px;
}

.legal-text h2 {
    font-size: 21px;
    margin: 26px 0 10px;
}

.legal-text p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 10px;
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .72);
    padding: 52px 0 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .7fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 36px;
}

.brand-light .brand-copy strong {
    color: #fff;
}

.brand-light .brand-copy small {
    color: rgba(255, 255, 255, .5);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.7;
    max-width: 320px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
}

.footer-col h3 {
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 4px;
}

.footer-col strong {
    color: #fff;
}

.footer-col a:hover {
    color: #fff;
}

.footer-socials {
    display: flex;
    gap: 7px;
    margin-top: 16px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
}

.footer-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 11px;
    color: rgba(255, 255, 255, .45);
}

.footer-bottom a:hover {
    color: #fff;
}

/* ---------- Floating messengers ---------- */

.floating-messengers {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 40;
}

.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}

.float-wa {
    background: #25d366;
}

.float-tg {
    background: #229ed9;
}

/* ---------- Loading ---------- */

.loading {
    padding: 50px 0;
    text-align: center;
    color: var(--muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
    .main-nav > a {
        padding: 8px 9px;
        font-size: 12px;
    }

    .main-nav .nav-phone {
        display: none;
    }

    .car-grid,
    .commission-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-grid,
    .benefit-grid,
    .credit-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .platform-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 900px) {
    .main-nav {
        position: absolute;
        top: 78px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border-radius: 20px;
        padding: 12px;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .site-header.is-home.menu-open {
        background: #fff;
        border-bottom-color: var(--line);
    }

    .site-header.is-home.menu-open .brand-copy strong {
        color: var(--ink);
    }

    .site-header.is-home.menu-open .brand-copy small {
        color: var(--muted);
    }

    .site-header.is-home.menu-open .main-nav {
        background: #fff;
        border: 1px solid var(--line);
    }

    .site-header.is-home.menu-open .main-nav > a {
        color: var(--ink-soft);
    }

    .site-header.is-home.menu-open .main-nav > a.active,
    .site-header.is-home.menu-open .main-nav > a.nav-cta {
        background: var(--primary);
        color: #fff;
    }

    .site-header.is-home.menu-open .mobile-toggle span {
        background: var(--ink);
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        margin-top: -79px;
    }

    .two-col,
    .lead-block,
    .contacts-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-side {
        position: static;
    }

    .stage-card {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .stage-card img {
        grid-column: 1 / -1;
        height: 200px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .review-screens {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .section {
        padding: 48px 0;
    }

    .hero {
        min-height: 560px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .car-grid,
    .section-grid,
    .benefit-grid,
    .commission-grid,
    .credit-steps,
    .review-grid,
    .review-screens,
    .check-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-head.split {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-price {
        text-align: left;
        width: 100%;
    }

    .spec-grid {
        grid-template-columns: 1fr;
    }

    .partner-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
