/* ==========================================================================
   LORSA CO-WORKING - Estilos Clave Premium
   ========================================================================== */

/* Variables del Sistema de Diseño */
:root {
    /* Paleta de Colores Corporativa LORSA */
    --color-primary: #547794;           /* Azul Pizarra (Logo) */
    --color-primary-dark: #3d5970;      /* Azul Pizarra Oscuro */
    --color-primary-light: #eef3f7;     /* Azul Pizarra Muy Claro */
    --color-secondary: #243642;         /* Azul Noche Profundo (Contraste) */
    --color-secondary-dark: #192730;    /* Azul Noche Ultra Oscuro */
    --color-accent: #df8a49;            /* Ámbar Cálido (Detalles y CTA) */
    --color-accent-dark: #c57335;       /* Ámbar Cálido Oscuro */
    
    /* Colores Neutros */
    --color-bg-light: #fafbfc;          /* Fondo Claro Limpio */
    --color-bg-dark: #243642;           /* Fondo Oscuro */
    --color-white: #ffffff;
    --color-gray-border: #e2e8f0;       /* Bordes muy sutiles */
    
    /* Colores de Texto */
    --text-color-dark: #1e293b;         /* Texto Principal Oscuro */
    --text-color-light: #f8fafc;        /* Texto Principal Claro */
    --text-color-muted: #64748b;        /* Texto Secundario / Desvanecido */
    --text-color-headings: #0f172a;     /* Encabezados Oscuros */
    
    /* Tipografía */
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Sombras & Bordes */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-round: 50%;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-premium: 0 25px 50px -12px rgba(36, 54, 66, 0.15);
    
    /* Transiciones */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    --container-max-width: 1200px;
}

/* Resets Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--text-color-headings);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1.25rem;
}

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

ul {
    list-style: none;
}

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

/* Componentes Comunes */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 32px;
}

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

.grid-3-cols {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4-cols {
    grid-template-columns: repeat(4, 1fr);
}

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

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

.bg-dark {
    background-color: var(--color-secondary);
    color: var(--text-color-light);
}

.bg-light {
    background-color: var(--color-primary-light);
}

.text-white {
    color: var(--color-white) !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-color-muted);
    margin-bottom: 32px;
    max-width: 700px;
}

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

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -10px rgba(84, 119, 148, 0.5);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-accent:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -10px rgba(223, 138, 73, 0.5);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -10px rgba(36, 54, 66, 0.5);
}

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

.btn-outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-secondary);
    transform: translateY(-3px);
}

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

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* Header & Barra de Navegación */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
    padding: 24px 0;
}

#main-header.header-transparent {
    background-color: transparent;
}

#main-header.header-scrolled {
    background-color: rgba(36, 54, 66, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo-link {
    display: flex;
    align-items: center;
    color: var(--color-white);
}

.logo-svg {
    transition: var(--transition-normal);
    height: 42px;
}

/* Menú de Escritorio */
.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.98rem;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-white);
}

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

.nav-cta {
    display: flex;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.6rem;
    cursor: pointer;
}

/* Drawer Móvil */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background-color: var(--color-secondary);
    z-index: 1002;
    transition: var(--transition-normal);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.drawer-close-btn {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drawer-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    font-weight: 600;
    font-family: var(--font-headings);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: block;
}

.drawer-link:hover,
.drawer-link.active {
    color: var(--color-accent);
    padding-left: 8px;
}

.drawer-footer {
    margin-top: auto;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    backdrop-filter: blur(4px);
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: var(--color-white);
    background-color: var(--color-secondary);
    background-image: radial-gradient(circle at 80% 20%, rgba(84, 119, 148, 0.25) 0%, transparent 50%),
                      radial-gradient(circle at 10% 80%, rgba(223, 138, 73, 0.15) 0%, transparent 40%);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-slider .slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(36, 54, 66, 0.9) 0%, rgba(36, 54, 66, 0.4) 60%, rgba(36, 54, 66, 0.8) 100%);
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.hero-tag {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-accent);
    margin-bottom: 20px;
    display: inline-block;
    background: rgba(223, 138, 73, 0.15);
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid rgba(223, 138, 73, 0.3);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--color-white) !important;
    text-shadow: 0 4px 15px rgba(15, 23, 42, 0.9), 0 2px 5px rgba(15, 23, 42, 0.7);
}

