/* 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;
}


/* INICIA no modificar, estilos del dropdown--------------------------------------------- */
.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;
}

/* termina no modificar, estilos del dropdown--------------------------------------------- */



/* 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;
}





/* 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;
}

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

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





/* ESTILOS SECCION CARACTERISTICAS __________________________________________________________________________________ */
#caracteristicas {
    background-color: var(--color-bg-light);
    padding: 80px 0;
    text-align: center;
}

/* Título y subtítulo */
#caracteristicas h2 {
    font-family: var(--font-titles);
    color: var(--color-text);
    font-weight: 700;
    font-size: 32px;
}

#caracteristicas .subtitle {
    margin-bottom: 26px;
    font-size: 23px;
}

#caracteristicas .row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
}

#caracteristicas .col-12.col-md-4 {
    display: flex;
    flex: 1;
    min-width: 0;
    /* Importante para flexbox */
}

/* Cards */
.feature-card1,
.feature-card2,
.feature-card3 {
    color: var(--color-white);
    border: 35px solid var(--color-white);
    border-radius: 60px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 85%;
    align-items: center;
}

/* Colores por card */
.feature-card1 {
    background-color: var(--color-primary);
}

.feature-card2 {
    background-color: var(--color-secondary);
}

.feature-card3 {
    background-color: var(--color-primary);
}

/* Ícono superior */
.icono {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    margin-top: 40px;
}

/* Títulos y subtítulos */
.feature-card1 h3,
.feature-card2 h3,
.feature-card3 h3 {
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-card1 h4,
.feature-card2 h4,
.feature-card3 h4 {
    font-family: var(--font-titles);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

/* Texto */
.feature-card1 p,
.feature-card2 p,
.feature-card3 p {
    font-family: var(--font-text);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Imagen circular inferior */
.feature-card1 img.rounded-circle,
.feature-card2 img.rounded-circle,
.feature-card3 img.rounded-circle {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--color-white);
    margin-top: -50px;
}

/* Hover animado */
.feature-card1:hover,
.feature-card2:hover,
.feature-card3:hover {
    transform: translateY(-6px);
    box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.18);
}

/*Descripción inferior*/
.features-description {
    border-radius: 20px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 1100px;
}

.features-description p {
    font-family: var(--font-text);
    color: rgba(0, 0, 0, 0.549);
    font-size: 26px;
    margin-top: -76px;
}




/* seccion letrero movil_______________________________________________________________________________________________________ */
#letrero {
    background: #F8F9FA;
    text-shadow: 3px 1px 1px rgba(140, 140, 140, 0.7);

}

.home-special {
    padding-top: 50px;
    padding-bottom: 50px;
}

.marquee1 {
    position: relative;
    overflow: hidden;
    --anim-width: 1vw;
    --move-initial: calc(0 + var(--anim-width));
    --move-final: calc(-50% + var(--anim-width));
}

/* Contenedor que se mueve */
.marquee__inner {
    width: fit-content;
    display: flex;
    position: relative;
    animation: marquee1 20s linear infinite;
    animation-play-state: running;
}

/* Espaciado entre textos repetidos */
.marquee1 span {
    padding: 0 1.5vw;
    /*vw ancho del área visible del navegador*/
    white-space: nowrap;
}

/* Estilo de las letras */
.home-special-main-title {
    font-family: 'Raleway', sans-serif;
    font-size: 81px;
    line-height: normal;
    text-align: center;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--color-primary);
}

/* Animación para mover el texto */
@keyframes marquee1 {
    0% {
        transform: translateX(var(--move-initial));
    }

    100% {
        transform: translateX(var(--move-final));
    }
}







/* SECCIÓN TESTIMONIOS___________________________________________________________________________________________________ */
#testimonios {
    background-color: var(--color-bg-light);
    padding: 80px 0;
    font-family: var(--font-text);
    color: var(--color-text);
}

/* Título centrado */
#testimonios .row .col-12.col-md-2 {
    display: flex;
    align-items: center;
    justify-content: center;
}

#testimonios h2 {
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 28px;
    color: var(--color-text);
    margin: 0 0 10px;
    text-align: center;
    margin-left: 194px;
}

/* Contenedor del slider: centrado y con máximo ancho */
.slider-testimonios {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px 0 10px;
}

/* Forzar que cada slide centre su contenido*/
.slick-slide {
    display: flex !important;
    align-items: stretch;
    justify-content: center;
    height: auto;
}

