
main {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  


* {
    box-sizing: border-box;
  }

*,
*::before,
*::after {
  box-sizing: border-box;
}


.scrollable-div {
    scroll-behavior: smooth;
  }

:root {
    --color-hoverNavegacion: rgb(255, 162, 0);
    --color-titulos: #B48B66;
    --background-button: rgb(84, 84, 84);
}

@import url('https://fonts.cdnfonts.com/css/damion');


* {
    margin: 0;
    padding: 0;
    font-family: Nevis, sans-serif;
}




@keyframes desvanecer {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
}


#inicio {
    width: 100%;
    min-height: 100vh;
    height: auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

  

.logo-telefono {
    display: flex;
    align-items: center;
    gap: 15px; /* Espaciado entre el logo y el teléfono */
}

.titulo-navegacion {
    font-size: 24px; /* Tamaño del logo */
    font-weight: bold;
    color: white;
}

.contacto-telefono {
    font-size: 20px; /* Aumentar tamaño del teléfono */
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contacto-telefono i {
    font-size: 22px;
    color: var(--color-hoverNavegacion);
}

.contacto-telefono a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.contacto-telefono a:hover {
    color: var(--color-hoverNavegacion);
}


.header-completo {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/inicio.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    color: white;
    text-align: center;
    animation: desvanecer 1.5s ease-in-out;
}

.titulo-contenido {
    font-weight: bold;
    font-size: clamp(2rem, 6vw, 5rem);
    text-transform: uppercase;
}

.subtitulo-contenido {
    font-family: Damion, sans-serif;
    font-size: 2rem;
    animation: derechaIzquierda 1.5s ease forwards;
}




/* Estilo del título */
.titulo-navegacion {
    font-weight: bold;
    font-size: 28px;
    color: white;
    text-transform: uppercase;
    transition: color 0.3s ease-in-out;
}

.titulo-navegacion:hover {
    color: var(--color-hoverNavegacion); /* Cambio de color al pasar el mouse */
}


.barra-navegacion li {
    display: inline;
}

.barra-navegacion a {
    text-decoration: none; /* Quita el subrayado */
    color: white; /* Cambia el color del texto */
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease; /* Suaviza el cambio de color */
}

.barra-navegacion a:hover {
    color: #f4a261; /* Cambia el color al pasar el mouse */
}

/* Botón de llamada a la acción */

.navegacion {
    position: fixed; /* Hace que la barra se quede fija al hacer scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8); /* Fondo semi-transparente */
    padding: 0 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Estilo del menú */

.barra-navegacion ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px; /* Espaciado entre los elementos */
}


.titulo-contenido {
    font-size: 3rem;
    font-family: 'Damion', cursive;
    z-index: 1;
    animation: fadeInDown 1s ease-in-out;
}

.subtitulo-contenido {
    font-size: 1.5rem;
    z-index: 1;
    animation: fadeInUp 1.2s ease-in-out;
}

.boton-portada {
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #ff7f50;
    color: white;
    font-size: 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    z-index: 1;
    transition: 0.3s;
}

.boton-portada:hover {
    background-color: #ff5722;
    transform: scale(1.05);
}
ul {
    display: flex;
    flex-direction: row;
}

.li-navegacion {
    padding: 20px;
    list-style: none;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s ease-in-out;
}

.li-navegacion:hover {
    color: var(--color-hoverNavegacion);
    cursor: pointer;
}

.imagen-contenido {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background-size: cover;
        background-position: center;
        transition: background-image 1s ease-in-out;
}

.imagen-contenido::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Oscurece la imagen */
}



@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fa-solid {
    font-size: 40px;
    animation: movimiento 1s infinite;
}

@keyframes movimiento {
    0% {
        transform: translateY(20px);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(20px);
    }
}

@keyframes derechaIzquierda {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Contenedor de información */
.info-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas iguales */
    gap: 40px;
    padding: 50px;
    max-width: 100%;
    margin: 0 auto;
}


/* Cajas de información */
.info-box {
    background: #faf6f2;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    text-align: justify;
    font-size: 20px;
}

/* Efecto flotante */
.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

/* Estilo de los íconos */
.info-box i {
    font-size: 40px;
    color: var(--color-iconos, #6b705c);
    display: block;
    text-align: center;
    margin-bottom: 15px;
}

/* Título de cada sección */
.info-box h3 {
    font-size: 26px;
    color: var(--color-titulos);
    text-align: center;
    margin-bottom: 15px;
}

/* Texto */
.info-box p {
    font-size: 20   px;
    color: #444;
    line-height: 1.6;
}





.seccion-2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 0;
    background-image: linear-gradient(rgba(231, 231, 231, 0.977)), url('img/fondo.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 600px; /* Asegura que tenga suficiente espacio */
}


.seccion-2-dentro h1 {
    color: var(--color-hoverNavegacion); /* Marrón oscurito */
    font-size: 100px;
}

.seccion-2-dentro h3 {
    font-family: Damion, sans-serif;
    color: var(--color-hoverNavegacion);
    font-size: 50px;
    font-weight: 400;
}

/* Diseño de la cuadrícula */

/* Estilo de cada plan */
.plan {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 300px;
    max-width: 300px;
    flex: 0 0 auto;
    margin: 0 5px;}

.plan img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.plan img:hover {
    transform: scale(1.05);
}


/* Botón mejorado */

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas */
    grid-auto-rows: 200px; /* Altura base */
    gap: 15px; /* Espaciado entre imágenes */
    padding: 20px;
    width: 100%;
    max-width: 1900px;
    margin-top: 20px; /* Espacio entre título y galería */
    align-items: center; /* Centrar imágenes verticalmente */
}

.galeria-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}


