:root {
    --porcelain: #fbfffc;
    --mint: #61C9A8;
    --evergreen: #1A281F;
    --black: #010400;
    --ink: #1A281F;
    --muted: #818AA3;
    --line: #dce6e1;
    --surface: #ffffff;
    --soft-mint: #e8f8f2;
    --brown-red: #A52422;
    --shadow: 0 18px 45px rgba(1, 4, 0, .13);
    --container: 1320px;
    --gutter: clamp(18px, 4vw, 40px);
    --container-pad: max(var(--gutter), calc((100vw - var(--container)) / 2));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(97, 201, 168, .08), transparent 360px),
        var(--porcelain);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

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

::selection {
    color: var(--evergreen);
    background: var(--mint);
}

:focus-visible {
    outline: 3px solid rgba(97, 201, 168, .55);
    outline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 2vw, 24px);
    padding: 8px var(--container-pad);
    color: var(--porcelain);
    background: rgba(1, 4, 0, .94);
    border-bottom: 1px solid rgba(251, 254, 249, .12);
    backdrop-filter: blur(12px);
}

.brand {
    flex: 0 0 auto;
}

.brand img {
    width: clamp(116px, 13vw, 150px);
    height: auto;
    max-height: 54px;
    aspect-ratio: 1288 / 557;
    object-fit: contain;
}

.main-nav {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    gap: clamp(12px, 2.4vw, 26px);
    font-weight: 700;
    font-size: clamp(.78rem, 1vw, .86rem);
    white-space: nowrap;
}

.main-nav a,
.header-whatsapp {
    opacity: .84;
    transition: opacity .2s, color .2s;
}

.main-nav a:hover,
.header-whatsapp:hover {
    color: var(--mint);
    opacity: 1;
}

.header-whatsapp {
    flex: 0 0 auto;
    padding: 10px 15px;
    border: 1px solid rgba(251, 254, 249, .22);
    border-radius: 8px;
    font-size: clamp(.78rem, 1vw, .86rem);
    font-weight: 800;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: min(740px, calc(100vh - 61px));
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr);
    align-items: center;
    gap: clamp(24px, 4.5vw, 68px);
    padding: clamp(46px, 7vw, 82px) var(--container-pad);
    color: var(--porcelain);
    background:
        linear-gradient(105deg, rgba(1, 4, 0, .98), rgba(26, 40, 31, .9) 50%, rgba(97, 201, 168, .9)),
        radial-gradient(circle at 75% 24%, rgba(251, 255, 252, .14), transparent 34%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 38%;
    background: linear-gradient(180deg, transparent, rgba(1, 4, 0, .42));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--mint);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2.6rem, 4.7vw, 5rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-copy {
    display: none;
    max-width: 600px;
    margin: 24px 0 0;
    color: rgba(251, 254, 249, .78);
    font-size: clamp(1rem, 1.15vw, 1.13rem);
    line-height: 1.65;
}

.hero-actions,
.filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    margin-top: 4px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}

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

.button.primary {
    color: var(--evergreen);
    background: var(--mint);
    box-shadow: 0 12px 28px rgba(97, 201, 168, .28);
}

.button.primary:hover {
    background: #7bd5ba;
    box-shadow: 0 15px 34px rgba(97, 201, 168, .34);
}

.button.ghost {
    color: var(--porcelain);
    background: rgba(251, 254, 249, .1);
    border: 1px solid rgba(251, 254, 249, .2);
}

.button.clean {
    color: var(--evergreen);
    background: var(--soft-mint);
}

.button.wide {
    width: 100%;
}

.search-band,
.inventory,
.finance-section,
.detail-shell,
.content-split {
    padding: clamp(34px, 5vw, 64px) var(--container-pad);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.section-heading h2,
.finance-section h2,
.description-block h2,
.lead-form h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.08;
}

.filters {
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) repeat(5, minmax(124px, .82fr));
    gap: 12px;
    align-items: end;
    padding: clamp(14px, 2vw, 20px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

label {
    display: grid;
    gap: 8px;
}

label span {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 14px;
    color: var(--ink);
    background: #fff;
    font: inherit;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

textarea {
    padding-top: 12px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(97, 201, 168, .22);
    border-color: var(--mint);
    box-shadow: 0 0 0 1px rgba(97, 201, 168, .16);
}

.inventory {
    padding-bottom: clamp(44px, 6vw, 78px);
    padding-top: 0;
}

.inventory.is-loading {
    opacity: .58;
    pointer-events: none;
    transition: opacity .18s ease;
}

.inventory-top {
    display: flex;
    justify-content: flex-end;
    color: var(--muted);
    font-weight: 700;
    min-height: 32px;
}

.inventory-top p {
    margin: 0 0 18px;
    padding-inline: 4px;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 292px), 1fr));
    gap: clamp(16px, 2vw, 22px);
}

