/* ==================================================================== */
/* 1. Variables Globales */
/* ==================================================================== */
:root {
    --primary: #2c5926;
    --wood-brown: #8B5E3C;
    --accent: #8B5E3C;
    --musgo: #a3b18a;
    --bg-light: #F9F7F2;
    --bg-dark: #161d15;
    --bg-section-dark: #1a1f1a;
    --bg-card-dark: #1e261d;
    --text-dark: #161d15;
    --text-light: #6b7280;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

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

img {
    -webkit-user-drag: none;
    user-select: none;
}

/* ==================================================================== */
/* 2. Dark Mode */
/* ==================================================================== */
body.dark {
    background-color: var(--bg-dark);
    color: var(--white);
}

/* ==================================================================== */
/* 3. Header / Navegación */
/* ==================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background-color: var(--bg-light);
    border-bottom: 1px solid #dfe3de;
    padding: 12px 24px;
}

body.dark header {
    background-color: var(--bg-dark);
    border-bottom-color: rgba(255,255,255,0.1);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    height: 80px;
    width: auto;
}

.header-right {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
}

/* Desktop Nav */
nav.main-nav {
    display: none;
    align-items: center;
    gap: 40px;
}

@media (min-width: 768px) {
    nav.main-nav {
        display: flex;
    }
}

nav.main-nav a {
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

body.dark nav.main-nav a {
    color: rgba(139,94,60,0.9);
}

nav.main-nav a:hover {
    color: var(--primary);
}

/* Dropdown Cabañas */
.nav-dropdown {
    position: relative;
    height: 64px;
    display: flex;
    align-items: center;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown > a .expand-icon {
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover > a .expand-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 224px;
    background-color: var(--bg-light);
    border: 1px solid rgba(139,94,60,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

body.dark .dropdown-menu {
    background-color: var(--bg-card-dark);
    border-color: rgba(255,255,255,0.1);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: 16px 24px;
    font-size: 1rem;
    color: var(--accent);
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: rgba(44,89,38,0.1);
    color: var(--primary);
}

/* Menu Toggle (Mobile) */
#menu-toggle {
    display: flex;
    align-items: center;
    padding: 8px;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s;
}

#menu-toggle:hover {
    background-color: rgba(0,0,0,0.05);
}

#menu-toggle .material-symbols-outlined {
    font-size: 1.875rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    #menu-toggle {
        display: none;
    }
}

/* Mobile Menu */
#mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-light);
    border-bottom: 1px solid rgba(139,94,60,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    overflow: hidden;
}

body.dark #mobile-menu {
    background-color: var(--bg-card-dark);
}

#mobile-menu.open {
    display: block;
}

#mobile-menu nav {
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 4px;
}

#mobile-menu nav a {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 700;
    padding: 16px;
    text-decoration: none;
    border-radius: 12px;
    transition: background-color 0.2s, color 0.2s;
    display: block;
}

#mobile-menu nav a:hover {
    background-color: rgba(44,89,38,0.1);
    color: var(--primary);
}

.mobile-submenu {
    background-color: rgba(139,94,60,0.05);
    border-radius: 12px;
    padding-bottom: 8px;
}

.mobile-submenu > a {
    display: block;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 700;
    padding: 16px;
    text-decoration: none;
}

.mobile-submenu .sub-link {
    color: rgba(139,94,60,0.8);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 32px;
    text-decoration: none;
    display: block;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s;
}

.mobile-submenu .sub-link:hover {
    background-color: rgba(44,89,38,0.1);
    color: var(--primary);
}

/* ==================================================================== */
/* 4. Hero / Slider */
/* ==================================================================== */
#inicio {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: block !important;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img,
.slide picture,
.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.4);
    z-index: 11;
}

.hero-content {
    position: relative;
    z-index: 20;
    text-align: center;
    padding: 0 16px;
    max-width: 896px;
}

.hero-content h1 {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 1.35;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 4.5rem;
    }
}

.hero-content h1 span {
    color: var(--musgo);
}

.hero-content h3 {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
    .hero-content h3 {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 9999px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    text-decoration: none;
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
}

/* ==================================================================== */
/* 5. Sección Nosotros */
/* ==================================================================== */
#nosotros {
    padding: 96px 0;
    background-color: var(--white);
}

