.motor-how-to-buy {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px 64px;
    box-sizing: border-box;
}

.motor-how-to-buy *,
.motor-how-to-buy *::before,
.motor-how-to-buy *::after {
    box-sizing: border-box;
}

.motor-how-to-buy__hero {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 8px;
}

.motor-how-to-buy__title {
    margin: 0 0 16px;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
    color: #111827;
    font-weight: 600;
}

.motor-how-to-buy__intro {
    max-width: 720px;
    margin: 0 auto 24px;
    font-size: clamp(16px, 2vw, 22px);
    line-height: 1.5;
    color: #374151;
}

.motor-how-to-buy__cta {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.motor-how-to-buy__cta:hover {
    background: #dc2626;
    color: #fff;
}

.motor-how-to-buy__step-section {
    padding-top: 40px;
    border-top: 1px solid #f3f4f6;
}

.motor-how-to-buy__step-section:first-of-type {
    border-top: 0;
    padding-top: 16px;
}

.motor-how-to-buy__step-label {
    display: block;
    margin-bottom: 8px;
    color: #ef4444;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .motor-how-to-buy__step-label {
        font-size: 18px;
    }
}

.motor-how-to-buy__step-heading {
    margin: 0 0 24px;
    max-width: 640px;
    font-size: clamp(22px, 3.5vw, 40px);
    line-height: 1.2;
    font-weight: 600;
    color: #111827;
}

.motor-how-to-buy__step-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .motor-how-to-buy__step-layout {
        flex-direction: row-reverse;
        gap: 40px;
    }

    .motor-how-to-buy__step-layout--stack {
        flex-direction: column;
    }
}

.motor-how-to-buy__step-media {
    width: 100%;
    flex: 1 1 58%;
}

.motor-how-to-buy__step-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.motor-how-to-buy__step-media--wide img {
    border-radius: 0;
    aspect-ratio: 3.36 / 1;
    object-fit: cover;
}

.motor-how-to-buy__step-media--duo {
    display: grid;
    grid-template-columns: 70% 1fr;
    gap: 8px;
    align-items: stretch;
}

.motor-how-to-buy__step-media--duo img {
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.motor-how-to-buy__step-media--duo-equal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.motor-how-to-buy__step-media--trio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.motor-how-to-buy__step-media--win {
    position: relative;
    min-height: 280px;
}

.motor-how-to-buy__win-banner {
    width: 100%;
    max-width: 520px;
}

.motor-how-to-buy__win-car {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(45%, 280px);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.motor-how-to-buy__step-media--translation {
    display: grid;
    gap: 16px;
}

@media (min-width: 768px) {
    .motor-how-to-buy__step-media--translation {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
        align-items: start;
    }
}

.motor-how-to-buy__translation-car {
    max-width: 280px;
}

.motor-how-to-buy__translation-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.motor-how-to-buy__translation-pair figure {
    margin: 0;
}

.motor-how-to-buy__translation-pair img {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.motor-how-to-buy__translation-pair figcaption {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
}

.motor-how-to-buy__step-body {
    flex: 1 1 42%;
    width: 100%;
}

.motor-how-to-buy__step-body--full {
    flex: 1 1 100%;
}

.motor-how-to-buy__timeline {
    position: relative;
    padding-left: 28px;
    border-left: 2px solid #fecaca;
}

.motor-how-to-buy__timeline::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 4px #fff;
}

.motor-how-to-buy__timeline p {
    margin: 0 0 12px;
    color: #374151;
    line-height: 1.6;
}

.motor-how-to-buy__step-lead {
    font-weight: 600;
    color: #111827 !important;
}

.motor-how-to-buy__list {
    margin: 0 0 14px;
    padding-left: 18px;
    color: #374151;
}

.motor-how-to-buy__list li {
    margin: 8px 0;
    line-height: 1.55;
}

.motor-how-to-buy__payment {
    margin-top: 16px;
    padding: 16px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.motor-how-to-buy__payment-title {
    margin: 0 0 10px;
    font-size: 16px;
    color: #111827;
}

.motor-how-to-buy__payment p {
    margin: 6px 0;
    color: #374151;
}

.motor-how-to-buy__step-link {
    display: inline-block;
    margin-top: 8px;
    color: #ef4444;
    font-weight: 600;
    text-decoration: none;
}

.motor-how-to-buy__step-link:hover {
    color: #dc2626;
}

.motor-how-to-buy__note {
    font-size: 14px;
    color: #6b7280 !important;
}

.motor-how-to-buy__closing {
    margin-top: 48px;
    padding: 32px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fef2f2 0%, #fff 55%);
    border: 1px solid #fecaca;
    text-align: center;
}

.motor-how-to-buy__closing h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 3vw, 32px);
    color: #111827;
}

.motor-how-to-buy__closing p {
    max-width: 760px;
    margin: 0 auto 20px;
    color: #374151;
    line-height: 1.6;
}

@media (max-width: 1023px) {
    .motor-how-to-buy__step-media--trio {
        grid-template-columns: 1fr;
    }

    .motor-how-to-buy__win-car {
        position: static;
        width: 100%;
        max-width: 320px;
        margin-top: 12px;
    }
}

@media (max-width: 640px) {
    .motor-how-to-buy {
        padding: 32px 16px 48px;
    }

    .motor-how-to-buy__step-section {
        padding-top: 32px;
    }

    .motor-how-to-buy__step-media--duo,
    .motor-how-to-buy__step-media--duo-equal,
    .motor-how-to-buy__translation-pair {
        grid-template-columns: 1fr;
    }

    .motor-how-to-buy__timeline {
        padding-left: 22px;
    }
}
