/* Estilos Principales - Pool Center Natación & Gym */
@import url('variables.css');

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

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

body {
    font-family: var(--font-primary);
    background-color: hsl(var(--color-bg-light));
    color: hsl(var(--color-text-dark));
    line-height: 1.6;
    overflow-x: hidden;
}

body.dark-mode {
    background-color: hsl(var(--color-bg-dark));
    color: hsl(var(--color-text-light));
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
}

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    gap: var(--spacing-sm);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--color-primary)), hsl(var(--color-primary-hover)));
    color: white;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.btn-secondary {
    background: linear-gradient(135deg, hsl(var(--color-secondary)), hsl(var(--color-secondary-hover)));
    color: white;
}
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.btn-accent {
    background: linear-gradient(135deg, hsl(var(--color-accent)), hsl(var(--color-accent-hover)));
    color: white;
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    color: hsl(var(--color-primary));
    border: 2px solid hsl(var(--color-primary));
    box-shadow: none;
}
.btn-outline:hover {
    background: hsl(var(--color-primary));
    color: white;
    transform: translateY(-2px);
}

/* Contenedor */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, hsl(var(--color-primary)), hsl(var(--color-secondary)));
    margin: var(--spacing-sm) auto 0;
    border-radius: var(--radius-full);
}

.section-subtitle {
    text-align: center;
    color: hsl(var(--color-text-muted));
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    font-size: 1.1rem;
}

/* =========================================================
NAVBAR
========================================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass-bg-dark);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    color: white;
    padding: var(--spacing-md) 0;
    transition: var(--transition-normal);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.4rem;
    font-weight: 800;
}

.logo-icon {
    font-size: 1.8rem;
    animation: pulse 2s infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--spacing-xs) 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: hsl(var(--color-primary));
    transition: var(--transition-normal);
}

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

.nav-cta {
    margin-left: var(--spacing-md);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 99px;
    transition: var(--transition-fast);
}

/* =========================================================
HERO
========================================================= */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 10% 20%, rgb(15, 23, 42) 0%, rgb(9, 13, 24) 90.2%);
    color: white;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-shape-1 {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-shape-2 {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 30%, #a5f3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* Slider de Banners Dinámicos */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.2));
}

.hero-slide-content {
    position: absolute;
    bottom: var(--spacing-xl);
    left: var(--spacing-xl);
    right: var(--spacing-xl);
    color: white;
}

.hero-slide-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: hsl(var(--color-primary));
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

/* =========================================================
VENTAJAS Y POR QUÉ ELEGIRNOS
========================================================= */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
}

.advantage-card {
    background-color: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.03);
}

.dark-mode .advantage-card {
    background-color: hsl(var(--color-bg-card));
    border-color: var(--glass-border-dark);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    display: inline-block;
}

.advantage-card h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
}

.advantage-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* =========================================================
SERVICIOS DESTACADOS (CARDS)
========================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.03);
}

.dark-mode .service-card {
    background-color: hsl(var(--color-bg-card));
    border-color: var(--glass-border-dark);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}

.service-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.08);
}

.service-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--glass-bg-dark);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
}

.service-info {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-info h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
}

.service-info p {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-link {
    color: hsl(var(--color-primary));
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.service-link:hover {
    color: hsl(var(--color-primary-hover));
}

/* =========================================================
SECCIÓN PROMOCIÓN DESTACADA (HOME)
========================================================= */
.featured-promo-section {
    background: radial-gradient(circle at 90% 10%, rgb(15, 23, 42) 0%, rgb(9, 13, 24) 90.2%);
    color: white;
}

.featured-promo-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xxl);
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    padding: var(--spacing-xxl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
}

.featured-promo-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.featured-promo-content h2 {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, white 50%, #fed7aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.featured-promo-desc {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
}

.featured-promo-dates {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(225, 29, 72, 0.15);
    border: 1px solid rgba(225, 29, 72, 0.3);
    color: #fda4af;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
}

/* =========================================================
TESTIMONIOS SLIDER
========================================================= */
.testimonials-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--spacing-lg) 0;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 var(--spacing-xl);
}

.testimonial-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xxl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
}

.dark-mode .testimonial-card {
    background-color: hsl(var(--color-bg-card));
    border-color: var(--glass-border-dark);
}

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.4rem;
    margin-bottom: var(--spacing-md);
}

.testimonial-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid hsl(var(--color-primary));
}

