/* ============================================
   KRISTIN GREEN - REAL ESTATE WEBSITE
   Forest Green + Off-White | Warm & Friendly
   ============================================ */

/* --- CSS CUSTOM PROPERTIES --- */
:root {
    --green-900: #0B1F0E;
    --green-800: #1B4332;
    --green-700: #2D6A4F;
    --green-600: #40916C;
    --green-500: #52B788;
    --green-400: #74C69D;
    --green-300: #95D5B2;
    --green-200: #B7E4C7;
    --green-100: #D8F3DC;
    --green-50:  #EFFAF3;

    --cream:     #FDF8F0;
    --cream-dark:#F5EDE0;
    --warm-white:#FEFCF8;
    --warm-gray: #F7F4EF;
    --text-dark: #1A1A1A;
    --text-mid:  #3D3D3D;
    --text-light:#6B6B6B;
    --text-muted:#949494;

    --shadow-sm:  0 1px 3px rgba(27,67,50,0.06), 0 1px 2px rgba(27,67,50,0.04);
    --shadow-md:  0 4px 16px rgba(27,67,50,0.08), 0 2px 4px rgba(27,67,50,0.04);
    --shadow-lg:  0 12px 40px rgba(27,67,50,0.12), 0 4px 12px rgba(27,67,50,0.06);
    --shadow-xl:  0 24px 60px rgba(27,67,50,0.14), 0 8px 20px rgba(27,67,50,0.08);

    --radius-sm:  0.5rem;
    --radius-md:  0.75rem;
    --radius-lg:  1rem;
    --radius-xl:  1.5rem;
    --radius-2xl: 2rem;

    --font-serif: 'DM Serif Display', Georgia, serif;
    --font-sans:  'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--warm-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
}

/* --- UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

/* --- SECTION LABELS --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 2px;
    background: var(--green-400);
    border-radius: 2px;
}

.section-label.light {
    color: var(--green-300);
}

.section-label.light::before {
    background: var(--green-500);
}

/* --- SECTION TITLES --- */
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-title.light {
    color: #fff;
}

.section-title .accent {
    color: var(--green-600);
    font-style: italic;
}

.section-title .accent-light {
    color: var(--green-300);
    font-style: italic;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-xl);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

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

.btn-primary {
    background: var(--green-700);
    color: #fff;
    box-shadow: 0 4px 16px rgba(45,106,79,0.3);
}

.btn-primary:hover {
    background: var(--green-600);
    box-shadow: 0 6px 24px rgba(45,106,79,0.4);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--text-dark);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-dark:hover {
    background: var(--green-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-light {
    background: #fff;
    color: var(--green-800);
    box-shadow: var(--shadow-lg);
}

.btn-light:hover {
    background: var(--green-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* --- HEADER / NAV --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253,248,248,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(27,67,50,0.06);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(253,248,248,0.97);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--green-800);
    line-height: 1.1;
}

.logo-sub {
    display: block;
    font-size: 0.6875rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    padding: 0.5rem 0.875rem;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--text-mid);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--green-700);
    background: var(--green-50);
}

.nav-cta {
    padding: 0.625rem 1.25rem !important;
    font-size: 0.875rem !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--green-800);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--green-800);
    padding: 8rem 0 0;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding-bottom: 4rem;
}

.hero-content {
    color: #fff;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-xl);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--green-200);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green-400);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 400;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-title .accent {
    color: var(--green-300);
    font-style: italic;
}

.hero-desc {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #fff;
    line-height: 1.2;
}

