/* =========================
   BASE
========================= */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #3a2f25;
    background-color: #f5f1eb;
    
    opacity: 1; /* Por defecto visible */
    transition: opacity 0.6s ease-in-out;
}

body.preload {
    opacity: 0; /* Solo invisible si tiene la clase preload */
}

body.loaded {
    opacity: 1;
}

h1, h2 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}

/* =========================
   HEADER
========================= */
.header {
    background: #3a2f25;
    color: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    position: relative;
    z-index: 1000;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

body.loaded .header {
    transform: translateY(0);
    opacity: 1;
}

.logo {
    height: 60px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 26px;
    cursor: pointer;
}

/* =========================
   HERO SLIDER
========================= */
.hero-slider {
    position: relative;
    height: 65vh;
    min-height: 420px;
    background: #000;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.92);

    opacity: 0;
    transform: scale(1.02);

    transition:
        opacity 1.2s ease-in-out,
        transform 6s ease-in-out,
        filter 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
    transform: scale(1.08);
    filter: brightness(1);
    z-index: 1;
}

/* =========================
   HERO CONTENT
========================= */
.hero-content {
    position:absolute;
    bottom: 120px;
    right: 160px;
    background: rgba(58, 47, 37, 0.75);
    color: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 420px;
    text-align: left;

    opacity: 0;
    transform: translateY(10px);
}

.slide.active .hero-content {
    animation: fadeBox 0.6s ease forwards;
    animation-delay: 0.3s;
}

.slide.active .hero-content h1,
.slide.active .hero-content p {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeText 0.6s ease forwards;
}

.slide.active .hero-content h1 {
    animation-delay: 0.5s;
}

.slide.active .hero-content p {
    animation-delay: 0.7s;
}

/* Botón */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background: #c89b3c;
    color: #3a2f25;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn:hover {
    background: #b88a2f;
}

/* =========================
   BLOQUES Y PLANTAS CENTRADOS
========================= */

.bloque, .planta {
    display: flex;
    gap: 75px;              /* 👈 aún más compacto */
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    max-width: 1100px;      /* 👈 CLAVE */
    margin: 0 auto;         /* 👈 centra todo el conjunto */
}

/* Texto */
.bloque-texto, .planta-texto {
    flex: 1;
    min-width: 280px;
    max-width: 480px;       /* 👈 ligeramente más estrecho */
    text-align: left;
    line-height: 1.7;
}

/* Galería */
.planta-galeria {
    flex: 1;
    min-width: 280px;
    max-width: 480px;       /* 👈 igual que el texto → equilibrio visual */
}
/* =========================
   SLIDER ELEGANTE
========================= */

.planta-galeria {
    flex: 1;
    min-width: 280px;
}

.slider-planta {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    aspect-ratio: 4/3;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.slider-planta img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    transform: scale(1);

    transition:
        opacity 1.2s ease-in-out,
        transform 6s ease-in-out;
}

.slider-planta img.active {
    opacity: 1;
    transform: scale(1.05);
}

/* Invertido */
.invertido {
    flex-direction: row-reverse;
}

/* Ajuste especial casa */
.casa-galeria img {
    object-position: center 25%;
}

/* =========================
   GALERÍA PREMIUM
========================= */

