/* Williams Greenspaces, LLC — Commercial Landscaping */

html { scroll-behavior: smooth; }

section[id], #top { scroll-margin-top: 80px; }

body { -webkit-font-smoothing: antialiased; }

/* ===== WG Monogram logo ===== */
.wg-monogram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 2px solid #2f4a36;
    border-radius: 9999px;
    font-family: "Playfair Display", Georgia, serif;
    color: #2f4a36;
    background: #ffffff;
    line-height: 1;
    flex-shrink: 0;
}
.wg-monogram .wg-w { font-size: 22px; font-weight: 700; }
.wg-monogram .wg-g { font-size: 22px; font-weight: 700; margin-left: -2px; }
.wg-monogram-sm { width: 44px; height: 44px; border-color: rgba(255,255,255,0.5); background: transparent; }
.wg-monogram-sm .wg-w, .wg-monogram-sm .wg-g { color: #ffffff; font-size: 18px; }

/* ===== Nav links ===== */
.nav-link {
    position: relative;
    padding-bottom: 3px;
    transition: color .2s;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: #2f4a36;
    transition: width .25s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link.is-active { font-weight: 700; }
.nav-link.is-active::after { width: 100%; }

.mobile-link {
    display: block;
    padding: 14px 6px;
    border-bottom: 1px solid #dbe7d4;
    font-size: 16px;
}
.mobile-link.is-active { font-weight: 700; }

/* ===== Shared section helpers ===== */
.eyebrow {
    color: #3d6147;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ===== Split hero (home) ===== */
.split-hero-img {
    min-height: 320px;
}
@media (min-width: 1024px) {
    .split-hero-img { min-height: 600px; }
}

/* ===== Page banner (interior pages) ===== */
.page-hero {
    position: relative;
    overflow: hidden;
}
.page-hero img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
}
.page-hero .page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(20,32,22,0.88) 0%, rgba(36,58,42,0.72) 55%, rgba(47,74,54,0.45) 100%);
}

/* ===== Stats band ===== */
.stat-num {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2.75rem;
    line-height: 1;
    font-weight: 700;
}
@media (min-width: 768px) {
    .stat-num { font-size: 3.25rem; }
}

/* ===== Service detail rows ===== */
.service-row-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px -20px rgba(47,74,54,0.45);
}
.service-row-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 280px;
}
.service-num {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.1rem;
    color: #9bbfa4;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* ===== CTA band ===== */
.cta-band {
    background: linear-gradient(120deg, #243a2a 0%, #2f4a36 60%, #3d6147 100%);
}

/* ===== Hero ===== */
.hero-overlay {
    background: linear-gradient(to top, rgba(20,32,22,0.82) 0%, rgba(20,32,22,0.25) 45%, rgba(20,32,22,0.05) 100%);
}

/* ===== Services ===== */
.service-card {
    background: #fff;
    border: 1px solid #e6ece3;
    border-radius: 14px;
    padding: 28px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px -12px rgba(47,74,54,0.28);
}
.service-icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: #e8f0e4;
    color: #2f4a36;
    font-size: 20px;
    margin-bottom: 16px;
}
.service-cta {
    background: #2f4a36;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.service-cta:hover { transform: translateY(-5px); }

/* ===== Why choose us ===== */
.why-icon {
    width: 70px; height: 70px;
    margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
    border-radius: 9999px;
    background: #fff;
    color: #2f4a36;
    font-size: 26px;
    box-shadow: 0 8px 18px -8px rgba(47,74,54,0.35);
}

/* ===== Gallery ===== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 26px 16px 12px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    background: linear-gradient(to top, rgba(20,32,22,0.85), transparent);
}

/* ===== Team ===== */
.team-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px -16px rgba(47,74,54,0.3);
}
.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center 30%;
}

/* ===== Testimonials ===== */
.testimonial {
    background: #fff;
    border: 1px solid #e6ece3;
    border-left: 4px solid #2f4a36;
    border-radius: 12px;
    padding: 28px;
}

/* ===== Contact form ===== */
.contact-chip {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 9999px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    flex-shrink: 0;
}
.contact-chip-green {
    background: #e8f0e4;
    color: #2f4a36;
}
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #2f4a36;
    margin-bottom: 6px;
}
.form-input {
    width: 100%;
    border: 1px solid #cdd9c8;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 16px;
    background: #f8faf7;
    transition: border-color .2s, box-shadow .2s;
}
.form-input:focus {
    outline: none;
    border-color: #2f4a36;
    box-shadow: 0 0 0 3px rgba(47,74,54,0.15);
    background: #fff;
}
.form-input.input-error { border-color: #dc2626; background: #fef2f2; }

/* Tap targets on mobile */
@media (max-width: 767px) {
    a, button { min-height: 44px; }
}
