/* ============================================
   DESIGN TOKENS & ROOT 
   ============================================ */
:root {
    /* Colors */
    --c-bg: #0a0a0f;
    --c-bg-alt: #111118;
    --c-bg-card: #16161f;
    --c-bg-card-hover: #1e1e2a;
    --c-surface: #1a1a24;
    --c-border: rgba(255, 255, 255, 0.06);
    --c-border-hover: rgba(255, 255, 255, 0.12);

    --c-text: #e8e8ed;
    --c-text-muted: #8b8b9e;
    --c-text-subtle: #5a5a6e;

    --c-primary: #6c5ce7;
    --c-primary-light: #a29bfe;
    --c-primary-dark: #4834d4;
    --c-primary-glow: rgba(108, 92, 231, 0.25);

    --c-accent: #00cec9;
    --c-accent-glow: rgba(0, 206, 201, 0.2);

    --c-gradient-1: linear-gradient(135deg, #6c5ce7, #a29bfe);
    --c-gradient-2: linear-gradient(135deg, #6c5ce7, #00cec9);
    --c-gradient-hero: linear-gradient(180deg, rgba(10,10,15,0) 0%, rgba(10,10,15,0.6) 40%, rgba(10,10,15,0.95) 100%);

    /* Typography */
    --ff: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 2rem;
    --fs-3xl: 2.5rem;
    --fs-4xl: 3.5rem;
    --fs-5xl: 4.5rem;

    /* Spacing */
    --sp-xs: 0.25rem;
    --sp-sm: 0.5rem;
    --sp-md: 1rem;
    --sp-lg: 1.5rem;
    --sp-xl: 2rem;
    --sp-2xl: 3rem;
    --sp-3xl: 4rem;
    --sp-4xl: 6rem;
    --sp-5xl: 8rem;

    /* Radius */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px var(--c-primary-glow);

    /* Transitions */
    --t-fast: 0.15s ease;
    --t-base: 0.3s ease;
    --t-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--ff);
    background-color: var(--c-bg);
    color: var(--c-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--c-primary-light);
    text-decoration: none;
    transition: color var(--t-fast);
}
a:hover { color: var(--c-accent); }

img { max-width: 100%; display: block; }

ul { list-style: none; }

/* ============================================
   UTILITIES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-lg);
}

.gradient-text {
    background: var(--c-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--sp-3xl);
}

.section-tag {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-primary-light);
    background: var(--c-primary-glow);
    padding: var(--sp-xs) var(--sp-md);
    border-radius: var(--r-full);
    margin-bottom: var(--sp-md);
}

.section-tag--light {
    color: #fff;
    background: rgba(255,255,255,0.15);
}

.section-title {
    font-size: var(--fs-3xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--sp-md);
}

.section-desc {
    font-size: var(--fs-md);
    color: var(--c-text-muted);
    line-height: 1.7;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-sm);
    font-family: var(--ff);
    font-weight: 600;
    border: none;
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all var(--t-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn--sm { padding: 0.6rem 1.2rem; font-size: var(--fs-sm); }
.btn--lg { padding: 1rem 2rem; font-size: var(--fs-base); border-radius: var(--r-lg); }
.btn--full { width: 100%; padding: 0.9rem 1.5rem; }

.btn--primary {
    background: var(--c-gradient-1);
    color: #fff;
    box-shadow: var(--shadow-glow);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px var(--c-primary-glow), var(--shadow-md);
    color: #fff;
}

.btn--outline {
    background: transparent;
    color: var(--c-text);
    border: 1.5px solid var(--c-border-hover);
}
.btn--outline:hover {
    border-color: var(--c-primary-light);
    color: var(--c-primary-light);
    background: var(--c-primary-glow);
}

.btn-icon { font-size: 1.1em; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--sp-md) 0;
    transition: all var(--t-base);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--c-border);
    padding: var(--sp-sm) 0;
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__logo {
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--c-text);
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
}
.navbar__logo:hover { color: var(--c-text); }
.logo-icon { color: var(--c-primary-light); }
.accent-dot { color: var(--c-accent); }

.navbar__links {
    display: flex;
    gap: var(--sp-xl);
}

.navbar__links a {
    color: var(--c-text-muted);
    font-size: var(--fs-sm);
    font-weight: 500;
    transition: color var(--t-fast);
    position: relative;
}
.navbar__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--c-gradient-1);
    border-radius: 2px;
    transition: width var(--t-base);
}
.navbar__links a:hover { color: var(--c-text); }
.navbar__links a:hover::after { width: 100%; }

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--sp-sm);
}
.navbar__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--c-text);
    border-radius: 2px;
    transition: all var(--t-base);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--sp-5xl) 0 var(--sp-4xl);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-placeholder {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(108, 92, 231, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 206, 201, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #0d0d14 0%, #0a0a0f 100%);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--c-gradient-hero);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-sm);
    background: var(--c-primary-glow);
    border: 1px solid rgba(108, 92, 231, 0.3);
    color: var(--c-primary-light);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: var(--sp-sm) var(--sp-md);
    border-radius: var(--r-full);
    margin-bottom: var(--sp-xl);
    animation: pulse-badge 3s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(108, 92, 231, 0); }
}

.hero__title {
    font-size: var(--fs-5xl);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-xl);
}

.hero__subtitle {
    font-size: var(--fs-lg);
    color: var(--c-text-muted);
    line-height: 1.7;
    margin-bottom: var(--sp-2xl);
    max-width: 600px;
}
.hero__subtitle strong {
    color: var(--c-text);
}

.hero__actions {
    display: flex;
    gap: var(--sp-md);
    flex-wrap: wrap;
    margin-bottom: var(--sp-3xl);
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: var(--sp-xl);
    padding: var(--sp-lg) var(--sp-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    backdrop-filter: blur(10px);
}

.stat { text-align: center; }

.stat__number {
    display: block;
    font-size: var(--fs-2xl);
    font-weight: 800;
    color: var(--c-text);
}
.stat__number small {
    font-size: 0.5em;
    color: var(--c-primary-light);
}

.stat__label {
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--c-border);
}

.hero__scroll-indicator {
    position: absolute;
    bottom: var(--sp-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-sm);
    color: var(--c-text-subtle);
    font-size: var(--fs-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 3s ease-in-out infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--c-text-subtle);
    border-bottom: 2px solid var(--c-text-subtle);
    transform: rotate(45deg);
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   VENTAJAS
   ============================================ */
.ventajas {
    padding: var(--sp-5xl) 0;
    background: var(--c-bg-alt);
    position: relative;
}

.ventajas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-border), transparent);
}