.galeria-grid img:hover {
    transform: scale(1.05);
}


/* Hacer que la primera imagen sea más grande */
.galeria-grid img:first-child {
    grid-column: span 2; /* Ocupa dos columnas */
    grid-row: span 2; /* Ocupa dos filas */
}


.ver-todas {
    margin-top: 30px;
    text-align: center;
}

.boton-ver-todas {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-hoverNavegacion);
    color: white;
    font-size: 25px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.boton-ver-todas:hover {
    background-color: #466046;
}


/* Título de Contacto más grande y llamativo */
.seccion-contacto h2 {
    font-size: 50px; /* Aumentamos el tamaño */
    font-weight: bold;
    color: var(--color-titulos); /* Color principal */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2); /* Efecto de sombra */
}


/* Estilos para el título */
.titulo-ubicacion {
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    color: var(--color-titulos);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    margin-top: 150px;
    

}


/* Sección que contiene la info del pueblo a la izquierda y la ubicación a la derecha */
.seccion-ubicacion-info {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 50px;
    align-items: stretch; /* 🔥 hace que ambos hijos igualen altura */
    background-color: #f0f0f0;
    align-items: stretch; 
}

.seccion-ubicacion-info h2 {
    font-size: 50px; /* Aumentamos el tamaño */
    font-weight: bold;
    color: var(--color-titulos); /* Color principal */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2); /* Efecto de sombra */
    width: 100%;
    text-align: center;
    
}

.seccion-ubicacion p {
    margin-top: 10px;
    text-align: center;
  }