.premium-galeria {
    width: 100%;
    max-width: 1100px;      /* controla el ancho total */
    margin: 0 auto;         /* centra */
    padding: 0 25px;        /* margen lateral elegante */
    
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.premium-galeria h2{
    margin-top: -55px;
    color: #2f2a24;
}
/* FILA SUPERIOR → 2 GRANDES */
.premium-principales {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.premium-principales img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.premium-principales img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

/* FILA INFERIOR → PEQUEÑAS */
.premium-secundarias {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* cambia a 4 / 6 si quieres */
    gap: 10px;
}

.premium-secundarias img {
    width: 100%;
    height: 125px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.premium-secundarias img:hover {
    transform: scale(1.05);
    opacity: 0.85;
}
/* =========================
   PLANTA LAYOUT
========================= */
.planta-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;  /* TEXTO MÁS GRANDE */
    gap: 2rem;
    align-items: start;
    margin-top: 1.5rem;
    width: 100%;
}
/* =========================
   BLOQUE JUNTAR TEXTO + VIDEO
========================= */
.planta-layout.juntar {
    display: flex;
    gap: 2rem; /* espacio reducido entre texto y media */
    align-items: center; /* centra verticalmente */
    justify-content: center;
    flex-wrap: wrap; /* para móviles */
}

.planta-layout.juntar .planta-texto {
    flex: 1;
    min-width: 280px;
    max-width: 500px;
    text-align: left;
    line-height: 1.5; /* un poco más compacto */
}

.planta-layout.juntar .planta-media {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* reduce espacio entre video y mini-galería */
}

.planta-media {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

/* Video */
.planta-video {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
    transition: transform .35s ease, box-shadow .35s ease;
}

.planta-video video {
    width: 100%;
    display: block;
}

.planta-video:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

/* =========================
   SECCIONES
========================= */
.section {
    position: relative;
    padding: 90px 20px;
    text-align: center;
    transition: background-color 0.6s ease;
}

.section:nth-of-type(odd) {
    background: linear-gradient(to bottom, #f8f5f2, #f3eee8);
}

.section:nth-of-type(even) {
    background-color: #ffffff;
}

.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 88%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(176, 156, 132, 0.35), transparent);
}

.section:first-of-type::before,
.no-divider::before,
.hero-slider::before {
    display: none;
}
.section2 {
    position: relative;
    padding: 10px 20px;
    text-align: center;
    transition: background-color 0.6s ease;
}
.section3 {
    position: relative;
    padding: 0px 0px;
    text-align: center;
    transition: background-color 0.6s ease;
}
.section2:nth-of-type(odd) {
    background: linear-gradient(to bottom, #f8f5f2, #f3eee8);
}

.section2:nth-of-type(even) {
    background-color: #ffffff;
}

.section2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 88%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(176, 156, 132, 0.35), transparent);
}

.section2:first-of-type::before,
.no-divider::before,
.hero-slider::before {
    display: none;
}

/* Welcome */
.welcome {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.welcome-img {
    width: 400px;
    max-width: 100%;
    border-radius: 10px;
}

.welcome-text {
    max-width: 500px;
    text-align: left;
}

/* (definición principal de .premium-galeria y miniaturas más arriba) */
/* =========================
   WHATSAPP BUTTON
========================= */
.whatsapp-float {
    position: fixed;
    bottom: 160px; /* Encima de las flechas (40px bottom + 48px*2 buttons + 12px gap + margen extra) */
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0.7; /* Ajustado para mejor visibilidad */
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    opacity: 1;
    transform: scale(1.1);
    background-color: #128c7e;
}

.whatsapp-float i {
    font-size: 32px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        opacity: 0.6; /* Ajustado para mejor visibilidad en móvil */
    }
    
    .whatsapp-float i {
        font-size: 28px;
    }
}

/* =========================
   COOKIE BANNER (LEGAL ESPAÑA)
========================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fdfaf6;
    color: #3a2f25;
    padding: 30px 40px;
    box-shadow: 0 -10px 30px rgba(58, 47, 37, 0.15);
    z-index: 10000;
    display: none; /* Se activa por JS */
    border-top: 2px solid #c89b3c;
    font-family: 'Poppins', sans-serif;
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-text h3 {
    font-family: 'Playfair Display', serif;
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    color: #3a2f25;
}

.cookie-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-text a {
    color: #c89b3c;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    flex: 1;
    min-width: 160px;
}

.cookie-btn.accept {
    background: #3a2f25;
    color: #fff;
}

.cookie-btn.accept:hover {
    background: #5a4636;
    transform: translateY(-2px);
}

.cookie-btn.basic {
    background: #c89b3c;
    color: #3a2f25;
}

.cookie-btn.basic:hover {
    background: #b88a2f;
    transform: translateY(-2px);
}

.cookie-btn.reject {
    background: transparent;
    border: 1px solid #3a2f25;
    color: #3a2f25;
}

.cookie-btn.reject:hover {
    background: rgba(58, 47, 37, 0.05);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        min-width: 0;
    }
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #3a2f25;
    color: white;
    text-align: center;
    padding: 30px;
}

/* =========================
   MAPA
========================= */
.map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    border: 0;
}

