/* ==========================================================
   HACIENDA YANAY – FOOTER COMPLETO (OPTIMIZADO Y SIN DUPLICADOS)
   ========================================================== */

/* =====================================
   FIX GLOBAL — Quitar límites de ancho
   de Elementor / Hello Theme
   ===================================== */
.site-footer,
footer.site-footer,
.site-footer-inner,
footer .site-footer-inner {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body, html,
#page,
.elementor,
.elementor-section,
.elementor-container {
    max-width: 100% !important;
    overflow-x: hidden !important;
}


/* =====================================
   FOOTER — CONTENEDOR GENERAL
   ===================================== */
.site-footer {
    background-color: #4A6C3D;
    font-family: 'Poppins', sans-serif;
    color: #d5d8c1;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


/* =====================================
   FOOTER HERO (BANNER SUPERIOR)
   ===================================== */
.footer-hero {
    position: relative;
    width: 100%;
    background-image: url('../images/footer-hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    padding: 100px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 230px;
    color: #fff;
}

.footer-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.footer-hero > * {
    position: relative;
    z-index: 2;
}

.btn-reserva-footer {
    border: 2px solid #fff;
    padding: 12px 32px;
    font-size: 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    transition: 0.3s;
}

.btn-reserva-footer:hover {
    background: #fff;
    color: #4A6C3D;
}


/* =====================================
   CONTENIDO PRINCIPAL DEL FOOTER
   ===================================== */
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.footer-links,
.footer-info,
.footer-map {
    flex: 1;
    min-width: 260px;
}

.footer-links h3,
.footer-info h3,
.footer-map h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 20px;
}


/* =====================================
   ENLACES
   ===================================== */
.footer-links a {
    display: block;
    margin-bottom: 14px;
    font-size: 1.1rem;
    color: #d5d8c1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}


/* =====================================
   CONTACTO
   ===================================== */
.footer-info p {
    margin-bottom: 18px;
    font-size: 1.1rem;
    line-height: 1.9;
}

.footer-info i {
    margin-right: 10px;
    color: #e0e3c8;
}


/* =====================================
   ICONOS DE REDES SOCIALES
   ===================================== */
.footer-social {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.footer-social a:hover {
    background: rgba(255,255,255,0.35);
}


/* =====================================
   MAPA
   ===================================== */
.footer-map iframe {
    width: 100%;
    max-width: 350px;
    height: 300px;
    border-radius: 12px;
    border: none;
}


/* =====================================
   COPYRIGHT
   ===================================== */
.footer-copyright {
    text-align: center;
    color: #d5d8c1;
    padding: 25px 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 1rem;
}


/* =====================================
   RESPONSIVE
   ===================================== */
@media (max-width: 900px) {
    .footer-hero {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 70px 20px;
    }

    .btn-reserva-footer {
        margin-top: 15px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-map iframe {
        max-width: 100%;
    }
}

@media (max-width: 500px) {
    .footer-hero {
        font-size: 1.2rem;
        padding: 50px 15px;
    }

    .btn-reserva-footer {
        padding: 10px 25px;
        font-size: 1rem;
    }
}
/* =======================================================
   FIX — Enlaces del footer SIEMPRE blancos (sin azul)
   ======================================================= */

.footer-info a,
.footer-info a:visited,
.footer-info .footer-link {
    color: #fff !important;
    text-decoration: none !important;
}

.footer-info a:hover,
.footer-info .footer-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}


------------------fix alineado al centro-------------------

/* =====================================
   FIX — CENTRAR CONTENIDO DEL FOOTER HERO
   ===================================== */
.footer-hero {
    display: flex;
    align-items: center;
    justify-content: center;   /* centra horizontal */
    text-align: center;
}

.footer-hero .footer-hero-inner {
    max-width: 1400px;         /* controla el ancho para pantallas muy grandes */
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

@media (max-width: 900px) {
    .footer-hero .footer-hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}
/* ==========================================================
   FOOTER HERO — CENTRADO + ESPACIO ELEGANTE ENTRE ELEMENTOS
   ========================================================== */

.footer-hero {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 100px 20px !important;   /* <-- AUMENTA EL ALTO DEL HERO */
    position: relative;
}

/* Contenedor interno */
.footer-hero-inner {
    max-width: 1200px !important;
    width: 100% !important;

    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;

    gap: 500px !important;   /* <-- AQUI AUMENTAS EL ESPACIO ENTRE TEXTO Y BOTÓN */
}

/* Mobile */
@media (max-width: 1100px) {
    .footer-hero-inner {
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 25px !important;   /* espacio más pequeño en móvil */
    }
}

/* ===========================================
   FIX — Título del footer hero en una sola línea
   =========================================== */
.footer-hero-inner h2 {
    white-space: nowrap !important;    /* evita salto de línea */
    font-size: 2.2rem !important;      /* opcional: tamaño elegante */
    margin: 0 !important;
}
/* ===========================================
   FIX — Botón "Reserva ahora!" en una sola línea
   =========================================== */
.btn-reserva-footer {
    white-space: nowrap !important;   /* evita que el texto se parta */
    padding: 12px 32px !important;    /* ajusta el espacio interno */
    display: inline-flex !important;  /* asegura comportamiento perfecto */
    align-items: center !important;
    justify-content: center !important;
}


.btn-reserva-footer {
    border: 3px solid #ffffff !important;   /* borde blanco real */
    border-radius: 30px !important;
    padding: 12px 32px !important;
    font-weight: 600;
    text-decoration: none;
    color: #fff !important;
    transition: 0.25s ease-out;
    outline: none !important;       /* quita el borde del navegador */
}

/* Hover elegante */
.btn-reserva-footer:hover {
    background: #ffffff !important;
    color: #4A6C3D !important;
}
/* BOTÓN RESERVA AHORA SIEMPRE CON BORDE BLANCO */
.btn-reserva-footer {
    border: 3px solid #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Evitar que al hacer clic el navegador lo borre */
.btn-reserva-footer:focus,
.btn-reserva-footer:active {
    border: 3px solid #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
}
