/* =======================================================================
   1. VARIABLES Y CONFIGURACIÓN GENERAL (PALETA MOCKUP)
======================================================================= */
:root {
    --color-primario: #588b42; /* Verde principal del botón */
    --color-secundario: #2b78c4; /* Azul de las etiquetas */
    --color-texto: #333333;
    --color-texto-suave: #666666;
    --color-fondo: #f9fbfa;
    
    /* Tipografías */
    --fuente-titulos: 'Montserrat', sans-serif;
    --fuente-textos: 'Montserrat', sans-serif;
    --fuente-cursiva: 'Dancing Script', cursive; /* El detalle elegante */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--fuente-textos);
    background-color: var(--color-fondo);
    color: var(--color-texto);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =======================================================================
   2. HEADER PREMIUM (BLANCO EN MOBILE / DEGRADÉ EN PC)
======================================================================= */
.header-principal {
    background-color: #ffffff; /* Fondo blanco sólido para celus (fusión limpia con el menú) */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-contenedor {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 1.5rem; /* 0 vertical para que el logo toque los bordes arriba/abajo */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo, .logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 85px; /* Define el alto del header sin márgenes vacíos */
    width: auto;
    display: block;
}

/* Botón Hamburguesa Mobile */
.btn-menu {
    background: none;
    border: none;
    color: var(--color-primario);
    font-size: 2rem;
    cursor: pointer;
    display: block;
}

/* Menú colapsable en celular */
nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    display: none;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    align-items: center;
    box-shadow: 0 10px 15px rgba(0,0,0,0.08);
}

nav.activo {
    display: flex;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    padding: 0;
    margin: 0;
}

nav ul li a {
    color: var(--color-texto);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.activo {
    color: var(--color-primario);
    font-weight: 600;
}

/* Línea indicadora bajo la pestaña activa */
nav ul li a.activo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primario);
    border-radius: 2px;
}

/* Botón 'Reservar ahora' estilo Píldora */
.btn-reservar-header {
    background-color: var(--color-primario);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(88, 139, 66, 0.25);
    transition: all 0.3s ease;
}

.btn-reservar-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(88, 139, 66, 0.35);
    background-color: #4a7737;
}

.btn-reservar-header svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* =======================================================================
 2.1  SUBMENÚ DESPLEGABLE (ACORDEÓN EN MOBILE / HOVER EN PC)
======================================================================= */
.dropdown {
    position: relative;
    width: 100%;
    text-align: center;
}

.dropdown-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.flecha-dropdown {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

/* --- ESTILOS MOBILE (Oculto por defecto) --- */
.submenu {
    list-style: none;
    padding: 10px !important;
    display: none; /* Oculto por defecto en celular */
    flex-direction: column;
    gap: 0.8rem !important;
    margin-top: 0.6rem;
    background-color: #f4f8f3; /* Fondo verde muy suave para enmarcar las opciones */
    border-radius: 10px;
    width: 100%;
}

/* Se despliega suavemente cuando se toca 'Cabañas' */
.dropdown.activo .submenu {
    display: flex;
}

.dropdown.activo .flecha-dropdown {
    transform: rotate(180deg);
}

.submenu li a {
    font-size: 0.9rem !important;
    color: var(--color-texto-suave) !important;
    font-weight: 500 !important;
}

.submenu li a:hover {
    color: var(--color-primario) !important;
}

/* --- ESTILOS DESKTOP (Desde 992px) --- */
@media (min-width: 992px) {
    .dropdown {
        width: auto;
    }

    .submenu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background-color: #ffffff;
        min-width: 210px;
        padding: 0.8rem 0 !important;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1100;
        gap: 0 !important;
        display: flex; /* En PC pasa a controlarse con opacity/visibility */
    }

    .submenu li {
        width: 100%;
    }

    .submenu li a {
        padding: 8px 18px !important;
        display: block;
        color: var(--color-texto) !important;
        white-space: nowrap;
    }

    .submenu li a:hover {
        background-color: #f4f8f3;
        color: var(--color-primario) !important;
    }

    /* Comportamiento al pasar el mouse en PC */
    .dropdown:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .dropdown:hover .flecha-dropdown {
        transform: rotate(180deg);
    }
}

/* =======================================================================
   3. HERO SECTION (CON FORMA ORGÁNICA Y ESPACIO MOBILE)
======================================================================= */
.hero {
    position: relative;
    padding: 110px 1.5rem 8rem 1.5rem; /* 110px de margen superior en celus para evitar solapamientos */
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%), url('/assets/img/hero.jpg') center/cover;
    display: flex;
    align-items: center;
}

