/* ========================================
   CARRIE BROWN REAL ESTATE — STYLES
   Palette: Plum (#6B2F5B) + Amber (#F5A623)
   Fonts: Space Grotesk + DM Sans
======================================== */

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

:root {
    --plum: #6B2F5B;
    --plum-dark: #4E1F42;
    --plum-light: #8B3D75;
    --plum-deep: #3D1735;
    --amber: #F5A623;
    --amber-light: #FFD07B;
    --amber-dark: #D4891A;
    --white: #FFFFFF;
    --off-white: #FAF7F5;
    --cream: #FDF8F3;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(107,47,91,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(107,47,91,0.10), 0 2px 6px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(107,47,91,0.14), 0 4px 12px rgba(0,0,0,0.08);
    --shadow-xl: 0 24px 60px rgba(107,47,91,0.16), 0 8px 20px rgba(0,0,0,0.10);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    background: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    color: var(--plum-dark);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* SKIP LINK */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--plum);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--amber);
    color: var(--plum-deep);
    border-color: var(--amber);
}
.btn-primary:hover {
    background: var(--amber-dark);
    border-color: var(--amber-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--plum);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-plum {
    background: var(--plum);
    color: var(--white);
    border-color: var(--plum);
}
.btn-plum:hover {
    background: var(--plum-dark);
    border-color: var(--plum-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

.btn-full { width: 100%; }

/* SECTION LABEL */
.section-label {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-dark);
    background: rgba(245,166,35,0.12);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-header { margin-bottom: 56px; }
.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 16px;
    color: var(--plum-dark);
}
.section-desc {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 560px;
    margin: 0 auto;
}
.text-center { text-align: center; }

/* ========================================
   HEADER
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250,247,245,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(107,47,91,0.08);
    transition: var(--transition);
}
.site-header.scrolled {
    background: rgba(250,247,245,0.95);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--plum-dark);
}
.logo--light { color: var(--white); }

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

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}
.primary-nav a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.925rem;
    color: var(--gray-700);
    transition: var(--transition);
}
.primary-nav a:hover {
    color: var(--plum);
    background: rgba(107,47,91,0.06);
}

/* NAV TOGGLE */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--plum-dark);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--plum-deep) 0%, var(--plum) 50%, var(--plum-light) 100%);
}

/* Background shapes */
.hero-bg-shape-1 {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: var(--amber);
    border-radius: 50%;
    opacity: 0.10;
    pointer-events: none;
}
.hero-bg-shape-2 {
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: var(--amber-light);
    border-radius: 50%;
    opacity: 0.08;
    pointer-events: none;
}
.hero-bg-shape-3 {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0.03;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

/* Geometric accents */
.geo {
    position: absolute;
    pointer-events: none;
}
.geo--circle {
    width: 80px;
    height: 80px;
    border: 3px solid var(--amber);
    border-radius: 50%;
    top: 15%;
    right: 8%;
    opacity: 0.3;
}
.geo--triangle {
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 60px solid var(--amber);
    opacity: 0.15;
    bottom: 20%;
    left: 5%;
    transform: rotate(-15deg);
}
.geo--square {
    width: 60px;
    height: 60px;
    background: var(--amber-light);
    opacity: 0.12;
    top: 30%;
    left: 3%;
    transform: rotate(30deg);
    border-radius: 4px;
}

.hero-inner { position: relative; z-index: 1; }

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: stretch;
}

/* Main hero card */
.hero-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
}
.hero-card__image {
    position: relative;
    height: 280px;
    overflow: hidden;
}
.hero-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-card__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(61,23,53,0.3) 100%);
}
.hero-card__body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}
.hero-badge {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber-dark);
    background: rgba(245,166,35,0.15);
    padding: 5px 12px;
    border-radius: 50px;
    width: fit-content;
}
.hero-card__body h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
    color: var(--plum-dark);
}
.hero-subtitle {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
}
.hero-cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

/* Floating stat cards */
.hero-float-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.float-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: floatCardIn 0.6s ease both;
}
.float-card--1 { animation-delay: 0.2s; }
.float-card--2 { animation-delay: 0.4s; }
.float-card--3 { animation-delay: 0.6s; }
.float-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.float-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--plum), var(--plum-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
.float-card--amber .float-card__icon {
    background: linear-gradient(135deg, var(--amber), var(--amber-dark));
    color: var(--plum-deep);
}
.float-card__text {
    display: flex;
    flex-direction: column;
}
.float-card__number {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--plum-dark);
    line-height: 1.2;
}
.float-card__label {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 2px;
}

@keyframes floatCardIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ========================================
   SECTIONS
======================================== */
.section {
    padding: 96px 0;
    position: relative;
}

/* ========================================
   ABOUT
======================================== */
.about { background: var(--off-white); }

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

.about-image-wrap {
    position: relative;
}
.about-image-wrap__accent {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 120px;
    height: 120px;
    background: var(--amber);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}
.about-image-wrap img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 620px;
    object-fit: cover;
}

.about-content { display: flex; flex-direction: column; gap: 20px; }
.about-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--plum-dark);
}
.about-content > p {
    color: var(--gray-600);
    font-size: 1.025rem;
    line-height: 1.75;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
}
.about-feature svg {
    color: var(--amber-dark);
    flex-shrink: 0;
}

