/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ── Section Labels & Titles ── */
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #065f46;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    padding: 6px 16px;
    border-radius: 50px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #064e3b;
    line-height: 1.15;
}

.body-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #4b5563;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #065f46;
    color: #fff;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.btn-primary:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 95, 70, 0.3);
}

/* ── Form Inputs ── */
.input-field {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1f2937;
    background: #fff;
    transition: all 0.25s ease;
    outline: none;
}
.input-field:hover { border-color: #86efac; }
.input-field:focus {
    border-color: #065f46;
    box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.1);
}
.input-field::placeholder { color: #9ca3af; }

/* ── Nav ── */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #065f46;
    border-radius: 1px;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Navbar Scrolled State ── */
#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(6, 95, 70, 0.08);
}
#navbar.scrolled .nav-link { color: rgba(6, 78, 59, 0.8); }
#navbar.scrolled .nav-link::after { background: #065f46; }

/* ── Hero Animations ── */
.hero-eyebrow {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.3s;
}
.hero-headline {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.5s;
}
.hero-sub {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.7s;
}
.hero-cta {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.9s;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ── Stat Items ── */
.stat-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}
.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Service Cards ── */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Neighborhood Cards ── */
.neighborhood-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.neighborhood-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Testimonial Cards ── */
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Reveal Animations ── */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── Mobile Menu ── */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}
#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fdf9ef; }
::-webkit-scrollbar-thumb { background: #86efac; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #065f46; }

/* ── Selection ── */
::selection { background: #bbf7d0; color: #064e3b; }