body.dark #nosotros {
    background-color: var(--bg-section-dark);
}

#nosotros .section-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: center;
    text-align: center;
}

@media (min-width: 1024px) {
    #nosotros .section-inner {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
}

.nosotros-video-wrap {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    aspect-ratio: 16/9;
    width: 100%;
    max-width: 672px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .nosotros-video-wrap {
        aspect-ratio: 1/1;
        margin: 0;
    }
}

.nosotros-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

.nosotros-video.active-video {
    opacity: 1;
    z-index: 1;
}

.nosotros-video-wrap .video-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(44,89,38,0.1);
}

.nosotros-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.badge-tag {
    display: inline-block;
    padding: 4px 16px;
    background-color: rgba(44,89,38,0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nosotros-text h2 {
    font-size: 2.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-dark);
}

body.dark .nosotros-text h2 {
    color: var(--white);
}

@media (min-width: 768px) {
    .nosotros-text h2 {
        font-size: 3rem;
    }
}

.nosotros-text p {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.7;
}

body.dark .nosotros-text p {
    color: rgba(255,255,255,0.7);
}

.nosotros-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    padding-top: 16px;
}

@media (min-width: 1024px) {
    .nosotros-badges {
        justify-content: flex-start;
    }
}

.nosotros-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--primary);
}

/* ==================================================================== */
/* 6. Sección Cabañas */
/* ==================================================================== */
#cabanas {
    padding: 96px 0;
    background-color: #f8faf8;
}

body.dark #cabanas {
    background-color: var(--bg-dark);
}

.cabanas-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    color: var(--text-dark);
}

body.dark .section-header h2 {
    color: var(--white);
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

.section-divider {
    width: 80px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 9999px;
    margin: 0 auto 24px;
}

.section-header p {
    color: #6b7280;
    font-weight: 500;
    max-width: 36rem;
    margin: 0 auto;
}

body.dark .section-header p {
    color: #9ca3af;
}

.cabanas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cabanas-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.cabana-card {
    background-color: var(--white);
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.5s ease, transform 0.5s ease;
    border: 1px solid #f3f4f6;
}

body.dark .cabana-card {
    background-color: var(--bg-card-dark);
    border-color: rgba(255,255,255,0.05);
}

.cabana-card:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.cabana-img-wrap {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.cabana-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cabana-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background-color: var(--primary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    z-index: 10;
}

.cabana-body {
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cabana-body h3 {
    font-size: 1.875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text-dark);
}

body.dark .cabana-body h3 {
    color: var(--white);
}

.cabana-body p {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 24rem;
}

body.dark .cabana-body p {
    color: #9ca3af;
}

.btn-cabana {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 10px 20px rgba(44,89,38,0.2);
}

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

/* ==================================================================== */
/* 7. Sección Amenidades */
/* ==================================================================== */
.amenidades-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
    border-top: 1px solid rgba(139,94,60,0.1);
    border-bottom: 1px solid rgba(139,94,60,0.1);
}

body.dark .amenidades-section {
    background-color: #161d15;
    border-color: rgba(255,255,255,0.05);
}

.amenidades-grid {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .amenidades-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.amenidad-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.amenidad-icon {
    width: 64px;
    height: 64px;
    border-radius: 24px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(44,89,38,0.2);
    transition: all 0.3s ease;
}

.amenidad-item:hover .amenidad-icon {
    background-color: var(--accent);
    box-shadow: 0 10px 20px rgba(139,94,60,0.2);
}

.amenidad-icon .material-symbols-outlined {
    font-size: 1.875rem;
    color: var(--white);
}

.amenidad-label {
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(22,29,21,0.7);
    transition: color 0.3s ease;
}

body.dark .amenidad-label {
    color: rgba(255,255,255,0.7);
}

.amenidad-item:hover .amenidad-label {
    color: var(--accent);
}

/* ==================================================================== */
/* 8. Sección Contacto */
/* ==================================================================== */
#contacto {
    padding: 96px 0;
    background-color: var(--white);
}

body.dark #contacto {
    background-color: var(--bg-section-dark);
}

.contacto-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 16px;
}

.contacto-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 64px;
}