/* TARJETA (estilo visual) */
.card-testimonio {
    width: 320px;
    min-height: 420px;
    background: var(--color-white);
    border-radius: 14px;
    padding: 36px 28px 28px;
    box-shadow: 0 10px 30px rgba(45, 64, 89, 0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform .28s ease, box-shadow .28s ease;
    box-sizing: border-box;
    margin: 10px 8px;
}

.card-testimonio:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(45, 64, 89, 0.12);
}

/* Imagen circular superior */
.card-testimonio .cont-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 18px;
}

.card-testimonio .cont-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--color-white);
    box-shadow: 0 4px 12px rgba(45, 64, 89, 0.06);
}

/* Nombre y texto */
.card-testimonio .cont-info h3 {
    font-family: var(--font-titles);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 6px 0 12px;
}

.card-testimonio .cont-info p {
    font-family: var(--font-text);
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 20px;
    flex: 1 0 auto;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Estrellas */
.card-testimonio .star,
.card-testimonio .stars,
.card-testimonio .stars i {
    color: var(--color-secondary);
}

.card-testimonio .star i,
.card-testimonio .star {
    font-size: 14px;
    letter-spacing: 4px;
}

.card-testimonio .star {
    margin-top: 12px;
    margin-bottom: 0;
}

/* Slick dots (puntos) */
.slick-dots {
    display: flex !important;
    justify-content: center;
    padding: 18px 0 0;
    margin: 0;
    list-style: none;
}

.slick-dots li {
    margin: 0 6px;
}

.slick-dotted.slick-slider {
    margin-bottom: 30px;
    margin-left: 190px;
}

.slick-dots li button:before {
    font-size: 10px;
    color: rgba(0, 0, 0, 0.25);
    opacity: 1;
}

.slick-dots li.slick-active button:before {
    color: var(--color-secondary);
    opacity: 1;
}

/* Contenedor general del carrusel */
.testimonios-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}





/* 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: 43px;
    margin-left: -6px;
    width: 115%;
}

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

/* 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;
    }
}

/* ============================================================
   TEAM CARDS — PREMIUM EDITION
   Estilo: Dark Luxury Glassmorphism + Gold Accents
   ============================================================ */

/* -- Variables de diseño ------------------------------------ */
:root {
    --card-height: 360px;
    --color-primary: #2D4059;
    --accent-gold: #c9a84c;
    --accent-gold-light: #e8c97e;
    --dark-surface: #0f0f13;
    --dark-card: #16161f;
    --glass-bg: rgba(22, 22, 31, 0.72);
    --glass-border: rgba(201, 168, 76, 0.18);
    --text-primary: #f0ecdf;
    --text-muted: #9b97a3;
    /* Frente blanco */
    --front-bg: #ffffff;
    --front-border: rgba(45, 64, 89, 0.15);
    --front-text-name: #1a2535;
    --front-text-role: #2D4059;
    --shadow-front: 0 20px 50px rgba(45, 64, 89, 0.18), 0 4px 16px rgba(45, 64, 89, 0.12);
    --shadow-front-hover: 0 28px 60px rgba(45, 64, 89, 0.28), 0 0 24px rgba(45, 64, 89, 0.15);
    /* Dorso oscuro (sin cambios) */
    --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.55), 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 30px rgba(201, 168, 76, 0.12);
    --transition-flip: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* -- Contenedor principal ----------------------------------- */
.card-container {
    background-color: transparent;
    width: 100%;
    height: var(--card-height);
    perspective: 1200px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.card-container:hover {
    transform: translateY(-6px);
    filter: drop-shadow(0 16px 32px rgba(45, 64, 89, 0.18));
}

/* -- El elemento que gira ----------------------------------- */
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: var(--transition-flip);
    transform-style: preserve-3d;
    will-change: transform;
    /* optimización GPU */
}

/* -- Trigger del giro --------------------------------------- */
.card-container:hover .card-inner,
.card-container.is-flipped .card-inner {
    transform: rotateY(180deg);
}

/* -- Base compartida: frente y dorso ----------------------- */
.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ---- ESPACIADO ENTRE TARJETAS ----------------------------- */
/* 👇 LÍNEA 82 — ajusta el padding para separar más o menos   */
.equipo {
    padding: 0 18px;
    /* ← modifica este valor (px) para más/menos espacio */
}

/* ---- FRENTE DE LA TARJETA --------------------------------- */
.card-front {
    background: var(--front-bg);
    border: 1px solid var(--front-border);
    box-shadow: var(--shadow-front);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 2rem;

    /* Resplandor azul sutil en esquinas */
    background-image:
        radial-gradient(ellipse at 15% 0%, rgba(45, 64, 89, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 100%, rgba(45, 64, 89, 0.05) 0%, transparent 50%);
}

/* Línea decorativa azul superior */
.card-front::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    border-radius: 0 0 4px 4px;
    opacity: 0.6;
}

