:root {
    --verde: #00A149;
    --blanco: #fff;
    --rojo: #c23539;
    --azul: #1278cb;
    --negro: #000;
    --marron: rgb(110, 38, 8);
    --titulo: 'Arima Madurai', cursive;
    --parrafos: 'Mulish', sans-serif;
    --tablet: 768px;
}

html {
    font-size: 62.5%;
    box-sizing: border-box;
    overflow-x: hidden;
}

body {
    font-size: 1.6rem;
}

*,
*::after,
*::before {
    box-sizing: inherit;
}

/*Globales*/
.contenedor {
    max-width: 120rem;
    margin: 0 auto;
    width: 95%;
}

h1,
h2 {
    font-family: var(--titulo);
}

h3,
p,
a {
    font-family: var(--parrafos);
}

.marron {
    color: var(--marron);
}

.btn {
    text-decoration: none;
    color: var(--blanco);
    font-size: 2rem;
    text-transform: capitalize;
    padding: 1rem 3rem;
    border-radius: 10px;
    transition: all 0.4s ease-in-out;
}

.btn-verde {
    background-color: var(--rojo);
    border: none;
    display: inline-block;
    margin-bottom: 2rem;
    font-family: var(--parrafos);
}

.texto-encabezado .bordes {

    border: 1px solid var(--blanco);
}


.bordes:hover {
    color: #990202;
    background: linear-gradient(90deg, #dc696daf, #4e98d4ac);

}

.texto-encabezado .bordes:hover {
    color: #ffffff;
    border: 1px solid var(--blanco);
}

img {
    max-width: 100%;
}

/*Encabezado */
.contenedor-navegacion {
    background:
        #F7F7F7;
    background-color: #F7F7F7;
    background-size: 20px 20px;
    position: fixed;
    width: 100%;
    z-index: 5;


}

.contenido-navegacion {
    display: flex;
    align-items: center;
    justify-content: space-around;

}

.logo img {
    width: auto;
    height: 70px;
    cursor: pointer;
}

.logo h2 {
    color: var(--negro);
    text-transform: uppercase;
    font-size: 3rem;
}



.navegacion a {
    text-decoration: none;
    font-size: 2rem;
    padding: 1.8rem;
    color: var(--negro);
    transition: color .6s ease-in-out;
}

.nav-link {
    /* Define la transición para TODAS las propiedades */
    /* Esto asegura que el cambio de sombra y la transformación sean SUAVES */
    transition: all 0.3s ease-in-out;

    /* Importante para el levantamiento:  */
    /* Permite que el elemento reciba la sombra de manera adecuada */
    display: inline-block;
}

.navegacion a:nth-child(even):hover {
    color: var(--rojo);
    transform: translateY(-1px);

    /* Agrega una SOMBRA que simule la elevación */
    /* El 4to valor (4px) es el 'spread' (expansión) para que la sombra sea más visible */
    box-shadow: 0 5px 11px rgba(150, 4, 4, 0.3);
    border-radius: 10px;

}

.navegacion a:nth-child(odd):hover {
    color: var(--azul);

    /* Mueve el elemento ligeramente hacia ARRIBA (-3px en el eje Y) */
    transform: translateY(-1px);

    /* Agrega una SOMBRA que simule la elevación */
    /* El 4to valor (4px) es el 'spread' (expansión) para que la sombra sea más visible */
    box-shadow: 0 5px 11px rgba(150, 4, 4, 0.3);
    border-radius: 10px;

}

.nav-toggle {
    color: white;
    background: none;
    border: none;
    font-size: 30px;
    padding: 0 20px;
    line-height: 60px;
    cursor: pointer;
    display: none;
    transition: 2s;
}

/* End-Encabezado*/
/* VIDEO*/
video {
    width: 100%;
    height: 100%;
}

.contenido-header {
    position: relative;
}

.contenido-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.308);
}

.texto-encabezado {
    display: flex;
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 95%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 15px;
}

.texto-encabezado h1 {
    color: var(--blanco);
    font-family: 'Times New Roman', Times, serif;
    font-size: 8rem;
    justify-content: center;
    text-align: center;
    line-height: 50px;
    font-weight: 600;
}