.contacto-header h2 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    color: var(--text-dark);
    margin-bottom: 16px;
}

body.dark .contacto-header h2 {
    color: var(--white);
}

.contacto-header p {
    color: #6b7280;
    font-weight: 500;
}

body.dark .contacto-header p {
    color: #9ca3af;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: start;
}

@media (min-width: 1024px) {
    .contacto-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Formulario */
.contacto-form-wrap {
    padding-top: 0;
}

@media (min-width: 1024px) {
    .contacto-form-wrap {
        padding-top: 24px;
    }
}

#contactForm {
    background-color: var(--bg-light);
    padding: 32px;
    border-radius: 3rem;
    border: 1px solid rgba(139,94,60,0.1);
    box-shadow: 0 20px 40px rgba(44,89,38,0.05);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 768px) {
    #contactForm {
        padding: 48px;
    }
}

body.dark #contactForm {
    background-color: var(--bg-card-dark);
    border-color: rgba(255,255,255,0.05);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--musgo);
    margin-left: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 24px;
    background-color: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(139,94,60,0.1);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: var(--font-sans);
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1rem;
}

body.dark .form-group input,
body.dark .form-group textarea {
    background-color: var(--bg-dark);
    border-color: rgba(255,255,255,0.1);
    color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(44,89,38,0.05);
}

.form-group textarea {
    resize: none;
}

.btn-submit {
    width: 100%;
    padding: 20px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    box-shadow: 0 20px 40px rgba(44,89,38,0.2);
    font-family: var(--font-sans);
}

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

.btn-submit:active {
    transform: scale(0.98);
}

#formStatus {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 700;
    margin-top: 16px;
    min-height: 1.5rem;
}

/* Info lateral */
.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: center;
}

@media (min-width: 1024px) {
    .contacto-info {
        text-align: left;
    }
}

.contacto-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .contacto-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .contacto-cards {
        grid-template-columns: 1fr;
    }
}

.contacto-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px;
    background-color: var(--bg-light);
    border-radius: 16px;
    border: 1px solid rgba(139,94,60,0.1);
}

@media (min-width: 1024px) {
    .contacto-card {
        justify-content: flex-start;
    }
}

body.dark .contacto-card {
    background-color: var(--bg-card-dark);
    border-color: rgba(255,255,255,0.05);
}

.contacto-card .material-symbols-outlined {
    color: var(--primary);
    font-weight: 700;
}

.contacto-card span.contact-text,
.contacto-card a {
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.875rem;
}

body.dark .contacto-card span.contact-text,
body.dark .contacto-card a {
    color: var(--white);
}

.map-wrap {
    border-radius: 24px;
    overflow: hidden;
    border: 4px solid var(--bg-light);
    height: 288px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
}

body.dark .map-wrap {
    border-color: rgba(255,255,255,0.05);
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.location-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background-color: var(--bg-light);
    border-radius: 16px;
}

@media (min-width: 1024px) {
    .location-card {
        flex-direction: column;
    }
}

body.dark .location-card {
    background-color: var(--bg-card-dark);
}

.location-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
}

body.dark .location-item {
    color: #9ca3af;
}

.location-item .material-symbols-outlined {
    color: var(--primary);
}