/* Información del pueblo (izquierda) */
.seccion-info-pueblo {
    flex: 1;

    width: 100%;
    background: #faf6f2; /* Fondo suave para destacar el bloque */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    text-align: justify;
    height: 100%; /* 🔥 Fuerza que ambos bloques tengan la misma altura */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.seccion-info-pueblo h2 {
    font-size: 26px;
    color: var(--color-titulos);
    text-align: center;
    margin-bottom: 15px;
}

.seccion-info-pueblo p {
    font-size: 25px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
}


/* Ubicación (derecha) */
.seccion-ubicacion {
    flex: 1;
    width: 100%;
    background: #faf6f2;
    padding: 20px; /* Usa un padding razonable */
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    text-align: justify;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.seccion-ubicacion iframe {
    width: 100%;
    height: 495px; /* Ajusta este valor a lo que quieras */
    border: 0;
    border-radius: 10px;
}

.seccion-ubicacion p {
    margin-top: 16px;
}

/* Sección general */
.seccion-contacto {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 5%;
    background: #f8f8f8;
    text-align: center;
}

/* Contenedor con dos columnas */
.contacto-contenedor {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    background: white;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 50px;
    flex-wrap: nowrap;
}

/* Columna izquierda */
.contacto-datos {
    width: 100%;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.contacto-datos h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--color-titulos);
}

.contacto-datos p {
    font-size: 20px;
    margin-bottom: 15px;
    color: #444;
}

.contacto-datos a {
    font-weight: bold;
    text-decoration: none;
    color: var(--color-hoverNavegacion);
    font-size: 22px;
}

.contacto-datos a:hover {
    color: rgb(230, 140, 0);
}

.mapa {
    margin-top: 20px;
}

/* Columna derecha */
.contacto-formulario {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contacto-formulario input,
.contacto-formulario textarea {
    width: 100%;
    padding: 14px;
    font-size: 18px;
    margin-top: 12px;
    border: 2px solid #ccc;
    border-radius: 8px;
}

.contacto-formulario textarea {
    height: 150px;
}

.contacto-formulario button {
    margin-top: 20px;
    padding: 16px;
    font-size: 20px;
    background: var(--color-hoverNavegacion);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.contacto-formulario button:hover {
    background: rgb(230, 140, 0);
    transform: scale(1.05);
}



    .carrusel-container {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 100%;
        margin: auto;
        flex-direction: column;
        margin-top: 80px;
        text-align: center;
    }
    
    .titulo-planes {
        font-size: 50px;
        font-weight: bold;
        color: var(--color-titulos);
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
        
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        
        margin-bottom: 40px;
        margin-top: 40px;
        text-align: center;
    }
    
    
    .carrusel-wrapper {
        width: 100%;
        max-width: 810px;
        overflow: hidden;
        position: relative;
    }
    
    .carrusel-inner {
        display: flex;
        transition: transform 0.5s ease;
    }
    
    .plan {
        min-width: 270px; /* Asegura que cada plan tenga un ancho fijo */
        flex-shrink: 0;
        margin: 0 5px;
        box-sizing: border-box;
    }
    
    .plan h3 {
        font-size: 1.1rem;
        margin: 0.5em 0 0.2em;
        color: #5a4d3d; /* un marrón suave */
        font-family: 'Georgia', serif;
    }
    
    
    .plan img {
        width: 100%;
        height: 250px; /* o el alto que necesites */
        object-fit: cover;
        border-radius: 10px; /* opcional: redondear esquinas */
        box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* opcional: darle estilo */
    }
    


    

    .flecha {
        background-color: #8b5e3c;
        color: white;
        border: none;
        padding: 10px 15px;
        cursor: pointer;
        border-radius: 50%;
        font-size: 20px;
        user-select: none;
        margin: 0 20px; /* 👈 espacio a los lados */
    }
    
    
    .carrusel-categorias {
        text-align: center;
        margin-top: 20px;
    }
    

    .carrusel {
        display: flex;
        align-items: center;
        position: relative;
    }
    

      
    .categoria-btn {
        background-color:var(--color-hoverNavegacion);
        color: white;
        border: none;
        margin: 5px;
        padding: 20px 40px;
        font-size: 24px;        
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        margin-top: 35px;
    }
    
    .categoria-btn:hover {
        background-color: #a06b47;
    }

/* ============================
   MEDIA QUERIES RESPONSIVE
===============================*/

@media screen and (max-width: 1024px) {
    .info-container {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .seccion-ubicacion-info {
        flex-direction: column;
        align-items: center;
    }

    .seccion-ubicacion-info iframe {
        width: 100%;
        height: 300px;
    }

    .seccion-ubicacion-info > div {
        width: 100%;
    }

    .seccion-2-dentro h1 {
        font-size: 60px;
    }

    .seccion-2-dentro h3 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {

    /* NAV */
    .navegacion {
        flex-direction: column;
        height: auto;
        padding: 10px;
        align-items: flex-start;
    }

    .barra-navegacion ul {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .li-navegacion {
        width: 100%;
        padding: 10px 0;
        font-size: 16px;
    }

    .logo-telefono {
        flex-direction: column;
        align-items: center; /* 👈 centrado en móvil */
        text-align: center;
        gap: 5px;
    }

    .titulo-navegacion {
        font-size: 20px;
    }

    .contacto-telefono {
        font-size: 16px;
    }

    /* PORTADA */
    .header-completo{
        height: auto;
        padding: 0px;
        width: 100%;
        box-sizing: border-box;

    }


    .imagen-contenido {
        height: auto;
        padding: 40px 20px;
        width: 100%;
        box-sizing: border-box;
        text-align: center; /* por si quieres centrar contenido */

    }
    .imagen-contenido img {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
    }

    .titulo-contenido {
        font-size: 2rem;
    }

    .subtitulo-contenido {
        font-size: 1.3rem;
    }

    .boton-portada {
        font-size: 1rem;
        padding: 10px 20px;
    }


    .info-container {
        flex-direction: column;
        align-items: center;
    }

    .info-box {
        width: 100%;
    }
    /* SECCIÓN 2 */
        .galeria-grid {
            width: 100%;
            padding: 0;
            margin: 0;
            background-color: lightgray;
            display: grid;
            grid-template-columns: 1fr;
            grid-auto-rows: auto;
        }
    
        /* También asegurate que los padres no estén limitando el ancho */
        .seccion-2 {
            display: block; /* Ya no es flex, así no centra nada */
            padding: 0;
            margin: 0;
            width: 100%;
            box-sizing: border-box;
        }
        .seccion-2-dentro h1 {
            font-size: 36px; /* Puedes ajustar según lo que te guste */
        }
    
        .seccion-2-dentro h3 {
            font-size: 22px;
        }
    
    
    
        .galeria-grid img {
            width: 100%;
            height: auto;
            display: block;
        }
    
        .galeria-grid img:first-child {
            grid-column: span 1;
            grid-row: span 1;
        }
    
        html, body {
            margin: 0;
            padding: 0;
        }
    


    .boton-ver-todas {
        font-size: 18px;
        padding: 10px 20px;
    }

    /* CARRUSEL DE PLANES */
    .carrusel-container {
        max-width: 100%;
        margin-top: 50px;
    }

    .titulo-planes {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .carrusel {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        max-width: 100%;
        overflow: visible;
      }

      .carrusel-wrapper {
        max-width: 80%;
        flex-grow: 1;
        overflow: hidden;
      }


      .plan {
        min-width: 90%;
      }
    
      .plan img {
        height: 200px;
      }

    .plan h3 {
        font-size: 1rem;
    }

    .flecha {
        position: relative; /* 🔥 NO absolute aquí */
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        font-size: 22px;
        border: none;
        border-radius: 50%;
        padding: 12px;
        z-index: 10;
      }
    
    .flecha.izquierda {
        left: -20px;
    }
    
    .flecha.derecha {
        right: -20px;
    }
    .categoria-btn {
        font-size: 18px;
        padding: 14px 20px;
        margin-top: 20px;
    }

    /* UBICACIÓN */
    .titulo-ubicacion {
        font-size: 32px;
        margin-top: 80px;
    }

    .seccion-ubicacion-info {
        flex-direction: column;
        padding: 30px 15px;
        gap: 20px;
    }

    .seccion-info-pueblo,
    .seccion-ubicacion {
        width: 100%;
    }

    .seccion-info-pueblo h2,
    .seccion-ubicacion-info h2 {
        font-size: 28px;
    }

    .seccion-info-pueblo p,
    .seccion-ubicacion p {
        font-size: 18px;
        text-align: justify;
    }

    .seccion-ubicacion iframe {
        height: 300px;
    }

    /* CONTACTO */
    .seccion-contacto h2 {
        font-size: 32px;
        text-align: center;
    }

    .contacto-contenedor {
        flex-direction: column;
        gap: 40px;
        padding: 30px 20px;
    }

    .contacto-datos,
    .contacto-formulario {
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    .contacto-datos h3 {
        font-size: 24px;
    }

    .contacto-datos p,
    .contacto-datos a {
        font-size: 18px;
    }

    .contacto-formulario input,
    .contacto-formulario textarea,
    .contacto-formulario button {
        font-size: 16px;
    }

    .contacto-formulario button {
        padding: 14px;
    }

    /* Ajuste general de texto */
    body {
        font-size: 16px;
        width: 100%;
    }

    .contacto-contenedor {
        flex-direction: column;
        gap: 40px;
    }

    .contacto-datos,
    .contacto-formulario {
        width: 100%;
        text-align: center;
    }

    .contacto-datos p,
    .contacto-datos a {
        font-size: 20px;
    }

    .contacto-formulario input,
    .contacto-formulario textarea,
    .contacto-formulario button {
        font-size: 18px;
    }


      
    .titulo-ubicacion {
        display: none;
      }
}




/* Estilo del botón hamburguesa */
.menu-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    font-size: 24px;
    color: var(--color-hoverNavegacion);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease;
    z-index: 1001;
  }
  
  .menu-toggle:hover {
    transform: scale(1.1);
  }
  

  /* Ocultar el menú por defecto en móvil */
  @media (max-width: 1024px) {
    .menu-toggle {
      display: flex;
    }
  
    #main-nav {
      display: none;
      position: absolute;
      top: 60px;
      right: 20px;
      background: white;
      border-radius: 8px;
      padding: 1rem;
      box-shadow: 0 0 10px rgba(0,0,0,0.2);
      z-index: 999;
      flex-direction: column;
      width: 80%;
      max-width: 300px;
    }
  
    #main-nav.show {
      display: flex;
    }
  
    #main-nav ul {
      flex-direction: column;
      gap: 1rem;
      padding: 0;
      margin: 0;
    }
  
    #main-nav a {
      color: #333;
      font-weight: bold;
      font-size: 18px;
      text-decoration: none;
      padding: 0.5rem 0;
      border-bottom: 1px solid #ddd;
    }
  
    #main-nav a:hover {
      color: var(--color-hoverNavegacion);
    }
  }
  




  @media (min-width: 768px) and (max-width: 1024px) {
    /* NAV */
    .navegacion {
      padding: 0 30px;
      height: auto;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }

  
    .barra-navegacion {
      display: flex;
    }
  
    .barra-navegacion ul {
      display: flex;
      flex-direction: row;
      gap: 20px;
    }
  
    .li-navegacion {
      font-size: 16px;
      padding: 10px;
    }
  
    /* HEADER */
    .header-completo {
        min-height: 90vh;
        height: auto;
        padding: 20px;
    }
  
    .titulo-contenido {
      font-size: 2.8rem;
    }
  
    .subtitulo-contenido {
      font-size: 1.5rem;
    }
  
    /* PLANES */
    .carrusel-container {
      margin-top: 50px;
      padding: 0 20px;
    }
  
    .plan {
      min-width: 45%;
    }
  
    .plan img {
      height: 220px;
    }
  
    .titulo-planes {
      font-size: 44px;
    }
  
    /* GALERÍA */
    .galeria-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      padding: 10px;
    }
  
    .galeria-grid img:first-child {
      grid-column: span 2;
    }
  
    /* UBICACIÓN */
    .seccion-ubicacion-info {
      flex-direction: row;
      padding: 30px;
      gap: 20px;
    }
  
    .seccion-info-pueblo p,
    .seccion-ubicacion p {
      font-size: 20px;
    }
  
    .titulo-ubicacion {
      font-size: 40px;
      margin-top: 100px;
    }
  
    /* CONTACTO */
    .contacto-contenedor {
      flex-direction: row;
      padding: 30px;
    }
  
    .contacto-datos,
    .contacto-formulario {
      padding: 30px;
      font-size: 18px;
    }
  
    .contacto-formulario textarea {
      height: 180px;
    }
  

  
  }
  

  @media (max-width: 1024px) {
    .menu-toggle {
      display: block;
    }
  
    nav ul {
      display: none;
    }
  
    nav ul.mostrar {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 100%;
      right: 0;
      background-color: #fff;
      padding: 10px;
      z-index: 1000;
    }
  }


  
  /* Asegura que el main crezca con el contenido */
  main {
    display: block;
  }
  
  /* Previene que el iframe rompa la altura en pantallas pequeñas */
  .seccion-ubicacion iframe {
    height: 500px !important;
    max-height: 70vh;
  }
  

  /* Espacio extra solo para móviles y tablets para evitar scroll cortado */
@media (max-width: 1024px) {
    .relleno-final {
      height: 120px;
      width: 100%;
      display: block;
    }
  }
  
  @media (max-width: 1200px) {
    .relleno-final {
      height: 160px;
      display: block;
    }
  }
  

  html, body {
    height: auto;
    min-height: 100%;
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
  }
  
  .relleno-final {
    height: 800px;
    display: block;
  }

  body {
    display: block !important;
    position: relative;
  }
  main {
    display: block;
    overflow: visible;
  }
  
  @media (min-width: 768px) and (max-width: 1025px) {
    .relleno-tablet {
      height: 300px;
      display: block;
      width: 100%;
    }
  }
  .whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white !important;
    font-size: 32px;
    border-radius: 50%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    z-index: 99999; /* 🔥 más alto que cualquier otro elemento */
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  
  .whatsapp-button:hover {
    background-color: #1ebd5a;
  }
  
  .whatsapp-button i {
    color: white !important;
  }
  

  .categoria-btn.activo {
    background-color: #a06b47;
    transform: scale(1.05);
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }
  

  @media (min-width: 1025px) {
  .menu-toggle {
    display: none !important;
  }
}
