/* ========== RESET & BASE ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: #2c3e2d;
    background-color: #faf9f6;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== SKIP LINK ========== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #1a3a2a;
    color: #faf9f6;
    padding: 8px 16px;
    z-index: 9999;
    border-radius: 4px;
    font-size: 0.875rem;
}
.skip-link:focus {
    top: 16px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.25;
    color: #1a3a2a;
}

.section-label {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #4a7c5f;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: #5a6b5c;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 4px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn--dark {
    background-color: #1a3a2a;
    color: #faf9f6;
    border-color: #1a3a2a;
}
.btn--dark:hover {
    background-color: #24523a;
    border-color: #24523a;
}

.btn--light {
    background-color: #faf9f6;
    color: #1a3a2a;
    border-color: #faf9f6;
}
.btn--light:hover {
    background-color: #f0efe9;
}

.btn--outline-light {
    background-color: transparent;
    color: #faf9f6;
    border-color: rgba(250, 249, 246, 0.6);
}
.btn--outline-light:hover {
    background-color: rgba(250, 249, 246, 0.1);
    border-color: #faf9f6;
}

.btn--outline-dark {
    background-color: transparent;
    color: #1a3a2a;
    border-color: #1a3a2a;
}
.btn--outline-dark:hover {
    background-color: #1a3a2a;
    color: #faf9f6;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ========== HEADER ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 249, 246, 0);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.site-header.scrolled {
    background-color: rgba(250, 249, 246, 0.97);
    box-shadow: 0 1px 0 rgba(26, 58, 42, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a3a2a;
    letter-spacing: 0.01em;
}
.logo .logo-mark {
    color: #4a7c5f;
}

.logo--light,
.logo--light .logo-mark {
    color: #faf9f6;
}

/* ========== NAV ========== */
.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}
.primary-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1a3a2a;
    transition: color 0.2s ease;
    position: relative;
}
.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: #4a7c5f;
    transition: width 0.3s ease;
}
.primary-nav a:hover::after,
.primary-nav a:focus::after {
    width: 100%;
}
.primary-nav a:hover {
    color: #4a7c5f;
}

.btn--nav {
    font-size: 0.875rem;
    padding: 10px 22px;
    background-color: #1a3a2a;
    color: #faf9f6;
    border-color: #1a3a2a;
    border-radius: 4px;
}
.btn--nav::after {
    display: none;
}
.btn--nav:hover {
    background-color: #24523a;
    border-color: #24523a;
    color: #faf9f6;
}

/* ========== NAV TOGGLE ========== */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #1a3a2a;
    position: relative;
    transition: background-color 0.3s ease;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #1a3a2a;
    transition: transform 0.3s ease;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 35, 24, 0.82) 0%,
        rgba(26, 58, 42, 0.72) 50%,
        rgba(42, 82, 58, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 100px;
    padding-bottom: 80px;
    max-width: 720px;
}
.hero-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(250, 249, 246, 0.7);
    margin-bottom: 20px;
}
.hero-title {
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    color: #faf9f6;
    margin-bottom: 24px;
    line-height: 1.15;
    font-weight: 500;
}
.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(250, 249, 246, 0.85);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 560px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(250, 249, 246, 0.6);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(6px); }
    60% { transform: translateX(-50%) translateY(3px); }
}

/* ========== SECTIONS ========== */
.section {
    padding: 100px 0;
}

/* ========== ABOUT ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-image-wrap {
    border-radius: 6px;
    overflow: hidden;
}
.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/7;
}
.about-content {
    padding: 16px 0;
}
.about-content p {
    color: #4a5c4d;
    margin-bottom: 16px;
    font-size: 1.0625rem;
}
.about-features {
    margin: 28px 0 32px;
    display: grid;
    gap: 12px;
}
.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #2c3e2d;
    font-weight: 500;
}
.about-features svg {
    color: #4a7c5f;
    flex-shrink: 0;
}
.about-content .btn {
    margin-top: 8px;
}

/* ========== SERVICES ========== */
.services {
    background-color: #f2f1ec;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}
.service-card {
    background-color: #faf9f6;
    border-radius: 6px;
    padding: 36px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(26, 58, 42, 0.06);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 58, 42, 0.1);
}
.service-icon {
    color: #4a7c5f;
    margin-bottom: 20px;
}
.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #1a3a2a;
}
.service-card p {
    font-size: 0.9375rem;
    color: #5a6b5c;
    line-height: 1.7;
}

