:root {
    --bg: #f6f3ee;
    --bg-muted: #ece6dc;
    --ink: #1c1915;
    --ink-soft: #5c564c;
    --gold: #b0893e;
    --gold-dark: #8d6b2c;
    --white: #fffdf8;
    --line: rgba(28, 25, 21, 0.12);
    --shadow: 0 18px 40px rgba(28, 25, 21, 0.08);
    --radius: 18px;
    --header: 76px;
    --font: "Outfit", system-ui, sans-serif;
    --serif: "Cormorant Garamond", Georgia, serif;
}

.payment-method h4 {
    font-family: var(--font);
    font-size: 0.88rem;
    margin: 0 0 0.35rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; }

.container {
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -40px;
    background: var(--ink);
    color: var(--white);
    padding: 0.5rem 1rem;
    z-index: 100;
}

.skip-link:focus { top: 1rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(246, 243, 238, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header);
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    color: var(--gold-dark);
    font-family: var(--serif);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text strong {
    font-family: var(--serif);
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}

.logo-text em {
    font-style: normal;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.site-nav a {
    text-decoration: none;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
}

.site-nav a.is-active {
    color: var(--gold-dark);
}

.header-whatsapp {
    color: #267348;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 500;
    white-space: nowrap;
}

.nav-cta {
    border: 1px solid var(--gold);
    padding: 0.55rem 0.95rem;
    color: var(--gold-dark) !important;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: transparent;
    padding: 10px;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
}

.hero {
    position: relative;
    color: var(--white);
}

.hero-slide {
    min-height: min(88vh, 760px);
    display: none;
    align-items: flex-end;
    background:
        linear-gradient(180deg, rgba(12, 10, 8, 0.15), rgba(12, 10, 8, 0.72)),
        var(--hero-image) center/cover no-repeat;
    padding: 5rem 0 6.5rem;
}

.hero-slide.is-active { display: flex; }

.hero-lead {
    font-size: 1.15rem;
    max-width: 34rem;
    color: rgba(255, 253, 248, 0.88);
}

.hero-price {
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--gold);
    margin: 0.4rem 0 1.4rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-nav {
    position: absolute;
    left: 50%;
    bottom: 1.4rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    width: min(1120px, calc(100% - 2rem));
}

.hero-dot {
    flex: 1;
    text-align: left;
    background: rgba(255, 253, 248, 0.08);
    border: 1px solid rgba(255, 253, 248, 0.18);
    color: var(--white);
    padding: 0.7rem 0.85rem;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
}

.hero-dot.is-active {
    border-color: var(--gold);
    background: rgba(176, 137, 62, 0.22);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    padding: 0.85rem 1.25rem;
    letter-spacing: 0.04em;
}

.btn-gold {
    background: var(--gold);
    color: #1c160c;
}

.btn-gold:hover { background: var(--gold-dark); color: var(--white); }

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 253, 248, 0.45);
}

.btn-ghost-dark {
    background: transparent;
    border: 1px solid var(--ink);
}

.btn-sm {
    background: var(--ink);
    color: var(--white);
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
}

.section { padding: 4.5rem 0; }
.section-muted { background: var(--bg-muted); }

