    body {
        overflow-x: hidden;
    }

    body {
        margin: 0;
        /*padding: 8px; /* Borde bonito en escritorio */
        box-sizing: border-box;
    }
    
    .contenedor {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2px;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }
    
    section {
        margin-bottom: 80px; /* o 80px, ajusta al gusto */
    }

    /*------ HEADER ------*/

    .site-header {
        position: fixed;
        min-height: 70px; /* ajusta según tu diseño */
        box-sizing: border-box;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: white;
        color: #5a4533;
        padding: 15px 0;
        text-align: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* para destacar el header */
    }

    .site-header h1 {
        font-family: 'Playfair Display', serif;
        font-size: 2rem;
        margin: 0;
    }

    .site-header h1 span {
        color: #d4af37; /* dorado elegante */
    }

    main {
        margin-top: 70px; /* igual a la altura del header */
    }

    .menu-principal {
        width: 100%;
        margin-top: 10px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 0 30px; /* opcional: para separar el menú del borde derecho */
    }

    .menu-principal a {
        color: #5a4533; /* texto marrón oscuro, buena visibilidad sobre fondo claro */
        text-decoration: none;
        margin: 0 15px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        transition: color 0.3s ease;
    }

    .menu-principal a:hover {
        color: #d4af37;
    }

    .menu-toggle {
        font-size: 2.5rem;
        height: 40px;             /* 👈 asegura altura constante */
        width: 40px;              /* 👈 opcional: fija también ancho si lo deseas */    
        line-height: 1;           /* 👈 evita que el símbolo ocupe más alto al cambiar */
        background: none;
        border: none;
        color: #5a4533;
        cursor: pointer;
        transition: transform 0.4s ease;
        margin-right: 15px;
        text-align: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Cuando el botón está activo (menú abierto) */
    .menu-toggle.active {
        transform: rotate(90deg); /* 👈 o prueba 180deg si quieres girarlo más */
    }

    /* Ajustar contenedor del header para centrar el botón */
    .site-header .contenedor {
        display: flex;
        justify-content: flex-start;
        gap: 20px;
        align-items: center;
        flex-wrap: wrap;
        padding: 0 2px;
        position: relative; /* 👈 necesario */
    }
    
    /* Estilo normal del nav en escritorio */
    .menu-principal .nav-links {
        position: fixed;
        top: 70px;
        right: auto;
        left: 0;
        height: 100vh;
        width: 250px;
        background-color: white;
        /*box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);*/
        padding: 20px 20px 20px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        z-index: 2000;
        transform: translateX(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s ease, opacity 0.4s ease;
    }

    .menu-principal .nav-links a {
        color: #5a4533;
        font-family: 'Montserrat', sans-serif;
        text-decoration: none;
        font-weight: 600;
        padding: 8px 0;
        border-bottom: 1px solid #e2d9ce;
        transition: color 0.3s ease;
        width: auto;
        text-align: center;

    }

    .menu-principal .nav-links a:last-child {
        border-bottom: none; /* evita borde en el último */
    }

    .menu-principal .nav-links a:hover {
        color: #d4af37;
    }

    /* Muestra los enlaces al activar el menú */
    .menu-principal .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    section {
        scroll-margin-top: 40px; /* o ajusta a 70px, 100px... según altura real del header */
    }

    .site-header .boton-reservar-fijo {
        background-color: #d4af37;
        color: white;
        padding: 10px 18px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 1rem;
        text-decoration: none;
        border-radius: 30px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s ease, transform 0.3s ease;
        margin-left: auto;
    }

    .site-header .boton-reservar-fijo:hover {
        background-color: #b38e2f;
        transform: scale(1.05);
    }
    
    /* Botón dentro del header alineado */
    .boton-header {
        background-color: #d4af37;
        color: white;
        padding: 10px 18px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 1rem;
        text-decoration: none;
        border-radius: 30px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s ease, transform 0.3s ease;
        margin-left: auto;
    }

    .boton-header:hover {
        background-color: #b38e2f;
        transform: scale(1.05);
    }

    /*------ FOOTER ------*/

    .site-footer {
        background-color: #1e1e1e;
        color: #ccc;
        text-align: center;
        padding: 15px 0;
        font-size: 0.9rem;
        margin-top: 5px;
    }
    
    .site-footer .redes-sociales {
        margin-top: 10px;
    }

    .site-footer .redes-sociales a {
        color: #ccc;
        font-size: 1.5rem;
        margin: 0 10px;
        transition: color 0.3s ease;
    }

    .site-footer .redes-sociales a:hover {
        color: #d4af37;
    }
    
    
    /*------ BOTON RESERVA INDEX ------*/

    .boton-reservar-fijo {
        position: fixed;
        top: 40px;
        right: 20px;
        background-color: #d4af37;
        color: white;
        padding: 12px 20px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 1rem;
        text-decoration: none;
        border-radius: 30px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        z-index: 3000;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }
    
    .boton-reservar-fijo:hover {
        background-color: #b38e2f;
        transform: scale(1.05);
    }

    /*------ HERO BANNER ------*/

    .hero {
        background-image: url('../img/portada.jpg');
        background-size: cover;
        background-position: center;
        height: 85vh;/*100vh;*/
        position: relative;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero::before {
        content: "";
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background-color: rgba(0, 0, 0, 0.5); /* Filtro oscuro para resaltar texto */
    }

    .hero-texto {
        position: relative;
        text-align: center;
        font-family: 'Playfair Display', serif;
        z-index: 1;
    }

    /* Oculta el párrafo por defecto */
    .hero-texto p {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
        transition: all 0.6s ease;
        font-family: 'Great Vibes', cursive; /* Fuente manuscrita elegante */
        font-size: 3.2rem;
        color: #fefefe;
        text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
        pointer-events: none; /* Evita que el hover lo interrumpa */
    }

    /* Cuando se pasa el ratón por la sección hero */
    .hero:hover .hero-texto p {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    /* Línea separadora Hero Image y carrusel de fotos*/
    .separador-blanco {
        height: 10px; /* Ajusta según el espacio que quieras */
        background-color: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* opcional */
    }
    
    .hero-video {
        position: relative;
        height: 85vh; /* 85vh menos el header fijo */
        margin-top: 100px;          /* asegura que está debajo del header */
        overflow: hidden;
    }
    
    .hero-video video {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        filter: brightness(0.6);
    }
    
    .hero-texto {
        position: relative;
        z-index: 1;
        text-align: center;
        color: white;
        font-family: 'Great Vibes', cursive;
        font-size: 3.2rem;
        padding: 20px;
        text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
        opacity: 0;
        transform: translateY(20px) scale(0.95);
        transition: all 0.6s ease;
    }
    
    .hero-video:hover .hero-texto {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    /* ------ TITULO DE SECCIONES ------*/

    .animar-derecha {
        opacity: 0;
        transform: translateX(100px);
        transition: all 0.8s ease-out;
    }

    .animar-derecha.visible {
        opacity: 1;
        transform: translateX(0);
    }


    
    /* ------ CARRUSEL DE IMAGENES ------*/

    .carrusel {
        width: 100%;
        overflow: hidden;
        position: relative;
        height: 400px;
        margin-bottom: 20px;
    }

    .slides {
        display: flex;
        animation: deslizamiento 20s linear infinite;
        width: calc(200%); /* porque has duplicado imágenes */
    }

    .slide {
        width: 400px;
        flex-shrink: 0;
        object-fit: cover;

    }

    .slide.activa {
        display: block;
    }

    @keyframes deslizamiento {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%); /* Mueve la mitad (porque duplicaste) */
        }
    }
    
    
    
    /*------ HISTORIA ------*/

    .historia {
        padding: 60px 20px;
        background-color: #f9f4ef;
        font-family: 'Montserrat', sans-serif;
        text-align: center;
        display: block;
        width: 100%;
    }

    .historia h2 {
        font-family: 'Playfair Display', serif;
        font-size: 2rem;
        margin-bottom: 20px;
        color: #5a4533;

    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .tarjeta-historia {
        opacity: 1;
        transform: translateY(0);
        transition: all 0.8s ease;
        background-color: #fffdf7;
        padding: 20px;
        border-radius: 6px;
        box-shadow: /*0 6px 16px rgba(0, 0, 0, 0.08);*/
            12px 12px 0px rgba(212, 175, 55, 0.4),  /* “sombra” tipo tarjeta debajo */
            0 12px 32px rgba(0, 0, 0, 0.1);         /* sombra real */
        max-width: 400px;
        margin: 0 auto;
        text-align: center;
        font-family: 'Poppins', sans-serif;
        border: 2px dashed #e0cfa9;
        position: relative;
        overflow: hidden;
    }

    /* Detalle visual tipo "cinta" decorativa */
    .tarjeta-historia::before {
        content: '🌿';
        font-family: 'Great Vibes', cursive;
        font-size: 2.5rem;
        color: #d4af37;
        position: absolute;
        top: 10px;
        left: 10px;
        transform: rotate(-10deg);
        opacity: 0.7;
        pointer-events: none;
        animation: balanceo-hoja 1.5s ease-in-out infinite;
    
    }

    @keyframes balanceo-hoja {
        0% { transform: rotate(-10deg) translateY(0); }
        50% { transform: rotate(-5deg) translateY(2px); }
        100% { transform: rotate(-10deg) translateY(0); }
    }

    .tarjeta-historia.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    .tarjeta-historia.oculto {
        pointer-events: none;
    }
    
    .tarjeta-historia h2 {
        font-size: 1.8rem;
        color: #7a5c43;
        margin-bottom: 15px;
        font-weight: 700;
    }
    
    .tarjeta-historia p {
        font-family: 'Great Vibes', cursive;
        font-size: 2rem;
        color: #5a4533;
        line-height: 1.6;
        margin-top: 10px;
    }
    
    
    
    /*------ ICONOS -------*/

    .iconos {
        padding: 20px 5px;
        background-color: #fff;
        margin-bottom: 1px; /* ⬅️ añadir esto */
        
    }

    .grid-iconos {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
        text-align: center;
        
    }

    .icono {
        text-decoration: none;
        color: #333;
        font-size: 1.2rem;
        transition: transform 0.3s ease;
        font-family: 'Montserrat', sans-serif;

        
    }

    .icono i {
        font-size: 2rem;
        color: #7a5c43;
        
    }

    .icono:hover {
        transform: scale(1.05);
        color: #000;

    }
    
    
    
    /*------ SECCION DETALLES ------*/

    .detalles {
        padding: 40px 20px;
        font-family: 'Montserrat', sans-serif;
        margin-bottom: 20px;
    }

    .intro-detalles {
        text-align: center;
        margin-bottom: 30px;
    }

    .intro-detalles h1 {
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem;
        margin-bottom: 30px;
        color: #5a4533;
    }

    .caracteristicas {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .caracteristica {
        background-color: #f9f4ef;
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        text-align: center;
    }

    .caracteristica i {
        font-size: 2.5rem;
        color: #7a5c43;
        margin-bottom: 10px;
    }

    .caracteristica h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.3rem;
        margin-bottom: 5px;
    }

    .normas {
        background-color: #f9f4ef;
        padding: 40px 20px;
        font-family: 'Montserrat', sans-serif;
        border-top: 4px solid #d4af37;
        margin-top: 40px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    
    .normas h2 {
        font-family: 'Playfair Display', serif;
        font-size: 2rem;
        color: #5a4533;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .normas ul {
        list-style-type: square;
        padding-left: 20px;
        color: #333;
        line-height: 1.6;
    }
    
    .normas li {
        margin-bottom: 10px;
    }
    
    .animar-arriba {
        opacity: 0;
        transform: translateY(40px);
        transition: all 0.8s ease-out;
    }

    .animar-arriba.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .animar-izquierda {
        opacity: 0;
        transform: translateX(-50px);
        transition: all 0.8s ease-out;
    }

    .animar-izquierda.visible {
        opacity: 1;
        transform: translateX(0);
    }

    
    /*------ GALERIA ------*/

    .galeria {
        text-align: center;
        padding: 30px 20px;
        margin-bottom: 20px; /* ⬅️ añadir esto */
    }

    .galeria h2 {
        font-size: 2.5rem;
        font-family: 'Playfair Display', serif;
        color: #5a4533;
        margin-bottom: 30px;
    }

    .galeria p {
        font-family: 'Montserrat', sans-serif;
        color: black;
        margin-bottom: 30px;
    }

    .galeria-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr); /* ✅ 5 columnas fijas en escritorio */
        gap: 20px;
        justify-content: center;
    }

    .galeria-item {
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        transition: transform 0.3s ease;
        width: 100%;
        display: flex;
        justify-content: center;
        aspect-ratio: 4/3; /* cuadrado */
    }

    .galeria-item:hover {
        transform: scale(1.03);
    }

    .galeria-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 10px;
        transition: transform 0.3s ease;
    }

    .galeria-item:hover img {
        transform: scale(1.05); /* zoom suave al pasar el mouse */
    }

    .modal {
        display: none;                 /* por defecto oculto */
        position: fixed;
        inset: 0;                      /* top:0; right:0; bottom:0; left:0; */
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 9999;
        justify-content: center;
        align-items: center;
        padding: 16px;
        touch-action: pan-y;           /* permite scroll vertical, pero capturamos swipe horizontal */
    }
    
    .modal.abierto {
        display: flex;
    }
    
    .modal-contenido-wrapper {
        max-width: min(100vw - 32px, 900px);
        max-height: 80vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .modal-contenido {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(255,255,255,0.2);
    }

    .descripcion-imagen {
        margin-top: 12px;
        color: #eee;
        font-size: 1rem;
        font-style: italic;
        text-align: center;
    }

    /* Botón X para cerrar */
    
    .cerrar {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 2.2rem;
        font-weight: bold;
        cursor: pointer;
        z-index: 10000;
    }

    /* Flechas de navegación */
    .flecha {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2.5rem;
        color: white;
        cursor: pointer;
        padding: 10px;
        user-select: none;
        z-index: 10000;
    }
    
    .flecha.izquierda { left: 16px; }
    .flecha.derecha   { right: 16px; }
    
    .flecha:hover {
        color: #ffcc00;
        transform: translateY(-50%) scale(1.05);
    }
    
    .galeria-tabs {
        text-align: center;
        margin-bottom: 20px;
    }

    .galeria-tabs button {
        background-color: #f2eee9;
        border: none;
        border-radius: 30px;
        padding: 10px 20px;
        margin: 5px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        color: #5a4533;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .galeria-tabs button:hover,
    .galeria-tabs .tab-activa {
        background-color: #d4af37;
        color: white;
    }

    .galeria-item {
        display: none;
    }

    .galeria-item.visible {
        display: flex;         /* ✅ permite que entren en la cuadrícula */
        justify-content: center;
    }

    /*.animar-galeria {
        opacity: 0;
        transform: translateY(40px);
        transition: all 0.6s ease-out;
    }

    .animar-galeria.visible {
        opacity: 1;
        transform: translateY(0);
    }*/

    .galeria-item {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        transition: all 0.8s ease;
        display: none;
    }

    .galeria-item.visible {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    
    
    /*------ SECCION UBICACION ------*/

    .ubicacion {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 2px;
        background-color: white;
        font-family: 'Montserrat', sans-serif;
        scroll-margin-top: 80px;
        margin-bottom: 40px;
    }

    .ubicacion .mapa {
        width: 100%;
        max-width: 500px;
        padding: 0;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    .ubicacion .intro-ubicacion {
        max-width: 400px;
        text-align: center;
        margin-bottom: 30px;
    }

    .ubicacion .indicaciones {
        max-width: 600px;
        margin-top: 30px;
    }

    .intro-ubicacion {
        text-align: center;
        margin-bottom: 30px;
    }

    .intro-ubicacion h1 {
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem;
        color: #5a4533;
    }

    .mapa {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        background-color: #f4f0eb;
        border-radius: 15px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        max-width: 350px;
        margin: 0 auto;
    }

    .indicaciones {
        background-color: #f9f4ef;
        padding: 20px;
        border-radius: 15px;
        margin-top: 20px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .indicaciones h2 {
        font-family: 'Playfair Display', serif;
        color: #5a4533;
        margin-bottom: 10px;
    }

    .indicaciones ul {
        list-style-type: square;
        padding-left: 20px;
    }
    
    
    
    /*------ SECCION CONTACTO ------*/

    .contacto {
        padding: 40px 20px;
        font-family: 'Montserrat', sans-serif;
    }

    .intro-contacto {
        text-align: center;
        margin-bottom: 30px;
    }

    .intro-contacto h1 {
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem;
        color: #5a4533;
    }

    .formulario-contacto {
        max-width: 600px;
        margin: 0 auto;
        background-color: #f4f0eb;
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .formulario-contacto form {
        display: flex;
        flex-direction: column;
    }

    .formulario-contacto label {
        margin-top: 15px;
        font-weight: bold;
        color: #333;
    }

    .formulario-contacto input,
    .formulario-contacto textarea {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 8px;
        margin-top: 5px;
        font-size: 1rem;
    }

    .formulario-contacto button {
        margin-top: 20px;
        padding: 12px;
        background-color: #7a5c43;
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 1.1rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .formulario-contacto button:hover {
        background-color: #604730;
    }

    .mensaje-enviado {
        padding: 40px;
        text-align: center;
        font-family: 'Montserrat', sans-serif;
    }
    
    .animar-galeria {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        transition: all 0.8s ease;
    }

    .animar-galeria.visible {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    
    /*------ SECCION RESERVAS ------*/

    .reservas {
        padding: 40px 20px;
        font-family: 'Montserrat', sans-serif;
        margin-bottom: 20px;
    }

    .intro-reservas {
        text-align: center;
        margin-bottom: 30px;
    }

    .intro-reservas h1 {
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem;
        color: #5a4533;
    }

    .formulario-reservas {
        max-width: 600px;
        margin: 0 auto;
        background-color: #f2eee9;
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .formulario-reservas form {
        display: flex;
        flex-direction: column;
    }

    .formulario-reservas label {
        margin-top: 15px;
        font-weight: bold;
        color: #333;
    }

    .formulario-reservas input,
    .formulario-reservas textarea {
        padding: 10px;
        margin-top: 5px;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 8px;
    }

    .formulario-reservas button {
        margin-top: 20px;
        padding: 12px;
        background-color: #7a5c43;
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 1.1rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .formulario-reservas button:hover {
        background-color: #604730;
    }

    .campo-fechas label {
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
        margin-top: 32px;
    }

    .contenedor-reservas {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: space-between;
        padding: 20px;
    }

    #contenedor-calendario {
        margin-top: 10px;
        width: 260px; /* o prueba 250px, 270px según lo que te guste más */
    }

    .fechas-seleccionadas {
        margin-top: 15px;
        text-align: center;
        font-size: 1.1rem;
        color: #333;
    }

    .precio-reserva {
        margin-top: 1rem;
    }

    .precio-reserva label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: bold;
    }

    /*Input fechas seleccionadas y precios*/
    .campo-fechas input {
        padding: 10px;
        margin-top: 5px;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
        text-align: center; /* 👈 añadido para centrar el texto */
    }

    /* Ajuste para el formulario */
    .formulario-reservas {
        flex: 1 1 400px;
        min-width: 300px;
    }

    /* Ajuste para el calendario */
    .campo-fechas {
        flex: 1 1 400px;
        min-width: 300px;
        max-width: 600px; /* 👈 nuevo */
        margin: 0 auto; /* 👈 nuevo */
        background-color: #f2eee9;
        border: none;
        padding: 30px; /* igual que el formulario */
        border-radius: 15px; /* igual que el formulario */
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        font-size: 1.1rem;
        display: flex;
        flex-direction: column;
        align-items: center; /* centra el calendario horizontalmente */
    }

    /*Datos confirmacion reserva*/
    .datos-confirmacion-reserva {
        padding: 40px 20px;
        font-family: 'Montserrat', sans-serif;
    }

    .intro-datos-confirmacion-reserva{
        text-align: center;
        margin-bottom: 30px;
    }

    .intro-datos-confirmacion-reserva h1 {
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem;
        color: #5a4533;
    }

    .formulario-intro-datos-confirmacion-reserva {
        max-width: 600px;
        margin: 0 auto;
        background-color: #f2eee9;
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    a.datos-boton-volver{
        display: block;
        text-align: center;
        text-decoration: none;
        margin-top: 20px;
        margin-top: 20px;
        padding: 12px;
        background-color: #7a5c43;
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 1.1rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    a.datos-boton-volver:hover {
        background-color: #604730;
    }
    
    
    
    /*------ NO LOCALIZADO ------*/

    .mensaje-enviado {
        padding: 40px;
        text-align: center;
        font-family: 'Montserrat', sans-serif;
    }

    .confirmacion h1 {
        font-family: 'Playfair Display', serif;
        font-size: 2.2rem;
        color: #7a5c43;
    }

    .confirmacion p {
        margin-top: 15px;
        font-size: 1.1rem;
        color: #333;
    }

    .boton-volver {
        display: inline-block;
        margin-top: 30px;
        padding: 10px 20px;
        background-color: #7a5c43;
        color: #fff;
        border-radius: 8px;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

    .boton-volver:hover {
        background-color: #604730;
    }
    
    
    
    /*------ ESTILOS RESPONSIVE ------*/

    @media (max-width: 768px) {

    /* Ajustes generales */
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        padding: 0;
    }

    .contenedor {
        padding: 0 12px;
        box-sizing: border-box;
    }

    /* ===== HEADER & MENÚ ===== */

    .site-header {
        min-height: 60px;
        padding: 8px 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .site-header .contenedor-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 0 12px;
    }

    .logo img,
    .logo h1 {
        max-width: 150px;
        font-size: 1.2rem;
    }

    /* Botón menú hamburguesa más cómodo */
    .menu-toggle {
        font-size: 2rem;
        height: 40px;
        width: 40px;
        line-height: 1;
        background: none;
        border: none;
        color: #5a4533;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Menú desplegable a pantalla completa */
    .menu-principal .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 20px;
        gap: 10px;
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 900;
    }

    .menu-principal .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .menu-principal .nav-links li {
        margin: 0;
    }

    .menu-principal .nav-links a {
        font-size: 1.1rem;
        padding: 8px 0;
    }

    /* Ocultar botón fijo de reservar en móvil */
    .site-header .boton-reservar-fijo {
        display: none;
    }

    /* Para que el contenido no se oculte detrás del header */
    main {
        margin-top: 70px;
    }

    section {
        scroll-margin-top: 80px;
    }

    /* ===== HERO VIDEO ===== */

    .hero-video {
        height: 65vh;
        margin-top: 70px;
    }

    .hero-video video {
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
    }

    .hero-texto {
        padding: 0 16px;
    }

    .hero-texto p {
        font-size: 1rem;
        line-height: 1.4;
    }

    .hero-texto h1 {
        font-size: 1.7rem;
        margin-bottom: 10px;
    }

    .hero-texto .boton {
        width: 100%;
        text-align: center;
    }

    /* ===== HISTORIA / DETALLES / GALERÍA / CONTACTO / UBICACIÓN ===== */

    .historia,
    .detalles,
    .reservas,
    .galeria,
    .contacto,
    .ubicacion {
        padding: 40px 16px;
        margin-bottom: 30px;
    }

    .historia h2,
    .detalles h1,
    .galeria h2,
    .contacto h2,
    .intro-ubicacion h2,
    .intro-reservas h1 {
        font-size: 1.8rem;
    }

    .historia p,
    .detalles p,
    .galeria p,
    .intro-ubicacion p,
    .contacto p {
        font-size: 1rem;
    }

    /* Iconos de características: 2 por fila o auto-fit */
    .grid-iconos {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 16px;
    }

    /* Características del cortijo en una columna */
    .caracteristicas {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .caracteristica {
        padding: 16px;
    }

    /* ===== SECCIÓN RESERVAS ===== */

    .contenedor-reservas {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 10px 0;
    }

    #contenedor-calendario {
        width: 100%;
        max-width: 100%;
    }

    .campo-fechas,
    .formulario-reservas {
        width: 100%;
    }

    .formulario-reservas {
        margin: 0;
        padding: 20px 16px;
        box-sizing: border-box;
    }

    .formulario-reservas input,
    .formulario-reservas textarea,
    .formulario-reservas select {
        width: 100%;
    }

    /* ===== GALERÍA ===== */

    .galeria-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
        padding: 10px 0;
    }

    .galeria-item {
        aspect-ratio: 4 / 3;
    }

    .galeria-tabs button {
        padding: 8px 12px;
        font-size: 0.95rem;
    }

    /* ===== UBICACIÓN ===== */

    .ubicacion .mapa {
        max-width: 100%;
    }

    .ubicacion .intro-ubicacion {
        max-width: 100%;
        margin-top: 20px;
        padding: 0 8px;
    }

    /* ===== CONTACTO ===== */

    .formulario-contacto {
        padding: 20px 16px;
        margin: 0;
        box-sizing: border-box;
    }

    .formulario-contacto input,
    .formulario-contacto textarea {
        width: 100%;
    }

    /* ===== FOOTER ===== */

    .site-footer {
        padding: 20px 10px;
        text-align: center;
    }

    .site-footer .contenedor {
        flex-direction: column;
        gap: 10px;
    }

    .redes-sociales a {
        font-size: 1.4rem;
        margin: 0 6px;
    }
    
    .modal {
        padding: 8px;
    }

    .modal-contenido-wrapper {
        max-width: 100vw;
        max-height: 80vh;
    }

    .cerrar {
        top: 8px;
        right: 8px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .flecha {
        font-size: 2.2rem;
    }

    .descripcion-imagen {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
}

    
    /*------ ESTILOS PARA MOVILES MAS PEQUEÑOS ------*/

  @media (max-width: 480px) {

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.15rem;
    }

    p,
    label,
    input,
    textarea,
    select,
    button,
    .boton {
        font-size: 0.95rem;
    }

    .hero-video {
        height: 60vh;
    }

    .hero-texto h1 {
        font-size: 1.5rem;
    }

    .hero-texto p {
        font-size: 0.95rem;
    }

    .galeria-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }

    .grid-iconos {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .formulario-reservas,
    .formulario-contacto {
        padding: 16px 12px;
    }

    footer {
        font-size: 0.9rem;
        padding: 16px 10px;
    }
    
    .flecha {
        font-size: 2rem;
    }

    .cerrar {
        width: 36px;
        height: 36px;
        font-size: 1.8rem;
    }

    .descripcion-imagen {
        font-size: 0.9rem;
    }
    
}

    
    /* =========================================================
   MOBILE FIXES EXTRA – Cortijo Ohana
   Pegar al final de estilos.css
   ========================================================= */

/* Box sizing global para evitar desbordes */
*, *::before, *::after {
  box-sizing: border-box;
}

/* ---------- CARRUSEL FLUIDO ---------- */
/* Antes: .carrusel height:400px y .slide width:400px */
.carrusel {
  height: clamp(220px, 45vw, 400px); /* se adapta solo */
}

.slide {
  width: min(100vw, 400px); /* en móvil ocupa pantalla */
}

