/* ==========================================================================
   SUITE PEÑISMAR - SISTEMA DE DISEÑO DE LUJO COASTAL
   ========================================================================== */

   :root {
    --bg-color: #FAF9F5;          /* Crema suave arenoso */
    --text-primary: #0A1D37;      /* Azul marino profundo */
    --text-secondary: #4B6584;    /* Azul pizarra suave */
    --accent: #D4AF37;            /* Oro pulido */
    --accent-light: #F3ECE0;      /* Oro muy suave translúcido */
    --white: #ffffff;
    --border: rgba(10, 29, 55, 0.08);
    --border-hover: rgba(212, 175, 55, 0.3);
    
    --serif: 'Playfair Display', serif;
    --sans: 'Montserrat', sans-serif;
    
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset y Estilos Generales --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Efecto Ruido de Fondo muy Sutil (Textura Premium) */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.025;
    pointer-events: none;
    z-index: 9999;
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 350;
    letter-spacing: 0.5px;
}

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

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

section {
    padding: 10rem 0;
    position: relative;
}

/* Fondo de Texto Gigante (Efecto Editorial) */
.bg-text {
    position: absolute;
    font-family: var(--serif);
    font-size: 22vw;
    color: var(--text-primary);
    opacity: 0.02;
    pointer-events: none;
    white-space: nowrap;
    z-index: -1;
    font-weight: 900;
    left: -5%;
    top: 15%;
}

/* --- Cursor Personalizado (Premium) --- */
#cursor {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    display: none; /* Se oculta por defecto en móviles y se activa en JS en desktop */
}

#cursor-follower {
    width: 44px;
    height: 44px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

/* --- Navegación --- */
#main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-medium);
    border-bottom: 1px solid transparent;
}

#main-nav.scrolled {
    background: rgba(250, 249, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(10, 29, 55, 0.05);
    box-shadow: 0 10px 30px rgba(10, 29, 55, 0.02);
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--white);
    transition: var(--transition-medium);
}

#main-nav.scrolled .logo {
    color: var(--text-primary);
}

.logo span {
    color: var(--accent);
    font-weight: 600;
    font-style: italic;
    margin-left: 2px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

#main-nav.scrolled .nav-menu a {
    color: var(--text-secondary);
}

.nav-menu a:hover,
#main-nav.scrolled .nav-menu a:hover {
    color: var(--accent);
}

.btn-nav-reserve {
    border: 1px solid var(--accent);
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    background: transparent;
    transition: var(--transition-fast) !important;
}

.btn-nav-reserve:hover {
    background: var(--accent) !important;
    color: var(--primary) !important;
}

#main-nav.scrolled .btn-nav-reserve {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

#main-nav.scrolled .btn-nav-reserve:hover {
    background: var(--text-primary) !important;
    color: var(--white) !important;
    border-color: var(--text-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Selector de Idiomas */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

#main-nav.scrolled .lang-selector {
    color: var(--text-secondary);
}

.lang-selector a {
    transition: var(--transition-fast);
}

.lang-selector a.active {
    color: var(--accent);
}

.lang-divider {
    opacity: 0.3;
}

/* Botón menú móvil */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 1.5px;
    background: var(--white);
    transition: var(--transition-fast);
}

#main-nav.scrolled .menu-toggle span {
    background: var(--text-primary);
}

/* Menu móvil desplegable */
#mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--text-primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-menu-overlay.active {
    transform: translateY(0);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-links a {
    color: var(--bg-color);
    font-family: var(--serif);
    font-size: 2rem;
    letter-spacing: 1px;
    opacity: 0.9;
}

.mobile-menu-links a:hover {
    color: var(--accent);
}

.mobile-reserve-btn {
    font-family: var(--sans) !important;
    font-size: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--accent);
    padding: 1rem 3rem;
    border-radius: 4px;
    color: var(--accent) !important;
}

.mobile-lang-select {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mobile-lang-select a {
    font-family: var(--sans) !important;
    font-size: 0.85rem !important;
    color: var(--text-secondary);
}

.mobile-lang-select a.active {
    color: var(--accent);
}

/* --- Hero Section --- */
#hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 0;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 29, 55, 0.6) 0%, rgba(10, 29, 55, 0.4) 50%, rgba(10, 29, 55, 0.75) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    padding: 0 2rem;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto 3rem auto;
    color: rgba(250, 249, 245, 0.85);
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-primary);
    border: 1px solid var(--accent);
    padding: 1.1rem 2.2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
    box-shadow: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1.1rem 2.2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    border-radius: 4px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--text-primary);
    border-color: var(--white);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--white), transparent);
    animation: scrollAnimation 2s infinite ease-in-out;
}

