:root {
    --t4-bg: #f5f6f8;
    --t4-surface: #ffffff;
    --t4-ink: #1d232f;
    --t4-muted: #5f6b7a;
    --t4-brand: #d21f2f;
    --t4-dark: #10151f;
    --t4-border: #d9dee6;
    --t4-radius: 6px;
    --t4-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    --nav-height: 76px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Barlow, Arial, sans-serif;
    color: var(--t4-ink);
    background: var(--t4-bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.t4-container {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
}

.t4-topbar {
    background: #0a0e16;
    color: #cfd6e3;
    font-size: 13px;
}
.t4-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 38px;
}
.t4-topbar-right { display: flex; gap: 1rem; }
.t4-topbar-spacer { display: inline-block; min-height: 1em; }

.t4-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: #fff;
    border-bottom: 1px solid var(--t4-border);
}
.t4-header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.t4-brand {
    font-family: Rajdhani, sans-serif;
    font-weight: 700;
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.t4-nav { display: flex; align-items: center; gap: 1.1rem; }
.t4-nav a { font-weight: 600; color: #283346; }
.t4-nav a.active { color: var(--t4-brand); }
.t4-call-btn {
    background: var(--t4-brand);
    color: #fff !important;
    padding: .62rem .95rem;
    border-radius: 4px;
}
.t4-mobile-toggle {
    display: none;
    border: 1px solid var(--t4-border);
    border-radius: 4px;
    background: #fff;
    font-size: 22px;
}

.t4-hero {
    padding: 86px 0;
    background: linear-gradient(120deg, #1a2437, #111620);
    background-size: cover;
    background-position: center;
    color: #fff;
}
.t4-hero .t4-container {
    display: grid;
    grid-template-columns: 1.35fr .85fr;
    gap: 2rem;
    align-items: center;
}
.t4-kicker {
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #d0d9e6;
    font-weight: 600;
    margin-bottom: .8rem;
}
.t4-hero h1 {
    margin: 0;
    font-family: Rajdhani, sans-serif;
    font-size: clamp(2rem, 4.1vw, 3.5rem);
    line-height: 1.05;
}
.t4-hero p { color: #d7deea; max-width: 60ch; }
.t4-hero-actions { display: flex; gap: .7rem; margin-top: 1rem; flex-wrap: wrap; }

.t4-search-panel {
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--t4-radius);
    padding: 1.2rem;
    color: var(--t4-ink);
}
.t4-search-panel h3 {
    margin-top: 0;
    margin-bottom: .8rem;
    font-family: Rajdhani, sans-serif;
    font-size: 1.4rem;
}
.t4-search-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .7rem;
    margin-bottom: .8rem;
}

.t4-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: 700;
    padding: .72rem 1rem;
    border: 1px solid transparent;
}
.t4-btn.t4-btn-press {
    transform: translateY(1px) scale(0.992);
}
.t4-btn.is-loading {
    position: relative;
}
.t4-btn.is-loading::after {
    content: '';
    width: 14px;
    height: 14px;
    margin-left: .45rem;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: rgba(255, 255, 255, 1);
    animation: t4Spin .8s linear infinite;
}
.t4-btn-primary { background: var(--t4-brand); color: #fff; }
.t4-btn-outline { border-color: #d0d6df; background: #fff; color: #243043; }
.t4-btn-block { width: 100%; }

.t4-stats { background: #fff; border-top: 1px solid var(--t4-border); border-bottom: 1px solid var(--t4-border); }
.t4-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 260px));
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
}
.t4-stats-grid div { text-align: center; }
.t4-stats-grid strong {
    display: block;
    font-family: Rajdhani, sans-serif;
    font-size: 1.7rem;
}
.t4-stats-grid span { color: var(--t4-muted); font-size: .92rem; }

.t4-section { padding: 2.2rem 0; }
.t4-section-muted { background: #eef1f5; }
.t4-section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
}
.t4-section-head h2, .t4-two-col h2, .t4-page-hero h1, .t4-related-wrap h2 {
    margin: 0;
    font-family: Rajdhani, sans-serif;
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}
.t4-section-head > a {
    border: 1px solid #bcc6d4;
    border-radius: 4px;
    padding: .35rem .6rem;
    font-weight: 600;
    background: #fff;
}

.t4-car-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 1rem;
}
.t4-car-grid.t4-car-grid--three {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    justify-content: center;
}
.t4-car-card {
    border: 1px solid var(--t4-border);
    background: #fff;
    border-radius: var(--t4-radius);
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(15, 22, 36, .05);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.t4-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    background: #d8dde6;
    overflow: hidden;
}
.t4-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.t4-car-card:hover .t4-card-media img { transform: scale(1.05); }
.t4-card-body {
    padding: .9rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.t4-card-body h3 { margin: 0 0 .3rem; font-size: 1.03rem; line-height: 1.25; }
.t4-card-body h3 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.t4-meta { margin: 0; color: var(--t4-muted); font-size: .91rem; min-height: 1.35em; }
.t4-card-foot {
    margin-top: auto;
    padding-top: .8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
}
.t4-card-foot strong { color: var(--t4-brand); font-size: 1.1rem; }
.t4-card-foot a {
    color: #263348;
    font-weight: 700;
    font-size: .9rem;
    border: 1px solid #bcc6d4;
    border-radius: 4px;
    padding: .28rem .55rem;
    background: #fafbfd;
}

.t4-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
    align-items: start;
}
.t4-home-benefits .t4-two-col { align-items: normal; }
.t4-check-list { margin: 0 0 1.2rem; padding-left: 1.1rem; color: var(--t4-muted); line-height: 1.6; }
.t4-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.t4-mini-car {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: .7rem;
    align-items: center;
    border: 1px solid var(--t4-border);
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}
.t4-mini-car img { width: 88px; height: 62px; object-fit: cover; }
.t4-mini-car span { font-size: .92rem; font-weight: 600; padding-right: .5rem; }