.ventajas__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
}

.ventaja-card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--sp-2xl);
    transition: all var(--t-slow);
    position: relative;
    overflow: hidden;
}

.ventaja-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--c-gradient-1);
    opacity: 0;
    transition: opacity var(--t-base);
}

.ventaja-card:hover {
    border-color: var(--c-border-hover);
    background: var(--c-bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.ventaja-card:hover::before { opacity: 1; }

.ventaja-card__icon {
    font-size: 2rem;
    margin-bottom: var(--sp-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--c-primary-glow);
    border-radius: var(--r-md);
}

.ventaja-card__title {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--sp-sm);
}

.ventaja-card__desc {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    line-height: 1.6;
}

/* ============================================
   ESPACIOS (PRICING)
   ============================================ */
.espacios {
    padding: var(--sp-5xl) 0;
    position: relative;
}

.espacios__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-xl);
    margin-bottom: var(--sp-3xl);
}

.espacio-card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: all var(--t-slow);
    display: flex;
    flex-direction: column;
}

.espacio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--c-border-hover);
}

.espacio-card--featured {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 1px var(--c-primary), var(--shadow-glow);
    position: relative;
}
.espacio-card--featured:hover {
    box-shadow: 0 0 0 1px var(--c-primary), 0 0 50px var(--c-primary-glow), var(--shadow-lg);
}

.espacio-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.espacio-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: var(--fs-sm);
    font-weight: 500;
}

.espacio-card__badge {
    position: absolute;
    top: var(--sp-md);
    right: var(--sp-md);
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: 600;
    padding: var(--sp-xs) var(--sp-md);
    border-radius: var(--r-full);
}
.espacio-card__badge--featured {
    background: var(--c-gradient-1);
}

.espacio-card__body {
    padding: var(--sp-xl);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.espacio-card__type {
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-primary-light);
    margin-bottom: var(--sp-sm);
}

.espacio-card__title {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--sp-sm);
}

.espacio-card__desc {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    line-height: 1.6;
    margin-bottom: var(--sp-lg);
}

.espacio-card__features {
    margin-bottom: var(--sp-xl);
    flex: 1;
}

.espacio-card__features li {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    padding: var(--sp-xs) 0;
}