.stat-suffix {
    font-size: 1rem;
    color: var(--green-400);
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-image-main {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-accent {
    position: absolute;
    bottom: -1rem;
    left: -2rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--green-800);
}

.hero-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-float-card {
    position: absolute;
    top: 2rem;
    right: -1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-card-icon {
    width: 40px;
    height: 40px;
    background: var(--green-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.float-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.float-card-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* --- TRUST BAR --- */
.trust-bar {
    background: var(--green-800);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.trust-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}

/* --- ABOUT --- */
.about {
    padding: 6rem 0;
    background: var(--warm-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-accent-box {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--green-700);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about-accent-box svg {
    flex-shrink: 0;
}

.accent-box-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.accent-box-text strong {
    font-family: var(--font-serif);
    font-size: 1.125rem;
}

.accent-box-text span {
    font-size: 0.8125rem;
    opacity: 0.75;
}

.about-content {
    max-width: 520px;
}

.about-content .section-title {
    margin-bottom: 1.25rem;
}

.about-content p {
    color: var(--text-mid);
    margin-bottom: 1rem;
    line-height: 1.75;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
    margin: 1.5rem 0 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--text-mid);
}

.feature-check {
    width: 20px;
    height: 20px;
    background: var(--green-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- SERVICES --- */
.services {
    padding: 6rem 0;
    background: var(--green-50);
}

.services .section-header {
    margin-bottom: 3.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(27,67,50,0.04);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-200);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--green-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--green-200);
    transform: scale(1.05);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- NEIGHBORHOODS --- */
.neighborhoods {
    padding: 6rem 0;
    background: var(--warm-white);
}

.neighborhoods .section-header {
    margin-bottom: 3.5rem;
}

.neighborhood-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.neighborhood-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(27,67,50,0.04);
    transition: var(--transition);
}

.neighborhood-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.neighborhood-img {
    overflow: hidden;
    height: 200px;
}

.neighborhood-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.neighborhood-card:hover .neighborhood-img img {
    transform: scale(1.05);
}

.neighborhood-info {
    padding: 1.5rem;
}

.neighborhood-info h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.neighborhood-info p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* --- TESTIMONIALS --- */
.testimonials {
    padding: 6rem 0;
    background: var(--cream);
}

.testimonials .section-header {
    margin-bottom: 3.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(27,67,50,0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.75;
    flex: 1;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--green-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-dark);
}

.author-detail {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* --- CTA SECTION --- */
.cta-section {
    position: relative;
    padding: 6rem 0;
    background: var(--green-800);
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-content {
    color: #fff;
}

.cta-content .section-title {
    margin-bottom: 1.25rem;
}

.cta-desc {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cta-image {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- CONTACT --- */
.contact {
    padding: 6rem 0;
    background: var(--warm-white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-left {
    max-width: 480px;
}

.contact-left .section-title {
    margin-bottom: 1rem;
}

.contact-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--green-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.125rem;
}

.contact-item span,
.contact-item a {
    font-size: 0.9375rem;
    color: var(--text-light);
}

.contact-item a:hover {
    color: var(--green-700);
    text-decoration: underline;
}

/* --- FORM --- */
.contact-right {
    background: #fff;
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(27,67,50,0.04);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--green-200);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--warm-white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(82,183,136,0.15);
    background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    margin-bottom: 1rem;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--green-700);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* --- MAP --- */
.map-section {
    padding: 0 0 4rem;
    background: var(--warm-white);
}

.map-wrapper {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(27,67,50,0.06);
}

.map-header {
    background: var(--green-800);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.map-header h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: #fff;
}

.map-header p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
}

.map-container {
    height: 360px;
}

/* --- FOOTER --- */
.site-footer {
    background: var(--green-900);
    padding: 4rem 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
}

.footer-col a,
.footer-col span {
    display: block;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7);
    padding: 0.25rem 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--green-400);
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    color: rgba(255,255,255,0.25) !important;
}

/* --- SCROLL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-accent {
        left: -1rem;
        bottom: -0.5rem;
    }

    .about-container,
    .cta-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-content {
        max-width: 100%;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253,248,248,0.98);
        backdrop-filter: blur(16px);
        padding: 1.5rem;
        gap: 0.25rem;
        border-bottom: 1px solid rgba(27,67,50,0.06);
        box-shadow: var(--shadow-md);
    }

    .nav-links.mobile-open a {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        width: 100%;
    }

    .hero {
        padding-top: 6rem;
        min-height: auto;
    }

    .hero-image-accent {
        display: none;
    }

    .hero-float-card {
        right: 0;
    }

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

    .neighborhood-grid {
        grid-template-columns: 1fr;
    }

    .about-accent-box {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
        display: inline-flex;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .map-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .cta-actions {
        flex-direction: column;
    }

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

    .contact-right {
        padding: 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .trust-container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-float-card {
        animation: none;
    }

    .badge-dot {
        animation: none;
        opacity: 1;
    }
}