.vehicle-card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 4, .08);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.vehicle-card:hover {
    transform: translateY(-4px);
    border-color: rgba(97, 201, 168, .44);
    box-shadow: var(--shadow);
}

.vehicle-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--black);
}

.vehicle-media > img,
.main-photo > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.vehicle-card:hover .vehicle-media > img {
    transform: scale(1.035);
}

.vehicle-media span {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 7px 10px;
    color: var(--porcelain);
    background: rgba(0, 0, 4, .76);
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 800;
}

.photo-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--black), var(--evergreen));
}

.photo-placeholder img {
    width: 72%;
    opacity: .9;
}

.photo-placeholder.large {
    min-height: 420px;
}

.vehicle-info {
    display: grid;
    align-content: start;
    padding: 18px;
}

.vehicle-brand {
    margin: 0 0 6px;
    color: var(--mint);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.vehicle-info h3,
.vehicle-panel h1 {
    margin: 0;
    line-height: 1.12;
}

.vehicle-info h3 {
    min-height: 52px;
    font-size: clamp(1.18rem, 1.5vw, 1.35rem);
}

.vehicle-meta {
    display: grid;
    gap: 8px;
    margin: 18px 0;
}

.vehicle-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vehicle-meta span {
    padding: 10px;
    color: var(--muted);
    background: #f3f8f6;
    border-radius: 8px;
    font-size: .86rem;
    font-weight: 700;
    min-width: 0;
}

.vehicle-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.vehicle-bottom strong,
.detail-price {
    color: var(--black);
    font-size: clamp(1.18rem, 1.5vw, 1.35rem);
    font-weight: 800;
}

.vehicle-bottom a {
    color: var(--mint);
    font-weight: 800;
    white-space: nowrap;
}

.finance-section {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, .75fr);
    gap: clamp(22px, 4vw, 54px);
    align-items: center;
    color: var(--porcelain);
    background:
        linear-gradient(120deg, rgba(1, 4, 0, .98), rgba(26, 40, 31, .9) 52%, rgba(97, 201, 168, .88)),
        linear-gradient(90deg, transparent, rgba(251, 254, 249, .06));
}

.finance-copy {
    max-width: 690px;
}

.finance-copy p:not(.eyebrow) {
    margin: 18px 0 0;
    max-width: 640px;
    color: rgba(251, 254, 249, .74);
    font-size: 1.05rem;
    line-height: 1.75;
}

.finance-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button.ghost.dark {
    color: var(--porcelain);
    background: rgba(251, 254, 249, .08);
    border: 1px solid rgba(251, 254, 249, .2);
}

.finance-panel {
    display: grid;
    gap: 14px;
}

.rate-card {
    padding: clamp(20px, 3vw, 30px);
    background: var(--porcelain);
    color: var(--black);
    border-radius: 8px;
    box-shadow: 0 22px 44px rgba(0, 0, 4, .28);
}

.rate-card span,
.rate-card strong,
.rate-card small,
.finance-benefits strong,
.finance-benefits span,
.site-footer strong,
.site-footer span {
    display: block;
}

.rate-card span {
    color: var(--evergreen);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.rate-card strong {
    margin-top: 8px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

.rate-card small {
    margin-top: 12px;
    color: #65716d;
    font-size: .92rem;
    line-height: 1.45;
}

.finance-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.finance-benefits div {
    padding: 16px;
    min-height: 128px;
    background: rgba(251, 254, 249, .08);
    border: 1px solid rgba(251, 254, 249, .13);
    border-radius: 8px;
}

.finance-benefits strong {
    color: var(--porcelain);
}

.finance-benefits span {
    margin-top: 8px;
    color: rgba(251, 254, 249, .68);
    line-height: 1.5;
    font-size: .92rem;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 22px var(--container-pad);
    color: var(--porcelain);
    background: var(--black);
}

.site-footer img {
    width: 168px;
}

.site-footer span {
    color: rgba(251, 254, 249, .65);
}

.notice,
.success,
.empty-state {
    padding: 18px;
    border-radius: 8px;
}

.notice {
    color: #7a3600;
    background: #fff3df;
    border: 1px solid #ffd49a;
}

.success {
    color: var(--evergreen);
    background: var(--soft-mint);
    border: 1px solid rgba(97, 201, 168, .48);
}

.empty-state {
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
}

.detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .65fr);
    gap: 24px;
    align-items: start;
}