/* Foto del miembro */
.card-front .foto {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.1rem;
    border: 2.5px solid var(--color-primary);
    box-shadow:
        0 0 0 5px rgba(45, 64, 89, 0.10),
        0 8px 24px rgba(45, 64, 89, 0.20);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-container:hover .card-front .foto {
    box-shadow:
        0 0 0 6px rgba(45, 64, 89, 0.18),
        0 10px 30px rgba(45, 64, 89, 0.28);
    border-color: #4a6a8a;
}

/* Nombre */
.card-front h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--front-text-name);
    margin-bottom: 0.35rem;
    letter-spacing: 0.02em;
}

/* Role / etiquetas */
.card-front p {
    font-family: 'Montserrat', 'Trebuchet MS', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--front-text-role);
    margin-bottom: 0.2rem;
    opacity: 0.85;
}

/* ---- DORSO DE LA TARJETA ---------------------------------- */
.card-back {
    background: linear-gradient(145deg, #1a1a26 0%, #12121a 100%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-deep);
    transform: rotateY(180deg);
    padding: 2rem;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

/* Decoración de fondo — círculo dorado difuso */
.card-back::before {
    content: "";
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* Línea decorativa dorada inferior */
.card-back::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    border-radius: 4px 4px 0 0;
    opacity: 0.7;
}

/* Nombre en el dorso */
.card-back h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    margin: 0;
}

/* Descripción */
.card-back p {
    font-family: 'Montserrat', 'Trebuchet MS', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    color: rgb(240, 239, 239);
    line-height: 1.6;
    margin: 0;
    padding: 0 0.5rem;
}

/* Separador */
.card-back hr {
    width: 40px;
    border: none;
    border-top: 1px solid rgba(201, 168, 76, 0.35);
    margin: 0.2rem auto;
}

/* ---- LINK DE GITHUB --------------------------------------- */
.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    border: 1px solid rgba(201, 168, 76, 0.4);
    background: rgba(201, 168, 76, 0.07);
    color: var(--accent-gold-light);
    font-family: 'Montserrat', 'Trebuchet MS', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.2s ease;
    margin-top: 0.25rem;
}

.github-link:hover {
    background: rgba(201, 168, 76, 0.18);
    border-color: var(--accent-gold-light);
    color: #fff;
    box-shadow: 0 0 16px rgba(201, 168, 76, 0.25);
    transform: scale(1.04);
}

/* Icono de Bootstrap Icons heredado del HTML */
.github-link .bi-github {
    font-size: 1rem;
    line-height: 1;
}









