/* Homepage Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge { animation: fadeInUp 0.6s ease; }
.hero h1 { animation: fadeInUp 0.6s ease 0.1s both; }
.hero p { animation: fadeInUp 0.6s ease 0.2s both; }
.hero-ctas { animation: fadeInUp 0.6s ease 0.3s both; }
.hero-stats { animation: fadeInUp 0.6s ease 0.4s both; }

.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.1'/%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='%23ffffff' stroke-width='0.3' opacity='0.08'/%3E%3C/svg%3E");
    background-size: 200px 200px; opacity: 0.5;
}

/* Trust Bar */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--cream-dark); padding: 20px; }
.trust-bar-inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 24px 40px; max-width: 1200px; margin: 0 auto;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-light); }
.trust-item svg { width: 20px; height: 20px; color: var(--earth-medium); }

/* Process Steps */
.process { padding: 80px 20px; background: var(--white); }
.process-steps {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px; max-width: 1000px; margin: 0 auto;
}
.process-step { text-align: center; position: relative; }
.step-number {
    width: 48px; height: 48px; background: var(--earth-medium);
    color: white; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-family: 'Fraunces', serif;
    font-weight: 700; font-size: 1.2rem; margin: 0 auto 16px;
}
.process-step h3 { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 700; color: var(--earth-dark); margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; color: var(--text-light); }

/* Why Us (dark section) */
.why-us { padding: 80px 20px; background: var(--earth-dark); color: white; }
.why-us .section-label { color: var(--amber); }
.why-us .section-title { color: white; }
.why-us .section-desc { color: rgba(255,255,255,0.95); }

/* Gallery */
.gallery { padding: 80px 20px; background: var(--white); }
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px; max-width: 1200px; margin: 0 auto;
}
.gallery-item { border-radius: 20px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.gallery-item img { width: 100%; height: 280px; object-fit: cover; display: block; }
.gallery-caption { padding: 16px 20px; background: var(--cream); font-size: 0.9rem; color: var(--text-light); }
.gallery-caption strong { color: var(--earth-dark); }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.before-after img { width: 100%; height: 280px; object-fit: cover; }
.before-after-labels { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
.before-after-labels span { padding: 12px; text-align: center; font-weight: 600; font-size: 0.85rem; }
.before-after-labels .before-label { background: var(--earth-dark); color: white; }
.before-after-labels .after-label { background: var(--earth-medium); color: white; }

/* Areas (homepage version) */
.areas { padding: 80px 20px; background: var(--cream); }

/* Service cards with content-visibility */
.services-grid { content-visibility: auto; contain-intrinsic-size: 0 500px; }

/* Optimized paint for sections */
.why-us, .locations, .testimonials, .faq-section { contain: layout style paint; }

@media (max-width: 600px) {
    .gallery-item img, .before-after img { height: 200px; }
    .why-us, .process { padding: 60px 20px; }
}