.location-item span.loc-text {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.distancia-pill {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    background-color: var(--white);
    border-radius: 9999px;
    border: 1px solid rgba(139,94,60,0.2);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

body.dark .distancia-pill {
    background-color: var(--bg-dark);
    border-color: rgba(255,255,255,0.1);
}

.distancia-pill .dist-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.distancia-pill .dist-item .material-symbols-outlined {
    font-size: 1rem;
    color: #6b7280;
}

.distancia-pill .dist-item span.dist-time {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
}

body.dark .distancia-pill .dist-item span.dist-time {
    color: var(--white);
}

.distancia-pill .dist-divider {
    width: 1px;
    height: 16px;
    background-color: rgba(139,94,60,0.3);
}

.dist-highlight {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(44,89,38,0.1);
    padding: 4px 12px;
    border-radius: 8px;
}

.dist-highlight .material-symbols-outlined {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.dist-highlight span {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--primary);
}

.btn-llegar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 100%;
    justify-content: center;
}

@media (min-width: 768px) {
    .btn-llegar {
        width: auto;
    }
}

.btn-llegar:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.btn-llegar:active {
    transform: scale(0.95);
}

/* ==================================================================== */
/* 9. Footer */
/* ==================================================================== */
footer {
    background-color: var(--primary);
    color: var(--white);
    width: 100%;
    margin-top: 80px;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.footer-col-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-col-left {
        text-align: left;
    }
}

.footer-contact-title {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .footer-contact-item {
        justify-content: flex-start;
    }
}

.footer-contact-item .material-symbols-outlined {
    color: var(--white);
    font-size: 1rem;
}

.footer-contact-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-item a:hover {
    color: var(--white);
}

.footer-contact-item .addr-block {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact-item .addr-block .material-symbols-outlined {
    margin-top: 2px;
}

.footer-social-title {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-social-icons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-social-icons {
        justify-content: flex-start;
    }
}

.footer-social-icons a {
    padding: 12px;
    border-radius: 12px;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-icons a:hover {
    background-color: var(--white);
    color: var(--primary);
}

.footer-social-icons svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.footer-col-right {
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-col-right {
        justify-content: flex-end;
    }
}

.footer-col-right img {
    height: 150px;
    width: auto;
    display: block;
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.2);
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.6);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
}

.footer-bottom span {
    color: var(--white);
}

/* ==================================================================== */
/* 10. WhatsApp Float Button */
/* ==================================================================== */
@keyframes pulse-whatsapp {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background-color: #25d366;
    color: var(--white);
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    text-decoration: none;
    transition: transform 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ==================================================================== */
/* 11. Back to Top */
/* ==================================================================== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--wood-brown);
    color: var(--white);
    border-radius: 50%;
    display: none;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.back-to-top.show { display: flex; }

/* ==================================================================== */
/* 12. Modal de Galería */
/* ==================================================================== */
#slider-inner {
    display: flex;
    transition: transform 500ms ease-out;
}

/* ==================================================================== */
/* 13. Popup de Temporada */
/* ==================================================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100000;
}

.popup-content {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    max-width: 450px;
    width: 85%;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

.popup-content h2 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.popup-content p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.5;
}

.btn-whatsapp-pop {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 30px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-whatsapp-pop:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.close-popup-circle {
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    color: var(--text-dark);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.close-popup-circle:hover {
    background-color: var(--white);
    transform: translateX(-50%) scale(1.1);
}

#msg-inicio-invierno,
#msg-fin-invierno {
    display: none;
}

/* ==================================================================== */
/* 14. Página Cabañas — Layout Principal */
/* ==================================================================== */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 96px; /* altura del header fijo */
}

.page-content {
    padding: 0 16px 0;
    display: flex;
    justify-content: center;
    flex: 1;
}

@media (min-width: 1024px) {
    .page-content {
        padding: 0 160px;
    }
}

.page-content-inner {
    display: flex;
    flex-direction: column;
    max-width: 960px;
    width: 100%;
    padding: 20px 0;
}

/* ==================================================================== */
/* 15. Galería / Slider de Imágenes */
/* ==================================================================== */
#gallery-container {
    position: relative;
    height: 300px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background-color: #000;
    touch-action: pan-y;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    #gallery-container {
        height: 500px;
    }
}

/* Botones prev/next de la galería — visibles solo en hover */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(1);
    z-index: 20;
    background-color: rgba(0,0,0,0.4);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s, background-color 0.3s, transform 0.3s;
}

.gallery-btn svg {
    width: 24px;
    height: 24px;
}

#gallery-container:hover .gallery-btn {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.gallery-btn:hover {
    background-color: rgba(0,0,0,0.7);
}

.gallery-btn-prev { left: 16px; }
.gallery-btn-next { right: 16px; }

/* Slider inner */
#slider-inner {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 500ms ease-out;
    cursor: pointer;
}