/* RESPONSIVE PARA IPHONE 14 PRO MAX - 430px x 932ps_____________________________________________________________________________ */
@media screen and (max-width: 430px) {

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

    .navbar .container-fluid {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0;
    }

    /* Logo */
    .navbar-logo {
        width: 100px;
        margin-left: 0;
    }

    /* Ocultar menú por defecto */
    .navbar-nav {
        display: none;
        position: absolute;
        top: 60px;
        right: 18px;
        width: 160px;
        background-color: var(--color-white);
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        z-index: 1000;
    }

    .navbar-nav.show {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

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

    .nav-link {
        font-size: 14px;
        padding: 0px 12px;
        text-align: left;
        width: 100%;
    }

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

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

    .menu-toggle {
        display: block;
        font-size: 20px;
    }

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

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

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

    /* Títulos del Hero */
    #hero .carousel-caption {
        position: absolute;
        top: 35%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        text-align: left;
    }

    #hero .carousel-caption h1 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 5px;
        text-align: center;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    }

    #hero .carousel-caption h2 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 15px;
        text-align: center;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    }

    /* Párrafos del Hero */
    #hero .carousel-caption .parrafo1,
    #hero .carousel-caption .parrafo2 {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 8px;
        text-align: center;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    }

    /* Marca */
    #hero h2.marca {
        display: none;
        /* font-size: 20px;
            bottom: 55px;
            right: 35px;
            text-align: right; */
    }

    /* Caja de búsqueda */
    #hero .search-box {
        position: absolute;
        bottom: 20px;
        left: 50%;
        width: 80%;
        padding: 10px 20px;
        gap: 10px;
    }

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

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

    /* Controles del carrusel */
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
        /* Ocultar en móvil para más espacio */
    }


    /*SECCION CARACTERÍSTICAS __________________________________________ */
    #caracteristicas {
        padding: 40px 15px;
    }

    /* Título y subtítulo */
    #caracteristicas h2 {
        font-size: 24px;
        text-align: center;
        padding: 0 10px;
        margin-bottom: 10px;
    }

    #caracteristicas .subtitle {
        font-size: 16px;
        text-align: center;
        padding: 0 10px;
        margin-bottom: 30px;
    }

    /* Row y columnas */
    #caracteristicas .row {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-left: 0;
    }

    #caracteristicas .col-12.col-md-4 {
        width: 100%;
        max-width: 320px;
        margin-bottom: 0;
        margin-left: 0;
    }

    /* Tarjetas */
    .feature-card1,
    .feature-card2,
    .feature-card3 {
        width: 100%;
        margin-left: 0;
        border: 15px solid var(--color-white);
        padding: 0 15px;
        height: auto;
        min-height: 380px;
        border-radius: 30px;
    }

    /* Iconos */
    .icono {
        margin-top: 20px;
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    /* Títulos de tarjetas */
    .feature-card1 h3,
    .feature-card2 h3,
    .feature-card3 h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .feature-card1 h4,
    .feature-card2 h4,
    .feature-card3 h4 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    /* Texto de tarjetas */
    .feature-card1 p,
    .feature-card2 p,
    .feature-card3 p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    /* Imágenes circulares */
    .feature-card1 img.rounded-circle,
    .feature-card2 img.rounded-circle,
    .feature-card3 img.rounded-circle {
        width: 80px;
        height: 80px;
        margin-top: 0;
        border: 3px solid var(--color-white);
    }

    /* Descripción inferior */
    .features-description {
        margin: 30px 0 0 0;
        padding: 20px;
        border-radius: 12px;
        max-width: 100%;
    }

    .features-description p {
        font-size: 14px;
        line-height: 1.5;
        margin-top: 0;
    }

    /* Efectos hover más suaves */
    .feature-card1:hover,
    .feature-card2:hover,
    .feature-card3:hover {
        transform: translateY(-3px);
    }




    /*SECCION TESTIMONIOS_________________________________________________________ */
    #testimonios {
        padding: 30px 30px;
    }

    #testimonios.container {
        padding: 0 15px;
    }

    /* Asegurar que las columnas se comporten correctamente */
    #testimonios .col-12.col-md-2,
    #testimonios .col-12.col-md-10 {
        width: 100%;
        padding: 0;
    }

    /* Centrar el título arriba del carrusel */
    #testimonios .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #testimonios h2 {
        font-size: 20px;
        margin-left: -20px;
    }

    /* Ajustar el contenedor del slider */
    .slider-testimonios {
        width: 100%;
        max-width: 360px;
        padding: 0;
        margin: 0 auto;
    }

    /* Ajustar las tarjetas */
    .card-testimonio {
        width: 100%;
        max-width: 300px;
        min-height: auto;
        margin: 0 36px;
        padding: 30px 22px;
    }

    .card-testimonio .cont-img {
        width: 100px;
        height: 100px;
        margin-bottom: 14px;
    }

    .card-testimonio .cont-info h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .card-testimonio .cont-info p {
        font-size: 13px;
        line-height: 1.5;
    }

    .card-testimonio .star i {
        font-size: 13px;
        letter-spacing: 2px;
    }

    /* Centrar los puntos del carrusel */
    .slick-dots {
        padding-top: 14px;
        display: flex !important;
        justify-content: center;
        position: relative;
        left: 0;
        transform: none;
    }

    .slick-dotted.slick-slider {
        margin-left: 0;
        margin-bottom: 20px;
    }


    /* FOOTER___________________________________________________ */
    #footer {
        text-align: center;
        padding: 0;
    }

    /* Sección superior */
    .footer-top {
        padding: 20px 15px;
    }

    .footer-top .row .col-md-12 {
        flex-direction: column;
        gap: 15px;
        margin: 0;
    }

    .footer-top h2 {
        font-size: 16px;
        margin: 0;
        text-align: center;
    }

    .footer-top a {
        padding: 10px 20px;
        font-size: 14px;
        margin: 0;
    }

    /* Footer inferior */
    .footer-bottom {
        padding: 30px 15px;
    }

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

    .footer-bottom .col-md-2 {
        width: 100%;
        margin-bottom: 0;
        text-align: center;
    }

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

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

    .dest-section,
    .enlaces-section,
    .contacto-section,
    .redes-section {
        margin-left: 0;
        font-size: 16px;
    }

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

    .contact-list li {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 14px;
    }

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

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