/* ============================================
   T&D Services Auto & Diesel — Stylesheet
   Bold editorial: plum + amber palette
   ============================================ */

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

:root {
    --plum:        #5B2C6F;
    --plum-dark:   #3D1D4A;
    --plum-deep:   #2A1435;
    --plum-light:  #7D4B96;
    --amber:       #F5C518;
    --amber-dark:  #D4A50A;
    --cream:       #FDF8F0;
    --cream-dark:  #F5EDE0;
    --charcoal:    #1A1A1A;
    --text:        #2C2C2C;
    --text-light:  #6B6B6B;
    --white:       #FFFFFF;
    --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--plum-dark);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    font-size: 0.875rem;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* ---- HEADER ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(91, 44, 111, 0.08);
    transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(91, 44, 111, 0.1);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: baseline;
    gap: 2px;
    text-decoration: none;
}
.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--plum);
    letter-spacing: -0.02em;
}
.logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--plum-dark);
    margin-left: 4px;
}
.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--amber-dark);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-left: 6px;
}

/* Nav */
.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-list a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.02em;
    position: relative;
    transition: color 0.2s;
}
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber);
    transition: width 0.3s var(--ease);
}
.nav-list a:hover {
    color: var(--plum);
}
.nav-list a:hover::after {
    width: 100%;
}

/* Nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    position: relative;
}
.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 22px;
    height: 2px;
    background: var(--plum-dark);
    transition: all 0.3s var(--ease);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: var(--plum-dark);
    transition: all 0.3s var(--ease);
}
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    text-decoration: none;
    white-space: nowrap;
}
.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.btn-amber {
    background: var(--amber);
    color: var(--plum-deep);
    border-color: var(--amber);
}
.btn-amber:hover {
    background: var(--amber-dark);
    border-color: var(--amber-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 197, 24, 0.35);
}
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--plum-dark);
    border-color: var(--white);
}
.btn-outline-plum {
    background: transparent;
    color: var(--plum);
    border-color: var(--plum);
}
.btn-outline-plum:hover {
    background: var(--plum);
    color: var(--white);
}
.btn-sm {
    padding: 8px 18px;
    font-size: 0.8125rem;
}
.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}
.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--plum-deep);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            160deg,
            rgba(42, 20, 53, 0.92) 0%,
            rgba(91, 44, 111, 0.85) 50%,
            rgba(61, 29, 74, 0.90) 100%
        ),
        url('https://images.pexels.com/photos/6870324/pexels-photo-6870324.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
    z-index: 0;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 80%, rgba(245, 197, 24, 0.08) 0%, transparent 60%);
}
.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 860px;
    padding: 120px 24px 80px;
}
.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 24px;
}
.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}
.hero-headline .accent {
    color: var(--amber);
    font-style: italic;
    font-weight: 600;
}
.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 40px;
    font-weight: 300;
}
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.03em;
}
.trust-item svg {
    width: 16px;
    height: 16px;
    color: var(--amber);
    flex-shrink: 0;
}
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 1;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50%        { opacity: 1;   transform: scaleY(1.2); }
}

/* ---- SECTION COMMON ---- */
.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-dark);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--plum-dark);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.section-title .accent {
    color: var(--plum);
    font-style: italic;
    font-weight: 600;
}
.section-lead {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 560px;
}

/* ---- SERVICES ---- */
.services {
    padding: 100px 0;
    background: var(--cream);
}
.services .container {
    text-align: center;
}
.services .section-lead {
    margin: 0 auto 56px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}
