/* ─── BASE ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }

/* ─── NAV ─── */
#nav {
    background: rgba(253,251,247,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: background 0.4s, box-shadow 0.4s;
}
#nav.scrolled {
    background: rgba(253,251,247,0.96);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.nav-link {
    position: relative;
    color: #4a453d;
    text-decoration: none;
    transition: color 0.3s;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c94015;
    transition: width 0.3s;
}
.nav-link:hover { color: #c94015; }
.nav-link:hover::after { width: 100%; }
.nav-logo-text { color: #1a1814; transition: color 0.3s; }
.nav-icon-house { stroke: #c94015; transition: stroke 0.3s; }
.nav-menu-btn svg { stroke: #1a1814; }

/* ─── MOBILE MENU ─── */
.mobile-menu-link {
    color: #1a1814;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s, color 0.3s;
}
.mobile-menu-link:hover { color: #c94015; }
.nav-menu-close svg { stroke: #1a1814; }

/* ─── HERO ─── */
.hero-eyebrow {
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
}
.hero-headline {
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
}
.hero-subtitle {
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
}
.hero-ctas {
    opacity: 0;
    animation: fadeUp 0.8s 0.8s forwards;
}
.hero-stats {
    opacity: 0;
    animation: fadeUp 0.8s 1s forwards;
}
.hero-image-wrap {
    opacity: 0;
    animation: fadeRight 1s 0.5s forwards;
}
.hero-image-accent {
    animation: pulse 4s ease-in-out infinite;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* ─── BUTTONS ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #c94015;
    color: #fff;
    padding: 14px 28px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}
.btn-primary:hover { background: #a32e0f; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,64,21,0.25); }
.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #1a1814;
    padding: 14px 28px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #d4d1c4;
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s, transform 0.2s;
}
.btn-secondary:hover { border-color: #c94015; color: #c94015; transform: translateY(-2px); }
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #c94015;
    padding: 16px 32px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}
.btn-cta-primary:hover { background: #fdf0eb; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fff;
    padding: 16px 32px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.4);
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s, transform 0.2s;
}
.btn-cta-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* ─── SECTION HEADERS ─── */
.section-eyebrow {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s, transform 0.6s;
}
.section-eyebrow.revealed { opacity: 1; transform: translateY(0); }
.section-title {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s 0.1s, transform 0.7s 0.1s;
}
.section-title.revealed { opacity: 1; transform: translateY(0); }

/* ─── ABOUT ─── */
.about-feature {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s, transform 0.6s;
}
.about-feature.revealed { opacity: 1; transform: translateY(0); }

/* ─── SERVICE CARDS ─── */
.service-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s, background 0.5s;
}
.service-card.revealed { opacity: 1; transform: translateY(0); }

/* ─── AREAS ─── */
.area-tag {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #e8e6dd;
    text-decoration: none;
    transition: padding-left 0.3s;
}
.area-tag:hover { padding-left: 8px; }
.areas-img-wrap { position: relative; overflow: hidden; }
.areas-img {
    transition: transform 0.6s ease;
}
.areas-img-wrap:hover .areas-img { transform: scale(1.03); }

/* ─── TESTIMONIALS ─── */
.testimonial-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s, box-shadow 0.3s;
}
.testimonial-card.revealed { opacity: 1; transform: translateY(0); }
.testimonial-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); }

/* ─── FORM ─── */
.form-input,
.form-select,
.form-textarea {
    background: #fafaf8;
    border: 1px solid #e8e6dd;
    padding: 12px 16px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: #1a1814;
    width: 100%;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none;
    border-radius: 0;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #c94015;
    box-shadow: 0 0 0 3px rgba(201,64,21,0.08);
}
.form-input::placeholder,
.form-textarea::placeholder { color: #b0aaa0; }
.form-select { cursor: pointer; }
.form-textarea { resize: vertical; min-height: 100px; }

/* ─── CONTACT INFO ─── */
.contact-info-item {
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.6s, transform 0.6s;
}
.contact-info-item.revealed { opacity: 1; transform: translateX(0); }

/* ─── SCROLL REVEAL (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-left {
        opacity: 0;
        transform: translateX(-24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal-left.revealed {
        opacity: 1;
        transform: translateX(0);
    }
    .reveal-scale {
        opacity: 0;
        transform: scale(0.96);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal-scale.revealed {
        opacity: 1;
        transform: scale(1);
    }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .hero-headline { font-size: 2.5rem; }
    .hero-image-wrap { height: 350px; margin-top: 2rem; }
    .hero-image-tag { display: none; }
    .hero-stats { gap: 2rem; }
    .section-title { font-size: 2.25rem; }
    .areas-img-wrap { height: 250px; }
}
@media (max-width: 640px) {
    .hero-headline { font-size: 2rem; }
    .hero-stats { grid-template-columns: 1fr; gap: 1.5rem; }
    .btn-primary, .btn-secondary { padding: 12px 20px; font-size: 0.75rem; }
}