/* ========================================
   SERVICES
======================================== */
.services {
    background: linear-gradient(135deg, var(--plum-deep) 0%, var(--plum) 100%);
    overflow: hidden;
}
.services-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(245,166,35,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139,61,117,0.2) 0%, transparent 50%);
    pointer-events: none;
}

.services .section-label { color: var(--amber); background: rgba(245,166,35,0.2); }
.services .section-header h2 { color: var(--white); }
.services .section-desc { color: rgba(255,255,255,0.7); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-xl);
    padding: 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.2);
}
.service-card__accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--amber);
    opacity: 0.06;
    border-radius: 0 var(--radius-xl) 0 80px;
    transition: var(--transition);
}
.service-card:hover .service-card__accent { opacity: 0.12; }
.service-card--amber .service-card__accent { background: var(--plum-light); }

.service-card__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--amber), var(--amber-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-deep);
    margin-bottom: 24px;
}
.service-card h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 12px;
}
.service-card p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========================================
   LISTINGS
======================================== */
.listings { background: var(--cream); }

.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.listing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.listing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.listing-card__img {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.listing-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.listing-card:hover .listing-card__img img {
    transform: scale(1.05);
}
.listing-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--amber);
    color: var(--plum-deep);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.listing-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.listing-card__body h3 {
    font-size: 1.1rem;
    color: var(--plum-dark);
}
.listing-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--gray-500);
}
.listing-location svg { color: var(--plum-light); flex-shrink: 0; }

/* ========================================
   TESTIMONIALS
======================================== */
.testimonials {
    background: var(--off-white);
    overflow: hidden;
}
.testimonials-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 90% 10%, rgba(245,166,35,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 10% 90%, rgba(107,47,91,0.06) 0%, transparent 50%);
    pointer-events: none;
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(107,47,91,0.1);
}
.testimonial-card__quote {
    position: absolute;
    top: 20px;
    right: 28px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--amber);
    opacity: 0.15;
    line-height: 1;
    pointer-events: none;
}
.testimonial-text {
    font-size: 0.975rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-author__avatar {
    width: 40px;
    height: 40px;
    color: var(--plum-light);
    opacity: 0.6;
}
.testimonial-author__name {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--plum-dark);
}
.testimonial-author__role {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 2px;
}

/* ========================================
   CONTACT
======================================== */
.contact {
    background: linear-gradient(135deg, var(--plum) 0%, var(--plum-dark) 100%);
    overflow: hidden;
}
.contact::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--amber);
    border-radius: 50%;
    opacity: 0.06;
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info .section-label { color: var(--amber); background: rgba(245,166,35,0.2); }
.contact-info h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.contact-info > p { color: rgba(255,255,255,0.7); font-size: 1.025rem; line-height: 1.75; margin-bottom: 32px; }

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}
.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-details__icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber);
    flex-shrink: 0;
}
.contact-details strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}
.contact-details a,
.contact-details span {
    color: var(--white);
    font-size: 1rem;
}
.contact-details a:hover { color: var(--amber); }

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.contact-map img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}
.contact-form h3 {
    font-size: 1.4rem;
    color: var(--plum-dark);
    margin-bottom: 28px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}
.form-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-700);
}
.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--gray-800);
    transition: var(--transition);
    background: var(--gray-50);
    width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--plum-light);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(107,47,91,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-300); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px;
    background: rgba(107,47,91,0.06);
    border-radius: var(--radius-sm);
    color: var(--plum-dark);
    font-weight: 500;
    font-size: 0.9rem;
}
.form-success svg { color: var(--amber-dark); flex-shrink: 0; }

/* ========================================
   FOOTER
======================================== */
.site-footer {
    background: var(--plum-deep);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { margin-top: 12px; font-size: 0.9rem; line-height: 1.7; }
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--amber); }
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-contact a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-contact a:hover { color: var(--amber); }

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ========================================
   ANIMATIONS
======================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr 240px;
        gap: 20px;
    }
    .hero-card__image { height: 240px; }
    .about-grid { gap: 40px; }
    .services-grid { gap: 16px; }
    .service-card { padding: 28px; }
    .contact-grid { gap: 40px; }
}

@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }
    .hero-float-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .float-card { flex: 1; min-width: 140px; }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image-wrap { max-width: 400px; }
    .about-image-wrap img { height: 450px; }
    .services-grid { grid-template-columns: 1fr; }
    .listings-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        padding: 88px 32px 32px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    .primary-nav.open { right: 0; }
    .primary-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .primary-nav a {
        padding: 12px 16px;
        font-size: 1rem;
    }
    .primary-nav .btn { margin-top: 12px; text-align: center; }
    .hero { padding: 96px 0 48px; min-height: auto; }
    .hero-card__image { height: 200px; }
    .hero-card__body { padding: 24px; }
    .hero-card__body h1 { font-size: 1.4rem; }
    .hero-cta-group { flex-direction: column; }
    .hero-cta-group .btn { text-align: center; }
    .hero-float-cards { flex-direction: column; }
    .float-card { flex-direction: row; }
    .listings-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .section { padding: 64px 0; }
    .geo { display: none; }
}