.slide-item {
    min-width: 100%;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dots del slider */
#slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

/* ==================================================================== */
/* 16. Info Card (título + precio) */
/* ==================================================================== */
.info-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background-color: var(--white);
    border-radius: 24px;
    border: 1px solid #dfe3de;
    margin-top: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

body.dark .info-card {
    background-color: var(--bg-card-dark);
    border-color: rgba(255,255,255,0.05);
}

@media (min-width: 768px) {
    .info-card {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.info-card-main {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-card-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.info-card-tag .material-symbols-outlined {
    font-size: 1.125rem;
}

.info-card h1 {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-dark);
}

body.dark .info-card h1 {
    color: var(--white);
}

.info-card-sub {
    font-size: 1.125rem;
    color: #6e7f6c;
}

body.dark .info-card-sub {
    color: rgba(255,255,255,0.6);
}

.info-card-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 16px;
    border-top: 1px solid #dfe3de;
}

body.dark .info-card-price {
    border-color: rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
    .info-card-price {
        align-items: flex-end;
        padding-top: 0;
        border-top: none;
        border-left: 1px solid #dfe3de;
        padding-left: 32px;
    }

    body.dark .info-card-price {
        border-color: rgba(255,255,255,0.1);
    }
}

.info-card-price-label {
    color: #6e7f6c;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

body.dark .info-card-price-label {
    color: rgba(255,255,255,0.4);
}

.info-card-price-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.info-card-price-amount .amount {
    font-size: 1.875rem;
    font-weight: 900;
    color: var(--primary);
}

.info-card-price-amount .currency {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6e7f6c;
}

body.dark .info-card-price-amount .currency {
    color: rgba(255,255,255,0.6);
}

/* ==================================================================== */
/* 17. Grid de Características */
/* ==================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px 0;
    margin-top: 8px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-item {
    display: flex;
    gap: 12px;
    border-radius: 12px;
    border: 1px solid #dfe3de;
    background-color: var(--white);
    padding: 16px;
    align-items: center;
}

body.dark .feature-item {
    background-color: var(--bg-card-dark);
    border-color: rgba(255,255,255,0.05);
}

.feature-item .material-symbols-outlined {
    color: var(--primary);
}

.feature-item span.feat-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
}

body.dark .feature-item span.feat-label {
    color: var(--white);
}

/* ==================================================================== */
/* 18. Calendario de Disponibilidad */
/* ==================================================================== */
.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0 12px;
}

.calendar-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

body.dark .calendar-header h2 {
    color: var(--white);
}

.calendar-nav {
    display: flex;
    gap: 8px;
}

.calendar-nav button {
    padding: 8px;
    border-radius: 50%;
    border: 1px solid #dfe3de;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    color: var(--text-dark);
}

body.dark .calendar-nav button {
    border-color: rgba(255,255,255,0.15);
    color: var(--white);
}

.calendar-nav button:hover {
    background-color: rgba(0,0,0,0.05);
}

.calendar-wrap {
    padding-bottom: 48px;
}

.calendar-box {
    background-color: var(--white);
    border: 1px solid #dfe3de;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

body.dark .calendar-box {
    background-color: var(--bg-card-dark);
    border-color: rgba(255,255,255,0.05);
}

.calendar-box {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    min-width: 280px;
}

.calendar-weekdays {
    background-color: #f1f3f1;
    border-bottom: 1px solid #dfe3de;
}

body.dark .calendar-weekdays {
    background-color: rgba(0,0,0,0.2);
}

.calendar-weekdays div {
    padding: 12px 0;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6e7f6c;
    text-transform: uppercase;
}

.calendar-day {
    aspect-ratio: 1;
    padding: 0.5rem;
    border-bottom: 1px solid #dfe3de;
    border-right: 1px solid #dfe3de;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

body.dark .calendar-day {
    border-color: rgba(255,255,255,0.07);
}

@media (max-width: 480px) {
    .calendar-day {
        aspect-ratio: unset;
        min-height: 36px;
        padding: 4px 3px;
        font-size: 0.7rem;
    }
    .calendar-weekdays div {
        padding: 6px 0;
        font-size: 0.6rem;
    }
    .cal-day-num {
        font-size: 0.75rem;
    }
    .cal-day-label {
        font-size: 6px;
    }
}

/* Leyenda y botones de reserva */
.reservation-footer {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border: 1px solid #dfe3de;
    border-radius: 16px;
    background-color: var(--white);
}

body.dark .reservation-footer {
    background-color: var(--bg-card-dark);
    border-color: rgba(255,255,255,0.05);
}

@media (min-width: 768px) {
    .reservation-footer {
        flex-direction: row;
    }
}

.legend {
    display: flex;
    gap: 24px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-dot {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #dfe3de;
    flex-shrink: 0;
}

.legend-dot.reserved {
    background-color: var(--wood-brown);
    border-color: var(--wood-brown);
}

.legend-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
}

body.dark .legend-item span {
    color: var(--white);
}

.reservation-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

@media (min-width: 768px) {
    .reservation-actions {
        flex-direction: row;
        width: auto;
    }
}

.btn-reglamento,
.btn-reservar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.875rem;
    box-shadow: 0 10px 20px rgba(44,89,38,0.2);
    transition: transform 0.2s ease;
    text-align: center;
}

.btn-reglamento:hover,
.btn-reservar:hover {
    transform: scale(1.02);
}

/* ==================================================================== */
/* 19. Sección Ubicación (cabañas) */
/* ==================================================================== */
#ubicacion {
    padding: 0 0 48px;
    margin-top: 32px;
}

.ubicacion-card {
    background-color: var(--white);
    border: 1px solid #dfe3de;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 24px;
}

body.dark .ubicacion-card {
    background-color: var(--bg-card-dark);
    border-color: rgba(255,255,255,0.1);
}

.ubicacion-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ubicacion-title-row .material-symbols-outlined {
    color: var(--primary);
    font-size: 1.875rem;
}

.ubicacion-title-row h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

body.dark .ubicacion-title-row h2 {
    color: var(--white);
}

.ubicacion-title-row p {
    font-size: 0.875rem;
    color: #6e7f6c;
}

body.dark .ubicacion-title-row p {
    color: rgba(255,255,255,0.6);
}

.ubicacion-map {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(44,89,38,0.2);
}

.ubicacion-map iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

.ubicacion-info-row {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background-color: #f1f3f1;
    border-radius: 8px;
}

body.dark .ubicacion-info-row {
    background-color: rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
    .ubicacion-info-row {
        flex-direction: row;
    }
}

.ubicacion-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6e7f6c;
}

body.dark .ubicacion-info-item {
    color: rgba(255,255,255,0.7);
}

.ubicacion-info-item .material-symbols-outlined {
    color: var(--primary);
}

.ubicacion-info-item span.info-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.dist-pill-ub {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 16px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 9999px;
    border: 1px solid #e2e8e2;
}

body.dark .dist-pill-ub {
    background-color: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

.dist-pill-ub .d-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dist-pill-ub .d-item .material-symbols-outlined {
    font-size: 1rem;
    color: #6e7f6c;
}

.dist-pill-ub .d-item span.d-time {
    font-size: 0.75rem;
    font-weight: 700;
    color: #4a5549;
}

body.dark .dist-pill-ub .d-item span.d-time {
    color: var(--white);
}

.dist-pill-ub .d-highlight {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(44,89,38,0.1);
    padding: 4px 8px;
    border-radius: 6px;
}

.dist-pill-ub .d-highlight .material-symbols-outlined {
    font-size: 1rem;
    color: var(--primary);
}

.dist-pill-ub .d-highlight span {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--primary);
}

.dist-pill-ub .d-divider {
    width: 1px;
    height: 12px;
    background-color: #ced6ce;
}

.btn-llegar-ub {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    transition: opacity 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.btn-llegar-ub .material-symbols-outlined {
    font-size: 0.875rem;
}

.btn-llegar-ub:hover {
    opacity: 0.9;
}

/* ==================================================================== */
/* 20. Modal de Galería Completa */
/* ==================================================================== */
#gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    background-color: rgba(0,0,0,0.95);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    cursor: pointer;
}

/* Abierto via script.js: remove('hidden') + add('flex') */
#gallery-modal.flex {
    display: flex;
}

