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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

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

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.7;
    color: var(--slate-800);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-100);
    transition: box-shadow var(--transition);
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--slate-900);
    letter-spacing: -0.01em;
}

.logo-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    width: 36px;
    height: 36px;
    position: relative;
    align-items: center;
    justify-content: center;
}

.hamburger {
    position: relative;
    width: 20px;
    height: 14px;
    display: block;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--slate-700);
    transition: var(--transition);
}

.hamburger::before { top: 0; }
.hamburger span { top: 50%; transform: translateY(-50%); }
.hamburger::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger span {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 0;
    transform: translateY(0) rotate(-45deg);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--slate-600);
    letter-spacing: 0.01em;
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal-600);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--teal-700);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 8px 20px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-cta:hover {
    border-color: var(--teal-600);
    color: var(--teal-700);
}

.nav-cta::after {
    display: none;
}

/* ===== HERO ===== */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: #ffffff;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--slate-900);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

.hero-headline em {
    font-style: italic;
    color: var(--teal-700);
}

.hero-sub {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--slate-600);
    margin-bottom: var(--space-xl);
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-700);
    color: #ffffff;
    border: 1px solid var(--teal-700);
}

.btn-primary:hover {
    background: var(--teal-800);
    border-color: var(--teal-800);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
}

.btn-ghost:hover {
    border-color: var(--teal-600);
    color: var(--teal-700);
}

.btn-full {
    width: 100%;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 760px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* ===== SECTION COMMON ===== */
.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--slate-900);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--slate-500);
    max-width: 560px;
}

.section-header {
    margin-bottom: var(--space-3xl);
}

/* ===== INTRO ===== */
.intro {
    padding: var(--space-4xl) 0;
    border-top: 1px solid var(--slate-100);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.intro-text .section-title {
    margin-bottom: var(--space-lg);
}

.intro-body {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.intro-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--slate-100);
}

.stat {
    flex: 1;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--teal-700);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--slate-500);
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--slate-200);
}

.intro-image img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ===== SERVICES ===== */
.services {
    padding: var(--space-4xl) 0;
    background: var(--slate-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--teal-200);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: var(--space-md);
    color: var(--teal-600);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: var(--space-sm);
}

.service-desc {
    font-size: 0.95rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ===== NEIGHBORHOODS ===== */
.neighborhoods {
    padding: var(--space-4xl) 0;
}

.neighborhoods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.neighborhood-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.neighborhood-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.neighborhood-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 100%);
}

.neighborhood-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 4px;
}

.neighborhood-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--slate-900);
}

.testimonials .section-eyebrow {
    color: var(--teal-400);
}

.testimonials .section-title {
    color: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    padding: var(--space-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 3rem;
    line-height: 1;
    color: var(--teal-500);
    margin-bottom: var(--space-sm);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.02em;
}

/* ===== CTA / CONTACT ===== */
.cta {
    padding: var(--space-4xl) 0;
    background: #ffffff;
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.cta-content .section-title {
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.75;
    margin-bottom: var(--space-xl);
}

.cta-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cta-phone,
.cta-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--slate-700);
    transition: color var(--transition);
}

.cta-phone:hover,
.cta-email:hover {
    color: var(--teal-700);
}

.cta-phone svg,
.cta-email svg {
    width: 18px;
    height: 18px;
    color: var(--teal-600);
    flex-shrink: 0;
}

/* ===== FORM ===== */
.cta-form-wrapper {
    background: var(--slate-50);
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--slate-800);
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: var(--slate-300);
}

.form-input:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

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

.form-success {
    text-align: center;
    padding: var(--space-xl);
}

.success-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    color: var(--teal-600);
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

.success-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--slate-900);
    margin-bottom: var(--space-sm);
}

.success-text {
    font-size: 0.95rem;
    color: var(--slate-500);
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--slate-900);
    padding: var(--space-3xl) 0 var(--space-lg);
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: var(--space-md);
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    max-width: 280px;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: var(--space-md);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--teal-400);
}

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-contact p,
.footer-contact a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--teal-400);
}

.footer-bottom {
    padding-top: var(--space-lg);
}

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

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-inner {
        gap: var(--space-2xl);
    }

    .hero-image img {
        height: 560px;
    }

    .intro-grid {
        gap: var(--space-2xl);
    }

    .intro-image img {
        height: 480px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-lg);
        gap: 0;
        border-bottom: 1px solid var(--slate-100);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 14px 0;
        border-bottom: 1px solid var(--slate-100);
        font-size: 1rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-cta {
        border: none;
        text-align: center;
        margin-top: var(--space-sm);
        padding: 14px;
        background: var(--teal-700);
        color: #ffffff;
        border-radius: var(--radius-sm);
    }

    .nav-cta:hover {
        background: var(--teal-800);
        color: #ffffff;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        padding-top: var(--space-xl);
        padding-bottom: var(--space-xl);
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        height: 400px;
    }

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

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

    .btn {
        justify-content: center;
    }

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

    .intro-image {
        order: -1;
    }

    .intro-image img {
        height: 360px;
    }

    .intro-stats {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }

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

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

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

    .neighborhood-card img {
        height: 260px;
    }

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

    .cta-inner {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-headline {
        font-size: 1.85rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}