.testimonial-name {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Indicadores del Slider */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background-color: hsl(var(--color-text-muted) / 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    background-color: hsl(var(--color-primary));
    width: 25px;
}

/* =========================================================
TARIFARIO Y MEMBRESÍAS
========================================================= */
.membership-tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xxl);
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.65rem 1.5rem;
    background-color: white;
    border: 1px solid rgba(0,0,0,0.08);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
}

.dark-mode .tab-btn {
    background-color: hsl(var(--color-bg-card));
    border-color: var(--glass-border-dark);
    color: hsl(var(--color-text-light));
}

.tab-btn.active, .tab-btn:hover {
    background-color: hsl(var(--color-primary));
    color: white;
    border-color: hsl(var(--color-primary));
    box-shadow: var(--shadow-md);
}

.memberships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.membership-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
    position: relative;
}

.dark-mode .membership-card {
    background-color: hsl(var(--color-bg-card));
    border-color: var(--glass-border-dark);
}

.membership-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

/* Especiales destacar */
.membership-card.premium-plan {
    border: 2px solid hsl(var(--color-primary));
}

.membership-popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: hsl(var(--color-accent));
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.membership-header {
    padding: var(--spacing-xl);
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dark-mode .membership-header {
    border-bottom-color: var(--glass-border-dark);
}

.membership-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.membership-price-box {
    margin: var(--spacing-sm) 0;
}

.membership-currency {
    font-size: 1.2rem;
    font-weight: 700;
    vertical-align: super;
}

.membership-price {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
}

.membership-period {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.membership-body {
    padding: var(--spacing-xl);
    flex-grow: 1;
}

.membership-schedule {
    font-size: 0.85rem;
    margin-bottom: var(--spacing-md);
    background-color: hsl(var(--color-bg-light));
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    text-align: center;
}

.dark-mode .membership-schedule {
    background-color: rgba(255,255,255,0.03);
}

.membership-features {
    list-style: none;
}

.membership-features li {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.membership-features li::before {
    content: '✓';
    color: hsl(var(--color-secondary));
    font-weight: 700;
}

.membership-footer {
    padding: var(--spacing-xl);
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

.dark-mode .membership-footer {
    border-top-color: var(--glass-border-dark);
}

.membership-footer .btn {
    width: 100%;
}

/* =========================================================
GALERÍA CON LIGHTBOX NATIVO
========================================================= */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 200px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon-zoom {
    color: white;
    font-size: 2rem;
    font-weight: 300;
}

/* Lightbox Estilos */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-premium);
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: var(--spacing-sm);
    font-size: 1.1rem;
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    background: rgba(255,255,255,0.1);
    border: none;
    font-size: 2rem;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-prev { left: -80px; }
.lightbox-next { right: -80px; }

@media (max-width: 768px) {
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-prev, .lightbox-next {
        background: rgba(15, 23, 42, 0.6);
    }
}

/* =========================================================
SECCIÓN CONTACTO
========================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xxl);
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.contact-icon {
    font-size: 1.5rem;
    background-color: hsl(var(--color-primary) / 0.1);
    color: hsl(var(--color-primary));
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.contact-text p, .contact-text a {
    color: var(--color-text-muted);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: hsl(var(--color-bg-dark) / 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.dark-mode .social-link {
    background-color: rgba(255,255,255,0.05);
}

.social-link:hover {
    background-color: hsl(var(--color-primary));
    color: white;
    transform: translateY(-3px);
}

/* Formulario Premium */
.contact-form-container {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xxl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.03);
}

.dark-mode .contact-form-container {
    background-color: hsl(var(--color-bg-card));
    border-color: var(--glass-border-dark);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0,0,0,0.15);
    background-color: hsl(var(--color-bg-light));
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.dark-mode .form-control {
    background-color: rgba(15, 23, 42, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-control:focus {
    outline: none;
    border-color: hsl(var(--color-primary));
    box-shadow: 0 0 0 3px hsl(var(--color-primary) / 0.15);
}

/* Map Widget */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 350px;
    box-shadow: var(--shadow-md);
    margin-top: var(--spacing-xxl);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =========================================================
WIDGET FLOTANTE WHATSAPP & BOT FAQ
========================================================= */
.floating-widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: flex-end;
}

/* Botón WhatsApp */
.whatsapp-floating {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-premium);
    color: white;
    font-size: 2rem;
    animation: bounce 3s infinite;
    cursor: pointer;
    transition: var(--transition-normal);
}

.whatsapp-floating:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

/* Botón FAQ */
.faq-bot-floating {
    width: 60px;
    height: 60px;
    background-color: hsl(var(--color-primary));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-premium);
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.faq-bot-floating:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: hsl(var(--color-primary-hover));
}

/* Panel de Chat del Bot */
.faq-chat-window {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 360px;
    height: 500px;
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0,0,0,0.08);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

.dark-mode .faq-chat-window {
    background-color: hsl(var(--color-bg-card));
    border-color: var(--glass-border-dark);
}

.faq-chat-window.active {
    display: flex;
}

.faq-chat-header {
    background: linear-gradient(135deg, hsl(var(--color-primary)), hsl(var(--color-primary-hover)));
    color: white;
    padding: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-chat-header h3 {
    font-size: 1.1rem;
}

.faq-chat-header p {
    font-size: 0.75rem;
    opacity: 0.9;
}

.faq-chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
}

.faq-chat-messages {
    flex-grow: 1;
    padding: var(--spacing-lg);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    background-color: hsl(var(--color-bg-light));
}

.dark-mode .faq-chat-messages {
    background-color: rgba(15, 23, 42, 0.4);
}

.chat-msg {
    max-width: 80%;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    line-height: 1.4;
}

.chat-msg-bot {
    align-self: flex-start;
    background-color: white;
    color: hsl(var(--color-text-dark));
    border-bottom-left-radius: 2px;
    box-shadow: var(--shadow-sm);
}

.dark-mode .chat-msg-bot {
    background-color: hsl(var(--color-bg-dark));
    color: hsl(var(--color-text-light));
}

.chat-msg-user {
    align-self: flex-end;
    background-color: hsl(var(--color-primary));
    color: white;
    border-bottom-right-radius: 2px;
}

.faq-chat-input-area {
    padding: var(--spacing-md);
    border-top: 1px solid rgba(0,0,0,0.08);
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    background-color: white;
}

.dark-mode .faq-chat-input-area {
    background-color: hsl(var(--color-bg-card));
    border-top-color: var(--glass-border-dark);
}

.faq-chat-input {
    flex-grow: 1;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    font-family: inherit;
    font-size: 0.88rem;
}

.dark-mode .faq-chat-input {
    background-color: rgba(15,23,42,0.4);
    border-color: rgba(255,255,255,0.1);
    color: white;
}

.faq-chat-input:focus {
    outline: none;
    border-color: hsl(var(--color-primary));
}

.faq-chat-send {
    background-color: hsl(var(--color-primary));
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.faq-chat-send:hover {
    background-color: hsl(var(--color-primary-hover));
}

.faq-suggested-questions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: var(--spacing-sm);
}

.faq-suggested-btn {
    text-align: left;
    background-color: hsl(var(--color-primary) / 0.05);
    color: hsl(var(--color-primary));
    border: 1px solid hsl(var(--color-primary) / 0.15);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: var(--transition-fast);
}

.faq-suggested-btn:hover {
    background-color: hsl(var(--color-primary));
    color: white;
}

/* =========================================================
CTA FINAL (HOME Y PIE DE PÁGINA)
========================================================= */
.cta-final {
    background: linear-gradient(135deg, hsl(var(--color-primary)), hsl(var(--color-secondary)));
    color: white;
    text-align: center;
    padding: var(--spacing-xxl) 0;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.cta-final p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    opacity: 0.9;
}

/* =========================================================
FOOTER
========================================================= */
.footer {
    background-color: #0b0f19;
    color: #94a3b8;
    padding: var(--spacing-xxl) 0 var(--spacing-xl);
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
}

.footer-col h3 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: hsl(var(--color-primary));
    border-radius: var(--radius-full);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-link:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* =========================================================
ANIMACIONES Y MICROINTERACCIONES
========================================================= */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
    60% { transform: translateY(-6px); }
}

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

/* Responsive Grid / Breakpoints */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    .featured-promo-card {
        grid-template-columns: 1fr;
        padding: var(--spacing-xl);
    }
    .featured-promo-img img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(9, 13, 24, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: var(--spacing-xxl) 0;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
    }
    .nav-menu.active {
        left: 0;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-cta {
        margin-left: 0;
        margin-top: var(--spacing-md);
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .faq-chat-window {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
        bottom: 110px;
    }
}