/* Cerrado via script.js: add('hidden') — fuerza ocultar */
#gallery-modal.hidden {
    display: none !important;
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--white);
    z-index: 110;
    background: none;
    border: none;
    cursor: pointer;
}

.modal-close-btn .material-symbols-outlined {
    font-size: 2.5rem;
}

#modal-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    cursor: default;
}

.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    background-color: rgba(255,255,255,0.1);
    padding: 16px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav-btn:hover {
    background-color: rgba(255,255,255,0.2);
}

.modal-nav-btn-prev { left: 16px; }
.modal-nav-btn-next { right: 16px; }
/* ==================================================================== */
/* 22. Página Reglamento Interno */
/* ==================================================================== */

/* Body con padding-top para el header fijo */
body.reglamento-page {
    background-color: var(--bg-light);
    min-height: 100vh;
    padding-top: 96px;
    color: var(--text-dark);
}

/* Main container */
.reglamento-main {
    padding: 0 16px 80px;
    display: flex;
    justify-content: center;
}

.reglamento-inner {
    max-width: 960px;
    width: 100%;
    flex: 1;
}

/* Heading */
.reglamento-heading {
    margin-bottom: 48px;
    text-align: center;
    padding-top: 32px;
}

@media (min-width: 1024px) {
    .reglamento-heading {
        text-align: left;
    }
}

