/* ============================================
   Paul Alexander — St. Louis Real Estate
   Clean Minimalist | Plum + Amber
   ============================================ */

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

:root {
    /* Plum Palette */
    --plum-50:  #faf5ff;
    --plum-100: #f3e8ff;
    --plum-200: #e9d5ff;
    --plum-300: #d8b4fe;
    --plum-400: #c084fc;
    --plum-500: #a855f7;
    --plum-600: #9333ea;
    --plum-700: #7e22ce;
    --plum-800: #6b21a8;
    --plum-900: #581c87;
    --plum-950: #3b0764;
    
    /* Amber Palette */
    --amber-50:  #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;
    
    /* Neutrals */
    --gray-50:  #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --gray-950: #0a0a0a;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --space-xs:  0.5rem;
    --space-sm:  0.75rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-800);
    background-color: #fefefe;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ---------- Section Shared ---------- */
.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-3xl);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--plum-700);
    margin-bottom: var(--space-lg);
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--plum-400);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: var(--space-lg);
}

.section-title em {
    font-style: italic;
    color: var(--plum-700);
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--gray-600);
    line-height: 1.8;
    font-weight: 300;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.875rem 1.75rem;
    border-radius: 100px;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn--primary {
    background: var(--plum-700);
    color: #fff;
    border: 1.5px solid var(--plum-700);
}

.btn--primary:hover {
    background: var(--plum-800);
    border-color: var(--plum-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(126, 34, 206, 0.25);
}

.btn--ghost {
    background: transparent;
    color: var(--plum-700);
    border: 1.5px solid var(--plum-300);
}

.btn--ghost:hover {
    background: var(--plum-50);
    border-color: var(--plum-500);
    transform: translateY(-2px);
}

.btn--ghost-light {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

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

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

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

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 254, 254, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.nav.scrolled {
    border-bottom-color: var(--gray-200);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--gray-900);
    letter-spacing: -0.01em;
}

.nav-logo-icon {
    color: var(--plum-700);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-600);
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

.nav-link--cta {
    padding: 0.5rem 1.25rem;
    background: var(--plum-700);
    color: #fff;
    border-radius: 100px;
    font-weight: 500;
}

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

.nav-link--cta:hover {
    background: var(--plum-800);
    color: #fff;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--gray-700);
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gray-950);
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(126, 34, 206, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, var(--gray-950) 0%, #1a0a2e 50%, var(--gray-950) 100%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: var(--space-3xl);
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber-400);
    margin-bottom: var(--space-xl);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 100px;
    background: rgba(251, 191, 36, 0.06);
}

.hero-badge svg {
    color: var(--amber-400);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.08;
    color: #fff;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
}

.hero-headline--accent {
    font-style: italic;
    color: var(--amber-400);
}

.hero-subheadline {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: var(--space-2xl);
    max-width: 480px;
}

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

.hero-actions .btn--primary {
    background: var(--amber-500);
    border-color: var(--amber-500);
    color: var(--gray-900);
    font-weight: 600;
}

.hero-actions .btn--primary:hover {
    background: var(--amber-400);
    border-color: var(--amber-400);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.hero-actions .btn--ghost {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.hero-actions .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

/* Floating Stat Cards */
.hero-stats {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--space-xl);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.stat-card--1 {
    margin-top: 0;
}

.stat-card--2 {
    margin-top: calc(var(--space-lg) * -0.5);
}

.stat-card--3 {
    margin-top: calc(var(--space-lg) * -1);
}

.stat-card-number {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    font-weight: 400;
    color: var(--amber-400);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-card-number .count {
    display: inline;
}

.stat-card-label {
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
    letter-spacing: 0.02em;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ---------- Services ---------- */
.services {
    background: #fefefe;
}

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

.service-card {
    padding: var(--space-2xl);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--plum-500), var(--amber-400));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    border-color: var(--plum-200);
    box-shadow: 0 12px 40px rgba(147, 51, 234, 0.08);
    transform: translateY(-4px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--plum-50);
    color: var(--plum-700);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.service-card:hover .service-card-icon {
    background: var(--plum-700);
    color: #fff;
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.service-card-desc {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: var(--space-lg);
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--plum-700);
    letter-spacing: 0.03em;
    transition: gap var(--transition-base);
}

.service-card-link:hover {
    gap: var(--space-md);
}

.service-card-link svg {
    transition: transform var(--transition-base);
}

.service-card-link:hover svg {
    transform: translateX(3px);
}

/* ---------- About ---------- */
.about {
    background: var(--gray-50);
}

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

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

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid var(--plum-300);
    border-radius: 20px;
    z-index: -1;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.about-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.about-body p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.85;
    font-weight: 300;
}

.about-signature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-200);
}

.about-signature-name {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--plum-700);
}

.about-signature-line {
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.about-credentials {
    display: flex;
    gap: var(--space-2xl);
}

.credential {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.credential-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.credential-value {
    font-size: 0.9375rem;
    color: var(--gray-800);
    font-weight: 400;
}

/* ---------- Neighborhoods ---------- */
.neighborhoods {
    background: #fefefe;
}

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

.neighborhood-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    background: #fff;
}

.neighborhood-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
    border-color: transparent;
}

.neighborhood-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.neighborhood-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.neighborhood-card-overlay {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
}

