:root {
    --green-primary: #0B8A4B;
    --green-dark: #066B39;
    --green-light: #E8F5EE;
    --green-50: #f0fdf4;
    --orange-primary: #F5A623;
    --orange-dark: #D4891A;
    --orange-light: #FFF4E0;
    --orange-50: #fffbeb;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* Navbar transparent on home hero */
#siteNavbar {
    background: transparent;
    box-shadow: none;
}

#siteNavbar.scrolled {
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 8px rgba(0, 0, 0, .08);
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(160deg, var(--white) 0%, #FEFCF7 30%, #FFF8ED 60%, var(--green-50) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 166, 35, .12) 0%, transparent 65%);
    pointer-events: none;
    animation: floatBlob 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -180px;
    left: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 138, 75, .06) 0%, transparent 65%);
    pointer-events: none;
    animation: floatBlob 10s ease-in-out infinite reverse;
}

@keyframes floatBlob {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 15px) scale(.97);
    }
}

/* Floating decorative shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
}

.hero-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -60px;
    background: var(--green-primary);
    opacity: .04;
    animation: floatShape 12s ease-in-out infinite;
}

.hero-shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 10%;
    background: var(--orange-primary);
    opacity: .08;
    animation: floatShape 9s ease-in-out infinite reverse;
}

.hero-shape:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 25%;
    right: 20%;
    background: var(--green-primary);
    opacity: .05;
    animation: floatShape 7s ease-in-out infinite 1s;
}

.hero-shape:nth-child(4) {
    width: 200px;
    height: 200px;
    bottom: 5%;
    left: 15%;
    background: var(--orange-primary);
    opacity: .06;
    animation: floatShape 14s ease-in-out infinite 2s;
}

.hero-shape:nth-child(5) {
    width: 50px;
    height: 50px;
    top: 35%;
    left: 25%;
    background: var(--orange-primary);
    opacity: .10;
    animation: floatShape 6s ease-in-out infinite .5s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-25px) rotate(8deg);
    }
}

/* Floating info cards */
.hero-floating-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--gray-700);
    font-size: .8rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .08), 0 4px 6px -4px rgba(0, 0, 0, .04);
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 1rem;
    color: var(--orange-primary);
}

.floating-card:nth-child(1) {
    top: 18%;
    left: 4%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 30%;
    right: 4%;
    animation-delay: 1.5s;
}

.floating-card:nth-child(3) {
    bottom: 22%;
    left: 6%;
    animation-delay: 3s;
}

.floating-card:nth-child(4) {
    bottom: 18%;
    right: 6%;
    animation-delay: 4.5s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
        opacity: .85;
    }

    50% {
        transform: translateY(-12px);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1rem 2rem 4rem;
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    padding: 0.4rem 1rem 0.4rem 0.5rem;
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    animation: fadeInDown 0.6s ease-out;
}

.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-primary);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.7s ease-out 0.15s both;
}

.hero h1 .highlight-green {
    color: var(--green-primary);
}

.hero h1 .highlight-orange {
    color: var(--orange-primary);
}

.hero h1 .underline-orange {
    position: relative;
    display: inline-block;
}

.hero h1 .underline-orange::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--orange-primary);
    border-radius: 3px;
    opacity: .6;
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineGrow .8s ease-out .9s both;
}

@keyframes underlineGrow {
    to {
        transform: scaleX(1);
    }
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--gray-500);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.7s ease-out 0.3s both;
}

/* ─── SEARCH BAR ─── */
.search-container {
    animation: fadeInUp 0.7s ease-out 0.45s both;
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.search-bar:focus-within {
    box-shadow: var(--shadow-2xl);
    border-color: var(--green-primary);
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
}

.search-field i {
    color: var(--gray-400);
    font-size: 1.1rem;
}

.search-field input {
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    color: var(--gray-800);
    width: 100%;
    background: transparent;
}

.search-field input::placeholder {
    color: var(--gray-400);
}

.keyword-field {
    position: relative;
}

.hero-keyword-clear {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--gray-400);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s;
    margin-left: 4px;
}

.hero-keyword-clear:hover {
    color: #dc2626;
    transform: scale(1.1);
}

.search-divider {
    width: 1px;
    height: 32px;
    background: var(--gray-200);
}

.search-bar .btn-primary {
    border-radius: var(--radius-md);
    margin: 0.5rem;
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
}

.search-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
    animation: fadeInUp 0.7s ease-out 0.6s both;
}

.search-tags span {
    font-size: 0.825rem;
    color: var(--gray-400);
}

.search-tag {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
}

.search-tag:hover {
    border-color: var(--orange-primary);
    color: var(--orange-dark);
    background: var(--orange-light);
}