.hero-lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(248, 250, 252, 0.9);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 720px;
    text-shadow: 0 2px 8px rgba(15, 23, 42, 0.8);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero-scroll-indicator span {
    display: block;
    width: 32px;
    height: 52px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero-scroll-indicator span:hover {
    border-color: var(--color-white);
}

.hero-scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background-color: var(--color-white);
    border-radius: 3px;
    animation: scroll-dot 2.2s infinite;
}

@keyframes scroll-dot {
    0% { top: 8px; opacity: 1; }
    50% { top: 28px; opacity: 0; }
    100% { top: 8px; opacity: 1; }
}

/* Sección de Presentación / Información */
.presentation-section {
    padding: 120px 0;
    background-color: var(--color-white);
}

.presentation-text-content {
    padding-right: 24px;
}

.features-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    width: 52px;
    height: 52px;
    background-color: rgba(223, 138, 73, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(223, 138, 73, 0.15);
}

.feature-text h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-secondary);
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-color-muted);
    margin: 0;
}

/* Galería Grid Premium */
.about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
}

.gallery-item.item-large {
    grid-row: span 2;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(36, 54, 66, 0.9) 0%, rgba(36, 54, 66, 0) 100%);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-headings);
    opacity: 0;
    transform: translateY(12px);
    transition: var(--transition-normal);
}

.gallery-item:hover .img-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Sección de Espacios (Las 4 Funciones) */
.spaces-section {
    padding: 120px 0;
    background-color: var(--color-bg-light);
}

.space-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-border);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.space-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(84, 119, 148, 0.3);
}

.space-img-wrapper {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.space-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.space-card:hover .space-img-wrapper img {
    transform: scale(1.06);
}

.space-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
}

.space-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.space-content h3 {
    font-size: 1.45rem;
    color: var(--color-secondary);
    margin-bottom: 12px;
}

.space-content p {
    font-size: 0.98rem;
    color: var(--text-color-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.space-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 24px;
}

.space-features span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-primary);
    background-color: var(--color-primary-light);
    padding: 5px 12px;
    border-radius: 30px;
}

/* Sección Planes & Membresías */
.plans-section {
    padding: 120px 0;
    background-color: var(--color-white);
}

.plan-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    border: 1px solid var(--color-gray-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plan-card.popular {
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.plan-card.popular:hover {
    transform: translateY(-8px) scale(1.03);
}

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

.plan-tag {
    position: absolute;
    top: 24px;
    right: 36px;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 12px;
}

.plan-price {
    margin-bottom: 24px;
}

.plan-price .price-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-secondary);
    font-family: var(--font-headings);
}

.plan-price .price-period {
    font-size: 0.95rem;
    color: var(--text-color-muted);
}

.plan-benefits {
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
    margin-bottom: 14px;
    color: var(--text-color-dark);
}

.plan-benefits i {
    color: #22c55e; /* Green check */
    font-size: 1.1rem;
    margin-top: 3px;
}

/* Modales */
.room-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 900px;
    background-color: var(--color-white);
    z-index: 1010;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.room-modal.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    height: 100%;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(15, 23, 42, 0.5);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
    backdrop-filter: blur(4px);
}

.modal-close:hover {
    background-color: rgba(15, 23, 42, 0.8);
    transform: rotate(90deg);
}

.modal-body-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

.modal-slider {
    height: 520px;
    overflow: hidden;
}

.modal-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: 520px;
    overflow-y: auto;
}

.modal-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 8px;
    display: block;
}

.modal-title {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 16px;
}

.modal-desc {
    font-size: 0.98rem;
    color: var(--text-color-muted);
    margin-bottom: 24px;
}

.modal-subtitle {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-amenities-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 32px;
}