/* =========================
   FORMULARIO
========================= */
.formulario {
    background-color: #f5f1eb;
    border-radius: 12px;
    padding: 2rem;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* =========================
   ANIMACIONES
========================= */
@keyframes fadeBox {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   ACTIVIDADES
========================= */
.actividades-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* dos columnas */
    gap: 30px;
    margin-top: 20px;
}

.actividad {
    padding: 20px;
    border-radius: 8px;
    line-height: 1.6;
}

.actividad-img {
    width: 100%;
    margin-top: 15px;
    border-radius: 8px;
    max-height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.actividad-img:hover {
    transform: scale(1.03);
}

.actividad h3 {
    margin-bottom: 10px;
    font-size: 1.25em;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .header {
        padding: 10px 16px;
    }

    .header h1 {
        font-size: 1.1rem;
        margin: 0 5px;
        text-align: center;
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logo {
        height: 45px;
    }

   .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #3a2f25;
    z-index: 1001;

    flex-direction: column;
    align-items: center;
    padding: 15px 0;
    gap: 12px;

    display: none;
}

    .nav-links.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        padding: 5px 10px;
        z-index: 1002;
    }

    .slide {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 0;
        padding: 15px;
        max-width: 260px;
        width: 90%;
        text-align: center;
        background: rgba(58, 47, 37, 0.85);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .planta-layout, .planta-layout.juntar {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 20px;
        text-align: center;
    }

    .welcome, .planta, .bloque, .invertido {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
    }

    .welcome-text, .planta-texto, .bloque-texto {
        order: 1 !important;
        text-align: center;
        max-width: 100%;
        width: 100%;
        margin: 0 auto 15px auto;
    }

    .welcome-img, .planta-galeria, .bloque-galeria, .planta-media, .slider-planta {
        order: 2 !important;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        display: block;
    }

    .planta-galeria img {
        height: auto;
    }
    .contact-buttons {
        flex-direction: column;
    }

    .contact-btn {
        width: 80%;
    }
     .ubicacion-texto {
        padding: 0 15px;
    }

    .foto-principal {
        height: 240px;
    }

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

    .ubicacion-texto {
        padding: 0 15px;
        font-size: 1rem;
        line-height: 1.7;
    }

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

    .actividad-img {
        margin-top: 10px;
    }

    .hero-content h1 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .hero-content p {
        font-size: 0.85rem;
        margin-bottom: 0;
    }

    .hero-content .btn {
        margin-top: 12px;
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .hero-slider {
        height: 52vh;
        min-height: 360px;
    }

    .scroll-buttons {
        display: none !important;
    }
}
/* =========================
   CONTACTO - BOTONES RÁPIDOS
========================= */
.contacto-botonera {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #3a2f25;
    padding: 20px 25px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    min-width: 140px;
}

.contact-btn img {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
}

.contact-btn a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
}

.contact-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    background: #b88a2f;
}

.contact-btn:hover a {
    color: #3a2f25;
}

/* =======================
   FORMULARIO CONTACTO
======================= */
.contacto-formulario {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3rem 1rem;
}

.formulario {
    background-color: #f5f1eb;
    border-radius: 12px;
    padding: 2rem;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.formulario label {
    font-weight: 600;
}

.formulario input,
.formulario textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.formulario input:focus,
.formulario textarea:focus {
    border-color: #c89b3c;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
    outline: none;
}

/* Botón */
.formulario button.btn {
    background-color: #c89b3c;
    color: #3a2f25;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.formulario button.btn:hover {
    background-color: #3a2f25;
    color: white;
    transform: translateY(-2px);
}

/* =========================
   TEXTO UBICACIÓN (PRO)
========================= */

.ubicacion-texto {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;

    font-size: 1.05rem;
    line-height: 1.8;
    text-align: left;

    color: #3a2f25;
}

/* Primera frase más elegante */
.ubicacion-texto p::first-line {
    font-weight: 500;
}

/* Espaciado visual bonito */
.ubicacion-texto p {
    margin-bottom: 1.4rem;
}

/* Responsive */
/* =========================
   ANIMACIÓN SUAVE TEXTO
========================= */

.fade-in-soft {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in-soft.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================
   BLOQUE AMENITIES PRO
========================= */

.amenities {
    padding: 70px 40px;
}

.amenities h2 {
    margin-bottom: 40px;
}

/* Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Tarjetas */
.amenity {
    background: white;
    padding: 18px 22px;
    border-radius: 12px;

    display: flex;
    align-items: flex-start;
    gap: 14px;

    text-align: left;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.amenity:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

/* Iconos */
.material-symbols-outlined {
    font-size: 26px;
    color: #c89b3c;
    margin-top: 2px;
}

/* Textos */
.amenity h3 {
    font-size: 0.95rem;
    margin: 0 0 4px 0;
    color: #3a2f25;
}

.amenity p {
    font-size: 0.9rem;
    margin: 0;
    color: #6b5a4a;
}
.guia-zona {
    padding: 90px 0;
    background:#6b5a4a;
    text-align: center;
}

.guia-zona h2 {
    font-size: 34px;
    margin-bottom: 10px;
    color: #3e3a36;
    font-family: 'Playfair Display', serif;
}

.guia-zona .subtitulo {
    color: #7a7269;
    margin-bottom: 55px;
    font-size: 15px;
}

.grid-guia {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: auto;
}

.card-guia {
    background: #ffffff;
    padding: 32px;
    border-radius: 10px;
    border: 1px solid #e6ded3;
    box-shadow: 0 6px 18px rgba(62, 58, 54, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-guia:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(62, 58, 54, 0.12);
}
.card-vermas {
    background: linear-gradient(135deg, #3a2f25, #7a7269);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-vermas:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.18);
}
    


.vermas h3,
.vermas a {
    color: white !important;
}
.vermas p{
    color: #e6ded3 !important;
}
.card-vermas .btn-vermas {
    display: inline-block;
    margin-top: 12px;

    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.6);

    background: transparent;
    color: white !important;

    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;

    transition: all 0.3s ease;
}

/* HOVER REAL */
.card-vermas .btn-vermas:hover {
    background: white !important;
    color: #3a2f25 !important;
    border-color: white;
    transform: none; /* anulamos el translateX global */
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}
.btn-vermas {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    
}

.btn-vermas:hover {
    color: #8c7a65;
    transform: translateX(3px);
}

.icono {
    width: 55px;
    height: 55px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #ede5da;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icono svg {
    width: 26px;
    height: 26px;
    stroke: #5f5852;
    stroke-width: 1.5;
    fill: none;
}

.card-guia h3 {
    font-size: 17px;
    margin-bottom: 12px;
    color: #3e3a36;
    font-family: 'Playfair Display', serif;
}

.card-guia p {
    color: #7a7269;
    font-size: 14px;
    line-height: 1.7;
}
.intro-zona {
    padding: 100px 0 60px;
    background: #f5f1eb;
}

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

.intro-texto h2 {
    font-size: 32px;
    margin-bottom: 18px;
    color: #3e3a36;
    font-family: 'Playfair Display', serif;
}

.intro-texto p {
    color: #7a7269;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* Responsive */

@media (max-width: 900px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================
   SLIDER FADE PREMIUM
========================= */

.slider-fade {
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(62, 58, 54, 0.18);
    background: #000; /* evita parpadeos */
}

.slider-fade img {
    position: absolute;
    inset: 0;              /* 👈 más robusto que width/height */
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    transform: scale(1);

    transition:
        opacity 1.6s ease-in-out,
        transform 6s ease-in-out;
}

.slider-fade img.active {
    opacity: 1;
    transform: scale(1.08);
    z-index: 1;
}
/* =========================
   MÓVIL – ORDEN DE GALERÍAS
========================= */

.bloque-galeria img,
.planta-galeria img,
.foto-principal,
.miniaturas img {

    border-radius: 18px;
    border: 2px solid #5a4636;   /* marrón más claro → elegante */
}
/* =========================
   BOTONERA GALERÍA
========================= */
.galeria-botones {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
}

.filtro-btn {
    background-color: #3a2f25; /* color marrón */
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filtro-btn:hover {
    background-color: #5a4738; /* ligeramente más claro al pasar el mouse */
}

.filtro-btn.active {
    background-color: #b09c84; /* color de resalte */
    color: #3a2f25;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* GALERÍA SIMPLE IMÁGENES */
.galeria-contenedor {
    max-width: 1200px;
    margin: 0 auto;
}

.galeria-bloque {
    margin-bottom: 50px;
    text-align: left;
}

.galeria-bloque h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #3a2f25;
    font-family: 'Playfair Display', serif;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.galeria-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    border: 2px solid #5a4636;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.galeria-img:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 26px rgba(0,0,0,0.18);
    opacity: 0.95;
}
/* layout servicios */
.servicios-horizontal {
    padding: 100px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.servicios-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 60px;
    flex-wrap: wrap;
}
.servicios-titulo {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    font-size: 26px;
    color: #3a2f25;
    font-family: 'Playfair Display', serif;
}

.servicio-item {
    flex: 1 1 220px;
    min-width: 200px;
    text-align: center;
    cursor: pointer;
    padding: 30px 20px;
    border-radius: 18px;
    transition: all 0.3s ease;
}

.servicio-item:hover {
    background: #f6f3ee;
    transform: translateY(-6px);
}

.icono-svg {
    color: #c6b8a6;
    margin-bottom: 18px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.servicio-item:hover .icono-svg {
    color: #3a2f25;
    transform: scale(1.1);
}

.servicio-item h3 {
    font-size: 18px;
    font-weight: 500;
    color: #3a2f25;
}
/* toggle + detalle */
.servicio-toggle {
    margin-top: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #c6b8a6;
    background: #fff;
    color: #3a2f25;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.servicio-item:hover .servicio-toggle {
    background: #3a2f25;
    color: #fff;
}

.servicio-item.abierto .servicio-toggle {
    transform: rotate(45deg);
}

.servicio-detalle {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.35s ease;
    font-size: 0.9rem;
    color: #7a7269;
    margin-top: 8px;
}

.servicio-item.abierto .servicio-detalle {
    max-height: 560px;
    opacity: 1;
}
@media (min-width: 992px) {
    .servicios-grid {
        gap: 30px;
        flex-wrap: nowrap;
    }

    .servicio-item {
        flex: 1 1 0;
        max-width: none;
        min-width: 0;
    }
}
/* Responsive: una columna en móvil */
.scroll-buttons {
    position: fixed;
    right: 25px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.scroll-buttons button {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(44, 62, 80, 0.85);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.scroll-buttons button.show {
    opacity: 1;
    visibility: visible;
}

.scroll-buttons button:hover {
    transform: translateY(-4px);
    background: #1abc9c;
}
.reservas {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 400px;
}

.reserva-bloque {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

/* Bloques de texto */
.reserva-bloque.texto {
    background-color: rgba(176, 156, 132, 0.35); /* fondo claro */
}

.reserva-bloque .contenido {
    max-width: 420px;
}

.reserva-bloque h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
    color:rgba(58, 47, 37, 0.75);
}
.reserva-bloque h3 {
    margin-bottom: 10px;
    color:rgba(58, 47, 37, 0.75);
    font-size: 1.5em;
}
.reserva-bloque h4 {
    color:rgba(58, 47, 37, 0.75);
    font-size: 1.3em;
}
.reserva-bloque p {
    line-height: 1.6;
    margin-bottom: 15px;
    color:rgba(58, 47, 37, 0.75);
    font-size: 1.1em;
}

/* Bloque imagen */
.reserva-bloque.imagen {
    background-color: #ffffff; /* fondo blanco */
    padding: 0;
}

.reserva-bloque.imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 900px) {
    .reservas {
        grid-template-columns: 1fr;
    }

    .reserva-bloque {
        padding: 50px 25px;
    }

    .reserva-bloque.imagen {
        height: 300px;
    }
}

/* =========================
   LIGHTBOX CUSTOM
========================= */
.basicLightbox {
    background: rgba(0, 0, 0, 0.95) !important;
}

.basicLightbox__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .basicLightbox__placeholder img {
        width: 100vw !important;
        height: 100vh !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: contain !important;
        border-radius: 0 !important;
    }
    
    .basicLightbox-close {
        top: 20px !important;
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 30px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        color: white !important;
    }

    .basicLightbox-prev, .basicLightbox-next {
        width: 50px !important;
        height: 50px !important;
        font-size: 30px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        color: white !important;
    }
}