.t4-cta-band {
    border: 1px solid var(--t4-border);
    background: #fff;
    border-radius: var(--t4-radius);
    padding: 1.3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}
.t4-cta-band h2 { margin: 0; font-size: 1.45rem; font-family: Rajdhani, sans-serif; }
.t4-cta-band p { margin: 0; color: var(--t4-muted); }
.t4-cta-copy { max-width: 620px; flex: 1 1 0; }
.t4-cta-form { width: min(360px, 100%); margin-left: auto; }
.t4-cta-lead-form {
    width: min(500px, 100%);
    margin-left: auto;
    background: #fff;
    border: 1px solid var(--t4-border);
    border-radius: var(--t4-radius);
    padding: 1rem;
}
.t4-cta-lead-form .form-group { margin-bottom: .75rem; }

.t4-page-hero {
    background: linear-gradient(120deg, #1a2538, #111722);
    color: #fff;
    padding: 2.6rem 0;
}
.t4-page-hero-sm { padding: 2rem 0; }
.t4-page-hero p { color: #cfd7e5; }

.t4-listing-controls {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: .7rem;
    margin-bottom: 1rem;
}
.t4-search-input input { width: 100%; }
.t4-inventory-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 1rem;
    align-items: start;
}
.t4-inventory-layout-full { grid-template-columns: 1fr; }
.t4-inventory-hero-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    align-items: center;
}
.t4-inventory-hero-copy p { margin-bottom: 0; }
.t4-inventory-hero-sidebar { color: var(--t4-ink); }

.t4-sidebar-box {
    background: #fff;
    border: 1px solid var(--t4-border);
    border-radius: var(--t4-radius);
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(10, 14, 22, .05);
}
.t4-sidebar-box h3 { margin-top: 0; font-family: Rajdhani, sans-serif; }
.inventory-empty {
    background: #fff;
    border: 1px dashed var(--t4-border);
    border-radius: var(--t4-radius);
    text-align: center;
    padding: 1.6rem;
}
.inventory-count { color: var(--t4-muted); font-size: .9rem; }