.espacio-card__pricing {
    margin-bottom: var(--sp-lg);
    padding-top: var(--sp-lg);
    border-top: 1px solid var(--c-border);
}

.espacio-card__price {
    display: flex;
    align-items: baseline;
    gap: var(--sp-xs);
}

.price-amount {
    font-size: var(--fs-3xl);
    font-weight: 900;
    background: var(--c-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
}

.price-note {
    font-size: var(--fs-xs);
    color: var(--c-text-subtle);
    margin-top: var(--sp-xs);
}

/* NOTA POSICIONES */
.espacios__note {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-lg);
    background: var(--c-accent-glow);
    border: 1px solid rgba(0, 206, 201, 0.2);
    border-radius: var(--r-lg);
    padding: var(--sp-xl);
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    line-height: 1.7;
    margin-bottom: var(--sp-3xl);
}
.espacios__note strong { color: var(--c-text); }

.note-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* MOBILIARIO */
.mobiliario {
    text-align: center;
}

.mobiliario__title {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--sp-xl);
}

.mobiliario__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
}

.mobiliario__option {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--sp-xl);
    transition: all var(--t-base);
}
.mobiliario__option:hover {
    border-color: var(--c-border-hover);
    transform: translateY(-2px);
}

.mobiliario__icon {
    font-size: 2rem;
    margin-bottom: var(--sp-md);
}

.mobiliario__option h4 {
    font-size: var(--fs-base);
    font-weight: 700;
    margin-bottom: var(--sp-sm);
}

.mobiliario__option p {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
}

/* ============================================
   CHATBOT SECTION
   ============================================ */
.chatbot-section {
    padding: var(--sp-5xl) 0;
    background: var(--c-bg-alt);
    position: relative;
    overflow: hidden;
}

.chatbot-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--c-primary-glow) 0%, transparent 70%);
    pointer-events: none;
}

.chatbot-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3xl);
    align-items: center;
}

.chatbot-section__title {
    font-size: var(--fs-3xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--sp-md);
}

.chatbot-section__desc {
    font-size: var(--fs-md);
    color: var(--c-text-muted);
    line-height: 1.7;
    margin-bottom: var(--sp-xl);
}

.chatbot-section__list {
    margin-bottom: var(--sp-xl);
}

.chatbot-section__list li {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    padding: var(--sp-xs) 0;
}

/* CHATBOT PLACEHOLDER (embedded) */
.chatbot-placeholder {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.chatbot-placeholder__header {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    padding: var(--sp-md) var(--sp-lg);
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    font-size: var(--fs-sm);
    font-weight: 600;
}

.chatbot-placeholder__dot {
    width: 10px;
    height: 10px;
    background: #00b894;
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.chatbot-placeholder__body {
    padding: var(--sp-lg);
    min-height: 240px;
}

.chat-bubble {
    max-width: 85%;
    padding: var(--sp-md) var(--sp-lg);
    border-radius: var(--r-lg);
    font-size: var(--fs-sm);
    line-height: 1.6;
    margin-bottom: var(--sp-md);
}

.chat-bubble--bot {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-bottom-left-radius: 4px;
}

.chat-bubble--options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-sm);
    background: transparent;
    padding: 0;
    max-width: 100%;
}

.chat-option {
    background: var(--c-primary-glow);
    border: 1px solid rgba(108, 92, 231, 0.3);
    color: var(--c-primary-light);
    font-family: var(--ff);
    font-size: var(--fs-xs);
    font-weight: 500;
    padding: var(--sp-sm) var(--sp-md);
    border-radius: var(--r-full);
    cursor: pointer;
    transition: all var(--t-fast);
}
.chat-option:hover {
    background: var(--c-primary);
    color: #fff;
}

.chatbot-placeholder__input {
    display: flex;
    gap: var(--sp-sm);
    padding: var(--sp-md) var(--sp-lg);
    border-top: 1px solid var(--c-border);
}

.chatbot-placeholder__input input {
    flex: 1;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    padding: var(--sp-sm) var(--sp-md);
    color: var(--c-text);
    font-family: var(--ff);
    font-size: var(--fs-sm);
    outline: none;
}

.chatbot-placeholder__input button {
    background: var(--c-gradient-1);
    border: none;
    color: #fff;
    padding: var(--sp-sm) var(--sp-md);
    border-radius: var(--r-md);
    cursor: pointer;
    font-size: var(--fs-base);
}

