/* ===================================
   Clearbrook Collision Center — Styles
   =================================== */

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

:root {
    --forest: #064E3B;
    --forest-dark: #043828;
    --forest-light: #065F46;
    --emerald: #10B981;
    --emerald-light: #34D399;
    --cream: #F8F6F0;
    --cream-dark: #EDE9E0;
    --white: #FFFFFF;
    --black: #0A0A0A;
    --gray-900: #1A1A1A;
    --gray-700: #3A3A3A;
    --gray-500: #6B7280;
    --gray-300: #D1D5DB;
    --gray-100: #F3F4F6;
    --accent-orange: #F97316;
    --accent-yellow: #FBBF24;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 60px rgba(0,0,0,0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--cream);
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

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

/* --- Background Blobs --- */
.bg-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.bg-blob-1 {
    width: 600px;
    height: 600px;
    background: var(--emerald);
    top: -200px;
    right: -150px;
}

.bg-blob-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-yellow);
    bottom: 20%;
    left: -100px;
    opacity: 0.2;
}

.bg-blob-3 {
    width: 300px;
    height: 300px;
    background: var(--forest);
    bottom: -100px;
    right: 10%;
    opacity: 0.15;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(248, 246, 240, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    padding: 12px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--forest);
    z-index: 1001;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text span:first-child {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--forest);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

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

.nav a:not(.btn-nav) {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
}

.nav a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald);
    transition: var(--transition);
}

.nav a:not(.btn-nav):hover::after {
    width: 100%;
}

.nav a:not(.btn-nav):hover {
    color: var(--forest);
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--forest);
    color: var(--white) !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.btn-nav:hover {
    background: var(--forest-dark);
    transform: translateY(-1px);
}

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

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--emerald);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--gray-900);
    margin-bottom: 24px;
    line-height: 1.05;
}

.text-gradient {
    background: linear-gradient(135deg, var(--forest) 0%, var(--emerald) 50%, var(--emerald-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary {
    background: var(--forest);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.3);
}

.btn-primary:hover {
    background: var(--forest-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 78, 59, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--forest);
    border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
    border-color: var(--forest);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--forest);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
}

/* --- Floating Stat Cards --- */
.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
}

.stat-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card--primary {
    background: var(--forest);
    color: var(--white);
    grid-column: 1;
    grid-row: 1 / 3;
}

.stat-card--white {
    background: var(--white);
    color: var(--gray-900);
    grid-column: 2;
    grid-row: 1;
    box-shadow: var(--shadow-lg);
}

.stat-card--accent {
    background: var(--emerald);
    color: var(--white);
    grid-column: 2;
    grid-row: 2;
}

.stat-card--green {
    background: var(--cream-dark);
    color: var(--gray-900);
    grid-column: 1;
    grid-row: 3;
    border: 2px solid var(--gray-300);
}

.stat-card-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.1;
}

.stat-card--primary .stat-card-accent { background: var(--white); }
.stat-card--white .stat-card-accent { background: var(--forest); }
.stat-card--accent .stat-card-accent { background: var(--white); }
.stat-card--green .stat-card-accent { background: var(--forest); }

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.stat-card--primary .stat-card-icon { background: rgba(255,255,255,0.15); color: var(--white); }
.stat-card--white .stat-card-icon { background: var(--cream); color: var(--forest); }
.stat-card--accent .stat-card-icon { background: rgba(255,255,255,0.2); color: var(--white); }
.stat-card--green .stat-card-icon { background: var(--white); color: var(--forest); }

.stat-card-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-card-label {
    font-size: 0.85rem;
    opacity: 0.7;
    font-weight: 500;
}

/* --- Hero Geometric Shapes --- */
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.geo-shape {
    position: absolute;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: var(--emerald);
    opacity: 0.08;
    top: 15%;
    left: -40px;
    border-radius: var(--radius-lg);
    transform: rotate(25deg);
}

.geo-circle-1 {
    width: 200px;
    height: 200px;
    border: 3px solid var(--emerald);
    opacity: 0.08;
    top: 10%;
    right: 5%;
    border-radius: 50%;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid var(--accent-orange);
    opacity: 0.08;
    bottom: 20%;
    right: 10%;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    background: var(--accent-yellow);
    opacity: 0.1;
    bottom: 15%;
    left: 10%;
    border-radius: var(--radius-md);
    transform: rotate(-15deg);
}

.geo-circle-2 {
    width: 60px;
    height: 60px;
    background: var(--forest);
    opacity: 0.06;
    top: 40%;
    left: 45%;
    border-radius: 50%;
}

/* --- Section Shared --- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--forest);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* --- Services --- */
.services {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--emerald);
}

.service-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--forest) 0%, var(--emerald) 100%);
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--radius-lg);
}

.service-card:hover .service-card-bg {
    opacity: 1;
}

.service-card:hover .service-icon,
.service-card:hover .service-title,
.service-card:hover .service-desc {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.service-icon-wrap {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.service-title {
    font-size: 1.2rem;
    color: var(--gray-900);
    margin-bottom: 10px;
    transition: var(--transition);
}

.service-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    transition: var(--transition);
}

.service-card-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--forest), var(--emerald));
    transform: scaleX(0);
    transition: var(--transition);
}

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

/* --- About --- */
.about {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--white);
}

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

.about-visual {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--white);
}

.about-image-accent img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--forest);
    color: var(--white);
    border-radius: var(--radius-md);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: var(--shadow-lg);
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-text {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--gray-700);
}

.feature-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--emerald);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- Process --- */
.process {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.process-steps::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--forest), var(--emerald), var(--accent-yellow), var(--accent-orange));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--cream-dark);
    line-height: 1;
    margin-bottom: 16px;
}

.step-icon-wrap {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-lg);
    color: var(--forest);
    border: 4px solid var(--cream);
    transition: var(--transition);
}

.process-step:hover .step-icon-wrap {
    background: var(--forest);
    color: var(--white);
    transform: scale(1.1);
}

.process-step:hover .step-number {
    color: var(--emerald);
}

.step-content h3 {
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 240px;
    margin: 0 auto;
}

/* --- Gallery --- */
.gallery {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item--large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}

/* --- CTA --- */
.cta {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.cta-card {
    background: var(--forest);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape-1 {
    width: 300px;
    height: 300px;
    background: var(--emerald);
    opacity: 0.15;
    top: -100px;
    right: -80px;
}

.cta-shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-yellow);
    opacity: 0.1;
    bottom: -60px;
    left: -40px;
}

.cta-shape-3 {
    width: 120px;
    height: 120px;
    background: var(--white);
    opacity: 0.05;
    top: 30%;
    left: 15%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    color: var(--white);
    margin-bottom: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

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

/* --- Contact --- */
.contact {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

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

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact-item a {
    color: var(--forest);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--emerald);
}

.contact-form-card {
    background: var(--cream);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.contact-form-card h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 28px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--gray-900);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form