.t4-vehicle-layout {
    display: grid;
    grid-template-columns: 2.05fr 1fr;
    gap: 1rem;
    align-items: start;
}
.t4-vehicle-gallery, .t4-vehicle-description {
    background: #fff;
    border: 1px solid var(--t4-border);
    border-radius: var(--t4-radius);
}
.t4-gallery-main { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--t4-radius); }
.t4-gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.t4-gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    border: 0; width: 38px; height: 38px; border-radius: 999px;
    background: rgba(17, 24, 39, .78); color: #fff; font-size: 26px;
}
.t4-gallery-nav.prev { left: 10px; }
.t4-gallery-nav.next { right: 10px; }
.t4-gallery-counter {
    position: absolute; bottom: 10px; right: 10px;
    background: rgba(0, 0, 0, .66); color: #fff; padding: .2rem .45rem; border-radius: 4px; font-size: .82rem;
}
.t4-gallery-thumbs {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .4rem;
    margin-top: .5rem;
}
.t4-thumb { border: 1px solid var(--t4-border); border-radius: 4px; overflow: hidden; background: #fff; padding: 0; }
.t4-thumb.active { border-color: var(--t4-brand); }
.t4-thumb img { width: 100%; height: 56px; object-fit: cover; }

.t4-vehicle-description { margin-top: .8rem; padding: 1rem; }
.t4-related-wrap { margin-top: 1.2rem; }
.t4-vehicle-description h2 {
    margin-top: 0;
    margin-bottom: .65rem;
    font-family: Rajdhani, sans-serif;
    font-size: 1.45rem;
}
.t4-vehicle-description p {
    margin: 0;
    line-height: 1.7;
    color: #3f4b5d;
}
.t4-sidebar-box.t4-vehicle-facts-box {
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
    align-self: flex-start;
}
.t4-sidebar-price {
    margin: 0 0 .55rem;
    color: var(--t4-brand);
    font-family: Rajdhani, sans-serif;
    font-size: clamp(1.8rem, 2.4vw, 2.2rem);
    line-height: 1.1;
}
.t4-shipping-badge {
    display: flex;
    align-items: center;
    gap: .6rem;
    border: 1px solid var(--t4-border);
    border-radius: 4px;
    background: #fafbfd;
    padding: .55rem .65rem;
    margin-bottom: .8rem;
}
.t4-shipping-icon {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #eaf7ee;
    color: #2f8f48;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 700;
    flex: 0 0 auto;
}
.t4-shipping-badge strong {
    display: block;
    line-height: 1.2;
    font-size: .9rem;
}
.t4-shipping-badge span {
    display: block;
    color: var(--t4-muted);
    font-size: .82rem;
    line-height: 1.2;
}
.t4-vehicle-facts {
    margin: .3rem 0 .9rem;
    border: 1px solid var(--t4-border);
    border-radius: 4px;
    overflow: hidden;
}
.t4-vehicle-facts div {
    display: flex;
    justify-content: space-between;
    gap: .8rem;
    padding: .55rem .7rem;
    border-top: 1px solid var(--t4-border);
}
.t4-vehicle-facts div:first-child { border-top: 0; }
.t4-vehicle-facts span {
    color: var(--t4-muted);
    font-size: .88rem;
}
.t4-vehicle-facts strong {
    font-size: .9rem;
    text-align: right;
}
.t4-vehicle-inquiry-section {
    margin-top: .8rem;
    border: 1.5px solid rgba(210, 31, 47, 0.45);
    box-shadow: 0 14px 30px rgba(210, 31, 47, 0.18);
    border-radius: 12px;
    background: #fff;
}
.t4-inquiry-divider {
    height: 1px;
    background: var(--t4-border);
    margin: .8rem 0 1rem;
}
.t4-inquiry-success-card {
    display: none;
    text-align: center;
    padding: 1.5rem 1.2rem;
    border-radius: 6px;
    border: 1px solid #57b88a;
    background: linear-gradient(180deg, #f0fbf5 0%, #e5f8ef 100%);
    box-shadow: 0 10px 22px rgba(31, 146, 86, 0.22);
}
.t4-inquiry-success-card.is-enter {
    animation: t4FadeSlideIn .34s ease forwards;
}
.t4-inquiry-success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto .75rem;
    border-radius: 999px;
    background: #1f9a5a;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}
.t4-inquiry-success-card.is-enter .t4-inquiry-success-icon {
    animation: t4SuccessPop .35s ease .08s both;
}
.t4-inquiry-success-card h3 {
    margin: 0 0 .45rem;
    font-family: Rajdhani, sans-serif;
    font-size: 1.45rem;
    color: #176b3f;
}
.t4-inquiry-success-card p {
    margin: 0;
    color: #256348;
}
.t4-vehicle-mobile-cta { display: none; }
.t4-vehicle-facts-mobile { display: none; }
.t4-sidebar-box form {
    border-top: 1px solid var(--t4-border);
    padding-top: .9rem;
    margin-top: .9rem;
}
.t4-sidebar-box .t4-btn + .t4-btn {
    margin-top: .6rem;
}
.t4-sidebar-box p {
    color: var(--t4-muted);
    line-height: 1.6;
}
.t4-gallery-main::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 68px;
    background: linear-gradient(to top, rgba(0,0,0,.42), transparent);
    pointer-events: none;
}

.t4-lightbox {
    position: fixed; inset: 0; display: none; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, .92); z-index: 120;
}
.t4-lightbox.active { display: flex; }
.t4-lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.t4-lightbox-close {
    position: absolute; top: 14px; right: 18px; border: 0; background: transparent;
    color: #fff; font-size: 35px; cursor: pointer;
}