.chatbot-placeholder__note {
    font-size: var(--fs-xs);
    color: var(--c-text-subtle);
    text-align: center;
    padding: var(--sp-sm);
}

/* ============================================
   PARA QUIÉN
   ============================================ */
.para-quien {
    padding: var(--sp-5xl) 0;
}

.para-quien__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-lg);
}

.perfil-card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--sp-2xl);
    text-align: center;
    transition: all var(--t-slow);
}

.perfil-card:hover {
    border-color: var(--c-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.perfil-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--sp-md);
}

.perfil-card h3 {
    font-size: var(--fs-base);
    font-weight: 700;
    margin-bottom: var(--sp-sm);
}

.perfil-card p {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    line-height: 1.6;
}

/* ============================================
   GALERÍA
   ============================================ */
.galeria {
    padding: var(--sp-5xl) 0;
    background: var(--c-bg-alt);
}

.galeria__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: var(--sp-md);
}

.galeria__item {
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform var(--t-base);
}
.galeria__item:hover { transform: scale(1.02); }

.galeria__item--wide { grid-column: span 2; }
.galeria__item--tall { grid-row: span 2; }

.galeria__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: var(--fs-sm);
    font-weight: 500;
    transition: all var(--t-base);
}
.galeria__item:hover .galeria__placeholder {
    transform: scale(1.05);
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
    padding: var(--sp-5xl) 0;
    position: relative;
}

.cta-final__inner {
    text-align: center;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: var(--sp-4xl) var(--sp-3xl);
    position: relative;
    overflow: hidden;
}

.cta-final__inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--c-gradient-2);
}

.cta-final__inner::after {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--c-primary-glow) 0%, transparent 70%);
    pointer-events: none;
}

.cta-final__title {
    font-size: var(--fs-3xl);
    font-weight: 800;
    margin-bottom: var(--sp-md);
    position: relative;
    z-index: 1;
}

.cta-final__desc {
    font-size: var(--fs-md);
    color: var(--c-text-muted);
    max-width: 500px;
    margin: 0 auto var(--sp-xl);
    position: relative;
    z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: var(--sp-4xl) 0 var(--sp-xl);
    border-top: 1px solid var(--c-border);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--sp-3xl);
    margin-bottom: var(--sp-3xl);
}

.navbar__logo--footer {
    margin-bottom: var(--sp-md);
}

.footer__brand p {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    line-height: 1.7;
    margin-bottom: var(--sp-lg);
}

.footer__socials {
    display: flex;
    gap: var(--sp-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    color: var(--c-text-muted);
    transition: all var(--t-fast);
}
.social-link:hover {
    color: var(--c-primary-light);
    border-color: var(--c-primary);
    background: var(--c-primary-glow);
}

.footer__links h4,
.footer__contact h4 {
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--sp-lg);
    color: var(--c-text);
}

.footer__links li,
.footer__contact li {
    margin-bottom: var(--sp-sm);
}

.footer__links a,
.footer__contact a {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
}
.footer__links a:hover,
.footer__contact a:hover {
    color: var(--c-text);
}

.footer__contact li {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
}

.footer__map {
    margin-bottom: var(--sp-2xl);
}

.footer__bottom {
    text-align: center;
    padding-top: var(--sp-xl);
    border-top: 1px solid var(--c-border);
}

.footer__bottom p {
    font-size: var(--fs-xs);
    color: var(--c-text-subtle);
}

/* ============================================
   FLOATING CHATBOT WIDGET
   ============================================ */
.chatbot-widget {
    position: fixed;
    bottom: var(--sp-xl);
    right: var(--sp-xl);
    z-index: 9999;
}

.chatbot-widget__btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--c-gradient-1);
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow), var(--shadow-md);
    transition: all var(--t-base);
}
.chatbot-widget__btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 40px var(--c-primary-glow), var(--shadow-lg);
}

.chatbot-widget__icon {
    font-size: 1.5rem;
    transition: all var(--t-fast);
}
.chatbot-widget__icon--close {
    position: absolute;
    color: #fff;
    font-size: 1.2rem;
    font-style: normal;
    opacity: 0;
    transform: rotate(-90deg);
}

.chatbot-widget.open .chatbot-widget__icon--chat { opacity: 0; transform: rotate(90deg); }
.chatbot-widget.open .chatbot-widget__icon--close { opacity: 1; transform: rotate(0); }

.chatbot-widget__pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--c-primary);
    animation: widget-pulse 2s ease-out infinite;
}

