:root {
    --ink: #17212b;
    --muted: #5c6872;
    --paper: #f8f6ef;
    --white: #ffffff;
    --gold: #d9a931;
    --gold-dark: #a57717;
    --green: #326a5d;
    --red: #9e3e37;
    --line: rgba(23, 33, 43, 0.14);
    --shadow: 0 18px 45px rgba(23, 33, 43, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
}

.site-header {
    align-items: center;
    background: rgba(248, 246, 239, 0.94);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    left: 0;
    padding: 14px clamp(18px, 4vw, 56px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.brand {
    align-items: center;
    display: inline-flex;
    font-weight: 800;
    gap: 10px;
    text-decoration: none;
    text-transform: uppercase;
}

.brand-mark {
    background: var(--ink);
    color: var(--gold);
    display: inline-grid;
    min-height: 40px;
    min-width: 54px;
    place-items: center;
}

nav {
    display: flex;
    gap: 22px;
}

nav a,
.header-call {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.header-call {
    color: var(--ink);
}

.hero {
    isolation: isolate;
    min-height: calc(100vh - 68px);
    overflow: hidden;
    position: relative;
}

.hero-media {
    background:
        linear-gradient(90deg, rgba(10, 14, 18, 0.86) 0%, rgba(10, 14, 18, 0.68) 42%, rgba(10, 14, 18, 0.12) 100%),
        url("car-lot.png") center / cover no-repeat;
    inset: 0;
    position: absolute;
    z-index: -1;
}

.hero-copy {
    color: var(--white);
    max-width: 760px;
    padding: clamp(90px, 13vh, 150px) clamp(20px, 7vw, 90px) 80px;
}

.eyebrow {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(3rem, 8vw, 6.6rem);
    line-height: 0.95;
    margin-bottom: 22px;
    max-width: 760px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.02;
    margin-bottom: 18px;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.hero-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    line-height: 1.5;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 32px 0 22px;
}

.button {
    align-items: center;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 900;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    text-decoration: none;
}

.button.primary {
    background: var(--gold);
    color: var(--ink);
}

.button.secondary {
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.48);
    color: var(--white);
}

.button.dark {
    background: var(--ink);
    color: var(--white);
}

.hero-address {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
}

.search-band {
    background: var(--ink);
    color: var(--white);
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, 1fr);
}

.search-band div {
    background: rgba(255, 255, 255, 0.04);
    padding: 28px clamp(20px, 4vw, 48px);
}

.search-band strong,
.search-band span {
    display: block;
}

.search-band span {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
    margin-top: 8px;
}

.section {
    padding: clamp(58px, 9vw, 110px) clamp(20px, 6vw, 72px);
}

.section > p,
.split p,
.contact-copy p,
.features p,
.inventory-panel p {
    color: var(--muted);
    line-height: 1.65;
}

.split {
    align-items: center;
    display: grid;
    gap: clamp(28px, 6vw, 80px);
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.inventory-panel,
.lead-form {
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: clamp(24px, 4vw, 42px);
}

.inventory-panel h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.features {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 34px;
}

.features article {
    background: var(--white);
    border-top: 5px solid var(--green);
    padding: 26px;
}

.contact-section {
    align-items: start;
    background: #efe6d1;
    display: grid;
    gap: clamp(26px, 6vw, 80px);
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
}

address {
    font-style: normal;
    font-weight: 800;
    line-height: 1.55;
}

.lead-form {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lead-form label {
    color: var(--muted);
    display: grid;
    font-size: 0.9rem;
    font-weight: 800;
    gap: 8px;
}

.lead-form .full {
    grid-column: 1 / -1;
}

input,
select,
textarea {
    background: #fbfaf5;
    border: 1px solid var(--line);
    color: var(--ink);
    font: inherit;
    min-height: 48px;
    padding: 12px 14px;
    width: 100%;
}

textarea {
    resize: vertical;
}

.check {
    align-items: start;
    display: flex !important;
    gap: 10px !important;
}

.check input {
    min-height: auto;
    width: auto;
}

.hidden {
    left: -9999px;
    position: absolute;
}

.alert {
    border-left: 5px solid var(--green);
    color: var(--ink);
    font-weight: 800;
    grid-column: 1 / -1;
    padding: 14px 16px;
}

.alert.success {
    background: rgba(50, 106, 93, 0.12);
}

.alert.error {
    background: rgba(158, 62, 55, 0.12);
    border-color: var(--red);
}

footer {
    align-items: start;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.76);
    display: grid;
    gap: 14px 24px;
    grid-template-columns: minmax(220px, 1fr) auto minmax(240px, 1fr);
    padding: 26px clamp(20px, 6vw, 72px);
}

footer strong,
footer a {
    color: var(--white);
}

.footer-business,
.footer-credit,
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-social {
    align-items: center;
}

.footer-credit {
    align-items: flex-end;
    text-align: right;
}

@media (max-width: 820px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    nav {
        flex-wrap: wrap;
    }

    .hero {
        min-height: 760px;
    }

    .hero-media {
        background:
            linear-gradient(180deg, rgba(10, 14, 18, 0.9) 0%, rgba(10, 14, 18, 0.72) 56%, rgba(10, 14, 18, 0.38) 100%),
            url("car-lot.png") center / cover no-repeat;
    }

    .hero-copy {
        padding-top: 74px;
    }

    .search-band,
    .split,
    .features,
    .contact-section,
    .lead-form,
    footer {
        grid-template-columns: 1fr;
    }

    .footer-social,
    .footer-credit {
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 520px) {
    h1 {
        font-size: 3rem;
    }

    .button {
        width: 100%;
    }

    .hero-actions {
        width: 100%;
    }
}