.hero-contenido {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-contenido h2.titulo-cursiva-hero {
    font-family: 'Dancing Script', cursive;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-texto);
    margin-top: 0.2rem;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

@media (max-width: 576px) {
    .hero-contenido h2.titulo-cursiva-hero {
        font-size: 2.8rem;
    }
}

.cursiva-acento {
    font-family: var(--fuente-cursiva);
    color: var(--color-primario);
    font-size: 2rem;
    display: block;
    margin-bottom: -10px;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-texto);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    color: var(--color-texto-suave);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.botones-hero {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-solido, .btn-linea {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.btn-solido {
    background-color: var(--color-primario);
    color: white;
}

.btn-linea {
    background-color: white;
    color: var(--color-texto);
    border: 1px solid #ddd;
}

/* Ola SVG Separadora */
.forma-ola {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.forma-ola svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}
.forma-ola .shape-fill {
    fill: var(--color-fondo);
}

/* =======================================================================
   AJUSTES DESKTOP (PANTALLAS GRANDES - DESDE 992PX)
======================================================================= */
@media (min-width: 992px) {
    .header-principal {
        /* Degradé con transparencia exclusiva para PC */
        background: linear-gradient(110deg, #ffffff 15%, rgba(255, 255, 255, 0.75) 45%, rgba(255, 255, 255, 0) 70%);
    }

    .btn-menu {
        display: none;
    }

    nav {
        position: static;
        display: flex;
        flex-direction: row;
        width: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap: 2.5rem;
    }

    nav ul {
        flex-direction: row;
        gap: 2rem;
    }

    .hero {
        padding: 8rem 5% 10rem 5%; /* Espaciado original holgado en PC */
    }
}

/* =======================================================================
 3.1  SECCIÓN PILETA (GRILLA PERSONALIZADA)
======================================================================= */
.grilla-pileta {
    display: grid;
    grid-template-columns: 1fr; /* En celulares se apilan de a una */
    gap: 1.5rem;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grilla-pileta img {
    width: 100%;
    height: 280px;
    object-fit: cover; /* Evita que las fotos se deformen */
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

/* Efecto hover igual al de tus otras galerías */
.grilla-pileta img:hover {
    transform: scale(1.02);
}

/* Diseño para PC/Tablets: 2 fotos arriba, 1 ancha abajo */
@media (min-width: 768px) {
    .grilla-pileta {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .foto-noche {
        grid-column: span 2; /* Hace que la foto de noche ocupe las dos columnas */
        height: 380px; /* Le da más altura para destacar la iluminación */
    }
}

/* =======================================================================
   4. SECCIÓN CABAÑAS (TARJETAS PREMIUM)
======================================================================= */
.seccion-centrada {
    text-align: center;
    padding: 4rem 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Limita y centra únicamente los elementos internos de la sección */
.seccion-centrada > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.seccion-centrada h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.grilla-cabanas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.tarjeta-premium {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative; /* Clave para la etiqueta superior */
}

/* Etiqueta Azul (Tag) */
.tag-cabana {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--color-secundario);
    color: white;
    padding: 8px 20px;
    border-bottom-right-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
}

.tarjeta-premium img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.tarjeta-info {
    padding: 2rem;
}

.iconos-cabana {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.icono-item {
    text-align: center;
    color: var(--color-secundario);
    font-size: 0.8rem;
    font-weight: 600;
}

.icono-item svg {
    width: 28px;
    height: 28px;
    margin-bottom: 5px;
    fill: currentColor;
}

/* =======================================================================
   5. MEDIA QUERIES (TABLETS Y ESCRITORIO)
======================================================================= */
@media (min-width: 768px) {
    .btn-menu { display: none; }
    
    nav {
        position: static;
        display: flex;
        width: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }
    
    nav ul {
        flex-direction: row;
        gap: 30px;
    }

    .hero {
        padding: 8rem 5% 10rem 5%;
    }

    .grilla-cabanas {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .forma-ola svg {
        height: 120px; /* Ola más grande en PC */
    }
}

/* =======================================================================
   6. FOOTER Y FLOTANTES
======================================================================= */
footer {
    background-color: var(--color-texto); /* Gris carbón oscuro */
    color: #ffffff;
    padding: 4rem 1rem 1rem 1rem;
    margin-top: 4rem;
}

.footer-contenedor {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

.footer-columna h4 {
    font-family: var(--fuente-titulos);
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--color-primario); /* Acento en verde */
}

.footer-columna p, .footer-columna a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    display: block;
    line-height: 1.5;
}

.footer-columna a:hover {
    color: white;
    transition: color 0.3s;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: #888888;
}

/* Botón WhatsApp Flotante Premium */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

/* --- Ajustes Footer PC --- */
@media (min-width: 768px) {
    .footer-contenedor {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }
}

/* =======================================================================
   7. SECCIÓN REGLAMENTO (ESTILOS COMPLETOS + HÉROE + TARJETAS)
======================================================================= */
.reglamento-hero {
    position: relative;
    padding: 135px 1.5rem 5rem 1.5rem;
    background: 
        linear-gradient(to bottom, rgba(255,255,255,0.85) 0%, rgba(0,0,0,0.4) 35%, rgba(0,0,0,0.7) 100%), 
        url('/assets/img/hero.jpg') center/cover;
    color: white;
    text-align: center;
}

.reglamento-hero .cursiva-acento {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0;
}

.reglamento-hero h2 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-top: 0.5rem;
}

/* Tarjeta elegante de introducción */
.reglamento-intro {
    text-align: center;
    max-width: 750px;
    margin: 3rem auto 2.5rem auto;
    padding: 1.5rem 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border-top: 3px solid var(--color-primario);
}

.reglamento-intro p {
    color: var(--color-texto-suave);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* Grilla y Tarjetas de Reglas */
.grilla-reglamento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.tarjeta-regla {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border-left: 4px solid var(--color-primario);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-regla:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.icono-regla {
    font-size: 1.5rem;
    min-width: 50px;
    height: 50px;
    background: rgba(88, 139, 66, 0.1);
    color: var(--color-primario);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .grilla-reglamento {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =======================================================================
   8. DETALLE DE CABAÑA PREMIUM (ALINEADO A REGLAMENTO)
======================================================================= */
.detalle-hero {
    position: relative;
    /* 135px superior para librar el logo/menú y 5.5rem inferior para la ola */
    padding: 135px 1.5rem 5.5rem 1.5rem;
    /* Degradé triple: aclarado arriba para legibilidad del menú y oscuro en el centro para contraste del texto */
    background: 
        linear-gradient(to bottom, rgba(255,255,255,0.85) 0%, rgba(0,0,0,0.4) 35%, rgba(0,0,0,0.7) 100%), 
        url('https://images.unsplash.com/photo-1542718610-a1d656d1884c?q=80&w=1600') center/cover;
    color: white;
    text-align: center;
}

.detalle-hero .cursiva-acento {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0;
}

.detalle-hero h2 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-top: 0.5rem;
}

.detalle-info-rapida {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Badges con contraste mejorado para lectura sobre imágenes */
/* Badges ajustables con soporte multilínea para Celulares */
.badge-info {
    display: inline-block;
    max-width: 90%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 12px; /* Borde suave que no se deforma al saltar de línea */
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Badge especial de advertencia/alerta */
.badge-alerta {
    background: rgba(217, 83, 79, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Ajuste fino de texto para pantallas pequeñas */
@media (max-width: 576px) {
    .badge-info {
        font-size: 0.8rem;
        padding: 6px 12px;
        border-radius: 10px;
    }
}

/* Grilla de Galería */
.galeria-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0 3rem 0;
}

.galeria-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.galeria-grid img:hover {
    transform: scale(1.02);
}

/* Grilla de Equipamiento */
.equipamiento-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.item-equipamiento {
    flex: 1 1 220px;
    max-width: 270px;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border-left: 3px solid var(--color-primario);
}

.item-equipamiento svg {
    width: 22px;
    height: 22px;
    fill: var(--color-primario);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .galeria-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .equipamiento-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =======================================================================
   9. SECCIÓN MASAJES Y RELAX (COMPLETA)
======================================================================= */
.masajes-hero {
    position: relative;
    padding: 135px 1.5rem 5.5rem 1.5rem;
    background: 
        linear-gradient(to bottom, rgba(255,255,255,0.85) 0%, rgba(0,0,0,0.4) 35%, rgba(0,0,0,0.7) 100%), 
        url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?q=80&w=1600') center/cover;
    color: white;
    text-align: center;
}

.masajes-hero .cursiva-acento {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0;
}

.masajes-hero h2 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-top: 0.5rem;
}

.masajes-intro {
    text-align: center;
    max-width: 800px;
    margin: 3rem auto 2.5rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border-top: 3px solid var(--color-primario);
}

.masajes-intro p {
    color: var(--color-texto-suave);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* Grilla de Tratamientos Corporales con Imagen */
.grilla-tratamientos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    max-width: 1050px;
    margin: 0 auto;
}

.tarjeta-tratamiento-img {
    position: relative;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.tarjeta-tratamiento-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.overlay-tratamiento {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.2rem;
    transition: background 0.3s ease;
}

.overlay-tratamiento h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
}

/* Efectos al pasar el cursor sobre la tarjeta */
.tarjeta-tratamiento-img:hover img {
    transform: scale(1.08);
}

.tarjeta-tratamiento-img:hover .overlay-tratamiento {
    background: linear-gradient(to top, rgba(88, 139, 66, 0.9) 0%, rgba(0,0,0,0.2) 70%, transparent 100%);
}

.grilla-masajes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.tarjeta-masaje {
    background: #ffffff;
    padding: 1.8rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border-left: 4px solid var(--color-primario);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tarjeta-masaje:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

@media (min-width: 768px) {
    .grilla-tratamientos {
        grid-template-columns: repeat(4, 1fr);
    }

    .tarjeta-tratamiento-img {
        height: 220px;
    }

    .grilla-masajes {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =======================================================================
   10. SECCIÓN UBICACIÓN Y MAPA
======================================================================= */
.grilla-referencias {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    max-width: 900px;
    margin: 0 auto 2.5rem auto;
}

.mapa-contenedor {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 420px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid #ffffff;
}

.mapa-contenedor iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 768px) {
    .grilla-referencias {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .mapa-contenedor {
        height: 320px;
        border-radius: 14px;
    }
}

/* =======================================================================
   11. TARJETAS DE CABAÑA MEJORADAS CON CARRUSEL DE FOTOS
======================================================================= */
.grilla-cabanas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.tarjeta-premium {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(88, 139, 66, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}

.tarjeta-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(88, 139, 66, 0.15);
    border-color: var(--color-primario);
}

/* Tag elegante sobre la foto */
.tag-cabana {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    background: #0094DA;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Carrusel de Fotos */
.carrusel-cabana {
    position: relative;
    width: 100%;
    height: 250px;
    background: #111;
    overflow: hidden;
}

.carrusel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease;
}

.slide-img.activa {
    opacity: 1;
}

.tarjeta-premium:hover .slide-img.activa {
    transform: scale(1.04);
}

/* Botones Flecha Carrusel */
.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: white;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
}

.carrusel-btn:hover {
    background: var(--color-primario);
    transform: translateY(-50%) scale(1.1);
}

.carrusel-btn.prev { left: 10px; }
.carrusel-btn.next { right: 10px; }

/* Puntos indicadores del Carrusel */
.carrusel-puntos {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.punto {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.punto.activo {
    background: #ffffff;
    transform: scale(1.3);
    width: 18px;
    border-radius: 10px;
}

/* Información de la Tarjeta */
.tarjeta-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

/* Contenedor de iconos con fondo suave y color acento */
.iconos-cabana {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #f4f8f3;
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 1.2rem;
    border: 1px solid #e2eee0;
}

.icono-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-texto);
}

.icono-item svg {
    width: 20px;
    height: 20px;
    fill: #0094DA;
}

.descripcion-corta {
    color: var(--color-texto-suave);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Botón de acción destacado */
.btn-tarjeta {
    width: 100%;
    justify-content: center;
    text-align: center;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 0.92rem;
    box-shadow: 0 4px 12px rgba(88, 139, 66, 0.2);
}

@media (min-width: 768px) {
    .grilla-cabanas {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =======================================================================
   12. SECCIÓN SERVICIOS GENERALES Y TURISMO NONO
======================================================================= */
.grilla-servicios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1150px;
    margin: 0 auto;
}

.tarjeta-servicio {
    flex: 1 1 230px;
    max-width: 250px;
    background: #ffffff;
    padding: 1.8rem 1.2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #eef4ed;
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.tarjeta-servicio:hover {
    transform: translateY(-4px);
    border-color: var(--color-primario);
}

.icono-servicio {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.tarjeta-servicio h4 {
    font-size: 1.1rem;
    color: var(--color-texto);
    margin-bottom: 0.5rem;
}

.tarjeta-servicio p {
    font-size: 0.88rem;
    color: var(--color-texto-suave);
    line-height: 1.5;
    margin: 0;
}

/* Grilla Turismo Nono */
.grilla-turismo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.tarjeta-turismo {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid #eef2ed;
    text-align: left;
}

.tarjeta-turismo img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.turismo-info {
    padding: 1.2rem;
}

.turismo-info h4 {
    font-size: 1.15rem;
    color: var(--color-texto);
    margin-bottom: 0.4rem;
}

.turismo-info p {
    font-size: 0.9rem;
    color: var(--color-texto-suave);
    line-height: 1.5;
    margin: 0;
}

/* Videos Responsive */
.grilla-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contenedor-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.contenedor-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Oculta los servicios extra cuando tienen la clase .servicio-oculto */
.servicio-oculto {
    display: none !important;
}

/* Grilla de 2 columnas y textos adaptados para celulares */
@media (max-width: 768px) {
    .grilla-servicios {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .tarjeta-servicio {
        padding: 1.2rem 0.8rem;
    }

    .tarjeta-servicio h4 {
        font-size: 0.95rem;
        margin-top: 0.5rem;
        margin-bottom: 0.3rem;
    }

    .tarjeta-servicio p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}