/* Fuentes */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800&family=Lato:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* Paleta de colores */
:root {
    --color-primary: #2D4059;
    --color-secondary: #EA8217;
    --color-white: #FFFFFF;
    --color-bg-light: #F8F9FA;
    --color-border: #E0E0E0;
    --color-text: #2b2b2b;
    --font-titles: 'Raleway', sans-serif;
    --font-text: 'Lato', sans-serif;
}

/* Elimina el scroll horizontal global */
* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    /*evita que ciertos elementos con position: absolute (como los del carrusel) se salgan del flujo del documento.S*/
}


/*  NAVBAR ___________________________________________________________________________________________________________ */
header {
    background-color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    animation: fadeInDown 0.6s ease;
}

.navbar {
    padding: 12px 0px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/*LOGO  */
.navbar-logo {
    margin-left: 0;
    width: 150px;
}

/* LINKS PRINCIPALES */
.navbar-nav {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
    flex-direction: row;
}

.nav-link {
    font-family: var(--font-titles);
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-secondary);
}

.nav-link.active {
    color: var(--color-black);
    font-weight: 700;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-secondary);
    border-radius: 5px;
}

/* BOTONES */
.actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 10px;
}

.btn-login {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-titles);
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-login:hover {
    transform: scale(1.05);
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-register {
    background-color: var(--color-secondary);
    color: var(--color-white);
    font-family: var(--font-titles);
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15);
}

/* ICONO MENÚ MÓVIL  */
.menu-toggle {
    display: none;
    font-size: 22px;
    color: var(--color-primary);
    cursor: pointer;
}

/* ===============================
   BIENVENIDA USUARIO - HEADER
   =============================== */

.Bienvenido {
    background-color: #2D4059;
    /* azul Aventura Go */
    color: #FFFFFF;
    padding: 8px 14px;
    border-radius: 6px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

/* Ajuste para que no se pegue al botón salir */
.actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bienvenido strong {
    font-weight: 700;
}

.profile-dropdown {
    position: relative;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #2D4059;
    color: #FFFFFF;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    cursor: pointer;
}

.profile-btn i {
    font-size: 16px;
}

.profile-menu {
    position: absolute;
    right: 0;
    top: 46px;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    list-style: none;
    padding: 8px 0;
    display: none;
    z-index: 999;
}

.profile-menu li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #2B2B2B;
    text-decoration: none;
}

.profile-menu li a:hover {
    background-color: #F8F9FA;
}

.profile-menu .divider {
    height: 1px;
    background-color: #E0E0E0;
    margin: 6px 0;
}

.profile-menu .logout {
    color: #EA8217;
    font-weight: 600;
}


/* SECCIÓN HERO____________________________________________________________________________________________________   */
#hero {
    position: relative;
    margin-left: 0;
    padding-right: 0;
    margin-top: 80px;
}

#hero .carousel {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    margin: 0 40px;
}

/* Imágenes del carrusel */
#hero .carousel-item img {
    object-fit: cover;
    filter: brightness(40%);
    max-height: 700px;
}

/* Contenido superpuesto */
#hero .carousel-caption {
    position: absolute;
    top: 43%;
    left: 55%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: #FFFFFF;
    width: 100%;
    font-family: 'Lato', sans-serif;
}

/* Titulares principales */
#hero .carousel-caption h1,
#hero .carousel-caption h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    line-height: 1.1;
}

#hero .carousel-caption h1 {
    font-size: 78px;
}

#hero .carousel-caption h2 {
    font-size: 78px;
    margin-bottom: 20px;
}

/* Párrafos */
#hero .carousel-caption p {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.1;
}

/* === Estilos flechas del carrusel === */
.carousel-control-prev {
    width: 40px;
    height: 20px;
    top: 50%;
    transition: all 0.3s ease;
    font-size: 30px;
}


.carousel-control-next {
    width: 40px;
    height: 20px;
    top: 50%;
    transition: all 0.3s ease;
    font-size: 30px;

}

/* Posicionamiento */
.carousel-control-prev {
    left: 5px;
}

.carousel-control-next {
    right: 5px;
}

/* Controles del carrusel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

/* Caja de búsqueda */
#hero .search-box {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    border-radius: 12px;
    padding: 10px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
    width: fit-content;
}

#hero .search-box strong {
    color: #2B2B2B;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
}