/* ========== NEIGHBORHOODS ========== */
.neighborhoods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}
.neighborhood-card {
    border-radius: 6px;
    overflow: hidden;
    background-color: #faf9f6;
    border: 1px solid rgba(26, 58, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.neighborhood-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 58, 42, 0.1);
}
.neighborhood-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.neighborhood-info {
    padding: 24px;
}
.neighborhood-info h3 {
    font-size: 1.1875rem;
    margin-bottom: 8px;
    color: #1a3a2a;
}
.neighborhood-info p {
    font-size: 0.9375rem;
    color: #5a6b5c;
    line-height: 1.65;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    background-color: #1a3a2a;
    color: #faf9f6;
}
.testimonials .section-label {
    color: rgba(250, 249, 246, 0.55);
}
.testimonials .section-title {
    color: #faf9f6;
}
.testimonials-slider {
    margin-top: 56px;
    position: relative;
    overflow: hidden;
}
.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}
.testimonial-card {
    flex: 0 0 100%;
    padding: 48px 40px;
    background-color: rgba(250, 249, 246, 0.05);
    border: 1px solid rgba(250, 249, 246, 0.08);
    border-radius: 6px;
    max-width: 720px;
    margin: 0 auto;
}
.testimonial-quote {
    color: rgba(250, 249, 246, 0.2);
    margin-bottom: 24px;
}
.testimonial-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-style: italic;
    color: rgba(250, 249, 246, 0.9);
    line-height: 1.7;
    margin-bottom: 24px;
}
.testimonial-author {
    font-size: 0.9375rem;
    color: rgba(250, 249, 246, 0.55);
    font-weight: 500;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}
.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(250, 249, 246, 0.25);
    background: transparent;
    color: #faf9f6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.slider-btn:hover {
    border-color: rgba(250, 249, 246, 0.6);
    background-color: rgba(250, 249, 246, 0.08);
}
.slider-dots {
    display: flex;
    gap: 10px;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: rgba(250, 249, 246, 0.25);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    padding: 0;
}
.slider-dot.active {
    background-color: #faf9f6;
    transform: scale(1.15);
}

/* ========== CTA BANNER ========== */
.cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}
.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 35, 24, 0.85) 0%,
        rgba(26, 58, 42, 0.78) 100%
    );
}
.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}
.cta-title {
    color: #faf9f6;
    margin-bottom: 16px;
}
.cta-text {
    font-size: 1.0625rem;
    color: rgba(250, 249, 246, 0.8);
    margin-bottom: 36px;
    line-height: 1.7;
}
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-info p {
    color: #5a6b5c;
    font-size: 1.0625rem;
    margin-bottom: 36px;
}
.contact-details {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-item svg {
    color: #4a7c5f;
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-item strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.0625rem;
    color: #1a3a2a;
    margin-bottom: 4px;
}
.contact-item p {
    color: #5a6b5c;
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.6;
}
.contact-item a {
    color: #4a7c5f;
    transition: color 0.2s ease;
}
.contact-item a:hover {
    color: #1a3a2a;
    text-decoration: underline;
}

.contact-form-wrap {
    background-color: #f2f1ec;
    border-radius: 6px;
    padding: 40px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a3a2a;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9375rem;
    color: #2c3e2d;
    background-color: #faf9f6;
    border: 1.5px solid rgba(26, 58, 42, 0.15);
    border-radius: 4px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #4a7c5f;
    box-shadow: 0 0 0 3px rgba(74, 124, 95, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9aa89b;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 16px;
    background-color: rgba(74, 124, 95, 0.1);
    border: 1px solid rgba(74, 124, 95, 0.25);
    border-radius: 4px;
    color: #1a3a2a;
    font-size: 0.9375rem;
    font-weight: 500;
}
.form-success svg {
    color: #4a7c5f;
    flex-shrink: 0;
}

/* ========== FOOTER ========== */
.site-footer {
    background-color: #1a3a2a;
    color: rgba(250, 249, 246, 0.7);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}
.footer-links h4,
.footer-contact h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250, 249, 246, 0.45);
    margin-bottom: 20px;
}
.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a {
    font-size: 0.9375rem;
    color: rgba(250, 249, 246, 0.7);
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: #faf9f6;
}
.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-contact a {
    color: rgba(250, 249, 246, 0.7);
    transition: color 0.2s ease;
}
.footer-contact a:hover {
    color: #faf9f6;
}
.footer-bottom {
    border-top: 1px solid rgba(250, 249, 246, 0.08);
    padding: 24px 0;
}
.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(250, 249, 246, 0.4);
    text-align: center;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .services-grid,
    .neighborhoods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .primary-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background-color: #faf9f6;
        padding: 80px 32px 32px;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    .primary-nav.open {
        transform: translateX(0);
    }
    .primary-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .primary-nav a {
        font-size: 1.125rem;
    }
    .btn--nav {
        font-size: 1rem;
        padding: 12px 24px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image-wrap {
        order: -1;
    }
    .about-image-wrap img {
        aspect-ratio: 4/3;
    }

    .services-grid,
    .neighborhoods-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding-top: 80px;
    }
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        justify-content: center;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-wrap {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-brand {
        grid-column: auto;
    }

    .section {
        padding: 72px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .testimonial-card {
        padding: 32px 24px;
    }
    .testimonial-text {
        font-size: 1.1rem;
    }
}