/* ─── STATS BAR ─── */
.stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeInUp 0.7s ease-out 0.75s both;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 0.7rem 1.5rem;
    box-shadow: var(--shadow-lg);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
}

.stat-accent {
    color: var(--orange-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* ─── SECTION COMMON ─── */
section {
    padding: 1rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    /* margin-bottom: 3.5rem; */
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green-primary);
    margin-bottom: 0.75rem;
}

.section-label i {
    font-size: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    margin-top: 0.75rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── CATEGORIES ─── */
.categories {
    background: var(--gray-50);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1.25rem;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--green-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-light);
}

.category-card:hover::after {
    transform: scaleX(1);
}

.category-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.category-card p {
    font-size: 0.775rem;
    color: var(--gray-400);
}

.cat-green {
    background: var(--green-light);
    color: var(--green-primary);
}

.cat-orange {
    background: var(--orange-light);
    color: var(--orange-primary);
}

.cat-blue {
    background: #EEF2FF;
    color: #4F46E5;
}

.cat-pink {
    background: #FDF2F8;
    color: #DB2777;
}

.cat-purple {
    background: #F5F3FF;
    color: #7C3AED;
}

.cat-cyan {
    background: #ECFEFF;
    color: #0891B2;
}

.cat-red {
    background: #FEF2F2;
    color: #DC2626;
}

.cat-teal {
    background: #F0FDFA;
    color: #0D9488;
}

/* ─── FEATURED LISTINGS ─── */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.listing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.listing-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.listing-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.listing-card:hover .listing-img img {
    transform: scale(1.05);
}

.listing-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 0.4rem;
}

.badge {
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-full);
    font-size: 0.725rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.badge-featured {
    background: rgba(245, 166, 35, 0.9);
    color: var(--white);
}

.badge-new {
    background: rgba(11, 138, 75, 0.9);
    color: var(--white);
}

.badge-promo {
    background: rgba(220, 38, 38, 0.9);
    color: var(--white);
}

.listing-save {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all 0.2s;
}

.listing-save:hover {
    background: var(--white);
    color: #DC2626;
    transform: scale(1.1);
}

.listing-info {
    padding: 1.25rem;
}

.listing-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.listing-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--green-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.listing-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.listing-rating i {
    color: var(--orange-primary);
    font-size: 0.8rem;
}

.listing-rating span {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--gray-700);
}

.listing-rating .review-count {
    font-weight: 400;
    color: var(--gray-400);
    font-size: 0.775rem;
}

.listing-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.4rem;
}

.megamenu-cat {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    color: var(--cat-color, var(--gray-800));
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.megamenu-cat .material-icons {
    font-size: 1.25rem;
    opacity: 0.9;
}

.listing-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.listing-location i {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.listing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.listing-tag {
    padding: 0.2rem 0.6rem;
    background: var(--gray-50);
    border-radius: var(--radius-full);
    font-size: 0.725rem;
    color: var(--gray-500);
}

/* ─── HOW IT WORKS ─── */
.how-it-works {
    background: var(--gray-50);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, var(--green-primary), var(--orange-primary));
    opacity: 0.2;
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 96px;
    height: 96px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.step-num-label {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--green-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.925rem;
    color: var(--gray-500);
    max-width: 280px;
    margin: 0 auto;
}

/* ─── QUARTIERS ─── */
.quartiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 1.5rem;
}

.quartier-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.quartier-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quartier-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quartier-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.quartier-card:hover img {
    transform: scale(1.08);
}

.quartier-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    transition: background 0.3s;
}

.quartier-card:hover .quartier-overlay {
    background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.75) 100%);
}

.quartier-overlay h3 {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
}

.quartier-overlay p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.825rem;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
    background: linear-gradient(165deg, var(--green-50) 0%, var(--white) 50%, var(--orange-50) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-100);
    transition: all 0.3s;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: var(--orange-primary);
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--green-primary);
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.925rem;
    color: var(--gray-800);
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ─── APP DOWNLOAD CTA ─── */
.app-cta {
    padding: 0 2rem;
}

.app-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--green-primary) 0%, #0A7340 50%, var(--green-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 4rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

.app-cta-inner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.app-cta-inner::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 30%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(245, 166, 35, 0.1);
}

.app-cta-text {
    flex: 1;
    position: relative;
    z-index: 2;
}

.app-cta-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 1rem;
}

.app-cta-text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 450px;
}

.app-store-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--white);
    cursor: pointer;
    transition: all 0.25s;
}

.app-store-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.app-store-btn i {
    font-size: 1.75rem;
}

.app-store-btn .store-text {
    text-align: left;
}

.app-store-btn .store-text small {
    font-size: 0.65rem;
    opacity: 0.7;
    display: block;
}