#hero .search-btn {
    background-color: #2D4059;
    color: #FFFFFF;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
}

#hero .search-btn:hover {
    background-color: #EA8217;
}


/* Marca “AVENTURA GO” */
#hero h2.marca {
    font-size: 48px;
    font-weight: 700;
    position: absolute;
    bottom: 40px;
    right: 140px;
    text-align: right;
    color: white;
}

/* ==================================================== SECCIÓN DESTINOS POPULARES ==============================================*/
.destinos-populares {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
    font-family: 'Raleway', sans-serif;
}

/* --- TITULO Y SUBTITULO --- */
.titulo-seccion {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.subtitulo-seccion {
    color: #666;
    font-size: 1rem;
    margin-bottom: 20px;
    max-width: 100%;
    /* NO LIMITA EL ESPACIO */
    width: auto;
    text-align: left;
}


/* --- CONTENEDOR SUPERIOR (TITULO + SUBTITULO + BUSCADOR) --- */
.destinos-populares-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* CENTRA TODO */
    justify-content: center;
    gap: 10px;
    width: 100%;
    text-align: center;
}

/* --- BUSCADOR --- */
.buscador {
    position: relative;
    width: 350px;
    max-width: 95%;
    margin: 0 auto;
}

.buscador input {
    border: 1px solid #e0e0e0;
    padding: 10px 45px 10px 15px;
    border-radius: 20px;
    background-color: #fff;
    color: #333;
    font-size: 0.9rem;
    width: 100%;
}



/* Espacio entre subtítulo/buscador y las tarjetas */
.fila-subtitulo-buscador {
    display: flex;
    margin-bottom: 40px;
}

.fila-subtitulo-buscador .subtitulo-seccion {
    text-align: left !important;
}

.fila-subtitulo-buscador .col-md-6:last-child {
    display: flex;
    justify-content: flex-end;
}



/* --- TARJETAS --- */
.destino-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform .3s ease;
}

.destino-card:hover {
    transform: translateY(-5px);
}

.destino-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

/* --- ESTRELLAS --- */
.estrellas {
    color: #FFB800;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.estrellas span {
    color: #666;
    font-size: 0.8rem;
}

/* --- BOTÓN MÁS DESTINOS --- */
.btn-ver-mas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    margin-top: 30px;
}

.btn-ver-mas:hover {
    color: #666;
}