.neighborhood-card-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--amber-400);
    color: var(--gray-900);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 100px;
}

.neighborhood-card-content {
    padding: var(--space-lg);
}

.neighborhood-card-title,
.neighborhood-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.neighborhood-card-content p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.7;
    font-weight: 300;
}

/* ---------- Testimonials ---------- */
.testimonials {
    background: var(--gray-950);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials .section-header {
    position: relative;
    z-index: 1;
}

.testimonials .section-label {
    color: var(--amber-400);
}

.testimonials .section-label::before {
    background: var(--amber-400);
}

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

.testimonials .section-title em {
    color: var(--amber-400);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: var(--space-2xl);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.testimonial-card-quote {
    color: var(--amber-400);
    margin-bottom: var(--space-lg);
    opacity: 0.7;
}

.testimonial-card-text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: var(--space-xl);
}

.testimonial-card-author {
    display: flex;
    align-items: center;
}

.testimonial-card-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-card-author-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #fff;
}

.testimonial-card-author-detail {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

/* ---------- CTA ---------- */
.cta {
    background: var(--plum-900);
    padding: var(--space-4xl) 0;
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-3xl);
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: var(--space-3xl) var(--space-3xl);
}

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

.cta .section-label {
    color: var(--amber-400);
}

.cta .section-label::before {
    background: var(--amber-400);
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
}

.cta-title em {
    font-style: italic;
    color: var(--amber-400);
}

.cta-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    font-weight: 300;
    max-width: 440px;
}

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

.cta-actions .btn--primary {
    background: var(--amber-500);
    border-color: var(--amber-500);
    color: var(--gray-900);
    font-weight: 600;
    white-space: normal;
    text-align: center;
}

.cta-actions .btn--primary:hover {
    background: var(--amber-400);
    border-color: var(--amber-400);
}

/* ---------- Contact ---------- */
.contact {
    background: #fefefe;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info-text {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: var(--space-2xl);
}

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

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--plum-50);
    color: var(--plum-700);
    flex-shrink: 0;
}

.contact-detail-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-detail-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.contact-detail-value {
    font-size: 0.9375rem;
    color: var(--gray-800);
    font-weight: 400;
    line-height: 1.6;
}

.contact-detail-value a {
    color: var(--plum-700);
    transition: color var(--transition-fast);
}

.contact-detail-value a:hover {
    color: var(--plum-600);
}

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: var(--space-2xl);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-700);
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:hover {
    border-color: var(--plum-300);
}

.form-input:focus {
    border-color: var(--plum-500);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-select {
    appearance: none;
    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'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23737373' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

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

/* Form Success */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
    padding: var(--space-2xl);
}

.form-success.show {
    display: flex;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--plum-50);
    color: var(--plum-700);
}

.form-success-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gray-900);
}

.form-success-text {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
    font-weight: 300;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--gray-950);
    padding: var(--space-3xl) 0 var(--space-xl);
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    color: #fff;
}

.footer-logo-icon {
    color: var(--amber-400);
}

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

.footer-nav-title,
.footer-contact h4 {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: var(--space-lg);
}

.footer-nav-list,
.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-nav-link {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    transition: color var(--transition-fast);
}

.footer-nav-link:hover {
    color: var(--amber-400);
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    transition: color var(--transition-fast);
}

.footer-contact-link:hover {
    color: var(--amber-400);
}

.footer-contact-address {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    gap: var(--space-md);
}

.footer-copyright,
.footer-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}

/* ---------- Scroll Reveal ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.services-grid [data-reveal] { transition-delay: 0.1s; }
.services-grid [data-reveal]:nth-child(2) { transition-delay: 0.2s; }
.services-grid [data-reveal]:nth-child(3) { transition-delay: 0.3s; }
.services-grid [data-reveal]:nth-child(4) { transition-delay: 0.4s; }

.neighborhoods-grid [data-reveal] { transition-delay: 0.1s; }
.neighborhoods-grid [data-reveal]:nth-child(2) { transition-delay: 0.15s; }
.neighborhoods-grid [data-reveal]:nth-child(3) { transition-delay: 0.2s; }
.neighborhoods-grid [data-reveal]:nth-child(4) { transition-delay: 0.25s; }
.neighborhoods-grid [data-reveal]:nth-child(5) { transition-delay: 0.3s; }
.neighborhoods-grid [data-reveal]:nth-child(6) { transition-delay: 0.35s; }

.testimonials-grid [data-reveal] { transition-delay: 0.1s; }
.testimonials-grid [data-reveal]:nth-child(2) { transition-delay: 0.2s; }
.testimonials-grid [data-reveal]:nth-child(3) { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .stat-card {
        flex: 1;
        min-width: 140px;
        margin-top: 0 !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-image-wrapper {
        max-width: 400px;
    }
    
    .neighborhoods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .cta-card {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    :root {
        --space-4xl: 4rem;
        --space-3xl: 3rem;
    }
    
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 254, 254, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-md);
        border-bottom: 1px solid var(--gray-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: calc(72px + var(--space-3xl)) 0 var(--space-3xl);
    }
    
    .hero-stats {
        flex-direction: column;
    }
    
    .stat-card {
        margin-top: 0 !important;
    }
    
    .neighborhoods-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-credentials {
        flex-direction: column;
        gap: var(--space-lg);
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }
    
    [data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