.intro-grid,
.section-head {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.intro-copy,
.lede {
    max-width: 40rem;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.text-link {
    color: var(--gold-dark);
    text-underline-offset: 4px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.vehicle-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vehicle-card:hover img { transform: scale(1.05); }

.badge {
    position: absolute;
    left: 0.8rem;
    bottom: 0.8rem;
    background: rgba(28, 25, 21, 0.78);
    color: var(--white);
    padding: 0.25rem 0.55rem;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.card-body { padding: 1.1rem 1.15rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.card-meta { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: auto; }
.card-deposit-note { margin: 0.75rem 0 0; color: var(--gold-dark); font-size: 0.82rem; font-weight: 500; }
.card-installment-note {
    margin: 0.15rem 0 0.8rem;
    color: var(--ink-soft);
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.card-foot { display: grid; gap: 0.75rem; margin-top: 1rem; }
.card-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card-actions .btn { width: 100%; }
.price { font-family: var(--serif); font-size: 1.5rem; margin: 0; }

.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.promise-grid article {
    padding: 1.5rem;
    border-top: 2px solid var(--gold);
    background: var(--white);
}

.testimonials-section { background: var(--bg); }
.testimonial-disclaimer {
    margin: -0.75rem 0 1.5rem;
    padding: 0.85rem 1rem;
    border-left: 3px solid var(--gold);
    background: var(--white);
    color: var(--ink-soft);
    font-size: 0.9rem;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
.testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}
.testimonial-mark {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 3.5rem;
    line-height: 0.8;
}
.testimonial-card blockquote {
    flex: 1;
    margin: 0.8rem 0 1.5rem;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.2rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: auto 0 0;
}
.testimonial-avatar {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 50%;
    background: var(--bg-muted);
    color: var(--gold-dark);
    font-size: 0.8rem;
    font-weight: 600;
}
.testimonial-author strong,
.testimonial-author small { display: block; }
.testimonial-author small {
    margin-top: 0.15rem;
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.page-hero {
    padding: 3.5rem 0 1rem;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.inventory-search {
    display: flex;
    gap: 0.65rem;
    max-width: 36rem;
    margin-bottom: 1.25rem;
}

.inventory-search input {
    min-width: 0;
    background: var(--white);
}

.inventory-search .btn {
    flex: 0 0 auto;
}

.inventory-results {
    color: var(--ink-soft);
    font-size: 0.9rem;
    margin: -0.7rem 0 1rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.chip {
    border: 1px solid var(--line);
    background: transparent;
    padding: 0.45rem 0.9rem;
    font: inherit;
    cursor: pointer;
    border-radius: 999px;
}

.chip.is-active {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

.empty-filter { color: var(--ink-soft); }

.contact-form > .muted {
    margin: 0;
}

.contact-actions-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 30;
}

.whatsapp-chat-float {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-radius: 999px;
    padding: 0.9rem 1.25rem;
    color: #fff;
    font: inherit;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.whatsapp-chat-float {
    background: #267348;
    text-decoration: none;
}

.whatsapp-chat-icon {
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 1.35rem;
    fill: currentColor;
}

.whatsapp-chat-float:hover,
.whatsapp-chat-float:focus-visible {
    background: #1e5d3a;
    color: #fff;
}

.payment-slip-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.75rem);
    width: min(410px, calc(100vw - 2rem));
    max-height: min(82vh, 780px);
    overflow-y: auto;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 18px 50px rgba(28, 25, 21, 0.2);
}

.payment-slip-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.payment-slip-heading h2 {
    margin: 0 0 0.25rem;
    font-size: 1.45rem;
}

.payment-slip-heading p,
.payment-slip-notice {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.85rem;
    line-height: 1.5;
}

.payment-slip-close {
    border: 0;
    background: transparent;
    color: var(--ink-soft);
    font-size: 1.5rem;
    cursor: pointer;
}

.payment-slip-notice {
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--gold);
    background: var(--bg);
    color: var(--ink);
}

.payment-slip-form {
    display: grid;
    gap: 0.85rem;
}

.payment-slip-form label {
    display: grid;
    gap: 0.35rem;
    font-size: 0.9rem;
}

.payment-slip-form input:not([type="checkbox"]),
.payment-slip-form select {
    width: 100%;
    min-width: 0;
    padding: 0.7rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

.payment-slip-calculator {
    display: grid;
    gap: 0.75rem;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg);
}

.payment-slip-calculator-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8rem;
}

.payment-slip-calculator-header span {
    color: var(--ink-soft);
}

.payment-slip-calculator-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.payment-slip-balance {
    margin: 0;
    font-size: 0.8rem;
    color: var(--ink-soft);
}

.payment-slip-details {
    padding: 0.8rem;
    border: 1px solid var(--line);
    background: var(--bg);
    overflow-wrap: anywhere;
    font-size: 0.85rem;
}

.payment-slip-details p {
    margin: 0.35rem 0 0;
}

.payment-slip-address {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.45rem;
}

.payment-slip-address code {
    user-select: all;
    font-size: 0.78rem;
}

.payment-slip-confirmation {
    grid-template-columns: auto 1fr;
    align-items: start;
}

.payment-slip-confirmation input {
    margin-top: 0.25rem;
}

.payment-slip-copy-status,
.payment-slip-error {
    margin: 0;
    font-size: 0.83rem;
}

.payment-slip-error {
    color: #a12525;
}

.payment-slip-form > .btn {
    width: 100%;
}

.payment-card-button {
    flex: 0 0 auto;
}

.detail {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 70vh;
}

.detail-media {
    position: relative;
    background: #111 url('') center/cover;
    min-height: 420px;
}

.detail-listing-note {
    padding: 0.7rem 0.85rem;
    border-left: 3px solid var(--gold);
    background: var(--bg);
    color: var(--ink-soft);
    font-size: 0.86rem;
}

.detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 420px;
}

.detail-copy {
    padding: 3rem 8%;
    background: var(--white);
}

.spec-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem 1.2rem;
    margin: 1.5rem 0 2rem;
}

.spec-list div {
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.55rem;
}

dt { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
dd { margin: 0.15rem 0 0; font-weight: 500; }

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2rem;
    align-items: start;
}

.contact-card,
.contact-form {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form {
    display: grid;
    gap: 0.95rem;
}

label {
    display: grid;
    gap: 0.35rem;
    font-size: 0.88rem;
}

.optional { color: var(--ink-soft); font-weight: 400; }

input, select, textarea {
    font: inherit;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--ink);
    width: 100%;
}

.field-error { color: #8a2a1f; font-size: 0.82rem; }
.form-success {
    background: #e7f3e4;
    border: 1px solid #b7d4ae;
    padding: 0.8rem 1rem;
    margin: 0;
}

.muted { color: var(--ink-soft); }
address { font-style: normal; margin-bottom: 1rem; }

.site-footer {
    background: #16130f;
    color: rgba(255, 253, 248, 0.78);
    padding: 3rem 0 1.2rem;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--white);
}

.footer-heading {
    color: var(--gold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.footer-links {
    display: grid;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.editorial-copy {
    max-width: 54rem;
}

.editorial-copy h2 {
    margin-top: 2rem;
}

.editorial-copy address {
    margin-top: 0.5rem;
}

.editorial-grid {
    margin: 2rem 0;
}

.editorial-grid h2 {
    font-size: 1.45rem;
    margin-top: 0;
}

.content-list {
    display: grid;
    gap: 0.65rem;
    padding-left: 1.3rem;
}

.process-list {
    display: grid;
    gap: 0.8rem;
    max-width: 52rem;
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.content-callout {
    padding: clamp(1.25rem, 4vw, 2.25rem);
    margin-top: 2rem;
    border-left: 3px solid var(--gold);
    background: var(--white);
    box-shadow: var(--shadow);
}

.content-callout h2,
.content-callout h3 {
    margin-top: 0;
}

.category-grid article a {
    color: var(--gold-dark);
    font-weight: 500;
    text-underline-offset: 3px;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
}

.faq-list details {
    padding: 1rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
}

.faq-list summary {
    cursor: pointer;
    font-weight: 500;
}

.faq-list details p {
    margin: 0.75rem 0 0;
    color: var(--ink-soft);
}

.footer-bar {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 253, 248, 0.1);
    font-size: 0.85rem;
}

.site-footer a { color: var(--white); }

@media (max-width: 960px) {
    .card-grid,
    .promise-grid,
    .testimonial-grid,
    .detail,
    .contact-grid,
    .footer-grid,
    .intro-grid,
    .section-head {
        grid-template-columns: 1fr;
    }

    .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .intro-grid,
    .section-head {
        display: grid;
        align-items: start;
    }

    .hero-dot span { display: none; }
    .hero-dot { min-height: 10px; padding: 0.4rem; }
}

@media (max-width: 760px) {
    .nav-toggle { display: flex; }

    .header-whatsapp {
        margin-left: auto;
        font-size: 0.75rem;
    }

    .header-whatsapp span { display: block; }

    .site-nav {
        display: none;
        position: absolute;
        top: var(--header);
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.25rem 1.4rem;
        border-bottom: 1px solid var(--line);
        gap: 1rem;
    }

    .site-nav.is-open { display: flex; }

    .testimonial-grid { grid-template-columns: 1fr; }

    .card-grid { grid-template-columns: 1fr; }

    .contact-actions-float {
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .whatsapp-chat-float {
        gap: 0.4rem;
        padding: 0.75rem 0.85rem;
        font-size: 0.85rem;
    }

    .payment-slip-panel {
        right: 0;
        width: min(410px, calc(100vw - 1.5rem));
    }
}

@media (min-width: 761px) and (max-width: 960px) {
    .card-grid { grid-template-columns: 1fr 1fr; }
}