/* ================================ SECCIÓN DESTINOS MÁS VISITADOS ======================================== */
.destinos-visitados {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.titulo-seccion-visitados {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 50px;
}

/* === SLIDER CONTAINER === */
.slider-visitados {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

/* === FLECHAS DEL SLIDER === */
.slider-arrow {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 2;
}

.slider-arrow:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.slider-arrow i {
    font-size: 1rem;
}

/* === CONTENEDOR DE TARJETAS === */
.slider-contenido {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    flex: 1;
    justify-content: center;
}

.slider-contenido::-webkit-scrollbar {
    height: 0;
}

/* === TARJETAS === */
.tarjeta-visitado {
    flex: 0 0 320px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-visitado:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* === IMAGEN === */
.imagen-container {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

/* Etiquetas en la imagen */
.etiqueta-oferta {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #000;
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
}

.etiqueta-descuento {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #000;
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* === INFO DE LA TARJETA === */
.tarjeta-info {
    padding: 20px;
}

.tarjeta-titulo {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.tarjeta-estrellas {
    font-size: 0.85rem;
    color: #FFB800;
    margin-bottom: 12px;
}

.tarjeta-estrellas .reviews {
    color: #999;
    font-size: 0.8rem;
}

/* === DETALLES === */
.tarjeta-detalles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.duracion {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.duracion i {
    font-size: 0.9rem;
}

.precio {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 0;
}

.precio-anterior {
    font-size: 0.75rem;
    color: #999;
    text-decoration: line-through;
}

.precio-actual {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
}

/* === BOTÓN VER TODOS === */
.btn-todos-destinos {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0;
    justify-content: center;
}

.btn-todos-destinos:hover {
    color: #666;
}

/* E S T I L O S    F O O T E R-_________________________________________________________________________________________ */
/* footer superior */
.footer-top {
    width: 100%;
    align-content: center;
    background-color: #2D4059;
    color: white;
    padding: 5px 0;
}


.footer-top .row .col-md-12 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

.footer-top h2 {
    color: white;
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: 400;
    margin-left: 315px;
}

@keyframes palpitar {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.palpitando {
    animation: palpitar 1.5s infinite ease-in-out;
}

.footer-top a {
    background-color: #EA8217;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    font-family: 'Raleway', sans-serif;
    border-radius: 20px;
    padding: 10px 20px;
    transition: transform 0.3s ease;
    margin-right: 375px;
}

.footer-top a:hover {
    transform: scale(1.05);
    text-decoration: none;
}

/* FOOTER INFERIOR------------------------------------------------------------------------ */
.footer-bottom {
    background-color: var(--color-bg-light);
    color: white;
    padding: 40px 20px;
    font-family: 'Lato', sans-serif;
}

.footer-bottom .row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 40px;
}

/* Cada columna ocupa espacio automático */
.footer-bottom .col-md-2 {
    flex: 1;
    min-width: 0;
    /* Permite que se ajusten */
}

/* Logo  */
.logo-section img {
    max-width: 230px;
    margin-bottom: 0px;
    margin-top: 23px;
    margin-left: -6px;
    width: 115%;
}

/* y descripción */
.description {
    font-size: 12px;
    line-height: 1.4;
    color: var(--color-text);
    margin-top: 0px;
    margin-left: -30px;
    margin-right: -20px;
}

/* Títulos */
.dest-section,
.enlaces-section,
.contacto-section,
.redes-section {
    font-family: 'lato', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: var(--color-text);
    margin-left: 35px;

}

/* Listas */
.footer-bottom .list-unstyled li {
    margin-bottom: 5px;
    font-size: 12px;
    color: var(--color-text);
    margin-left: 35px;
    margin-right: -40px;
}

.footer-bottom .list-unstyled a {
    color: var(--color-text);
    text-decoration: none;
}

.footer-bottom .list-unstyled a:hover {
    color: #EA8217;
}

/* Contactos */
.contact-list li {
    font-size: 12px;
    color: #cccccc;
    margin-bottom: 8px;
}

/* Redes sociales en fila */
.social-links {
    display: flex;
    gap: 10px;
    margin-left: 50px;
}

.social-links a {
    color: var(--color-primary);
    font-size: 16px;
    text-decoration: none;
}

.social-links a:hover {
    color: #EA8217;
}


/* ===================================================================================
   MODAL REGISTRO 
   ================================================================================= */

#registroModal .modal-content {
    border-radius: 20px;
    border: 1px solid #E0E0E0;
    background-color: #FFFFFF;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

#registroModal .modal-header {
    border-bottom: 1px solid #E0E0E0;
    padding: 20px 24px;
    background-color: #F8F9FA;
}

#registroModal .modal-title {
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #2D4059;
}

/* Fondo suave del body del modal */
#registroModal .modal-body {
    background-color: #F8F9FA;
    padding: 32px 24px;
}

/* ================================
   TARJETAS
   ================================ */

.card-registro {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 18px;
    transition: all 0.25s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Línea superior decorativa */
.card-registro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, #EA8217);
}

/* Hover premium */
.card-registro:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    border-color: #EA8217;
}

/* ================================
   ICONOS (EMOJIS)
   ================================ */

.icono-registro {
    font-size: 56px;
    margin-bottom: 12px;
    line-height: 1;
    text-align: center;
}

/* ================================
   TEXTO
   ================================ */

.card-registro .card-title {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #2D4059;
    margin-bottom: 8px;
}

.card-registro .card-text {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    color: #2B2B2B;
    margin-bottom: 20px;
}

/* ================================
   BOTÓN AVENTURA GO
   ================================ */

.btn-aventura {
    background-color: #EA8217;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-aventura:hover {
    background-color: #2D4059;
    color: #FFFFFF;
    transform: scale(1.05);
}

/* ================================
   FONDO GLASSMORPHISM DEL MODAL
   ================================ */

#registroModal .modal-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(224, 224, 224, 0.8);
}

/* Oscurecer ligeramente el fondo detrás del modal */
.modal-backdrop.show {
    opacity: 0.6;
}

/* ================================
   ANIMACIÓN DE ENTRADA TARJETAS
   ================================ */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.card-registro {
    animation: fadeUp 0.6s ease forwards;
}

/* Pequeño delay en cascada */
.card-registro:nth-child(1) {
    animation-delay: 0.1s;
}

.card-registro:nth-child(2) {
    animation-delay: 0.2s;
}

.card-registro:nth-child(3) {
    animation-delay: 0.3s;
}

/* ================================
   HOVER: CARD SELECCIONADA
   ================================ */

.card-registro {
    cursor: pointer;
}

.card-registro:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-color: #EA8217;
}

/* Resaltar icono cuando se hace hover */
.card-registro:hover .icono-registro {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Resaltar botón en hover de la card */
.card-registro:hover .btn-aventura {
    background-color: #2D4059;
}

/* ================================
   RESPONSIVE modal registrate
   ================================ */

@media (max-width: 768px) {
    .icono-registro {
        font-size: 48px;
    }

    .card-registro .card-title {
        font-size: 18px;
    }
}




.buscador {
    display: inline-flex;
    align-items: center;
    background-color: #2D4059;
    padding: 8px 14px;
    border-radius: 50px; /* más pill, más elegante */
    gap: 10px;
    transition: all 0.3s ease;
    border: 1.5px solid transparent;
    width: 220px;
}

.buscador:focus-within,
.buscador:hover {
    border-color: #EA8217;
    box-shadow: 0 0 0 3px rgba(234, 130, 23, 0.15);
}

.buscador input {
    background: transparent;
    border: none;
    outline: none;
    color: #FFFFFF;
    font-family: 'Lato', sans-serif;
    font-size: 13.5px;
    width: 100%;
    order: 2; /* input siempre en el medio */
}

.buscador input::placeholder {
    color: #aab4c2;
    font-size: 13px;
}

.buscador i {
    color: #EA8217;
    font-size: 18px;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s ease;
}




/* =================================================================================
    RESPONSIVE
===================================================================================== */

/* -----------------------------------------------------
   📌 992px — Tablets / Laptops pequeños
----------------------------------------------------- */
@media (max-width: 992px) {

    /* BUSCADOR */
    .buscador {
        width: 100%;
        max-width: 350px;
        margin-top: 10px;
    }

    /* NAVBAR */
    .menu-toggle {
        display: block;
    }

    .navbar-nav {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: var(--color-white);
        flex-direction: column;
        gap: 18px;
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .navbar-nav.show {
        display: flex;
    }

    .actions {
        gap: 8px;
    }

    /* HERO */
    #hero .carousel-caption {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 90%;
    }

    #hero .carousel-caption h1,
    #hero .carousel-caption h2 {
        font-size: 48px;
    }

    #hero .carousel-caption p {
        font-size: 16px;
    }

    #hero .search-box {
        bottom: 15px;
        flex-direction: column;
        gap: 10px;
        padding: 12px 18px;
    }

    #hero .search-btn {
        padding: 8px 20px;
        font-size: 14px;
    }

    #hero h2.marca {
        bottom: 20px;
        right: 20px;
        font-size: 32px;
    }


    /* FOOTER — 992px */
    .footer-top .row .col-md-12 {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-top h2 {
        margin-left: 0;
        font-size: 22px;
    }


    .footer-top a {
        margin-right: 0;
        padding: 8px 18px;
    }

    .footer-bottom .row {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 30px;
    }

    .footer-bottom .col-md-2 {
        flex: 0 0 45%;
    }

    .footer-bottom .list-unstyled li,
    .dest-section,
    .enlaces-section,
    .contacto-section,
    .redes-section {
        margin-left: 0 !important;
    }

    .social-links {
        justify-content: center;
        margin-left: 0;
    }

    .description {
        margin: 20px auto 0 !important;
        padding: 0 20px;
        max-width: 100%;
        text-align: center;
        font-size: 13px;
    }

    .logo-section img {
        margin: 0 auto !important;
        width: 230px !important;
        padding: 16px;
    }
}