@keyframes scrollAnimation {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Secciones Generales --- */
.section-tag {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

/* --- Seccion El Apartamento (Concepto) --- */
#apartamento {
    background-color: var(--bg-color);
}

.concept-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 8%;
    align-items: center;
}

.concept-text h2 {
    margin-bottom: 2.5rem;
}

.concept-text p.lead {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.concept-text p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 0.95rem;
}

.concept-features {
    display: flex;
    gap: 3rem;
}

.feat-item {
    display: flex;
    flex-direction: column;
}

.concept-features .feat-num {
    font-family: var(--serif);
    font-size: 2.8rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.concept-features .feat-label {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-primary);
}

.concept-image-wrapper {
    position: relative;
    padding: 30px;
}

.concept-img-box {
    width: 100%;
    height: 580px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(10, 29, 55, 0.08);
    position: relative;
    z-index: 2;
}

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

.concept-img-box:hover img {
    transform: scale(1.05);
}

.concept-img-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 90%;
    border: 1px solid var(--accent);
    z-index: 1;
}

/* --- Seccion Servicios (Amenities) --- */
#servicios {
    background: #fbfbf9;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: -1rem;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.amenity-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(10, 29, 55, 0.02);
    border: 1px solid rgba(10, 29, 55, 0.03);
    transition: var(--transition-medium);
}

.amenity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(10, 29, 55, 0.05);
    border-color: var(--border-hover);
}

.amenity-icon {
    width: 50px;
    height: 50px;
    color: var(--accent);
    margin-bottom: 2rem;
}

.amenity-icon svg {
    width: 100%;
    height: 100%;
}

.amenity-card h3 {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.amenity-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Galería de Fotos --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.gallery-item {
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(10, 29, 55, 0.04);
}

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

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

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 2rem 2rem 2rem;
    background: linear-gradient(to top, rgba(10, 29, 55, 0.8) 0%, rgba(10, 29, 55, 0.4) 60%, transparent 100%);
    color: var(--white);
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition-medium);
    pointer-events: none;
}

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

.gallery-info span {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255,255,255,0.9);
}

/* Lightbox Modal */
#gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 29, 55, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    user-select: none;
    backdrop-filter: blur(15px);
}

#gallery-lightbox img {
    max-width: 85%;
    max-height: 80vh;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border-radius: 4px;
    animation: zoomIn 0.3s ease;
}

.lightbox-caption {
    position: absolute;
    bottom: 4rem;
    color: var(--bg-color);
    font-size: 1rem;
    font-family: var(--sans);
    text-align: center;
    width: 100%;
    letter-spacing: 1px;
}

.close-lightbox {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    font-weight: 300;
}

.arrow-lightbox {
    position: absolute;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
    transition: var(--transition-fast);
}

.arrow-lightbox:hover {
    opacity: 1;
    color: var(--accent);
}

.arrow-prev { left: 2rem; }
.arrow-next { right: 2rem; }

@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- Contacto y Reservas --- */
#contacto {
    background: var(--text-primary);
    color: var(--white);
    padding: 8rem 0;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 8%;
    align-items: start;
}

.contact-info-side h2 {
    color: var(--white);
}

.contact-info-side p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 4rem;
}

.detail-item {
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.detail-item strong {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
}

.detail-item span {
    color: rgba(255,255,255,0.9);
}

/* Formulario */
#booking-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-row.flex-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

#booking-form label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

#booking-form input,
#booking-form select,
#booking-form textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}

#booking-form input:focus,
#booking-form select:focus,
#booking-form textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

#booking-form select option {
    background-color: var(--text-primary);
    color: var(--white);
}

#booking-form textarea {
    resize: vertical;
    min-height: 100px;
}

.input-date-visual {
    cursor: pointer;
}

.btn-submit-form {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    padding: 1.2rem;
    margin-top: 2rem;
}

.btn-submit-form .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0,0,0,0.1);
    border-left-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-response-alert {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    display: none;
}

.form-response-alert.success {
    background-color: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
    display: block;
}

.form-response-alert.error {
    background-color: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
    display: block;
}

/* --- Calendario Interactivo Widget --- */
.calendar-side {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    color: var(--text-primary);
    box-shadow: 0 20px 50px rgba(10, 29, 55, 0.05);
}

