/* ============================================
   Super Tires and Wheels — Stylesheet
   Clean minimalist · Forest green + off-white
   ============================================ */

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

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

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

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

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

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

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

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

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

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(247, 245, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 77, 46, 0.08);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(26, 46, 35, 0.06);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-mark {
    color: #1a4d2e;
}
.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: #1a2e23;
}
.logo-accent {
    color: #1a4d2e;
}

/* Nav */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}
.main-nav a {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #3d5a45;
    transition: color 0.2s ease;
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #1a4d2e;
    transition: width 0.25s ease;
}
.main-nav a:hover,
.main-nav a:focus {
    color: #1a4d2e;
}
.main-nav a:hover::after {
    width: 100%;
}

/* Nav toggle (mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 4px;
}
.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 100%;
    height: 1.5px;
    background: #1a2e23;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    top: 0;
}
.hamburger::before { transform: translateY(-7px); }
.hamburger::after { transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.03em;
    padding: 12px 24px;
    border-radius: 4px;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn--primary {
    background: #1a4d2e;
    color: #f7f5f0;
}
.btn--primary:hover,
.btn--primary:focus {
    background: #143d24;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26, 77, 46, 0.2);
}
.btn--ghost {
    background: transparent;
    color: #1a4d2e;
    border: 1px solid rgba(26, 77, 46, 0.3);
}
.btn--ghost:hover,
.btn--ghost:focus {
    border-color: #1a4d2e;
    background: rgba(26, 77, 46, 0.04);
}
.btn--light {
    background: #f7f5f0;
    color: #1a4d2e;
}
.btn--light:hover,
.btn--light:focus {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn--outline-light {
    background: transparent;
    color: #f7f5f0;
    border: 1px solid rgba(247, 245, 240, 0.5);
}
.btn--outline-light:hover,
.btn--outline-light:focus {
    background: rgba(247, 245, 240, 0.1);
    border-color: #f7f5f0;
}
.btn--sm {
    padding: 8px 16px;
    font-size: 13px;
}
.btn--lg {
    padding: 16px 32px;
    font-size: 15px;
}
.btn--full {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
}

/* ---------- HERO ---------- */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: #f7f5f0;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 64px 0;
}
.hero-content {
    padding-right: 16px;
}
.hero-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a4d2e;
    margin-bottom: 20px;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1a2e23;
    margin-bottom: 24px;
}
.hero-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: #4a6b52;
    max-width: 440px;
    margin-bottom: 36px;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero-trust {
    display: flex;
    gap: 24px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4a6b52;
    letter-spacing: 0.02em;
}
.trust-item svg {
    color: #1a4d2e;
}

/* Hero Image */
.hero-image {
    position: relative;
}
.hero-img-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 640 / 720;
    background: #e8e4db;
}
.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-accent-line {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 120px;
    height: 120px;
    border-left: 1px solid #1a4d2e;
    border-bottom: 1px solid #1a4d2e;
    z-index: -1;
}

/* ---------- SECTION SHARED ---------- */
.section-header {
    max-width: 640px;
    margin-bottom: 56px;
}
.section-header--centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.section-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a4d2e;
    margin-bottom: 16px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #1a2e23;
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 16px;
    color: #4a6b52;
    line-height: 1.7;
}

/* ---------- SERVICES ---------- */
.services {
    padding: 100px 0;
    background: #f7f5f0;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}
.service-card {
    background: #fff;
    padding: 40px 32px;
    transition: all 0.3s ease;
    position: relative;
}
.service-card:hover {
    background: #f9f8f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(26, 46, 35, 0.06);
}
.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(26, 77, 46, 0.2);
    border-radius: 50%;
    margin-bottom: 24px;
    color: #1a4d2e;
    transition: all 0.3s ease;
}
.service-card:hover .service-icon {
    background: #1a4d2e;
    border-color: #1a4d2e;
    color: #f7f5f0;
}
.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: #1a2e23;
    margin-bottom: 10px;
}
.service-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #5a7d63;
}

/* ---------- ABOUT ---------- */
.about {
    padding: 100px 0;
    background: #f0ece4;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-image {
    position: relative;
}
.about-img-main {
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 560 / 420;
    background: #e8e4db;
}
.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-img-secondary {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 240px;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 240 / 200;
    background: #e8e4db;
    border: 4px solid #f0ece4;
}
.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: #1a4d2e;
    color: #f7f5f0;
    padding: 20px 24px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.badge-number {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 1;
}
.badge-text {
    font-size: 12px;
    letter-spacing: 0.04em;
    opacity: 0.8;
    line-height: 1.4;
}