/* -----------------------------------------------------
   📌 768px — Tablets verticales
----------------------------------------------------- */
@media (max-width: 768px) {

    .slider-arrow {
        display: none;
    }

    .tarjeta-visitado {
        flex: 0 0 280px;
    }

    /* DESCRIPCIÓN 768px */
    .description {
        margin: 15px auto 0 !important;
        padding: 0 15px;
        max-width: 85%;
        font-size: 12px;
        line-height: 1.5;
    }

    .logo-section img {
        width: 230px !important;
    }
}



/* ================================
   RESPONSIVE modal registrate
   ================================ */

@media (max-width: 768px) {
    .icono-registro {
        font-size: 48px;
    }

    .card-registro .card-title {
        font-size: 18px;
    }
}


/* -----------------------------------------------------
   📌 576px — Celulares estándar
----------------------------------------------------- */
@media (max-width: 576px) {


    .destinos-populares {
        padding: 0 10px;
    }

    .fila-subtitulo-buscador {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .buscador {
        width: 100%;
    }

    .destino-card img {
        height: 180px;
    }

    /* HERO ajustes móviles */
    #hero .carousel {
        margin: 0 10px;
    }

    #hero .carousel-item img {
        max-height: 430px;
    }

    #hero .carousel-caption {
        top: 45%;
        width: 90%;
        text-align: center;
    }

    #hero .carousel-caption h1,
    #hero .carousel-caption h2 {
        font-size: 32px;
    }

    #hero .carousel-caption p {
        font-size: 14px;
    }

    #hero .search-box {
        width: 90%;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        padding: 12px 16px;
        gap: 10px;
        text-align: center;
    }

    #hero .search-box strong {
        font-size: 16px;
    }

    #hero .search-btn {
        width: 100%;
        padding: 10px 0;
        font-size: 14px;
    }

    #hero h2.marca {
        bottom: 10px;
        right: 10px;
        font-size: 22px;
    }

    /* FOOTER — 576px */
    .footer-bottom {
        text-align: center;
        padding: 30px 10px;
    }

    .footer-bottom .row {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .footer-bottom .col-md-2 {
        width: 100%;
        flex: none;
    }

    .logo-section img {
        margin: 0 auto;
    }

    .description {
        margin: 0 auto;
        max-width: 90%;
    }

    .social-links {
        justify-content: center;
        margin-left: 0;
    }

    /* DESCRIPCIÓN 576px */
    .description {
        margin: 15px auto 0 !important;
        padding: 0 10px;
        max-width: 90%;
        font-size: 11px;
        line-height: 1.5;
        text-align: center;
    }

    .logo-section img {
        width: 230px !important;
        margin: 0 auto 10px !important;
    }
}