.calendar-header-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.calendar-header-widget p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.calendar-legend {
    display: flex;
    gap: 1.5rem;
    font-size: 0.75rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}

.legend-available {
    border: 1px solid rgba(10, 29, 55, 0.15);
    background: var(--white);
}

.legend-selected {
    background: linear-gradient(135deg, var(--accent) 0%, #B8932C 100%);
}

.legend-blocked {
    background-color: #f7f6f2;
    background-image: linear-gradient(45deg, rgba(231, 76, 60, 0.1) 25%, transparent 25%, transparent 50%, rgba(231, 76, 60, 0.1) 50%, rgba(231, 76, 60, 0.1) 75%, transparent 75%, transparent);
    background-size: 8px 8px;
    border: 1px solid rgba(231, 76, 60, 0.15);
}

/* Contenedor de Meses */
.calendar-months-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.calendar-month-widget {
    width: 100%;
}

.month-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.month-name {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-primary);
}

.cal-nav-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.cal-nav-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: #fcfcfc;
}

/* Grilla de Días de la semana */
.weekdays-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(10, 29, 55, 0.03);
    padding-bottom: 0.5rem;
}

.weekdays-grid span {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Grilla de Días del Mes */
.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 5px;
}

.day-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    border-radius: 4px;
    transition: all 0.15s ease;
    user-select: none;
}

.day-empty {
    cursor: default;
    pointer-events: none;
}

.day-available:hover {
    background-color: var(--accent-light);
    color: var(--text-primary);
}

/* Días Pasados */
.day-past {
    color: #cbd5e1;
    cursor: default;
    pointer-events: none;
}

/* Días Bloqueados (Reservados) */
.day-blocked {
    color: #94a3b8;
    background-color: #faf9f6;
    background-image: linear-gradient(45deg, rgba(231, 76, 60, 0.06) 25%, transparent 25%, transparent 50%, rgba(231, 76, 60, 0.06) 50%, rgba(231, 76, 60, 0.06) 75%, transparent 75%, transparent);
    background-size: 8px 8px;
    border: 1px dashed rgba(231, 76, 60, 0.2);
    cursor: not-allowed;
}

/* Estado de Selección */
.day-selected-start {
    background: linear-gradient(135deg, var(--accent) 0%, #B8932C 100%) !important;
    color: var(--white) !important;
    font-weight: 600;
    border-radius: 4px 0 0 4px;
}

.day-selected-end {
    background: linear-gradient(135deg, var(--accent) 0%, #B8932C 100%) !important;
    color: var(--white) !important;
    font-weight: 600;
    border-radius: 0 4px 4px 0;
}

.day-selected-single {
    background: linear-gradient(135deg, var(--accent) 0%, #B8932C 100%) !important;
    color: var(--white) !important;
    font-weight: 600;
    border-radius: 4px !important;
}

.day-in-range {
    background-color: var(--accent-light) !important;
    color: var(--text-primary);
    border-radius: 0;
}

/* --- Ubicación y Mapa --- */
#ubicacion-section {
    background: #fbfbf9;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.map-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 8%;
    align-items: center;
}

.location-distances {
    list-style: none;
    margin-top: 2rem;
}

.location-distances li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.location-distances li::before {
    content: "•";
    color: var(--accent);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.location-distances li strong {
    color: var(--text-primary);
}

.map-container-wrapper {
    width: 100%;
    height: 480px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(10, 29, 55, 0.05);
    border: 1px solid var(--border);
}

#map {
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* --- Footer --- */
footer {
    background: var(--text-primary);
    color: var(--white);
    padding: 6rem 0 3rem 0;
    border-top: 2px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 4rem;
}

.footer-brand h2 {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.footer-brand h2 span {
    color: var(--accent);
    font-style: italic;
    font-weight: 600;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    max-width: 320px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.footer-links a {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    section {
        padding: 6rem 0;
    }
    
    .concept-grid,
    .contact-box,
    .map-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .concept-img-box {
        height: 450px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-links {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    /* Desactivar cursor follower en tablet/mobile */
    #cursor, #cursor-follower {
        display: none !important;
    }

    h2 {
        font-size: 2.2rem;
    }

    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .concept-features {
        flex-wrap: wrap;
        gap: 1.5rem 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 380px;
    }

    .form-row.flex-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .calendar-side {
        padding: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    #booking-form {
        padding: 1.5rem;
    }
}
