*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --forest: #2D5A42;
    --forest-light: #3A7354;
    --forest-dark: #1E3D2D;
    --forest-muted: #4A7A60;
    --cream: #FAF8F5;
    --cream-dark: #F0EDE8;
    --cream-mid: #E8E4DE;
    --charcoal: #1A1A1A;
    --slate: #3D3D3D;
    --stone: #6B6B6B;
    --stone-light: #9A9A9A;
    --white: #FFFFFF;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── NAVBAR ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: padding 0.4s var(--ease-out), background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.navbar.scrolled {
    padding: 14px 0;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(45, 90, 66, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--white);
    transition: color 0.3s;
}

.navbar.scrolled .nav-logo {
    color: var(--forest);
}

.logo-icon {
    color: var(--white);
    transition: color 0.3s;
}

.navbar.scrolled .logo-icon {
    color: var(--forest);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--white);
}

.navbar.scrolled .nav-link {
    color: var(--stone);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link:focus {
    color: var(--forest);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.nav-cta:hover,
.nav-cta:focus {
    background: var(--white);
    color: var(--forest);
    border-color: var(--white);
}

.navbar.scrolled .nav-cta {
    color: var(--forest);
    border-color: var(--forest);
}

.navbar.scrolled .nav-cta:hover,
.navbar.scrolled .nav-cta:focus {
    background: var(--forest);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.hamburger {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s var(--ease-out), opacity 0.3s, background 0.3s;
}

.navbar.scrolled .hamburger {
    background: var(--forest);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s var(--ease-out);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    transform: rotate(45deg);
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(90deg);
    top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    opacity: 0;
}

.navbar.scrolled .nav-toggle[aria-expanded="true"] .hamburger,
.navbar.scrolled .nav-toggle[aria-expanded="true"] .hamburger::before {
    background: var(--forest);
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 61, 45, 0.88) 0%,
        rgba(45, 90, 66, 0.80) 50%,
        rgba(26, 26, 26, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 0 24px;
    text-align: center;
}

.hero-tagline {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-headline em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
}

.hero-subheadline {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
    transition: color 0.3s;
}

.scroll-indicator:hover {
    color: rgba(255, 255, 255, 0.9);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 0;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--forest);
    color: var(--white);
    border: 1px solid var(--forest);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--forest-dark);
    border-color: var(--forest-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(45, 90, 66, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover,
.btn-ghost:focus {
    background: var(--white);
    color: var(--forest);
    border-color: var(--white);
}

.btn-large {
    padding: 18px 40px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ─── SECTION LABELS ─── */
.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest-muted);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--charcoal);
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.section-header {
    margin-bottom: 64px;
}

/* ─── INTRO ─── */
.intro {
    padding: 120px 0;
    background: var(--cream);
}

.intro-content {
    max-width: 720px;
}

.intro-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 32px;
}

.intro-line {
    width: 48px;
    height: 1px;
    background: var(--forest);
}

.intro-line--short {
    width: 24px;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--slate);
}

/* ─── INVENTORY ─── */
.inventory {
    padding: 120px 0;
    background: var(--white);
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.car-card {
    background: var(--cream);
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.car-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.car-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.car-card:hover .car-image img {
    transform: scale(1.04);
}

.car-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--forest);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
}

.car-info {
    padding: 24px;
}

.car-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.car-specs {
    list-style: none;
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.car-specs li {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--stone);
    padding: 6px 0;
    border-top: 1px solid var(--cream-mid);
}

.car-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--forest);
    border-bottom: 1px solid var(--forest);
    padding-bottom: 2px;
    transition: gap 0.3s var(--ease-out), color 0.3s;
}

.car-cta:hover {
    gap: 10px;
    color: var(--forest-dark);
}

.inventory-footer {
    text-align: center;
    padding-top: 48px;
    border-top: 1px solid var(--cream-mid);
}

.inventory-footer p {
    font-size: 1rem;
    color: var(--stone);
    margin-bottom: 24px;
}

.inventory-footer .btn {
    margin: 0 auto;
}

/* ─── WHY US ─── */
.why-us {
    padding: 120px 0;
    background: var(--cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.feature-card {
    padding: 0;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest);
    margin-bottom: 24px;
    border: 1px solid var(--cream-mid);
    border-radius: 50%;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.feature-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--stone);
}

/* ─── PROCESS ─── */
.process {
    padding: 120px 0;
    background: var(--forest);
}

.process .section-label {
    color: rgba(255, 255, 255, 0.5);
}

.process .section-title {
    color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.process-step {
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -16px;
    width: 32px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.12);
    line-height: 1;
    margin-bottom: 16px;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 12px;
}

.step-text {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

/* ─── TESTIMONIALS ─── */
.testimonials {
    padding: 120px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 40px;
    background: var(--cream);
    position: relative;
}

.testimonial-quote {
    color: var(--forest);
    opacity: 0.25;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--slate);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--forest);
}

/* ─── CTA SECTION ─── */
.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 61, 45, 0.92) 0%,
        rgba(45, 90, 66, 0.88) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    text-align: center;
    margin: 0 auto;
}

.cta-label {
    color: rgba(255, 255, 255, 0.5) !important;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.cta-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ─── CONTACT ─── */
.contact {
    padding: 120px 0 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.contact-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--stone);
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cream-mid);
    color: var(--forest);
}

.contact-label {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--stone-light);
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.6;
}

.contact-item a:hover,
.contact-item a:focus {
    color: var(--forest);
}

/* ─── FORM ─── */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: var(--white);
    padding: 48px;
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--stone);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--charcoal);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--cream-mid);
    outline: none;
    transition: border-color 0.3s;
    resize: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--stone-light);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--forest);
}

.form-textarea {
    line-height: 1.7;
}

.form-note {
    font-size: 0.8rem;
    color: var(--stone-light);
    margin-top: 16px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 48px;
    background: var(--white);
}

.form-success.active {
    display: flex;
}

.form-success svg {
    color: var(--forest);
    margin-bottom: 20px;
}

.form-success h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--stone);
}

/* ─── MAP ─── */
.map-container {
    border-top: 1px solid var(--cream-mid);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    filter: grayscale(0.6) contrast(1.05);
    transition: filter 0.4s;
}

.map-container:hover iframe {
    filter: grayscale(0.2) contrast(1.05);
}

/* ─── FOOTER ─── */
.footer {
    background: var(--charcoal);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    color: var(--white);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
    max-width: 280px;
}

.footer-heading {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-contact span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ─── REVEAL ANIMATIONS ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── MOBILE MENU ─── */
@media (max-width: 1023px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(360px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease-out);
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1rem;
        color: var(--slate);
    }

    .nav-link:hover,
    .nav-link:focus {
        color: var(--forest);
    }

    .nav-link::after {
        background: var(--forest);
    }

    .nav-cta {
        color: var(--forest);
        border-color: var(--forest);
        margin-top: 16px;
    }

    .nav-cta:hover,
    .nav-cta:focus {
        background: var(--forest);
        color: var(--white);
    }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .inventory-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        gap: 40px;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .intro,
    .inventory,
    .why-us,
    .process,
    .testimonials,
    .cta-section,
    .contact {
        padding: 80px 0;
    }

    .inventory-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

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

    .process-steps {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        text-align: center;
    }
}