.service-card {
    background: var(--white);
    border: 1px solid rgba(91, 44, 111, 0.08);
    border-radius: 12px;
    padding: 36px 28px;
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--plum), var(--amber));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(91, 44, 111, 0.12);
    border-color: transparent;
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(91,44,111,0.08), rgba(91,44,111,0.04));
    margin-bottom: 20px;
    color: var(--plum);
}
.service-icon svg {
    width: 26px;
    height: 26px;
}
.service-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--plum-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}
.service-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ---- ABOUT ---- */
.about {
    padding: 100px 0;
    background: var(--white);
    overflow: hidden;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-image-wrap {
    position: relative;
}
.about-image-wrap img {
    border-radius: 16px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 30px 80px rgba(91, 44, 111, 0.15);
}
.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--amber);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.6;
}
.about-content .section-lead {
    margin-bottom: 24px;
}
.about-body {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 16px;
}
.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(91, 44, 111, 0.1);
}
.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--plum);
    line-height: 1;
}
.stat-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ---- WHY US ---- */
.why {
    padding: 100px 0;
    background: var(--plum-deep);
    position: relative;
    overflow: hidden;
}
.why::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245,197,24,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.why .container {
    position: relative;
    z-index: 1;
}
.why .section-label {
    color: var(--amber);
}
.why .section-title {
    color: var(--white);
    margin-bottom: 56px;
}
.why .section-title .accent {
    color: var(--amber);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.why-item {
    padding: 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s var(--ease);
}
.why-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(245, 197, 24, 0.3);
    transform: translateY(-2px);
}
.why-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(245, 197, 24, 0.2);
    line-height: 1;
    margin-bottom: 16px;
}
.why-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.3;
}
.why-item p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ---- CTA BANNER ---- */
.cta-banner {
    padding: 80px 0;
    background: var(--amber);
    text-align: center;
}
.cta-inner {
    max-width: 700px;
    margin: 0 auto;
}
.cta-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--plum-dark);
    margin-bottom: 16px;
}
.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--plum-deep);
    line-height: 1.2;
    margin-bottom: 20px;
}
.cta-body {
    font-size: 1.0625rem;
    color: rgba(42, 20, 53, 0.7);
    line-height: 1.7;
    margin-bottom: 36px;
}
.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.cta-actions .btn-outline-light {
    border-color: rgba(42, 20, 53, 0.3);
    color: var(--plum-deep);
}
.cta-actions .btn-outline-light:hover {
    background: var(--plum-deep);
    color: var(--white);
    border-color: var(--plum-deep);
}

/* ---- CONTACT ---- */
.contact {
    padding: 100px 0;
    background: var(--cream);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}
.contact-details {
    list-style: none;
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--plum);
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-row strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--plum-dark);
    margin-bottom: 4px;
}
.contact-row p,
.contact-row a {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
}
.contact-row a:hover {
    color: var(--plum);
    text-decoration: underline;
}
.contact-hours {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(91, 44, 111, 0.1);
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.8;
}
.contact-hours strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--plum-dark);
    margin-bottom: 8px;
}

/* Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(91, 44, 111, 0.08);
    border: 1px solid rgba(91, 44, 111, 0.06);
}
.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plum-dark);
    margin-bottom: 8px;
}
.form-sub {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.6;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text);
    background: var(--cream);
    border: 1.5px solid rgba(91, 44, 111, 0.12);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--plum);
    box-shadow: 0 0 0 3px rgba(91, 44, 111, 0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background: rgba(91, 44, 111, 0.06);
    border: 1px solid rgba(91, 44, 111, 0.12);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--plum);
}
.form-success svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ---- FOOTER ---- */
.site-footer {
    background: var(--plum-deep);
    color: rgba(255, 255, 255, 0.6);
    padding: 64px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand .logo-mark {
    color: var(--amber);
}
.footer-brand .logo-text {
    color: var(--white);
}
.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-nav a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}
.footer-nav a:hover {
    color: var(--amber);
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.875rem;
    line-height: 1.7;
}
.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}
.footer-contact a:hover {
    color: var(--amber);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}
.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
}

/* ---- ANIMATIONS ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 248, 240, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(91, 44, 111, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.4s var(--ease-out);
        pointer-events: none;
    }
    .nav-list.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-toggle {
        display: block;
    }
    .hero-inner {
        padding: 100px 20px 60px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image-wrap {
        max-width: 400px;
        margin: 0 auto;
    }
    .about-stats {
        gap: 24px;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-wrap {
        padding: 28px;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .cta-actions {
        flex-direction: column;
    }
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero-headline {
        font-size: 2.125rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .service-card {
        padding: 28px 22px;
    }
}