.app-store-btn .store-text strong {
    font-size: 0.925rem;
    font-weight: 600;
}

.app-cta-visual {
    flex: 0 0 280px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 240px;
    height: 480px;
    background: var(--gray-900);
    border-radius: 36px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.phone-mockup .phone-screen {
    position: absolute;
    inset: 8px;
    border-radius: 28px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem 1rem;
}

.phone-screen .phone-logo {
    width: 80px;
    margin-bottom: 1rem;
}

.phone-screen .phone-search {
    width: 100%;
    height: 36px;
    background: var(--gray-100);
    border-radius: 18px;
    margin-bottom: 1rem;
}

.phone-screen .phone-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.phone-cards .mini-card {
    height: 60px;
    background: var(--gray-50);
    border-radius: 10px;
    border: 1px solid var(--gray-100);
}

/* ─── BUSINESS CTA ─── */
.business-cta {
    background: var(--gray-50);
}

.business-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.business-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.business-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.business-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.business-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.business-feature p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ─── FOOTER ─── */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-top: 1rem;
    max-width: 300px;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.2s;
}

.footer-socials a:hover {
    background: var(--green-primary);
    color: var(--white);
}

.footer-col h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col ul a {
    font-size: 0.875rem;
    color: var(--gray-400);
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--gray-500);
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--gray-300);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── CATEGORIES MENU HOME ─── */
.categories .categories-menu {
    display: block;
    position: static;
    background: transparent;
    border-top: none;
    box-shadow: none;
    padding: 3rem 0 1rem;
    z-index: 1;
}

.categories-grid-full {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .categories-grid-full {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .categories-grid-full {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }

    .categories .categories-menu {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .megamenu-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ─── PREMIUM MAP STYLES ─── */
.home-map-section {
    padding-top: 4rem;
    padding-bottom: 5rem;
    background: linear-gradient(to bottom, #fff, var(--gray-50));
}

.map-wrapper-premium {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 4px solid var(--white);
    background: var(--white);
    margin-top: 2rem;
}

.premium-map {
    height: 600px;
    width: 100%;
    z-index: 10;
}

.map-overlay-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    pointer-events: none;
}

.map-control-group {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: all;
    border: 1px solid var(--gray-100);
}

.map-control-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-700);
    text-transform: uppercase;
}

.map-control-group select {
    border: none;
    background: var(--gray-100);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    outline: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .hero-content {
        padding: 2rem 1.75rem 3rem;
        max-width: 600px;
    }

    .hero-subtitle {
        font-size: clamp(0.95rem, 1.8vw, 1.1rem);
        margin-bottom: 2rem;
    }

    .stats-bar {
        gap: 1.5rem;
        padding: 0.6rem 1.25rem;
        margin-top: 1.75rem;
    }

    .stat-number {
        font-size: 1.35rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    .quartiers-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .quartier-card:first-child {
        grid-row: auto;
    }

    .quartier-card:nth-child(2) {
        grid-column: auto;
    }

    .business-cta-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .app-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }

    .app-cta-text p,
    .app-store-btns {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 1rem;
    }

    .hero-content {
        padding: 5rem 1rem 2rem;
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(1.65rem, 6.5vw, 2.3rem);
        margin-bottom: 0.9rem;
        letter-spacing: -0.02em;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem 0.3rem 0.4rem;
        margin-bottom: 1rem;
    }

    .search-bar {
        flex-direction: column;
        border-radius: var(--radius-md);
    }

    .search-field {
        width: 100%;
    }

    .search-divider {
        width: 100%;
        height: 1px;
    }

    .search-bar .btn-primary {
        width: calc(100% - 1rem);
        margin: 0 0.5rem 0.5rem;
    }

    .stats-bar {
        gap: 1rem;
        padding: 0.55rem 0.9rem;
        margin-top: 1.5rem;
        border-radius: var(--radius-lg);
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.68rem;
    }

    .stat-divider {
        height: 28px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .listings-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .steps-grid::before {
        display: none;
    }

    .quartiers-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 4.5rem 0.875rem 1.5rem;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 7.5vw, 2rem);
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .stats-bar {
        gap: 0.6rem;
        padding: 0.5rem 0.6rem;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .category-card {
        padding: 1.25rem 0.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── UPCOMING EVENTS ─── */
.upcoming-events {
    background: var(--white);
    padding: 5rem 2rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.event-card-home {
    display: flex;
    gap: 1.25rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.event-card-home:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-light);
    background: var(--white);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--green-primary);
    color: var(--white);
    min-width: 65px;
    height: 75px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.event-date .month {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.event-content {
    flex: 1;
}

.event-type {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--orange-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
}

.event-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.event-loc {
    font-size: 0.825rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.event-link {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--green-primary);
    text-decoration: none;
}