.reglamento-badge {
    display: inline-block;
    padding: 4px 16px;
    background-color: rgba(44, 89, 38, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.reglamento-heading h1 {
    font-size: 2.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .reglamento-heading h1 {
        font-size: 3rem;
    }
}

.reglamento-intro {
    font-size: 1.125rem;
    color: #4b5563;
}

/* Cards grid */
.reglamento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .reglamento-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.reglamento-card {
    padding: 24px;
    background-color: var(--white);
    border-radius: 24px;
    border: 1px solid #dfe3de;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.reglamento-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.reglamento-card--wide {
    grid-column: 1 / -1;
}

.reglamento-card-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .reglamento-card-inner {
        flex-direction: row;
    }
}

.reglamento-icon {
    color: var(--primary);
    font-size: 2.5rem !important;
    margin-bottom: 16px;
    display: block;
}

.reglamento-icon-lg {
    color: var(--primary);
    font-size: 3rem !important;
    flex-shrink: 0;
}

.reglamento-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: var(--text-dark);
}

.reglamento-card-text {
    color: #6e7f6c;
    font-size: 0.875rem;
    line-height: 1.6;
}

.reglamento-schedule {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(44, 89, 38, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-top: 16px;
}

.reglamento-schedule .material-symbols-outlined {
    font-size: 1rem;
}

/* Warning box */
.reglamento-warning {
    margin-top: 32px;
    padding: 24px;
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.reglamento-warning-icon {
    color: #d97706;
    font-size: 1.5rem !important;
    flex-shrink: 0;
}

.reglamento-warning-text {
    color: #92400e;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* CTA */
.reglamento-cta {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}
/* ==================================================================== */
/* CLASES TAILWIND EQUIVALENTES — USADAS POR script.js EN EL CALENDARIO */
/* NO BORRAR — sin esto los días ocupados quedan en blanco              */
/* ==================================================================== */

.calendar-day.bg-wood-brown {
    background-color: #8B5E3C !important;
}

.calendar-day.bg-wood-brown .cal-day-num,
.calendar-day.bg-wood-brown .cal-day-label,
.calendar-day.text-white span {
    color: #ffffff !important;
}

.calendar-day.bg-white {
    background-color: #ffffff;
}

body.dark .calendar-day.bg-white {
    background-color: #1e261d;
}

.calendar-day.bg-gray-50\/30 {
    background-color: rgba(249, 250, 251, 0.3);
}

.cal-day-num {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
}

body.dark .cal-day-num {
    color: #ffffff;
}

.cal-day-label {
    font-size: 8px;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: 0.85;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

/* Dots del slider de galería */
.h-1\.5       { height: 6px; }
.w-6          { width: 24px; }
.w-2          { width: 8px; }
.bg-white\/40 { background-color: rgba(255,255,255,0.4); }
/* ==================================================================== */
/* Card Slider - Slideshow automático en tarjetas de cabañas            */
/* ==================================================================== */
.card-slider {
    position: relative;
    overflow: hidden;
}

.card-slide-img {
    position: absolute !important;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
    will-change: opacity;
}

.card-slide-img.active-slide {
    opacity: 1;
}
/* Precio oculto con blur */
.precio-oculto {
    filter: blur(6px);
    user-select: none;
    pointer-events: none;
    transition: filter 0.4s ease;
}