.gallery,
.vehicle-panel,
.description-block,
.lead-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 4, .08);
}

.gallery {
    overflow: hidden;
}

.main-photo {
    aspect-ratio: 16 / 10;
    background: var(--black);
}

.thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    padding: 10px;
}

.thumbs button {
    aspect-ratio: 1;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    transition: border-color .2s, transform .2s;
}

.thumbs button:hover {
    transform: translateY(-1px);
    border-color: rgba(97, 201, 168, .35);
}

.thumbs button.active {
    border-color: var(--mint);
}

.thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-panel,
.description-block,
.lead-form {
    padding: 24px;
}

.vehicle-panel {
    position: sticky;
    top: 86px;
}

.vehicle-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.vehicle-panel h1 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 4vw, 3.45rem);
}

.detail-price {
    display: block;
    margin-bottom: 18px;
    color: var(--mint);
    font-size: 2rem;
}

.vehicle-status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    color: var(--evergreen);
    background: var(--soft-mint);
    border: 1px solid rgba(97, 201, 168, .44);
    border-radius: 8px;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.detail-highlights {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.detail-highlights span {
    display: grid;
    gap: 4px;
    padding: 14px;
    color: var(--muted);
    background: #f3f8f6;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: .86rem;
    font-weight: 700;
}

.detail-highlights b {
    display: block;
    color: var(--ink);
    font-size: 1rem;
}

.vehicle-assurance {
    display: grid;
    gap: 8px;
    margin: 18px 0;
    padding: 14px;
    background: rgba(26, 40, 31, .04);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.vehicle-assurance span {
    position: relative;
    padding-left: 18px;
    color: #46564f;
    font-size: .92rem;
    line-height: 1.4;
}

.vehicle-assurance span::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 7px;
    height: 7px;
    background: var(--mint);
    border-radius: 50%;
}

.content-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
    gap: 24px;
    padding-top: 0;
}

.description-block p {
    color: #46564f;
    line-height: 1.8;
}

.detail-section-heading {
    margin-bottom: 18px;
}

.detail-section-heading .eyebrow {
    margin-bottom: 8px;
}

.description-block h3 {
    margin-top: 28px;
}