/* -----------------------------------------------------
   📌 430px — iPhone 14 Pro Max y móviles pequeños
----------------------------------------------------- */
@media screen and (max-width: 430px) {

    /* HEADER */
    .navbar {
        padding: 8px 16px;
    }

    .navbar .container-fluid {
        flex-direction: row;
        justify-content: space-between;
    }

    .navbar-logo {
        width: 100px;
    }

    .navbar-nav {
        display: none;
        top: 60px;
        right: 18px;
        width: 160px;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        border-radius: 12px;
        background-color: var(--color-white);
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    }

    .nav-link {
        font-size: 14px;
        text-align: left;
    }

    .actions {
        gap: 8px;
        margin-right: 5px;
    }

    .btn-login,
    .btn-register {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* HERO */
    #hero {
        margin-top: 60px;
        padding: 0 15px;
    }

    #hero .carousel {
        border-radius: 12px;
        margin: 0 10px;
    }

    #hero .carousel-item img {
        height: 500px;
    }

    #hero .carousel-caption {
        top: 35%;
        width: 90%;
        text-align: left;
    }

    #hero .carousel-caption h1,
    #hero .carousel-caption h2 {
        font-size: 20px;
        text-align: center;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    }

    #hero .carousel-caption p {
        font-size: 11px;
        text-align: center;
    }

    #hero h2.marca {
        display: none;
    }

    #hero .search-box {
        width: 80%;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 20px;
        gap: 10px;
    }

    #hero .search-btn {
        padding: 6px 14px;
        font-size: 12px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    /* FOOTER — 430px */
    #footer {
        text-align: center;
        padding: 0;
    }

    .footer-top {
        padding: 20px 15px;
    }

    .footer-bottom {
        padding: 30px 15px;
    }

    .footer-bottom .row {
        flex-direction: column;
        gap: 25px;
    }

    .logo-section img {
        width: 150px;
    }

    .description {
        max-width: 100%;
        padding: 0 10px;
        font-size: 14px;
    }

    .footer-bottom .list-unstyled li {
        font-size: 14px;
        margin: 0;
    }

    .contact-list li {
        justify-content: center;
        gap: 8px;
    }

    .social-links {
        justify-content: center;
        gap: 15px;
        margin-top: 10px;
    }

    .social-links a i {
        font-size: 18px;
    }
}