/* ============================================
   660 Performance & Repair — Styles
   Classic & Elegant | Charcoal + Coral
   ============================================ */

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

:root {
    --charcoal: #1C1C1C;
    --charcoal-light: #2A2A2A;
    --charcoal-mid: #3D3D3D;
    --charcoal-soft: #4A4A4A;
    --coral: #C75A3D;
    --coral-light: #D4725A;
    --coral-dark: #A84730;
    --cream: #FAF8F5;
    --cream-dark: #F3EFEA;
    --warm-gray: #8A8279;
    --warm-gray-light: #B5AEA6;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(28, 28, 28, 0.06);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 1px 30px rgba(28, 28, 28, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--charcoal);
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coral);
    letter-spacing: -0.02em;
}

.logo-wordmark {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--charcoal-soft);
    text-decoration: none;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

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

.nav-link:hover {
    color: var(--charcoal);
}

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

.nav-cta {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--white);
    background: var(--charcoal);
    padding: 10px 22px;
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--coral);
    color: var(--white);
}

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

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--charcoal);
    transition: var(--transition);
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
}

/* ============================================
   Hero
   ============================================ */
.hero {
    padding-top: 80px;
    min-height: 100vh;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: var(--charcoal);
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.hero-content {
    padding-right: 20px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--charcoal);
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.hero-headline em {
    font-style: italic;
    color: var(--coral);
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--warm-gray);
    max-width: 440px;
    margin-bottom: 40px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 32px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--charcoal);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--coral);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal);
    border: 1.5px solid var(--charcoal);
}

.btn-outline:hover {
    background: var(--charcoal);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--charcoal);
}

.btn-white:hover {
    background: var(--coral);
    color: var(--white);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 0.875rem;
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 80vh;
    max-height: 680px;
    object-fit: cover;
    display: block;
}

.hero-accent {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--coral);
    z-index: -1;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(28, 28, 28, 0.1);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--warm-gray);
}

/* ============================================
   Section Shared
   ============================================ */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--warm-gray);
    max-width: 560px;
}

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

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ============================================
   Services
   ============================================ */
.services {
    padding: 120px 0;
    background: var(--white);
}

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

.service-card {
    padding: 40px 32px;
    background: var(--cream);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(28, 28, 28, 0.08);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--coral);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--warm-gray);
}

/* ============================================
   About
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--cream);
}

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

.about-image-block {
    position: relative;
}

.about-image {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
}

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--coral);
    z-index: -1;
}

.about-content {
    padding: 20px 0;
}

.about-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--warm-gray);
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(28, 28, 28, 0.08);
}

.about-value {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.value-label {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
}

.value-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--warm-gray);
}

/* ============================================
   Why Us
   ============================================ */
.why-us {
    padding: 120px 0;
    background: var(--charcoal);
}

.why-us .section-eyebrow {
    color: var(--coral-light);
}

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

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

.why-item {
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.why-item:hover {
    border-color: var(--coral);
    background: rgba(255, 255, 255, 0.02);
}

.why-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--coral);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.why-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.why-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--warm-gray-light);
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
    padding: 100px 0;
    background: var(--coral);
    text-align: center;
}

.cta-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    margin: 0 auto 40px;
}

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

/* ============================================
   Contact
   ============================================ */
.contact {
    padding: 120px 0;
    background: var(--white);
}

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

.contact-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--warm-gray);
    margin-bottom: 48px;
}

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

.contact-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    color: var(--coral);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 1rem;
    color: var(--charcoal);
    text-decoration: none;
    line-height: 1.6;
}

.contact-value:hover {
    color: var(--coral);
}

/* Form */
.contact-form-wrapper {
    background: var(--cream);
    padding: 48px;
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

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

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

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal-soft);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--charcoal);
    background: var(--white);
    border: 1.5px solid rgba(28, 28, 28, 0.12);
    outline: none;
    transition: var(--transition);
    appearance: none;
    border-radius: 0;
}

.form-input:focus {
    border-color: var(--coral);
}

.form-input::placeholder {
    color: var(--warm-gray-light);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px;
    text-align: center;
    color: var(--coral);
}

.form-success svg {
    width: 48px;
    height: 48px;
}

.form-success p {
    font-size: 1rem;
    color: var(--charcoal);
    line-height: 1.6;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--charcoal);
    color: var(--white);
}

.footer-inner {
    padding: 80px 0 60px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
}

.footer-brand .logo-mark {
    color: var(--coral);
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--warm-gray);
    margin-top: 20px;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

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

.footer-col a {
    font-size: 0.875rem;
    color: var(--warm-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--coral-light);
}

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

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

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--warm-gray);
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero::before {
        display: none;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-image {
        height: 50vh;
        max-height: 480px;
    }

    .hero-stats {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-image {
        height: 480px;
    }

    .about-image-accent {
        bottom: -20px;
        right: -20px;
    }

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

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

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 28px;
    }

    .nav-link {
        font-size: 1.125rem;
    }

    .nav-cta {
        margin-top: 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 80px;
    }

    .hero-inner {
        padding: 48px 0;
        min-height: auto;
    }

    .hero-headline {
        font-size: 2.75rem;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .services {
        padding: 80px 0;
    }

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

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

    .about {
        padding: 80px 0;
    }

    .why-us {
        padding: 80px 0;
    }

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

    .why-item {
        padding: 28px;
    }

    .cta-banner {
        padding: 80px 0;
    }

    .contact {
        padding: 80px 0;
    }

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

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

    .footer-inner {
        padding: 60px 0 40px;
        gap: 40px;
    }

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

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

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

    .hero-headline {
        font-size: 2.25rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.75rem;
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
}