.texto-encabezado h2 {
    color: var(--blanco);
    font-family: 'Times New Roman', Times, serif;
    font-size: 2rem;
    justify-content: center;
    text-align: center;
}

/* END VIDEO*/


/***SOBRE NOSOTROS***/
/* --- Estilos Generales y Fondo Dinámico --- */

.nosotros-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 80px 10%;
    gap: 60px;

    /* 🎨 NUEVO FONDO DINÁMICO */
    background-color: #f7f9fc;
    /* Color base muy claro */
    /* Gradiente sutil para crear una sensación de profundidad */
    background-image: radial-gradient(circle at top right, rgba(160, 210, 250, 0.2) 10%, transparent 60%),
        radial-gradient(circle at bottom left, rgba(60, 150, 220, 0.1) 15%, transparent 70%);
    /* Transición suave para el fondo (si se usa JavaScript para cambiarlo) */
    transition: background-color 0.5s ease;
    border-radius: 10px;
    /* Bordes redondeados para un look moderno */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Sombra sutil */
}

/* --- Estilos de Texto --- */

.contenido-texto {
    flex: 1;
    max-width: 50%;
    background: #EDF4FA;

}

.titulo {
    font-size: 3.5em;
    margin-bottom: 25px;
    color: #007bff;
    text-transform: uppercase;
    border-bottom: 3px solid #6c757d;
    padding-bottom: 10px;
}

.parrafo {
    font-size: 1.15em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #495057;
    text-align: justify;
}




.galeria-imagenes {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 50%;
}

.imagen-item img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease;

    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.imagen-item img:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.25);
}