.spec-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.spec-list div {
    padding: 14px;
    background: #f3f8f6;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.spec-list span,
.spec-list strong {
    display: block;
}

.spec-list span {
    color: var(--muted);
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.spec-list strong {
    margin-top: 6px;
    color: var(--ink);
    line-height: 1.35;
}

.optional-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.optional-list li {
    position: relative;
    padding: 12px 12px 12px 34px;
    color: #46564f;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    line-height: 1.45;
}

.optional-list li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 18px;
    width: 8px;
    height: 8px;
    background: var(--mint);
    border-radius: 50%;
}

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

@media (max-width: 1100px) {
    .detail-shell,
    .content-split,
    .finance-section {
        grid-template-columns: 1fr;
    }

    .vehicle-panel {
        position: static;
    }

    .site-header {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        flex-basis: 100%;
        justify-content: space-between;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr);
    }

    .filters {
        grid-template-columns: repeat(3, 1fr);
    }

    .vehicle-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 900px) {
    .hero,
    .detail-shell,
    .content-split,
    .finance-section {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 760px) {
    .site-header {
        position: static;
        gap: 10px 14px;
    }

    .brand {
        flex-basis: auto;
    }

    .brand img {
        width: 116px;
        height: auto;
        max-height: 50px;
    }

    .main-nav {
        flex-basis: 100%;
        justify-content: flex-start;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
        font-size: .76rem;
        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav a {
        padding: 8px 10px;
        background: rgba(251, 254, 249, .08);
        border: 1px solid rgba(251, 254, 249, .1);
        border-radius: 8px;
    }

    .header-whatsapp {
        padding: 9px 11px;
        font-size: .76rem;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 11vw, 3.35rem);
        line-height: 1.04;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .filters,
    .vehicle-grid,
    .finance-benefits,
    .spec-list,
    .optional-list {
        grid-template-columns: 1fr;
    }

    .finance-section {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .finance-copy p:not(.eyebrow) {
        font-size: 1rem;
    }

    .finance-actions,
    .finance-actions .button {
        width: 100%;
    }

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

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

    .section-heading,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-actions,
    .filter-actions .button {
        width: 100%;
    }

    .thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 420px) {
    .site-header {
        align-items: flex-start;
    }

    .header-whatsapp {
        max-width: calc(100vw - 160px);
        white-space: nowrap;
    }

    .button {
        width: 100%;
    }

    .vehicle-meta {
        grid-template-columns: 1fr;
    }

    .site-footer img {
        width: 138px;
    }
}

@media (min-width: 1500px) {
    :root {
        --container: 1360px;
    }

    .hero {
        min-height: 720px;
    }
}

/* Visual refresh */
:root {
    --porcelain: #f6fbf8;
    --mint: #4fd0a3;
    --evergreen: #14251d;
    --black: #07100c;
    --ink: #13231c;
    --muted: #66766f;
    --line: #d8e5df;
    --surface: #ffffff;
    --soft-mint: #e9f8f1;
    --amber: #f3b45f;
    --shadow: 0 18px 45px rgba(7, 16, 12, .1);
}

body {
    background:
        linear-gradient(180deg, rgba(79, 208, 163, .11), rgba(246, 251, 248, 0) 320px),
        linear-gradient(90deg, rgba(20, 37, 29, .035), rgba(243, 180, 95, .045)),
        var(--porcelain);
}

.site-header {
    min-height: 60px;
    display: grid;
    grid-template-columns: minmax(128px, auto) minmax(0, 1fr) auto;
    padding-top: 7px;
    padding-bottom: 7px;
    background: rgba(7, 16, 12, .9);
    box-shadow: 0 14px 30px rgba(7, 16, 12, .14);
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.brand img {
    display: block;
    width: auto;
    height: clamp(36px, 4vw, 44px);
    max-width: clamp(124px, 15vw, 168px);
    max-height: none;
    object-fit: contain;
}

.main-nav a {
    position: relative;
    padding: 10px 2px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--mint);
    transition: transform .2s ease;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.header-whatsapp {
    background: rgba(251, 255, 252, .07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.hero {
    min-height: min(760px, calc(100vh - 60px));
    grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
    isolation: isolate;
    background:
        linear-gradient(110deg, rgba(7, 16, 12, .98), rgba(20, 37, 29, .94) 47%, rgba(27, 67, 54, .9)),
        linear-gradient(180deg, rgba(79, 208, 163, .12), transparent);
}

.hero::before {
    inset: 0;
    height: auto;
    background:
        linear-gradient(180deg, transparent 68%, rgba(7, 16, 12, .52)),
        repeating-linear-gradient(90deg, rgba(251, 255, 252, .045) 0 1px, transparent 1px 110px);
    opacity: .9;
    z-index: -1;
}

.hero-copy {
    display: block;
}

.hero-actions {
    margin-top: 30px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 640px;
    margin-top: clamp(28px, 4vw, 44px);
}

.hero-stats span {
    display: grid;
    gap: 4px;
    min-height: 82px;
    padding: 14px;
    color: rgba(251, 255, 252, .68);
    background: rgba(251, 255, 252, .075);
    border: 1px solid rgba(251, 255, 252, .13);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.hero-stats b {
    display: block;
    color: var(--porcelain);
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
    line-height: 1.15;
}

.hero-showcase {
    position: relative;
    z-index: 1;
    min-height: clamp(360px, 43vw, 560px);
}

.hero-logo-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(320px, 38vw, 500px);
    padding: clamp(34px, 6vw, 72px);
    background:
        radial-gradient(circle at 50% 45%, rgba(79, 208, 163, .2), transparent 58%),
        linear-gradient(145deg, rgba(251, 255, 252, .1), rgba(7, 16, 12, .42));
    border: 1px solid rgba(251, 255, 252, .12);
    border-radius: 8px;
    box-shadow: 0 34px 70px rgba(0, 0, 0, .34);
}

.hero-logo-mark {
    width: min(100%, clamp(260px, 34vw, 500px));
    height: auto;
    filter: drop-shadow(0 24px 38px rgba(0, 0, 0, .42));
}

.hero-showcase::before {
    content: "";
    position: absolute;
    inset: 14px -14px -14px 14px;
    z-index: -1;
    border: 1px solid rgba(79, 208, 163, .5);
    border-radius: 8px;
}

.hero-badge {
    position: absolute;
    left: clamp(14px, 3vw, 28px);
    right: auto;
    bottom: clamp(14px, 3vw, 28px);
    display: grid;
    gap: 3px;
    max-width: min(300px, calc(100% - 28px));
    padding: 13px 16px;
    color: var(--porcelain);
    background: rgba(7, 16, 12, .82);
    border: 1px solid rgba(251, 255, 252, .16);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .28);
    backdrop-filter: blur(14px);
}

.hero-badge strong {
    color: var(--porcelain);
    font-size: 1rem;
    line-height: 1.2;
}

.hero-badge span {
    color: rgba(251, 255, 252, .78);
    font-size: .88rem;
    font-weight: 700;
}

.search-band {
    margin-top: -54px;
    position: relative;
    z-index: 2;
}

.section-heading {
    display: grid;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: clamp(18px, 2.8vw, 32px);
    padding-inline: clamp(2px, .8vw, 8px);
}

.section-heading h2 {
    max-width: 680px;
}

.section-heading .eyebrow {
    margin-bottom: 0;
}

.filters,
.gallery,
.vehicle-panel,
.description-block,
.lead-form,
.empty-state {
    box-shadow: 0 18px 42px rgba(7, 16, 12, .08);
}

.filters {
    border-color: rgba(79, 208, 163, .24);
    gap: clamp(12px, 1.7vw, 18px);
    padding: clamp(18px, 2.5vw, 28px);
}

input,
select,
textarea {
    border-color: #cfded7;
    background: #fbfefd;
}

.vehicle-grid {
    align-items: stretch;
}

.vehicle-card {
    display: grid;
    grid-template-rows: auto 1fr;
    border-color: rgba(20, 37, 29, .1);
}

.vehicle-info {
    min-height: 238px;
    gap: 12px;
    padding: clamp(20px, 2.3vw, 26px);
}

.vehicle-brand {
    margin-bottom: 0;
    color: #258866;
}

.vehicle-info h3 {
    min-height: 56px;
}

.vehicle-meta span,
.detail-highlights span,
.spec-list div {
    background: #f1f7f4;
}

.vehicle-meta {
    gap: 10px;
    margin: 8px 0 12px;
}

.vehicle-meta span {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 11px 12px;
    line-height: 1.25;
}

.vehicle-bottom {
    margin-top: 2px;
    padding-top: 2px;
    border-top: 1px solid rgba(216, 229, 223, .78);
}

.vehicle-bottom a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    color: var(--evergreen);
    background: var(--soft-mint);
    border-radius: 8px;
}

.finance-section {
    position: relative;
    overflow: hidden;
    padding-top: clamp(48px, 6vw, 82px);
    padding-bottom: clamp(48px, 6vw, 82px);
    background:
        linear-gradient(115deg, rgba(7, 16, 12, .98), rgba(20, 37, 29, .94) 55%, rgba(79, 208, 163, .78)),
        var(--evergreen);
}

.rate-card {
    padding: clamp(24px, 3.4vw, 36px);
    border: 1px solid rgba(251, 255, 252, .42);
}

.finance-benefits div {
    padding: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.finance-benefits strong {
    line-height: 1.25;
}

.finance-benefits span {
    margin-top: 10px;
}

.empty-state {
    padding: clamp(28px, 4vw, 44px);
}

.empty-state h1,
.empty-state h3 {
    margin: 0 0 10px;
}

.empty-state p {
    margin: 0 auto 20px;
    max-width: 560px;
    color: var(--muted);
    line-height: 1.65;
}

.detail-shell {
    gap: clamp(20px, 3vw, 34px);
    padding-top: clamp(34px, 5vw, 64px);
}

.main-photo {
    min-height: 320px;
}

.thumbs {
    gap: 10px;
    padding: clamp(12px, 1.6vw, 18px);
    background: #fbfefd;
    border-top: 1px solid rgba(216, 229, 223, .78);
}

.vehicle-panel,
.description-block,
.lead-form {
    padding: clamp(22px, 3vw, 34px);
}

.vehicle-panel-head {
    gap: 14px;
    margin-bottom: 14px;
}

.vehicle-panel h1 {
    font-size: clamp(1.9rem, 3.1vw, 3.05rem);
    line-height: 1.08;
}

.detail-price {
    margin-bottom: 22px;
}

.detail-highlights {
    gap: 12px;
    margin: 20px 0;
}

.detail-highlights span {
    padding: 16px;
}

.vehicle-assurance {
    gap: 10px;
    margin: 20px 0 22px;
    padding: 16px;
}

.content-split {
    gap: clamp(20px, 3vw, 34px);
    padding-bottom: clamp(42px, 6vw, 76px);
}

.detail-section-heading {
    margin-bottom: 22px;
}

.description-block p {
    margin: 0;
}

.description-block h3 {
    margin: 34px 0 0;
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
}

.spec-list,
.optional-list {
    gap: 12px;
    margin-top: 16px;
}

.spec-list div {
    padding: 16px;
}

.optional-list li {
    padding: 14px 14px 14px 36px;
}

.lead-form {
    align-self: start;
    gap: 16px;
}

.lead-form h2 {
    margin-bottom: 2px;
}

.button {
    letter-spacing: 0;
}

.button.primary {
    background: linear-gradient(180deg, #65ddb4, var(--mint));
}

.button.ghost:hover,
.button.ghost.dark:hover {
    background: rgba(251, 255, 252, .16);
}

.site-footer {
    padding-top: clamp(24px, 3vw, 34px);
    padding-bottom: clamp(24px, 3vw, 34px);
}

.site-footer div {
    display: grid;
    gap: 5px;
}

@media (max-width: 1100px) {
    .site-header {
        grid-template-columns: minmax(120px, auto) minmax(0, 1fr) auto;
    }

    .main-nav {
        grid-column: auto;
    }

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

    .hero-showcase {
        min-height: auto;
    }

    .search-band {
        margin-top: 0;
    }
}

@media (max-width: 760px) {
    .site-header {
        position: sticky;
        grid-template-columns: auto auto;
        align-items: center;
        min-height: auto;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .brand img {
        height: 40px;
        max-width: 142px;
    }

    .main-nav a::after {
        display: none;
    }

    .hero {
        padding-top: 38px;
        padding-bottom: 34px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-stats span {
        min-height: 64px;
    }

    .hero-showcase::before {
        inset: 10px -8px -8px 10px;
    }

    .hero-badge {
        max-width: min(280px, calc(100% - 28px));
    }

    .search-band,
    .inventory,
    .finance-section,
    .detail-shell,
    .content-split {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .section-heading {
        margin-bottom: 18px;
        padding-inline: 0;
    }

    .filters {
        padding: 16px;
    }

    .inventory-top {
        justify-content: flex-start;
    }

    .vehicle-info {
        min-height: auto;
        padding: 20px;
    }

    .vehicle-info h3 {
        min-height: auto;
    }

    .vehicle-meta {
        margin: 4px 0 8px;
    }

    .main-photo {
        min-height: 230px;
    }

    .vehicle-panel,
    .description-block,
    .lead-form {
        padding: 20px;
    }

    .content-split {
        gap: 18px;
    }

    .finance-benefits div {
        min-height: auto;
    }
}

@media (max-width: 420px) {
    .header-whatsapp {
        max-width: none;
    }

    .hero-badge {
        position: static;
        margin-top: 10px;
        max-width: 100%;
    }

    .hero-showcase::before {
        display: none;
    }
}

/* Modern inventory cards */
.vehicle-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(18px, 2.4vw, 30px);
}

.vehicle-card {
    position: relative;
    isolation: isolate;
    overflow: clip;
    display: grid;
    grid-template-rows: auto 1fr;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(246, 251, 248, .98)),
        var(--surface);
    border: 1px solid rgba(20, 37, 29, .1);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(7, 16, 12, .08);
    transform: translateY(0);
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease,
        background .22s ease;
}

.vehicle-card::after {
    content: "";
    position: absolute;
    inset: auto 18px 0;
    height: 3px;
    z-index: 2;
    background: linear-gradient(90deg, var(--mint), var(--amber));
    border-radius: 999px 999px 0 0;
    opacity: 0;
    transform: scaleX(.55);
    transform-origin: center;
    transition: opacity .22s ease, transform .22s ease;
}

.vehicle-card:hover,
.vehicle-card:focus-within {
    transform: translateY(-7px);
    border-color: rgba(79, 208, 163, .42);
    box-shadow: 0 28px 58px rgba(7, 16, 12, .14);
}

.vehicle-card:hover::after,
.vehicle-card:focus-within::after {
    opacity: 1;
    transform: scaleX(1);
}

.vehicle-media {
    aspect-ratio: 16 / 10.8;
    border-radius: 8px 8px 0 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(79, 208, 163, .18), transparent 34%),
        #07100c;
}

.vehicle-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(7, 16, 12, .02) 42%, rgba(7, 16, 12, .42)),
        linear-gradient(90deg, rgba(7, 16, 12, .22), transparent 45%);
    opacity: .78;
    transition: opacity .22s ease;
}

.vehicle-card:hover .vehicle-media::after,
.vehicle-card:focus-within .vehicle-media::after {
    opacity: .48;
}

.vehicle-media > img {
    transform: scale(1.001);
    transition: transform .45s ease, filter .28s ease;
}

.vehicle-card:hover .vehicle-media > img,
.vehicle-card:focus-within .vehicle-media > img {
    transform: scale(1.055);
    filter: saturate(1.06) contrast(1.03);
}

.vehicle-media span {
    top: 14px;
    right: 14px;
    left: auto;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    color: var(--evergreen);
    background: rgba(251, 255, 252, .9);
    border: 1px solid rgba(251, 255, 252, .62);
    border-radius: 999px;
    box-shadow: 0 12px 26px rgba(7, 16, 12, .2);
    backdrop-filter: blur(12px);
}

.photo-placeholder {
    background:
        radial-gradient(circle at 50% 42%, rgba(79, 208, 163, .28), transparent 48%),
        linear-gradient(135deg, #07100c, #173427);
}

.photo-placeholder img {
    width: min(72%, 260px);
    filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .32));
}

.vehicle-info {
    position: relative;
    min-height: 264px;
    padding: clamp(18px, 2vw, 24px);
    gap: 13px;
}

.vehicle-brand {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 24px;
    margin: 0;
    padding: 0 9px;
    color: #176e54;
    background: rgba(79, 208, 163, .13);
    border: 1px solid rgba(79, 208, 163, .24);
    border-radius: 999px;
    font-size: .72rem;
    letter-spacing: 0;
}

.vehicle-info h3 {
    min-height: 0;
    font-size: clamp(1.18rem, 1.35vw, 1.42rem);
    line-height: 1.12;
}

.vehicle-info h3 a {
    transition: color .18s ease;
}

.vehicle-card:hover .vehicle-info h3 a,
.vehicle-card:focus-within .vehicle-info h3 a {
    color: #176e54;
}

.vehicle-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.vehicle-meta span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 8px;
    color: #40524a;
    text-align: center;
    line-height: 1.18;
    background: rgba(241, 247, 244, .88);
    border: 1px solid rgba(216, 229, 223, .76);
    border-radius: 8px;
}

.vehicle-bottom {
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(216, 229, 223, .78);
}

.vehicle-bottom strong {
    color: #07100c;
    font-size: clamp(1.2rem, 1.45vw, 1.44rem);
    letter-spacing: 0;
}

.vehicle-bottom a {
    min-height: 40px;
    padding: 0 15px;
    color: #07100c;
    background: linear-gradient(135deg, var(--mint), #f3b45f);
    border: 1px solid rgba(7, 16, 12, .08);
    box-shadow: 0 12px 24px rgba(79, 208, 163, .24);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.vehicle-bottom a::after {
    content: ">";
    margin-left: 8px;
    font-weight: 900;
    transition: transform .18s ease;
}

.vehicle-bottom a:hover,
.vehicle-bottom a:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(79, 208, 163, .32);
    filter: saturate(1.04);
}

.vehicle-bottom a:hover::after,
.vehicle-bottom a:focus-visible::after {
    transform: translateX(2px);
}

@media (max-width: 760px) {
    .vehicle-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .vehicle-media {
        aspect-ratio: 16 / 10.4;
    }

    .vehicle-info {
        min-height: auto;
        padding: 18px;
    }

    .vehicle-info h3 {
        font-size: 1.18rem;
    }

    .vehicle-bottom {
        flex-direction: row;
        align-items: center;
    }

    .vehicle-bottom a {
        flex: 0 0 auto;
    }
}

@media (max-width: 460px) {
    .vehicle-meta {
        grid-template-columns: 1fr 1fr;
    }

    .vehicle-meta span:last-child {
        grid-column: 1 / -1;
    }

    .vehicle-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .vehicle-bottom a {
        width: 100%;
    }
}