.t4-footer { background: #0f141e; color: #c4cedd; margin-top: 2rem; }
.t4-footer-grid {
    padding: 2rem 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 1rem;
}
.t4-footer h4 { margin-top: 0; color: #fff; font-family: Rajdhani, sans-serif; font-size: 1.2rem; }
.t4-footer-brand {
    margin: 0 0 .7rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.t4-footer-brand img {
    width: 100px;
    height: auto;
    display: block;
    max-width: 100%;
    object-fit: contain;
}
.t4-footer-brand-text {
    margin: 0 0 .7rem;
    color: #fff;
    font-family: Rajdhani, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.1;
}
.t4-footer ul { margin: 0; padding-left: 0; list-style: none; line-height: 1.9; }
.t4-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: .7rem 0; font-size: .85rem; color: #a8b2c4; }

input, select, textarea, .form-control {
    width: 100%;
    border: 1px solid var(--t4-border);
    border-radius: 4px;
    padding: .68rem .72rem;
    font: inherit;
    color: #202735;
    background: #fff;
}
textarea { resize: vertical; }
label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .93rem; color: #2a3447; }
.form-group { margin-bottom: .95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.consent-group { font-size: .86rem; color: var(--t4-muted); margin-bottom: .8rem; }
.consent-group label {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    margin: 0;
    font-weight: 500;
    line-height: 1.45;
    color: var(--t4-muted);
    cursor: pointer;
}
.consent-group input[type="checkbox"] {
    width: auto;
    min-width: 16px;
    height: 16px;
    margin: .14rem 0 0;
    padding: 0;
    flex: 0 0 auto;
}
select option { color: #000; background-color: #fff; }
.t4-form-feedback {
    display: none;
    margin: 0 0 .9rem;
    padding: .7rem .8rem;
    border-radius: 4px;
    border: 1px solid transparent;
    font-size: .92rem;
    line-height: 1.45;
}
.t4-form-feedback.is-enter {
    animation: t4FadeSlideIn .28s ease forwards;
}
.t4-form-feedback.is-enter-error {
    animation: t4FadeSlideIn .22s ease, t4Shake .28s ease .02s;
}
.t4-form-feedback.is-success {
    background: #e9f9ef;
    border-color: #67c196;
    color: #176b3f;
}
.t4-form-feedback.is-error {
    background: #fff2f2;
    border-color: #f0b1b7;
    color: #8d1f2f;
}
.t4-form-exit {
    animation: t4FormExit .22s ease forwards;
}

@keyframes t4Spin {
    to { transform: rotate(360deg); }
}
@keyframes t4FadeSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes t4FormExit {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-6px); }
}
@keyframes t4SuccessPop {
    0% { transform: scale(0.82); }
    70% { transform: scale(1.06); }
    100% { transform: scale(1); }
}
@keyframes t4Shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

.page-header {
    background: linear-gradient(120deg, #1a2437, #111620);
    color: #fff;
    text-align: center;
    padding: 2.4rem 1rem;
}
.page-header h1 { margin: 0; font-family: Rajdhani, sans-serif; }
.page-header p { color: #d4dcea; margin-top: .5rem; }

.t4-surface-card {
    background: #fff;
    border: 1px solid var(--t4-border);
    border-radius: var(--t4-radius);
    padding: 1.2rem;
    box-shadow: 0 2px 8px rgba(10, 14, 22, .05);
}
.t4-surface-card h2 {
    margin: 0 0 .6rem;
    font-family: Rajdhani, sans-serif;
    font-size: 1.8rem;
}
.t4-muted { color: var(--t4-muted); }

.t4-about-grid,
.t4-form-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    align-items: start;
}
.t4-contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.t4-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.t4-feature-card {
    background: #fff;
    border: 1px solid var(--t4-border);
    border-radius: var(--t4-radius);
    padding: 1rem;
}
.t4-feature-card h3 {
    margin: 0 0 .5rem;
    font-family: Rajdhani, sans-serif;
    font-size: 1.35rem;
}
.t4-feature-card p { margin: 0; color: var(--t4-muted); line-height: 1.65; }

.t4-main-form { margin-top: 1rem; }
.t4-main-form input,
.t4-main-form textarea,
.t4-main-form select {
    border: 1px solid rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    outline: none;
}
.t4-main-form input:focus,
.t4-main-form textarea:focus,
.t4-main-form select:focus {
    border-color: rgba(210, 31, 47, 0.7);
    box-shadow: 0 0 0 3px rgba(210, 31, 47, 0.15);
}
.t4-main-form input:hover,
.t4-main-form textarea:hover,
.t4-main-form select:hover {
    border-color: rgba(210, 31, 47, 0.4);
}
.t4-main-form textarea {
    resize: vertical;
}
.t4-form-subhead {
    margin: 1rem 0 .6rem;
    font-family: Rajdhani, sans-serif;
    font-size: 1.25rem;
    border-bottom: 1px solid var(--t4-border);
    padding-bottom: .4rem;
}
.t4-process-list {
    margin: .2rem 0 1rem;
    padding-left: 1.1rem;
    color: var(--t4-muted);
    line-height: 1.7;
}

.t4-buy-vehicle img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: .7rem;
}
.t4-buy-vehicle h4 {
    margin: 0 0 .3rem;
    font-size: 1.06rem;
    line-height: 1.35;
}
.t4-buy-price {
    color: var(--t4-brand);
    font-weight: 700;
    font-size: 1.12rem;
    margin: 0 0 .8rem;
}
.t4-file-note { font-size: .86rem; margin-top: .35rem; }

.t4-legal-card {
    background: #fff;
    border: 1px solid var(--t4-border);
    border-radius: var(--t4-radius);
    padding: 1.4rem;
    box-shadow: 0 2px 8px rgba(10, 14, 22, .05);
    line-height: 1.75;
}
.t4-legal-meta {
    margin: 0 0 1rem;
    color: var(--t4-muted);
    font-size: .92rem;
}
.t4-legal-card h2 {
    margin: 1.25rem 0 .45rem;
    font-family: Rajdhani, sans-serif;
    font-size: 1.45rem;
    color: #1f2c40;
}
.t4-legal-card p {
    margin: 0 0 .7rem;
    color: #3f4b5d;
}

.t4-404-card {
    background: #fff;
    border: 1px solid var(--t4-border);
    border-radius: var(--t4-radius);
    box-shadow: 0 2px 8px rgba(10, 14, 22, .05);
    text-align: center;
    padding: 2rem 1.4rem;
}
.t4-404-code {
    font-family: Rajdhani, sans-serif;
    font-size: clamp(3.3rem, 10vw, 5.2rem);
    line-height: 1;
    color: var(--t4-brand);
    margin-bottom: .4rem;
}
.t4-404-card h2 {
    margin: 0 0 .5rem;
    font-family: Rajdhani, sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
}
.t4-404-card p {
    color: var(--t4-muted);
    margin: 0 0 1rem;
}
.t4-404-card .t4-hero-actions {
    justify-content: center;
    margin-top: 0;
}

@media (max-width: 1000px) {
    .t4-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid var(--t4-border); padding: .8rem 1rem; flex-direction: column; align-items: flex-start; }
    .t4-nav.is-open { display: flex; }
    .t4-nav.is-open { align-items: center; text-align: center; }
    .t4-nav.is-open a { width: 100%; text-align: center; }
    .t4-mobile-toggle { display: inline-flex; width: 42px; height: 38px; align-items: center; justify-content: center; }
    .t4-hero .t4-container,
    .t4-two-col,
    .t4-inventory-layout,
    .t4-vehicle-layout,
    .t4-footer-grid { grid-template-columns: 1fr; }
    .t4-car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .t4-car-grid.t4-car-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .t4-stats-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
        justify-content: center;
    }
    .t4-stats-grid div:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        width: min(320px, 100%);
    }
    .t4-listing-controls { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .t4-about-grid,
    .t4-form-layout,
    .t4-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .t4-topbar-inner { justify-content: center; }
    .t4-topbar-spacer { display: none; }
    .t4-topbar-right {
        display: flex;
        width: 100%;
        justify-content: center;
    }
    .t4-topbar-right a:last-child { display: none; }
    .t4-stats-grid {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
        justify-content: center;
    }
    .t4-stats-grid div:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        width: min(290px, 100%);
        padding: .2rem 0;
    }
    .t4-stats-grid div:nth-child(3) strong { font-size: 1.85rem; }
    .t4-car-grid { grid-template-columns: 1fr; }
    .t4-car-grid.t4-car-grid--three { grid-template-columns: 1fr; }
    .t4-listing-controls { grid-template-columns: 1fr; }
    .t4-inventory-hero-row { grid-template-columns: 1fr; }
    .t4-home-benefits .t4-mini-grid { display: none; }
    .t4-inventory-hero-sidebar { display: none; }
    .t4-footer,
    .t4-footer-bottom,
    .t4-footer-grid,
    .t4-footer-grid div { text-align: center; }
    .t4-footer ul { text-align: center; }
    .t4-cta-form,
    .t4-cta-lead-form { margin-left: 0; width: 100%; }
    .t4-vehicle-page .t4-container { padding-bottom: 88px; }
    .t4-sidebar-box.t4-vehicle-facts-box { position: static; top: auto; }
    .t4-vehicle-facts-mobile { display: block; margin-top: .75rem; }
    .t4-vehicle-layout > aside { display: none; }
    .t4-vehicle-mobile-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 95;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .45rem;
        padding: .55rem;
        background: rgba(16, 21, 31, .96);
        border-top: 1px solid rgba(255,255,255,.12);
    }
    .t4-vehicle-mobile-cta .t4-btn { width: 100%; padding: .68rem .45rem; font-size: .84rem; }
    .t4-vehicle-mobile-cta .t4-btn { white-space: normal; min-width: 0; text-align: center; line-height: 1.2; }
}

@media (max-width: 768px) {
    .t4-contact-layout {
        grid-template-columns: 1fr;
    }
}
