/* ========================================
   Highway 46 Automotive — Styles
   Palette: Terracotta + Sand
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: #2C2420;
    background-color: #FAF6F1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* --- Utility --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #B86B4A;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 1000;
    font-size: 14px;
}

.skip-link:focus {
    top: 16px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
    color: #2C2420;
}

.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #B86B4A;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 17px;
    color: #5A4A42;
    max-width: 540px;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: 4px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background: #B86B4A;
    color: #fff;
    border-color: #B86B4A;
}

.btn-primary:hover {
    background: #9E5A3D;
    border-color: #9E5A3D;
}

.btn-ghost {
    background: transparent;
    color: #2C2420;
    border-color: #2C2420;
}

.btn-ghost:hover {
    background: #2C2420;
    color: #FAF6F1;
}

.btn-light {
    background: #fff;
    color: #B86B4A;
    border-color: #fff;
}

.btn-light:hover {
    background: #f5f0eb;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.btn-full {
    width: 100%;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 15px;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 246, 241, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184, 107, 74, 0.1);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(44, 36, 32, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2C2420;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    line-height: 1.2;
}

.logo-icon {
    color: #B86B4A;
    flex-shrink: 0;
}

.logo-text {
    font-weight: 500;
}

.logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #B86B4A;
    display: block;
    margin-top: 2px;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 36px;
}

.site-nav a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #5A4A42;
    transition: color 0.2s ease;
    position: relative;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #B86B4A;
    transition: width 0.25s ease;
}

.site-nav a:hover {
    color: #B86B4A;
}

.site-nav a:hover::after {
    width: 100%;
}

.btn-nav {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #B86B4A !important;
    border: 1.5px solid #B86B4A;
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.25s ease !important;
}

.btn-nav::after {
    display: none !important;
}

.btn-nav:hover {
    background: #B86B4A !important;
    color: #fff !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #2C2420;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* --- Hero --- */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #FAF6F1;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #B86B4A;
    margin-bottom: 20px;
}

.hero-headline {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 28px;
    color: #2C2420;
}

.hero-headline em {
    font-style: italic;
    color: #B86B4A;
}

.hero-body {
    font-size: 17px;
    color: #5A4A42;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.trust-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #B86B4A;
    opacity: 0.4;
    flex-shrink: 0;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 720px;
    object-fit: cover;
    border-radius: 8px;
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border: 1.5px solid #B86B4A;
    border-radius: 4px;
    opacity: 0.3;
    z-index: -1;
}

/* --- Services --- */
.services {
    padding: 120px 0;
    background: #FAF6F1;
}

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

.section-header .section-subtitle {
    margin-top: 16px;
}

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

.service-card {
    background: #fff;
    border: 1px solid rgba(184, 107, 74, 0.1);
    border-radius: 8px;
    padding: 40px 32px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #B86B4A;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(184, 107, 74, 0.08);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(184, 107, 74, 0.25);
    border-radius: 8px;
    margin-bottom: 24px;
    color: #B86B4A;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #B86B4A;
    border-color: #B86B4A;
    color: #fff;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
}

.service-card p {
    font-size: 15px;
    color: #5A4A42;
    line-height: 1.7;
}

/* --- About --- */
.about {
    padding: 120px 0;
    background: #F3EDE6;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrap img {
    width: 100%;
    height: 680px;
    object-fit: cover;
    border-radius: 8px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-content p {
    font-size: 16px;
    color: #5A4A42;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(184, 107, 74, 0.15);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #B86B4A;
    font-style: italic;
}

.stat-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5A4A42;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(184, 107, 74, 0.2);
}

/* --- Why Us --- */
.why-us {
    padding: 120px 0;
    background: #FAF6F1;
}

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

.why-card {
    padding: 48px 40px;
    border: 1px solid rgba(184, 107, 74, 0.1);
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
}

.why-card:hover {
    border-color: #B86B4A;
    box-shadow: 0 8px 32px rgba(184, 107, 74, 0.07);
}

.why-number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-style: italic;
    color: #B86B4A;
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 20px;
    display: block;
}

.why-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
}

.why-card p {
    font-size: 15px;
    color: #5A4A42;
    line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 100px 0;
    background: #2C2420;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(184, 107, 74, 0.12);
    border-radius: 50%;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(184, 107, 74, 0.08);
    border-radius: 50%;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 44px);
    color: #fff;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Contact --- */
.contact {
    padding: 120px 0;
    background: #FAF6F1;
}

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

.contact-intro {
    font-size: 16px;
    color: #5A4A42;
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    color: #B86B4A;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #B86B4A;
    margin-bottom: 4px;
}

.contact-item a {
    font-size: 15px;
    color: #2C2420;
    line-height: 1.6;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #B86B4A;
}

/* Form */
.contact-form-wrap {
    background: #fff;
    border: 1px solid rgba(184, 107, 74, 0.1);
    border-radius: 8px;
    padding: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5A4A42;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #2C2420;
    background: #FAF6F1;
    border: 1.5px solid rgba(184, 107, 74, 0.15);
    border-radius: 4px;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.2s ease;
    width: 100%;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #B86B4A;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #B0A098;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B86B4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-note {
    font-size: 13px;
    color: #8A7A72;
    line-height: 1.6;
    margin-top: 4px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.form-success svg {
    color: #B86B4A;
}

.form-success h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.form-success p {
    font-size: 15px;
    color: #5A4A42;
    line-height: 1.7;
}

.form-success a {
    color: #B86B4A;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --- Footer --- */
.site-footer {
    background: #2C2420;
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: #fff;
    margin-bottom: 16px;
}

.footer-logo svg {
    color: #B86B4A;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    max-width: 260px;
}

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #B86B4A;
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.55);
}

.footer-col address a {
    color: rgba(255,255,255,0.55);
    transition: color 0.2s ease;
}

.footer-col address a:hover {
    color: #B86B4A;
}

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

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

/* --- Mobile Nav Overlay --- */
.site-nav-overlay {
    display: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }

    .hero-image img {
        height: 540px;
    }

    .about-grid {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: #FAF6F1;
        padding: 100px 32px 40px;
        transition: right 0.35s ease;
        z-index: 105;
    }

    .site-nav.open {
        right: 0;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .site-nav a {
        font-size: 18px;
        font-weight: 400;
    }

    .btn-nav {
        font-size: 15px !important;
        padding: 12px 24px !important;
        margin-top: 12px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 40px 0;
        gap: 40px;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        height: 400px;
    }

    .hero-image-accent {
        display: none;
    }

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

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

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

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

    .about-image-wrap img {
        height: 400px;
    }

    .about-stats {
        flex-wrap: wrap;
    }

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

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

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

    .cta-actions .btn {
        width: 100%;
        text-align: center;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .services,
    .about,
    .why-us,
    .contact {
        padding: 80px 0;
    }

    .hero-headline {
        font-size: 32px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .why-card {
        padding: 32px 24px;
    }
}