.modal-amenities-list li {
    font-size: 0.92rem;
    color: var(--text-color-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-amenities-list i {
    color: var(--color-primary);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    z-index: 1009;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    backdrop-filter: blur(5px);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Sección de Reseñas / Testimonios */
.reviews-section {
    padding: 120px 0;
}

.slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.reviews-slider {
    position: relative;
    height: 320px;
}

.review-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    transform: scale(0.95);
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--color-gray-border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-card.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.review-stars {
    color: #f59e0b; /* Amber Stars */
    font-size: 1.15rem;
    margin-bottom: 16px;
    display: flex;
    gap: 4px;
}

.review-title {
    font-size: 1.35rem;
    color: var(--color-secondary);
    margin-bottom: 12px;
    font-weight: 700;
}

.review-text {
    font-size: 1.05rem;
    color: var(--text-color-muted);
    font-style: italic;
    margin-bottom: 24px;
}

.review-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.review-author {
    font-weight: 700;
    color: var(--color-secondary);
}

.review-source {
    font-size: 0.85rem;
    color: var(--text-color-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-round);
    border: 1px solid var(--color-gray-border);
    background-color: var(--color-white);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.slider-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.05);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-round);
    background-color: var(--color-gray-border);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dots .dot.active {
    background-color: var(--color-primary);
    width: 24px;
    border-radius: 6px;
}

/* Sección de Contacto & Ubicación */
.contact-section {
    padding: 120px 0;
    background-color: var(--color-bg-light);
}

.contact-info-panel {
    padding-right: 32px;
}

.contact-panel-desc {
    font-size: 1.05rem;
    color: var(--text-color-muted);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
}

.contact-detail-item:hover .icon-circle {
    transform: scale(1.08);
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-round);
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.icon-circle.whatsapp-circle {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.detail-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 4px;
}

.detail-text p {
    font-size: 0.95rem;
    color: var(--text-color-muted);
    margin: 0;
}

.map-container {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-border);
}

/* Panel del Formulario */
.contact-form-panel {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-border);
}

.contact-form-panel h3 {
    font-size: 1.8rem;
    color: var(--color-secondary);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-gray-border);
    border-radius: var(--radius-md);
    background-color: #fafbfc;
    font-family: var(--font-body);
    font-size: 16px; /* Evita zoom automático en móviles */
    color: var(--text-color-dark);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(84, 119, 148, 0.15);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-color-muted);
    text-align: center;
    margin-top: 14px;
}

/* Botón Flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--color-white);
    width: 60px;
    height: 60px;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition-fast);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-round);
    border: 2px solid #25d366;
    animation: pulse 1.8s infinite;
    top: 0;
    left: 0;
    z-index: -1;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #20ba5a;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* Footer */
footer {
    background-color: var(--color-secondary-dark);
    color: var(--text-color-light);
    padding: 80px 0 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-motto {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    max-width: 500px;
}

.footer-socials {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.footer-socials a {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-round);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--color-white);
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    border: none;
    margin-bottom: 32px;
}

.footer-copyright {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Consultas de Adaptabilidad Responsiva (Responsive Queries)
   ========================================================================== */

@media (max-width: 1024px) {
    .grid-4-cols {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .modal-body-grid {
        grid-template-columns: 1fr;
    }
    .modal-slider {
        height: 300px;
    }
    .modal-info {
        padding: 30px;
        max-height: none;
    }
}

@media (max-width: 768px) {
    /* Reducir padding de secciones en móvil para mejorar la fluidez de lectura */
    .presentation-section, .spaces-section, .plans-section, .reviews-section, .contact-section {
        padding: 60px 0;
    }

    .grid-2-cols, .grid-3-cols, .grid-4-cols {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .presentation-text-content {
        padding-right: 0;
        margin-bottom: 32px;
    }
    
    .about-gallery-grid {
        grid-template-rows: repeat(2, 160px);
    }
    
    .hero-section {
        height: auto;
        min-height: 90vh;
        padding: 100px 0 60px 0;
    }

    .hero-title {
        font-size: 2.3rem;
        margin-bottom: 16px;
    }
    
    .hero-lead {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .nav-menu, .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .contact-info-panel {
        padding-right: 0;
        margin-bottom: 32px;
    }
    
    .contact-form-panel {
        padding: 24px;
    }
    
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .plan-card.popular {
        transform: none;
    }
    
    .plan-card.popular:hover {
        transform: translateY(-8px);
    }

    /* Optimización de modal en celular */
    .room-modal {
        width: 95%;
        max-height: 85vh;
        overflow-y: auto;
        top: 50%;
        transform: translate(-50%, -50%) scale(0.95);
    }

    .modal-body-grid {
        grid-template-columns: 1fr;
    }

    .modal-slider {
        height: 180px;
    }

    .modal-info {
        padding: 20px;
    }

    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    /* Slider testimonios móvil */
    .reviews-slider {
        height: auto;
        min-height: 280px;
        display: flex;
        flex-direction: column;
    }

    .review-card {
        position: relative;
        height: auto;
        padding: 24px;
        opacity: 0;
        display: none;
    }

    .review-card.active {
        opacity: 1;
        display: flex;
    }
}
