/* ============================================
   SPENCER GROUP REALTY — CUSTOM STYLES
   Palette: Terracotta + Sand
   ============================================ */

/* --- Custom Properties --- */
:root {
    --terracotta-50: #fef7f4;
    --terracotta-100: #fde8e0;
    --terracotta-200: #fad4c4;
    --terracotta-300: #f5b49a;
    --terracotta-400: #ee8a6a;
    --terracotta-500: #e06540;
    --terracotta-600: #cc4f2e;
    --terracotta-700: #a83d22;
    --terracotta-800: #87311e;
    --terracotta-900: #6e291a;
    
    --sand-50: #fefce8;
    --sand-100: #fef9c3;
    --sand-200: #fef08a;
    --sand-300: #fde047;
    --sand-400: #facc15;
    --sand-500: #eab308;
    --sand-600: #ca8a04;
    --sand-700: #a16207;
    --sand-800: #854d0e;
    --sand-900: #713f12;
    
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--neutral-800);
    background-color: var(--neutral-50);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-900);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

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

.btn-primary {
    background: var(--terracotta-600);
    color: #fff;
    border-color: var(--terracotta-600);
}

.btn-primary:hover {
    background: var(--terracotta-700);
    border-color: var(--terracotta-700);
}

.btn-secondary {
    background: var(--neutral-800);
    color: #fff;
    border-color: var(--neutral-800);
}

.btn-secondary:hover {
    background: var(--neutral-900);
    border-color: var(--neutral-900);
}

.btn-outline {
    background: transparent;
    color: var(--terracotta-600);
    border-color: var(--terracotta-600);
}

.btn-outline:hover {
    background: var(--terracotta-600);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--terracotta-600);
    border-color: #fff;
}

.btn-white:hover {
    background: var(--sand-100);
    border-color: var(--sand-100);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--terracotta-600);
}

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

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

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

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-200);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--terracotta-600);
    color: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--neutral-900);
}

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

.nav-links a {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--neutral-700);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--terracotta-600);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta-600);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--neutral-800);
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 72px;
    background: linear-gradient(135deg, var(--sand-50) 0%, var(--terracotta-50) 50%, var(--neutral-50) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.geo-circle--1 {
    width: 500px;
    height: 500px;
    background: var(--terracotta-400);
    top: -100px;
    right: -100px;
}

.geo-circle--2 {
    width: 300px;
    height: 300px;
    background: var(--sand-400);
    bottom: 10%;
    left: 5%;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0.12;
}

.geo-triangle--1 {
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid var(--terracotta-500);
    top: 20%;
    left: -40px;
    transform: rotate(-15deg);
}

.geo-square {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--sand-300);
    opacity: 0.15;
    border-radius: var(--radius-lg);
    bottom: 15%;
    right: 10%;
    transform: rotate(30deg);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--terracotta-100);
    color: var(--terracotta-700);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.1;
    color: var(--neutral-900);
    margin-bottom: 1.5rem;
}

.hero-title em {
    color: var(--terracotta-600);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

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

.hero-stats {
    display: flex;
    gap: 2rem;
}

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

.stat-divider {
    padding-left: 2rem;
    border-left: 2px solid var(--neutral-200);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--terracotta-600);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    margin-top: 0.25rem;
}

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

.hero-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    width: 100%;
    aspect-ratio: 3/4;
}

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

.hero-image-accent {
    position: absolute;
    bottom: -2rem;
    left: -3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--neutral-50);
    width: 55%;
    aspect-ratio: 4/3;
}

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

.hero-card {
    position: absolute;
    top: 2rem;
    right: -2rem;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.hero-card-icon {
    font-size: 1.5rem;
}

.hero-card-text {
    display: flex;
    flex-direction: column;
}

.hero-card-text strong {
    font-size: 0.875rem;
    color: var(--neutral-900);
}

.hero-card-text span {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

/* --- Section Styles --- */
.section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

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

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terracotta-600);
    margin-bottom: 0.75rem;
}

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

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

/* --- About Section --- */
.about {
    background: #fff;
}

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

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 5/6;
}

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

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(204, 79, 46, 0.3), transparent 50%);
}