@keyframes widget-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}

.chatbot-widget.open .chatbot-widget__pulse { display: none; }

.chatbot-widget__window {
    position: absolute;
    bottom: calc(100% + var(--sp-md));
    right: 0;
    width: 370px;
    max-height: 500px;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: none;
    flex-direction: column;
    animation: widget-slide-up 0.3s ease;
}

.chatbot-widget.open .chatbot-widget__window {
    display: flex;
}

@keyframes widget-slide-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chatbot-widget__header {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    padding: var(--sp-md) var(--sp-lg);
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
}

.chatbot-widget__avatar {
    width: 36px;
    height: 36px;
    background: var(--c-gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
}

.chatbot-widget__header strong {
    font-size: var(--fs-sm);
}

.chatbot-widget__status {
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
    display: block;
}

.chatbot-widget__close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--c-text-muted);
    cursor: pointer;
    font-size: var(--fs-base);
    padding: var(--sp-xs);
    transition: color var(--t-fast);
}
.chatbot-widget__close:hover { color: var(--c-text); }

.chatbot-widget__body {
    padding: var(--sp-lg);
    overflow-y: auto;
    flex: 1;
}

.chatbot-widget__note {
    font-size: var(--fs-xs);
    color: var(--c-text-subtle);
    text-align: center;
    padding: var(--sp-sm);
    border-top: 1px solid var(--c-border);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.ventajas__grid .ventaja-card:nth-child(2) { transition-delay: 0.1s; }
.ventajas__grid .ventaja-card:nth-child(3) { transition-delay: 0.2s; }
.ventajas__grid .ventaja-card:nth-child(4) { transition-delay: 0.3s; }
.ventajas__grid .ventaja-card:nth-child(5) { transition-delay: 0.4s; }
.ventajas__grid .ventaja-card:nth-child(6) { transition-delay: 0.5s; }

.espacios__grid .espacio-card:nth-child(2) { transition-delay: 0.15s; }
.espacios__grid .espacio-card:nth-child(3) { transition-delay: 0.3s; }

.para-quien__grid .perfil-card:nth-child(2) { transition-delay: 0.1s; }
.para-quien__grid .perfil-card:nth-child(3) { transition-delay: 0.2s; }
.para-quien__grid .perfil-card:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero__title { font-size: var(--fs-4xl); }
    .espacios__grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
    .para-quien__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .navbar__links { display: none; }
    .navbar__cta { display: none; }
    .navbar__toggle { display: flex; }

    /* Mobile nav open */
    .navbar.nav-open .navbar__links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        padding: var(--sp-xl) var(--sp-lg);
        border-bottom: 1px solid var(--c-border);
        gap: var(--sp-md);
    }
    .navbar.nav-open .navbar__cta {
        display: inline-flex;
        position: absolute;
        top: calc(100% + 140px);
        left: var(--sp-lg);
        right: var(--sp-lg);
    }

    .hero {
        padding: var(--sp-4xl) 0 var(--sp-3xl);
        min-height: auto;
    }
    .hero__title { font-size: var(--fs-3xl); }
    .hero__subtitle { font-size: var(--fs-base); }
    .hero__stats { flex-direction: column; gap: var(--sp-md); }
    .stat-divider { width: 40px; height: 1px; }
    .hero__scroll-indicator { display: none; }

    .section-title { font-size: var(--fs-2xl); }

    .ventajas__grid { grid-template-columns: 1fr; }
    .mobiliario__grid { grid-template-columns: 1fr; }

    .chatbot-section__inner { grid-template-columns: 1fr; }
    .chatbot-section__title { font-size: var(--fs-2xl); }

    .para-quien__grid { grid-template-columns: 1fr; }

    .galeria__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 180px;
    }
    .galeria__item--wide,
    .galeria__item--tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer__grid { grid-template-columns: 1fr; gap: var(--sp-xl); }

    .chatbot-widget__window { width: calc(100vw - var(--sp-xl) * 2); right: calc(-1 * (100vw - var(--sp-xl) * 2 - 60px)); }
    
    .cta-final__inner { padding: var(--sp-3xl) var(--sp-xl); }
    .cta-final__title { font-size: var(--fs-2xl); }
}

@media (max-width: 480px) {
    .hero__title { font-size: var(--fs-2xl); }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .chatbot-widget__window { right: calc(-1 * (100vw - var(--sp-xl) * 2 - 60px)); }
}