/* --- Estilos del MODAL (mantener o pegar del anterior) --- */
.modal {

    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-contenido {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 900px;
    animation-name: zoom;
    animation-duration: 0.6s;
    border-radius: 10px;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.cerrar {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.cerrar:hover,
.cerrar:focus {
    color: #ccc;
    text-decoration: none;
    cursor: pointer;
}

/* --- Media Queries (Hacer Responsive - mantener o pegar) --- */

@media (max-width: 900px) {
    .nosotros-section {
        flex-direction: column;
        padding: 40px 5%;
    }

    .contenido-texto,
    .galeria-imagenes {
        max-width: 100%;
    }

    .galeria-imagenes {
        grid-template-columns: 1fr;
        /* Una imagen por fila en móvil */
        margin-top: 30px;
    }
}

/*SECCION contacto tarjeta */
.contacto {
    margin-top: 60px;
    /* Ajusta según lo que necesites */
    position: relative;
    padding: 30px 20px 14px;
    text-align: center;
    color: #fff;
    background: url("/img/imgN2.jpg") center/cover no-repeat;
}

/* Oscurecer la imagen */
.contacto::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.contacto .contenido {
    position: relative;
    z-index: 2;
}

.btn-whatsapp {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 25px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: .3s;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
}



/*SECCION SERVICIOS */

.section-padding {
    padding-top: 8rem;

    background: #FEFFFE;
}

.title,
.service-title {
    font-family: 'Fira Sans', sans-serif;
    font-size: 35px;
    text-transform: uppercase;
}

.item-img {
    margin-bottom: 15px;
}

.sub-title {
    font-size: 20px;
}

.bottom-line {
    margin-top: 10px;
    margin-bottom: 20px;
    border: 0;
    border-top: 0px;
    height: 3px;
    width: 40px;
    background-color: #de0707;
}

.wrap-item h3 {
    font-size: 24px;
    line-height: 25px;
}

.pad-bt15 {
    padding-bottom: 15px;
}

.sec-sub-title {
    padding-top: 30px;
}

.sec-sub-title {
    font-size: 16px;
    font-weight: bold;
    color: #1b4444;
    text-transform: uppercase;
    margin: 25px 0px;
    line-height: 1.7;
}

#service {
    background-color: #F3F4F8;
}

ul.service-list li i {
    color: #002F2F;
    padding-right: 10px;
}

.learn-more,
.learn-more:hover,
.learn-more:focus {
    z-index: 2;
    height: 50px;
    width: 175px;
    background: #046380;
    display: inline-block;
    text-align: center;
    color: #ffffff;
    line-height: 50px;
    text-transform: uppercase;
    font-size: 16px;
    text-decoration: none;
    margin-right: 10px;
    margin-top: 45px;
    text-decoration: none;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}

.visit-portfolio,
.visit-portfolio:hover,
.visit-portfolio:focus {
    z-index: 0;
    height: 50px;
    width: 175px;
    display: inline-block;
    text-align: center;
    color: #495376;
    line-height: 50px;
    text-transform: uppercase;
    font-size: 16px;
    text-decoration: none;
    border: 1px solid #838aa1;
    margin-top: 45px;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}

.bx-wrapper img {
    z-index: 0;
    width: 70px;
    display: inline-block;
    border-radius: 50%;
    border: 5px solid #fff;
    margin-bottom: 15px;
}

.service-item h3 span {
    z-index: 0;
    opacity: 0.7;
    font-size: 75px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -5px;
    font-weight: 900;
    padding-right: 6px;
}

.service-item h3 {
    font-weight: 700;
}

.service-item p {
    opacity: 0.6;
    color: inherit;
    padding: 10px 0px;
}

.service-item a {
    color: #be9e21;
}

.mr-btn-15 {
    margin-bottom: 15px;
}

.padding-right-zero {
    padding-right: 0px !important;
}

.bx-wrapper {
    margin: 0 auto 35px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-item figure {
    margin: 0;
    padding: 0;
    position: relative;
    cursor: pointer;
}

.portfolio-item figure img {
    display: block;
    position: relative;
    z-index: 0;
    margin: -15px 0
}

.portfolio-item figure figcaption {
    display: block;
    position: absolute;
    z-index: 5;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}


.portfolio-item figure h2 {
    font-family: 'Fira Sans', sans-serif;
    color: #fff;
    font-size: 20px;
    text-align: left;
    padding-bottom: 15px;
}

.portfolio-item figure p {
    display: block;
    line-height: 18px;
    margin: 0;
    color: #fff;
    text-align: justify
}

.portfolio-item figure figcaption {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 59px 30px;
    background-color: #178cdf;

    backface-visibility: hidden;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
    text-align: center;
    z-index: 0;
}

.portfolio-item figure img {
    backface-visibility: hidden;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s
}

.portfolio-item figure:hover img,
figure.hover img {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    transform: rotateY(180deg)
}

.portfolio-item figure:hover figcaption,
figure.hover figcaption {
    -webkit-transform: rotateY(0);
    -moz-transform: rotateY(0);
    transform: rotateY(0)
}

/* SIGUIENTE SECCION LUEGO DE SERVICIOS*/
.seccion-hotel {
    width: 100%;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    background: #EDF4FA;
}

.contenedor-hotel {
    display: grid;
    grid-template-columns: 55% 55%;
    /* La imagen domina */
    align-items: center;
    gap: 50px;
    max-width: 1400px;
    width: 100%;
}

.contenedor-hotel .texto {
    text-align: justify;
}

.contenedor-hotel .texto p {
    font-size: 1.7rem;
}

.contenedor-hotel .texto h1 {
    text-align: center;
}

.imagen img {
    width: 70%;
    border-radius: 35px;
    object-fit: cover;
    height: auto;
}

/* Texto alineado bien sin sobreponerse */
.texto {
    max-width: 550px;
}

/* Responsivo */
@media (min-width: 320px) and (max-width: 768px) {
    .contenedor-hotel {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .texto {
        max-width: 100%;
    }
}

/* Animaciones */
.fade-left,
.fade-right {
    opacity: 0;
    transition: opacity .9s ease-out, transform .9s ease-out;
}

.fade-left {
    transform: translateX(-70px);
}

.fade-right {
    transform: translateX(70px);
}

.visible {
    opacity: 1;
    transform: translateX(0);
}


/*Questions*/
/* ============================================== */
/* ESTILOS SECCIÓN FAQ (Acordeón) */
/* ============================================== */

.faq-section {
    padding: 60px 10%;
    background-color: #EDF4FA; /* Fondo blanco */
    text-align: center;
}

.faq-titulo {
    font-size: 3em;
    color: #007bff;
    margin-bottom: 10px;
}

.faq-subtitulo {
    font-size: 1.2em;
    color: #6c757d;
    margin-bottom: 40px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto; /* Centrar el contenedor de preguntas */
}

.faq-item {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden; /* Muy importante para la animación de altura */
    text-align: left;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-pregunta {
    width: 100%;
    background-color: #f8f9fa; /* Fondo claro de la pregunta */
    color: #343a40;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-pregunta:hover,
.faq-pregunta[aria-expanded="true"] {
    background-color: #e9ecef;
    color: #007bff; /* Color azul al estar activo/hover */
}

/* Icono de Toggle (+ / x) */
.faq-toggle-icon {
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.faq-pregunta[aria-expanded="true"] .faq-toggle-icon {
    /* Rota el '+' 45 grados para que parezca una 'x' o un '-' */
    transform: rotate(45deg); 
}

/* Contenedor de la Respuesta (para la animación) */
.faq-respuesta-wrapper {
    /* La clave de la animación: max-height 0 oculta, max-height alto la muestra */
    max-height: 0; 
    transition: max-height 0.5s ease-in-out; 
    background-color: #ffffff; 
}

.faq-respuesta-wrapper.active {
    /* Un valor suficientemente grande para que se muestre todo el contenido */
    max-height: 300px; 
}

.faq-respuesta {
    padding: 15px 25px;
    margin: 0;
    color: #495057;
    line-height: 1.6;
    border-top: 1px solid #e9ecef;
}

/* --- Responsive para FAQ --- */
@media (max-width: 768px) {
    .faq-titulo {
        font-size: 2.5em;
    }
    .faq-pregunta {
        padding: 15px 20px;
        font-size: 1em;
    }
}

/* ======================================================= */
/* SECCIÓN CONTACTO (RESPONSIVE FINAL)                   */
/* ======================================================= */

/* 🔑 SOLUCIÓN PARA EL ANCHO COMPLETO EN ESCRITORIO */
.seccion-contacto {
    /* Esto garantiza que la sección principal siempre ocupe todo el ancho */
    width: 100%;
    padding: 6rem 0;
    background-color: var(--blanco);
    text-align: center;
}

.titulo-contacto {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--negro);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.linea-contacto {
    border: 0;
    height: 3px;
    width: 60px;
    background-color: var(--azul);
    margin: 10px auto 40px;
}

/* 🔑 SOLUCIÓN PARA CENTRAR EL CONTENIDO EN ESCRITORIO */
.contenido-contacto {
    /* Limita el ancho del contenido interno, pero lo centra horizontalmente */
    max-width: 120rem;
    margin-left: auto;
    /* Centrado automático */
    margin-right: auto;
    /* Centrado automático */
    width: 95%;
    /* Mantiene el padding lateral en móviles */

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    text-align: left;
}

/* --- Columna Izquierda: Info y Mapa --- */
.info-contacto {
    flex: 1;
    padding-right: 20px;
}

.subtitulo-contacto {
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--negro);
    margin-bottom: 30px;
    max-width: 450px;
}

.etiqueta-mapa {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--negro);
    margin-bottom: 10px;
}

.mapa-responsive {
    position: relative;
    padding-bottom: 55%;
    height: 0;
    overflow: hidden;
    margin-bottom: 10px;
}

.mapa-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ampliar-mapa-btn {
    display: block;
    color: var(--azul);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 30px;
}

.titulo-redes {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.iconos-redes a {
    font-size: 2.5rem;
    color: var(--negro);
    margin-right: 20px;
    transition: color 0.3s;
}

.iconos-redes a:hover {
    color: var(--azul);
}

/* --- Columna Derecha: Formulario --- */
.formulario-container {
    flex: 1;
    padding-top: 15px;
}

.formulario-contacto input[type="text"],
.formulario-contacto input[type="email"],
.formulario-contacto input[type="text"][name="subject"],
/* Asegurar que el input de asunto se vea bien */
.formulario-contacto textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 1.6rem;
    font-family: var(--parrafos);
}

.formulario-contacto textarea {
    resize: none;
    min-height: 200px;
}

.btn-enviar-imagen {
    background-color: var(--blanco);
    color: var(--negro);
    border: 1px solid var(--negro);
    padding: 1rem 2.5rem;
    font-size: 1.6rem;
    font-weight: 400;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s;
    float: right;
}

.btn-enviar-imagen:hover {
    background-color: var(--negro);
    color: var(--blanco);
}

.formulario-contacto::after {
    content: "";
    display: table;
    clear: both;
}


/* ======================================================= */
/* MEDIA QUERY UNIFICADA: TABLETAS Y CELULARES (Max. 768px)*/
/* ======================================================= */
@media screen and (max-width: 768px) {

    /* --- 1. Contenedor Principal (Apilamiento) --- */
    .contenido-contacto {
        /* Fuerza la apilamiento vertical */
        flex-direction: column;
        gap: 30px;
        text-align: center;

        /* Aseguramos que ocupe todo el ancho disponible */
        max-width: 100%;
        width: 100%;
        /* Añade un padding horizontal general para evitar pegarse a los bordes */
        padding: 0 20px;
    }

    /* --- 2. Columnas Internas (Ancho Total) --- */
    .info-contacto,
    .formulario-container {
        /* Ocupan el 100% del ancho del padre */
        flex: 1 1 100%;
        max-width: 100%;
        padding: 0;
    }

    /* --- 3. Textos y Títulos (Ajuste de tamaño y centrado) --- */
    .titulo-contacto {
        font-size: 3rem;
        /* Título más pequeño para móviles */
    }

    .subtitulo-contacto {
        font-size: 2rem;
        /* Subtítulo más pequeño */
        max-width: 100%;
        padding: 0 5px;
        line-height: 1.3;
    }

    /* --- 4. Campos y Botón del Formulario --- */
    .formulario-container {
        padding: 0 5px;
    }

    .formulario-contacto input[type="text"],
    .formulario-contacto input[type="email"],
    .formulario-contacto input[type="text"][name="subject"],
    .formulario-contacto textarea {
        /* FUNDAMENTAL: Ocupan el 100% */
        width: 100%;
        padding: 1rem 1.2rem;
        /* Reduce un poco el padding interno */
        font-size: 1.5rem;
        /* Fuente ligeramente más pequeña */
        box-sizing: border-box;
    }

    .btn-enviar-imagen {
        float: none;
        /* Eliminar el float de escritorio */
        width: 100%;
        /* El botón ocupa todo el ancho */
        margin-top: 10px;
        /* Separación del mensaje */
        font-size: 1.5rem;
    }

    /* --- 5. Mapa y Redes Sociales --- */
    .mapa-responsive {
        /* Ajuste de proporción para que el mapa no sea demasiado estrecho */
        padding-bottom: 75%;
    }

    .iconos-redes a {
        font-size: 2.2rem;
        /* Íconos un poco más pequeños */
        margin-right: 15px;
    }
}

/* ======================================================= */
/* FOOTER: ESCRITORIO (Ancho 100%, Contenido Centrado)    */
/* ======================================================= */
.footer {
    width: 100%;
    background-color: #55C8F4;
    color: var(--blanco);
    padding-top: 4rem;
    font-family: var(--parrafos);
}

.footer-contenido {
    /* Centrado y límite de ancho para la estructura de 3 columnas */
    max-width: 140rem;
    /* Usando el valor amplio que definimos */
    margin: 0 auto;
    width: 95%;
    /* Padding lateral en todos los tamaños */

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-bottom: 4rem;
}

/* Distribución de Columnas en Escritorio */
.footer-logo {
    flex: 0 0 25%;
    /* Ancho fijo para el logo */
    max-width: 25%;
}

.footer-frase {
    flex: 0 0 45%;
    /* Ancho fijo para la frase (debe ser la más larga) */
    max-width: 45%;
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.5;
}

.footer-links {
    flex: 0 0 20%;
    /* Ancho fijo para los links */
    max-width: 20%;
    text-align: right;
    /* Links a la derecha */
}

.footer-logo img {
    max-width: 150px;
    height: auto;
    display: block;
}

.lista-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-links a {
    color: var(--blanco);
    text-decoration: none;
    font-size: 1.6rem;
    transition: color 0.3s ease;
}


/* Base del Footer: Derechos de Autor (Ocupa 100% de ancho) */
.footer-base {
    background-color: #222;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid #444;
    width: 100%;
}

.footer-base p {
    margin: 0;
    font-size: 1.4rem;
    color: #bbb;
}


/* ======================================================= */
/* MEDIA QUERY: MÓVILES Y TABLETAS (Max. 768px)           */
/* ======================================================= */
@media screen and (max-width: 768px) {

    /* 🔑 APILAMIENTO Y ANCHO TOTAL DE LAS COLUMNAS */
    .footer-contenido {
        flex-direction: column;
        /* Apila las columnas */
        align-items: center;
        /* Centra los elementos apilados */

        /* Ocupa el 100% del ancho del viewport en móvil */
        max-width: 100%;
        width: 100%;
        padding-left: 10px;
        /* Padding suave a los lados */
        padding-right: 10px;
    }

    /* 🔑 REGLA CRÍTICA: Cada columna ocupa todo el ancho disponible */
    .footer-col {
        flex: 1 1 100%;
        max-width: 100%;
        /* Eliminar límites para que ocupe todo el espacio */
        text-align: center;
        /* Centra el contenido */
        margin-bottom: 3rem;
        /* Espacio entre elementos */
    }

    /* Ajustes Finos para Elementos Específicos */
    .footer-logo img {
        margin: 0 auto 1.5rem auto;
    }

    .footer-frase {
        padding: 0;
        font-size: 1.6rem;
    }

    .lista-links {
        display: flex;
        /* Muestra los links en una fila horizontal */
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

/*PARA MOBILES*/
@media (min-width: 320px) and (max-width: 768px) {

    /****Encabezado*****/
    .contenedor-navegacion {
        background: #183e53;
        height: 70px;
    }

    .logo img {
        display: none;
    }

    .navegacion a {
        display: block;
        font-size: 2.5rem;
    }

    .nav-menu {
        flex-direction: column;
        align-items: ends;
        margin: 0;
        background-color: #f0f1f1;
        position: fixed;
        top: 70px;
        width: 100%;
        border-radius: 2px;
        padding: 50px 0;
        height: calc(100%);
        overflow-y: auto;
        right: 100%;
        transition: right 1s;
        opacity: 0.9;
        text-align: center;
    }

    .navegacion a:first-of-type {
        margin-top: 2.5rem;
    }

    .nav-toggle {
        display: inline-block;
    }

    .nav-menu_visible {
        right: 0;
    }

    .nav-toggle:focus:not(:focus-visible) {
        outline: none;
    }

    .texto-encabezado h1 {
        font-size: 4rem;
    }

    .btn {
        font-size: 2.2rem;
    }

    .bordes {
        border: 1px solid var(--blanco);
    }

    .texto-encabezado {
        height: 50%;
    }

    /***End-Encabezado****/
    /*VIDEO*/
    video {
        width: 100%;
        height: 125%;
    }


    .texto-encabezado {
        height: 90%;
    }

    .texto-encabezado h1 {
        padding-top: 7rem;
        font-size: 4rem;
    }

    .btn {
        font-size: 1.5rem;
    }

    /*END VIDEO*/

    /*SECCION NOSOTROS*/
    .contenedor-nosotros {
        display: block;
        justify-content: space-between;

    }

    .texto-nosotros .bienvenidos {
        font-size: 3.2rem;

    }

    .texto-nosotros h1 {
        font-size: 6rem;
    }

    .texto-nosotros p {
        font-size: 1.5rem;
        margin-bottom: 2rem;

    }

    /*END SECCION NOSOTROS*/
}