.about-content {
    padding-left: 16px;
}
.about-content > p {
    font-size: 15px;
    color: #4a6b52;
    line-height: 1.8;
    margin-bottom: 16px;
}
.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(26, 77, 46, 0.12);
}
.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-number {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 22px;
    color: #1a4d2e;
}
.stat-label {
    font-size: 12px;
    color: #5a7d63;
    letter-spacing: 0.04em;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(26, 77, 46, 0.15);
}

/* ---------- WHY US ---------- */
.why-us {
    padding: 100px 0;
    background: #1a4d2e;
    color: #f7f5f0;
}
.why-us .section-eyebrow {
    color: rgba(247, 245, 240, 0.6);
}
.why-us .section-title {
    color: #f7f5f0;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}
.why-item {
    position: relative;
    padding-left: 48px;
}
.why-number {
    position: absolute;
    top: 0;
    left: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 48px;
    line-height: 1;
    color: rgba(247, 245, 240, 0.1);
}
.why-item h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    color: #f7f5f0;
}
.why-item p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(247, 245, 240, 0.7);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    padding: 80px 0;
    background: #f0ece4;
}
.cta-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: clamp(24px, 3vw, 36px);
    letter-spacing: -0.02em;
    color: #1a2e23;
    margin-bottom: 8px;
}
.cta-text {
    font-size: 15px;
    color: #4a6b52;
}
.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------- CONTACT ---------- */
.contact {
    padding: 100px 0;
    background: #f7f5f0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}
.contact-details {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.contact-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a4d2e;
}
.contact-row span,
.contact-row a {
    font-size: 15px;
    color: #4a6b52;
    line-height: 1.6;
}
.contact-row a:hover {
    color: #1a4d2e;
    text-decoration: underline;
}
.contact-map {
    margin-top: 32px;
    border-radius: 6px;
    overflow: hidden;
    background: #e8e4db;
    border: 1px solid rgba(26, 77, 46, 0.08);
}
.contact-map iframe {
    display: block;
}

/* Contact Form */
.contact-form-wrap {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(26, 77, 46, 0.06);
}
.form-title {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -0.01em;
    color: #1a2e23;
    margin-bottom: 28px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3d5a45;
    margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(26, 77, 46, 0.18);
    border-radius: 4px;
    background: #f7f5f0;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #1a2e23;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a4d2e;
    box-shadow: 0 0 0 3px rgba(26, 77, 46, 0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9aab9e;
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.form-group select {
    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='%233d5a45' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px 24px;
    text-align: center;
    color: #1a4d2e;
}
.form-success svg {
    color: #1a4d2e;
}
.form-success p {
    font-size: 15px;
    color: #4a6b52;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: #1a2e23;
    color: #f7f5f0;
    padding: 64px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 48px;
}
.footer-brand .logo-text {
    color: #f7f5f0;
}
.footer-tagline {
    font-size: 14px;
    color: rgba(247, 245, 240, 0.5);
    margin-top: 12px;
    max-width: 240px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-size: 14px;
    color: rgba(247, 245, 240, 0.6);
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: #f7f5f0;
}
.footer-contact p {
    font-size: 14px;
    color: rgba(247, 245, 240, 0.6);
    line-height: 1.7;
}
.footer-contact a {
    color: rgba(247, 245, 240, 0.8);
    transition: color 0.2s ease;
}
.footer-contact a:hover {
    color: #f7f5f0;
}
.footer-bottom {
    border-top: 1px solid rgba(247, 245, 240, 0.08);
    padding: 20px 0;
}
.footer-bottom p {
    font-size: 13px;
    color: rgba(247, 245, 240, 0.35);
    text-align: center;
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(247, 245, 240, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 40px 24px;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        z-index: 99;
    }
    .main-nav.open {
        transform: translateX(0);
    }
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .main-nav a {
        font-size: 18px;
    }
    .main-nav .btn--primary {
        margin-top: 12px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0;
    }
    .hero-content {
        padding-right: 0;
        order: 2;
    }
    .hero-image {
        order: 1;
    }
    .hero-img-wrap {
        aspect-ratio: 4 / 3;
    }
    .hero-accent-line {
        display: none;
    }
    .hero-trust {
        flex-wrap: wrap;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        padding: 32px 24px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-image {
        order: -1;
    }
    .about-img-secondary {
        width: 180px;
        right: -16px;
        bottom: -20px;
    }
    .about-badge {
        top: -12px;
        left: -12px;
        padding: 14px 16px;
    }
    .badge-number {
        font-size: 22px;
    }
    .about-content {
        padding-left: 0;
    }

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

    .cta-grid {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .cta-actions {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .contact-form-wrap {
        padding: 28px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-tagline {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero {
        padding-top: 72px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        justify-content: center;
    }
    .about-img-secondary {
        width: 140px;
        right: -8px;
        bottom: -12px;
    }
}