.about-floating-card {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--terracotta-600);
    color: #fff;
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.floating-card-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.floating-card-text {
    font-size: 0.8125rem;
    opacity: 0.9;
}

.about-content .section-label {
    margin-bottom: 0.75rem;
}

.about-text {
    color: var(--neutral-600);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--terracotta-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature strong {
    display: block;
    font-size: 1rem;
    color: var(--neutral-900);
    margin-bottom: 0.25rem;
}

.about-feature p {
    font-size: 0.9375rem;
    color: var(--neutral-500);
    line-height: 1.6;
}

/* --- Services Section --- */
.services {
    background: var(--neutral-50);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--terracotta-400), var(--sand-400), var(--terracotta-600));
}

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

.service-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-100);
    transition: all 0.4s ease;
    overflow: hidden;
}

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

.service-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--terracotta-500), var(--sand-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-accent {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.service-title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
}

.service-description {
    color: var(--neutral-500);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--terracotta-600);
}

.service-link:hover {
    color: var(--terracotta-700);
}

/* --- Listings Section --- */
.listings {
    background: #fff;
}

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

.listing-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-100);
    transition: all 0.4s ease;
}

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

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

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

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

.listing-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--terracotta-600);
    color: #fff;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.listing-info {
    padding: 1.5rem;
}

.listing-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--terracotta-600);
    margin-bottom: 0.5rem;
}

.listing-address {
    font-size: 1.0625rem;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.listing-details {
    font-size: 0.875rem;
    color: var(--neutral-500);
    margin-bottom: 0.75rem;
}

.listing-description {
    font-size: 0.875rem;
    color: var(--neutral-500);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* --- Testimonials Section --- */
.testimonials {
    background: linear-gradient(135deg, var(--terracotta-600) 0%, var(--terracotta-800) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: -200px;
    right: -200px;
}

.testimonials::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    bottom: -150px;
    left: -100px;
}

.testimonials .section-label {
    color: var(--sand-300);
}

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

.testimonials .section-subtitle {
    color: rgba(255,255,255,0.8);
}

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

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
}

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

.testimonial-stars {
    color: var(--sand-400);
    font-size: 1.125rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--sand-400);
    color: var(--neutral-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: #fff;
    font-size: 0.9375rem;
}

.author-info span {
    color: rgba(255,255,255,0.6);
    font-size: 0.8125rem;
}

/* --- CTA Banner --- */
.cta-banner {
    background: var(--sand-100);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--terracotta-200);
    border-radius: 50%;
    opacity: 0.3;
    top: -100px;
    left: -100px;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

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

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

.contact-text {
    font-size: 1.0625rem;
    color: var(--neutral-500);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.detail-icon {
    font-size: 1.25rem;
    width: 48px;
    height: 48px;
    background: var(--terracotta-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--neutral-900);
    margin-bottom: 0.25rem;
}

.contact-detail p {
    font-size: 0.9375rem;
    color: var(--neutral-500);
    line-height: 1.6;
}

.contact-detail a {
    color: var(--terracotta-600);
}

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

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--neutral-50);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid var(--neutral-100);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--neutral-800);
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta-400);
    box-shadow: 0 0 0 3px var(--terracotta-100);
}

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

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

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--terracotta-100);
    color: var(--terracotta-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1rem;
}

.form-success h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--neutral-500);
    margin-bottom: 1.5rem;
}

/* --- Footer --- */
.footer {
    background: var(--neutral-900);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-text {
    color: #fff;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

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

.footer-links a:hover {
    color: var(--terracotta-300);
}

.footer-contact p {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--terracotta-300);
}

.footer-contact a:hover {
    color: var(--terracotta-200);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8125rem;
}

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

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

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

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

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

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .hero-card {
        right: -1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        max-width: 400px;
        margin: 0 auto;
    }

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

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

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 250, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--neutral-200);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 4rem;
    }

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

    .stat-divider {
        padding-left: 0;
        border-left: none;
        padding-top: 1rem;
        border-top: 2px solid var(--neutral-200);
    }

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

    .hero-card {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 1rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
    }

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

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

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

/* --- Scroll Animations (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}
