
/* COLORES DE ES TOURS */

:root {
    --azul-principal: #0047AB;
    --blanco: #FFFFFF;
    --texto: #253047;
    --gris-claro: #EDF2F7;
}


/* ESTILOS GENERALES */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--blanco);
    color: var(--texto);
}


/* BARRA DE NAVEGACIÓN */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 4%;
    background-color: var(--blanco);
    border-bottom: 1px solid var(--gris-claro);
}


/* LOGOTIPO */

.logo {
    color: var(--azul-principal);
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 2px;
    text-decoration: none;
}


/* ENLACES DEL MENÚ */

/* =====================================
   NAVEGACIÓN MODERNA - ES TOURS
===================================== */

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ENLACES DEL MENÚ */

.nav-links a {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 15px;

    color: var(--texto);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;

    text-decoration: none;
    border-radius: 12px;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}

/* LÍNEA DECORATIVA */

.nav-links a::after {
    content: "";

    position: absolute;

    bottom: 5px;
    left: 15px;
    right: 15px;

    height: 2px;

    background-color: #0047AB;
    border-radius: 2px;

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.3s ease;
}

/* EFECTO AL PASAR EL MOUSE */

.nav-links a:hover {
    color: #0047AB;

    background-color: rgba(0, 71, 171, 0.07);

    transform: translateY(-2px);
}

/* ANIMACIÓN DE LA LÍNEA */

.nav-links a:hover::after {
    transform: scaleX(1);
}

/* ACCESIBILIDAD CON TECLADO */

.nav-links a:focus-visible {
    outline: 2px solid #0047AB;
    outline-offset: 3px;
}


/* CONTENIDO PRINCIPAL */

main {
    padding: 80px 4%;
}

main h1 {
    color: var(--azul-principal);
    font-size: 40px;
    margin-bottom: 20px;
}

main p {
    font-size: 18px;
}

/* ==================================
   SECCIÓN PRINCIPAL - HERO
================================== */

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
    min-height: 65vh;
}


/* SUBTÍTULO */

.hero-subtitle {
    display: inline-block;
    color: var(--azul-principal);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 20px;
}


/* TÍTULO PRINCIPAL */

.hero-content h1 {
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.1;
    margin-bottom: 25px;
}


/* DESCRIPCIÓN */

.hero-content p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 550px;
}


/* CONTENEDOR DE BOTONES */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.hero-buttons a {
    display: inline-block;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}


/* BOTÓN PRINCIPAL */

.btn-primary {
    background-color: var(--azul-principal);
    color: white;
}

.btn-primary:hover {
    background-color: #003580;
    transform: translateY(-3px);
}


/* BOTÓN SECUNDARIO */

.btn-secondary {
    color: var(--azul-principal);
    border: 2px solid var(--azul-principal);
}

.btn-secondary:hover {
    background-color: var(--azul-principal);
    color: white;
}


/* ESPACIO PARA LA FOTOGRAFÍA */

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 420px;
    padding: 30px;
    text-align: center;

    background: linear-gradient(
        135deg,
        #edf4ff,
        #d9e8ff
    );

    border-radius: 24px;
}

.hero-image p {
    color: var(--azul-principal);
}


/* ADAPTACIÓN A PANTALLAS PEQUEÑAS */

@media (max-width: 850px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-image {
        min-height: 280px;
    }
}

/* FOTOGRAFÍA DEL FUNDADOR */

.hero-image {
    height: 420px;
    padding: 0;
    overflow: hidden;
    background: transparent;

    box-shadow: 0 15px 40px rgba(0, 71, 171, 0.12);
}

.hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
}

/* FOTOGRAFÍA EN CELULARES */

@media (max-width: 850px) {
    .hero-image {
        height: 320px;
        min-height: 320px;
    }
}

/* ==================================
   SECCIÓN DE TOURS
================================== */

.tours {
    padding: 20px 0 80px;
}


/* ENCABEZADO */

.tours-header {
    max-width: 700px;
    margin-bottom: 45px;
}

.tours-subtitle {
    color: var(--azul-principal);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
}

.tours-header h2 {
    color: var(--azul-principal);
    font-size: clamp(32px, 4vw, 48px);
    margin: 15px 0;
}

.tours-header p {
    line-height: 1.7;
}


/* DISTRIBUCIÓN DE TARJETAS */

.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}


/* DISEÑO DE CADA TARJETA */

.tour-card {
    display: flex;
    flex-direction: column;

    padding: 30px;
    background-color: var(--blanco);

    border: 1px solid var(--gris-claro);
    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(0, 71, 171, 0.06);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}


/* ANIMACIÓN AL PASAR EL MOUSE */

.tour-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 15px 35px rgba(0, 71, 171, 0.14);
}


/* ETIQUETAS DE CATEGORÍA */

.tour-category {
    align-self: flex-start;

    color: var(--azul-principal);
    background-color: #edf4ff;

    font-size: 12px;
    font-weight: bold;

    padding: 8px 12px;
    border-radius: 30px;
}


/* TÍTULOS Y DESCRIPCIONES */

.tour-card h3 {
    font-size: 21px;
    line-height: 1.4;
    margin: 20px 0 12px;
}

.tour-card p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}


/* ENLACES */

.tour-card a {
    color: var(--azul-principal);
    font-weight: bold;
    text-decoration: none;

    margin-top: auto;
}

.tour-card a:hover {
    text-decoration: underline;
}


/* TABLETS */

@media (max-width: 1050px) {
    .tours-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* CELULARES */

@media (max-width: 650px) {
    .tours-grid {
        grid-template-columns: 1fr;
    }
}

/* FOTOGRAFÍAS DE LOS TOURS */

.tour-image {
    width: 100%;
    height: 190px;

    object-fit: cover;
    border-radius: 12px;

    margin-bottom: 20px;
}

/* GALERÍA DESLIZABLE DE TOURS */

.tour-gallery {
    display: flex;
    width: 100%;

    overflow-x: auto;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    border-radius: 12px;
    margin-bottom: 20px;
}


/* FOTOGRAFÍAS DE LA GALERÍA */

.tour-gallery img {
    flex: 0 0 100%;

    width: 100%;
    height: 190px;

    object-fit: cover;
    scroll-snap-align: start;
}

/* CONTENEDOR DE GALERÍA */

.tour-gallery-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.tour-gallery-wrapper .tour-gallery {
    margin-bottom: 0;
}


/* FLECHAS DE NAVEGACIÓN */

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;

    display: grid;
    place-items: center;

    width: 28px;
    height: 28px;

    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(5px);

    color: var(--azul-principal);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;

    font-size: 14px;
    cursor: pointer;

    opacity: 0;

    transition: opacity 0.25s ease,
                background-color 0.25s ease;
}

/* Aparecen al pasar el mouse o usar el teclado */
.tour-gallery-wrapper:hover .gallery-arrow,
.tour-gallery-wrapper:focus-within .gallery-arrow {
    opacity: 1;
}

/* Efecto al pasar sobre la flecha */
.gallery-arrow:hover {
    background: rgba(255, 255, 255, 0.95);
}

.gallery-prev {
    left: 8px;
}

.gallery-next {
    right: 8px;
}

/* En celulares permanecen ligeramente visibles */
@media (hover: none) {
    .gallery-arrow {
        opacity: 0.7;
    }
}

.gallery-counter {
    position: absolute;
    bottom: 8px;
    right: 8px;

    background: rgba(0, 0, 0, 0.45);
    color: white;

    padding: 4px 9px;
    border-radius: 20px;

    font-size: 11px;
    font-weight: 500;

    pointer-events: none;
    backdrop-filter: blur(4px);
}

/* Contador oculto inicialmente */
.gallery-counter {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Aparece al pasar el mouse sobre la imagen */
.tour-gallery-wrapper:hover .gallery-counter,
.tour-gallery-wrapper:focus-within .gallery-counter {
    opacity: 1;
}

/* En celulares permanece visible */
@media (hover: none) {
    .gallery-counter {
        opacity: 1;
    }
}

/* Selector de idiomas */
.language-select {
    padding: 9px 12px;
    border: 1px solid rgba(0, 71, 171, 0.18);
    border-radius: 8px;

    background-color: white;
    color: var(--azul-principal);

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
    transition: border-color 0.3s ease;
}

.language-select:hover,
.language-select:focus {
    border-color: var(--azul-principal);
    outline: none;
}

/* Alinear los elementos del menú */
header nav {
    display: flex;
    align-items: center;
}

/* GALERÍA DEL FUNDADOR */

.hero-image .founder-gallery {
    margin-bottom: 0;
}

.hero-image .founder-gallery .tour-gallery {
    border-radius: 20px;
}

.hero-image .founder-gallery .tour-gallery img {
    width: 100%;
    height: clamp(320px, 40vw, 460px);

    object-fit: cover;
    object-position: center;

    border-radius: 0;
    box-shadow: none;
}

/* EFECTO HOVER DEL FUNDADOR */

.founder-gallery .founder-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    display: flex;
    align-items: flex-end;

    padding: 28px;
    border-radius: 20px;

    background: linear-gradient(
        to top,
        rgba(0, 20, 50, 0.8),
        transparent 65%
    );

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.4s ease;
}

.founder-gallery:hover .founder-overlay,
.founder-gallery:focus-within .founder-overlay {
    opacity: 1;
}

.founder-info {
    color: white;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.founder-gallery:hover .founder-info,
.founder-gallery:focus-within .founder-info {
    transform: translateY(0);
}

.founder-info h3 {
    margin: 0 0 5px;
    color: white;
    font-size: 22px;
}

.founder-info p {
    margin: 0;
    color: #e0eaff;
    font-size: 14px;
}

/* Mantener controles por encima del efecto */
.founder-gallery .gallery-counter {
    z-index: 2;
}

/* Mostrar información en dispositivos táctiles */
@media (hover: none) {
    .founder-gallery .founder-overlay {
        opacity: 1;
    }

    .founder-gallery .founder-info {
        transform: translateY(0);
    }
}

/* AJUSTE DE POSICIÓN DEL TEXTO DEL FUNDADOR */

.hero-image .founder-gallery .founder-overlay {
    padding: 24px 32px 60px;
}

.hero-image .founder-gallery .founder-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;

    width: 100%;
    text-align: left;
}

.hero-image .founder-gallery .founder-info h3,
.hero-image .founder-gallery .founder-info p {
    margin: 0;
    padding: 0;

    width: 100%;
    text-align: left;
    line-height: 1.3;
}

/* VENTANA DE CONSULTAS */

.modal-consulta {
    width: min(90%, 480px);
    max-height: 90vh;
    padding: 0;
    border: none;
    border-radius: 22px;
    background: #ffffff;
    color: #1e293b;

    position: fixed;
    inset: 0;
    margin: auto;

    overflow-y: auto;

    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

/* FONDO OSCURO */

.modal-consulta::backdrop {
    background: rgba(0, 15, 40, 0.65);
    backdrop-filter: blur(5px);
}

/* FORMULARIO */

.modal-consulta form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 35px;
}

/* TÍTULO PRINCIPAL */

.modal-consulta h2 {
    color: #0047AB;
    font-size: 28px;
    line-height: 1.2;
    margin: 0;
}

/* NOMBRE DEL TOUR */

.modal-consulta h3 {
    font-size: 19px;
    line-height: 1.4;
    margin: 0;
}

/* DESCRIPCIÓN */

.modal-consulta p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 10px;
}

/* ETIQUETAS */

.modal-consulta label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

/* CAMPOS */

.modal-consulta input {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;

    border: 1px solid #dbe3ef;
    border-radius: 12px;

    background: #f8fafc;
    font: inherit;
    color: #1e293b;
}

/* EFECTO AL SELECCIONAR */

.modal-consulta input:focus {
    outline: none;
    border-color: #0047AB;
    box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.12);
}

/* BOTÓN */

.modal-consulta button {
    margin-top: 15px;
    padding: 14px;

    border: none;
    border-radius: 12px;

    background: #0047AB;
    color: white;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-consulta button:hover {
    background: #003580;
}

/* ADAPTACIÓN A CELULARES */

@media (max-width: 480px) {
    .modal-consulta form {
        padding: 25px;
    }

    .modal-consulta h2 {
        font-size: 24px;
    }
}

/* BOTÓN X PARA CERRAR LA VENTANA */

.modal-consulta button.modal-cerrar {
    position: absolute;
    top: 16px;
    right: 16px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    border: none;
    border-radius: 50%;

    background: #f1f5f9;
    color: #64748b;

    font-size: 27px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    transition: all 0.3s ease;
}

.modal-consulta button.modal-cerrar:hover {
    background: #e2e8f0;
    color: #0047AB;
    transform: rotate(90deg);
}

/* EVITAR QUE EL TÍTULO SE MONTE SOBRE LA X */

.modal-consulta h2 {
    padding-right: 38px;
}

/* BOTONES DE ITINERARIOS */

.modal-consulta button.btn-itinerario {
    background: #edf4ff;
    color: #0047AB;
    border: 1px solid #c6daf8;
    margin-top: 8px;
}

.modal-consulta button.btn-itinerario:hover {
    background: #dceaff;
    color: #003580;
}

/* TARJETA DE ITINERARIOS PERSONALIZADOS */

.itinerario-banner {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;

    width: 100%;
    box-sizing: border-box;

    margin: 35px auto 0;
    padding: 32px;

    background: linear-gradient(
        120deg,
        #edf5ff 0%,
        #ffffff 65%,
        #f4f9ff 100%
    );

    border: 1px solid #d5e5ff;
    border-radius: 22px;

    box-shadow: 0 15px 45px rgba(0, 71, 171, 0.07);

    text-align: left;
    overflow: hidden;
}

/* ELEMENTO DECORATIVO */

.itinerario-banner::after {
    content: "";

    position: absolute;
    width: 180px;
    height: 180px;

    right: -85px;
    top: -100px;

    border: 35px solid rgba(0, 71, 171, 0.04);
    border-radius: 50%;

    pointer-events: none;
}

.itinerario-banner-content,
.itinerario-banner-btn {
    position: relative;
    z-index: 1;
}

/* SUBTÍTULO */

.itinerario-banner-subtitle {
    display: block;

    color: #0047AB;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* TÍTULO */

.itinerario-banner h3 {
    margin: 10px 0;
    color: #16345c;

    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.2;
}

/* DESCRIPCIÓN */

.tours-header .itinerario-banner p {
    margin: 0;
    max-width: 550px;

    color: #64748b;
    font-size: 14px;
    line-height: 1.7;

    text-align: left;
}

/* BOTÓN */

.itinerario-banner-btn {
    padding: 15px 24px;

    border: none;
    border-radius: 12px;

    background: #0047AB;
    color: #ffffff;

    font: inherit;
    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;
    cursor: pointer;

    box-shadow: 0 8px 22px rgba(0, 71, 171, 0.18);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                background 0.3s ease;
}

.itinerario-banner-btn:hover {
    background: #003580;

    transform: translateY(-3px);

    box-shadow: 0 12px 28px rgba(0, 71, 171, 0.25);
}

.itinerario-banner-btn:focus-visible {
    outline: 3px solid #6ba8ff;
    outline-offset: 3px;
}

/* VERSIÓN MÓVIL */

@media (max-width: 768px) {

    .itinerario-banner {
        grid-template-columns: 1fr;
        gap: 22px;

        padding: 26px 22px;
        text-align: center;
    }

    .tours-header .itinerario-banner p {
        text-align: center;
    }

    .itinerario-banner-btn {
        width: 100%;
    }

}

/* DISEÑO COMPACTO DE LA PÁGINA TOURS */

/* REDUCIR ESPACIO SUPERIOR */

#tours {
    padding-top: 55px;
}

/* OCULTAR TEXTOS SECUNDARIOS */

#tours .tours-subtitle,
#tours .tours-header > p {
    display: none;
}

/* TÍTULO PRINCIPAL */

#tours .tours-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin: 0 0 20px;
    line-height: 1.2;
}

/* REDUCIR SEPARACIÓN CON LAS TARJETAS */

#tours .tours-header {
    margin-bottom: 28px;
}

/* COMPACTAR TARJETA DE ITINERARIOS */

#tours .itinerario-banner {
    padding: 20px 28px;
    margin-top: 15px;
    gap: 20px;
}

/* OCULTAR TEXTOS EXTRA DEL BANNER */

#tours .itinerario-banner-subtitle,
#tours .itinerario-banner-content > p {
    display: none;
}

/* TÍTULO DEL BANNER */

#tours .itinerario-banner h3 {
    font-size: clamp(21px, 2.5vw, 25px);
    margin: 0;
}

/* BOTÓN MÁS COMPACTO */

#tours .itinerario-banner-btn {
    padding: 13px 20px;
}

/* ADAPTACIÓN A CELULARES */

@media (max-width: 768px) {

    #tours {
        padding-top: 35px;
    }

    #tours .itinerario-banner {
        grid-template-columns: 1fr;
        padding: 22px;
        gap: 18px;
    }

    #tours .itinerario-banner-btn {
        width: 100%;
    }

}
/* SEPARACIÓN ENTRE ITINERARIO Y TOURS */

#tours .tours-header > .itinerario-banner {
    margin-top: 0;
    margin-bottom: 35px;
}

#tours .tours-header > h2 {
    margin-bottom: 0;
}
/* DOS TARJETAS UNIFORMES EN TOURS */

/* ACERCAR CONTENIDO A LA NAVEGACIÓN */

#tours {
    margin-top: 0;
    padding-top: 25px;
}

/* ORGANIZAR AMBAS TARJETAS */

#tours .tours-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 16px;

    margin-top: 0;
    margin-bottom: 28px;
    padding-top: 0;
}

/* MISMO TAMAÑO Y SEPARACIÓN */

#tours .tours-header > .itinerario-banner {
    width: 100%;
    min-height: 120px;

    padding: 20px 28px;
    margin: 0;

    box-sizing: border-box;
}

/* TIPOGRAFÍA UNIFORME */

#tours .tours-header .tours-banner h1 {
    margin: 0;

    color: #16345c;

    font-size: clamp(21px, 2.5vw, 25px);
    font-weight: 700;
    line-height: 1.2;
}

/* BOTONES UNIFORMES */

#tours .itinerario-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    box-sizing: border-box;
}

/* UBICACIÓN AL PRESIONAR SEE TOURS */

#listado-tours {
    scroll-margin-top: 100px;
}

/* CELULARES */

@media (max-width: 768px) {

    #tours .tours-header > .itinerario-banner {
        grid-template-columns: 1fr;

        padding: 22px;
        min-height: auto;
    }

    #tours .itinerario-banner-btn {
        width: 100%;
    }

}
/* AJUSTE DE ESPACIO SUPERIOR EN TOURS */

body:has(#listado-tours) main#inicio {
    padding-top: 0;
    margin-top: 0;
}

body:has(#listado-tours) #tours {
    padding-top: 25px;
    margin-top: 0;
}

body:has(#listado-tours) .tours-header {
    padding-top: 0;
    margin-top: 0;
}
/* DESPLAZAMIENTO SUAVE */

html {
    scroll-behavior: smooth;
}/* BOTÓN DE CONSEJOS EN LAS TARJETAS */

.tour-card {
    position: relative;
}

.tour-tip-trigger {
    position: absolute;
    bottom: 18px;
    right: 18px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: 1px solid rgba(0, 71, 171, 0.15);
    border-radius: 50%;

    color: rgba(0, 71, 171, 0.65);

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        border-color 0.3s ease;
}

.tour-tip-trigger:hover {
    background: rgba(0, 71, 171, 0.08);
    border-color: rgba(0, 71, 171, 0.35);
    color: #0047AB;

    transform: scale(1.1);
}

.tour-tip-trigger:focus-visible {
    outline: 2px solid #0047AB;
    outline-offset: 3px;
}/* =================================
   CARA DE CONSEJOS DE LOS TOURS
================================= */

.tour-tips-panel {
    position: absolute;
    inset: 0;
    z-index: 10;

    display: flex;
    flex-direction: column;

    box-sizing: border-box;
    padding: 30px;

    background: linear-gradient(
        145deg,
        #0047AB,
        #2868B9
    );

    color: white;
    border-radius: inherit;

    overflow-y: auto;

    /* Estado inicial de la animación */
    opacity: 0;
    transform: perspective(1000px)
               rotateY(-15deg)
               scale(0.96);

    transform-origin: center;
    pointer-events: none;

    transition:
        opacity 0.4s ease,
        transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Mantener oculta la cara informativa */
.tour-tips-panel[hidden] {
    display: none !important;
}

/* Estado visible */
.tour-tips-panel.is-visible {
    opacity: 1;

    transform: perspective(1000px)
               rotateY(0deg)
               scale(1);

    pointer-events: auto;
}

/* ENCABEZADO */

.tour-tips-header {
    padding-right: 35px;
    margin-bottom: 22px;
}

.tour-tips-header span {
    display: block;

    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;

    color: rgba(255, 255, 255, 0.75);

    margin-bottom: 12px;
}

.tour-tips-header h3 {
    color: white;
    font-size: 25px;
    line-height: 1.25;

    margin: 0;
}

/* LISTA DE CONSEJOS */

.tour-tips-list {
    list-style: none;

    display: flex;
    flex-direction: column;
    gap: 12px;

    margin: 0;
    padding: 0;
}

.tour-tips-list li {
    color: white;

    font-size: 15px;
    line-height: 1.6;

    padding: 10px 13px;

    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

/* BOTÓN X */

.tour-tips-close {
    position: absolute;
    top: 15px;
    right: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    background: rgba(255, 255, 255, 0.12);
    color: white;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;

    font-size: 25px;
    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.tour-tips-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.tour-tips-close:focus-visible {
    outline: 2px solid white;
    outline-offset: 3px;
}

/* PANTALLAS PEQUEÑAS */

@media (max-width: 600px) {
    .tour-tips-panel {
        padding: 22px;
    }

    .tour-tips-header h3 {
        font-size: 21px;
    }

    .tour-tips-list li {
        font-size: 14px;
    }
}

/* RESPETAR PREFERENCIAS DE MOVIMIENTO */

@media (prefers-reduced-motion: reduce) {
    .tour-tips-panel {
        transition: none;
    }
}
/* =====================================
   EFECTO FLIP: TARJETAS DE TOURS
===================================== */

/* Preparar la tarjeta para girar */

#tours .tour-card {
    transform-style: preserve-3d;
    overflow: visible;

    transition:
        transform 0.65s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s ease;
}

/* Ocultar el reverso de los elementos frontales */

#tours .tour-card > :not(.tour-tips-panel) {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Girar la tarjeta completa */

#tours .tour-card:has(.tour-tips-panel.is-visible) {
    transform: perspective(1200px) rotateY(180deg);
}

/* Mantenerla girada al pasar el mouse */

#tours .tour-card:has(.tour-tips-panel.is-visible):hover {
    transform: perspective(1200px) rotateY(180deg);
}

/* Preparar la cara trasera */

#tours .tour-card .tour-tips-panel {
    transform: rotateY(180deg) translateZ(1px);

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    opacity: 1;

    transition: none;
}

/* Mostrar correctamente los consejos */

#tours .tour-card .tour-tips-panel.is-visible {
    transform: rotateY(180deg) translateZ(1px);
    opacity: 1;
}


/* =====================================
   CONSEJOS MÁS COMPACTOS
===================================== */

#tours .tour-tips-panel {
    padding: 18px 20px;
    overflow-y: auto;
}

/* Encabezado */

#tours .tour-tips-header {
    margin-bottom: 12px;
    padding-right: 30px;
}

#tours .tour-tips-header span {
    font-size: 10px;
    letter-spacing: 1.2px;
    margin-bottom: 6px;
}

#tours .tour-tips-header h3 {
    font-size: 19px;
    line-height: 1.2;
}

/* Lista */

#tours .tour-tips-list {
    gap: 7px;
}

#tours .tour-tips-list li {
    font-size: 12.5px;
    line-height: 1.35;

    padding: 8px 10px;
}

/* Botón de cerrar */

#tours .tour-tips-close {
    width: 30px;
    height: 30px;

    top: 12px;
    right: 12px;

    font-size: 21px;
}
/* EVITAR ELEVACIÓN DESPUÉS DEL FLIP */

#tours .tour-card.sin-hover-temporal:hover:not(
    :has(.tour-tips-panel.is-visible)
) {
    transform: perspective(1200px) rotateY(0deg);
}
/* FOTOGRAFÍAS INDIVIDUALES DE TOURS */

.tour-single-photo {
    width: 100%;
    aspect-ratio: 3 / 2;

    overflow: hidden;
    border-radius: 16px;
}

.tour-single-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}
/* LOGO OFICIAL EN NAVEGACIÓN */

.navbar .logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
    text-decoration: none;
}

.navbar .logo-image {
    display: block;

    width: 110px;
    height: 65px;

    object-fit: contain;
}
/* NAVBAR - ONDAS SUAVES SIN CORTES */

.navbar::after {
    content: none !important;
}

.navbar {
    background-color: #ffffff;

    background-image:
        linear-gradient(
            to bottom,
            transparent 0%,
            transparent 35%,
            #ffffff 100%
        ),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath fill='%23EAF8FE' d='M0 45 C250 10 480 100 740 55 S1180 15 1440 45 L1440 180H0Z'/%3E%3Cpath fill='%23C8EBF8' d='M0 95 C260 45 480 135 760 90 S1180 50 1440 95 L1440 180H0Z'/%3E%3Cpath fill='%23A6DCEF' d='M0 140 C260 100 500 165 780 130 S1180 100 1440 135 L1440 180H0Z'/%3E%3C/svg%3E");

    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}/* REDUCIR ESPACIO ENTRE NAVBAR Y PORTADA */

main:has(.hero) {
    padding-top: 40px;
}
/* ==================================
   ABOUT US - ES TOURS
================================== */

/* CONTENEDOR PRINCIPAL */

.about-main {
    padding: 60px 6% 100px;
}


/* PRESENTACIÓN DE LA EMPRESA */

.about-intro {
    max-width: 900px;
    margin: 0 auto 70px;
    text-align: center;
}


/* SUBTÍTULO */

.about-subtitle {
    display: inline-block;

    color: #0047AB;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 4px;
    text-transform: uppercase;

    margin-bottom: 20px;
}


/* TÍTULO PRINCIPAL */

.about-intro h1 {
    font-size: clamp(32px, 4vw, 56px);

    line-height: 1.2;
    font-weight: 700;

    color: #0047AB;

    margin-bottom: 25px;
}


/* DESCRIPCIÓN */

.about-intro p {
    max-width: 700px;

    margin: 0 auto;

    font-size: 17px;
    line-height: 1.9;

    color: #64748b;
}


/* ADAPTACIÓN A CELULARES */

@media (max-width: 768px) {

    .about-main {
        padding: 45px 6% 70px;
    }

    .about-intro h1 {
        font-size: 32px;
    }

    .about-intro p {
        font-size: 15px;
        line-height: 1.7;
    }

}
/* ==================================
   MEET YOUR GUIDE - ES TOURS
================================== */

.guide-section {
    display: grid;

    grid-template-columns: 420px 1fr;

    align-items: center;

    gap: 70px;

    max-width: 1100px;

    margin: 0 auto 100px;
}


/* FOTOGRAFÍA */

.guide-photo {
    width: 100%;
    max-width: 420px;

    border-radius: 24px;
    overflow: hidden;

    box-shadow: 0 15px 40px rgba(0, 71, 171, 0.12);
}

.guide-photo img {
    display: block;

    width: 100%;
    height: 500px;

    object-fit: cover;
    object-position: center;
}


/* INFORMACIÓN */

.guide-content {
    text-align: left;
}

.guide-subtitle {
    display: block;

    color: #0047AB;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 16px;
}

.guide-content h2 {
    color: #0047AB;

    font-size: clamp(32px, 3vw, 46px);

    margin-bottom: 8px;
}

.guide-role {
    display: block;

    color: #64748b;

    font-size: 15px;
    font-weight: 600;

    margin-bottom: 25px;
}

.guide-content p {
    color: #64748b;

    font-size: 16px;
    line-height: 1.9;
}


/* ADAPTACIÓN A CELULARES */

@media (max-width: 850px) {

    .guide-section {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 0 10px;
    }

    .guide-photo {
        max-width: 360px;
        margin: 0 auto;
    }

    .guide-photo img {
        height: 430px;
    }

    .guide-content {
        text-align: center;
    }

}
/* ==================================
   GALERÍA DE AVENTURAS - ES TOURS
================================== */

/* SECCIÓN PRINCIPAL */

.adventures-section {
    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 430px);

    align-items: center;
    gap: 70px;

    max-width: 1100px;
    margin: 0 auto 100px;
}


/* CONTENIDO IZQUIERDO */

.adventures-content {
    text-align: left;
}

.adventures-subtitle {
    display: block;

    color: #0047AB;
    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;
    margin-bottom: 18px;
}

.adventures-content h2 {
    color: #0047AB;

    font-size: clamp(32px, 3.5vw, 50px);
    line-height: 1.2;

    margin-bottom: 22px;
}

.adventures-content p {
    color: #64748b;

    font-size: 16px;
    line-height: 1.9;

    margin-bottom: 28px;
}


/* BOTÓN DE GALERÍA */

.adventures-open {
    background: #0047AB;
    color: white;

    border: none;
    border-radius: 12px;

    padding: 14px 25px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: background 0.3s ease,
                transform 0.3s ease;
}

.adventures-open:hover {
    background: #003580;
    transform: translateY(-3px);
}


/* MOSAICO DERECHO */

.adventures-mosaic {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


/* DOS FOTOGRAFÍAS VERTICALES */

.adventures-vertical-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;
}


/* ESTILO GENERAL DE FOTOGRAFÍAS */

.adventure-tile {
    display: block;

    width: 100%;
    padding: 0;

    border: none;
    border-radius: 18px;

    overflow: hidden;
    position: relative;

    background: #eaf4ff;

    cursor: pointer;

    box-shadow: 0 8px 25px rgba(0, 71, 171, 0.08);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}


/* FORMATO HORIZONTAL */

.adventure-horizontal {
    aspect-ratio: 16 / 9;
}


/* FORMATO VERTICAL */

.adventure-vertical {
    aspect-ratio: 9 / 16;
}


/* IMÁGENES */

.adventure-tile img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}


/* ANIMACIÓN AL PASAR EL MOUSE */

.adventure-tile:hover {
    box-shadow: 0 15px 35px rgba(0, 71, 171, 0.15);
}

.adventure-tile:hover img {
    transform: scale(1.06);
}

.adventure-tile:focus-visible {
    outline: 3px solid #0047AB;
    outline-offset: 4px;
}


/* ADAPTACIÓN A CELULARES */

@media (max-width: 850px) {

    .adventures-section {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .adventures-content {
        text-align: center;
    }

    .adventures-mosaic {
        width: 100%;
        max-width: 430px;

        margin: 0 auto;
    }

}
/* ==================================
   GALERÍA EN PANTALLA COMPLETA
================================== */

/* VENTANA PRINCIPAL */

.adventures-lightbox {
    box-sizing: border-box;

    width: min(980px, calc(100vw - 32px));
    height: min(82vh, 730px);

    max-width: none;
    max-height: calc(100vh - 32px);

    padding: 60px 65px;

    border: none;
    border-radius: 22px;

    background: #081a33;
    color: white;

    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);

    overflow: hidden;
}

/* CENTRAR FOTOGRAFÍA CUANDO ESTÉ ABIERTA */

.adventures-lightbox[open] {
    display: flex;

    align-items: center;
    justify-content: center;
}

/* OSCURECER EL RESTO DE LA PÁGINA */

.adventures-lightbox::backdrop {
    background: rgba(5, 15, 30, 0.88);
    backdrop-filter: blur(6px);
}


/* FOTOGRAFÍA */

#lightbox-image {
    display: block;

    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 10px;
}


/* BOTÓN CERRAR */

.lightbox-close {
    position: absolute;

    top: 18px;
    right: 20px;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);
    color: white;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}


/* FLECHAS */

.lightbox-prev,
.lightbox-next {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);
    color: white;

    font-size: 18px;

    cursor: pointer;

    transition: background 0.3s ease;
}

.lightbox-prev {
    left: 14px;
}

.lightbox-next {
    right: 14px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.22);
}


/* CONTADOR */

.lightbox-counter {
    position: absolute;

    bottom: 18px;
    left: 50%;

    transform: translateX(-50%);

    color: rgba(255, 255, 255, 0.8);

    font-size: 13px;
    letter-spacing: 2px;
}


/* CELULARES */

@media (max-width: 600px) {

    .adventures-lightbox {
        padding: 55px 42px;
        border-radius: 15px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 32px;
        height: 38px;

        font-size: 15px;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }

}
/* CENTRAR LA GALERÍA EN LA PANTALLA */

.adventures-lightbox[open] {
    position: fixed;

    inset: 0;

    margin: auto;
}
/* =====================================
   NAVEGACIÓN — PÁGINA ACTIVA
===================================== */

.nav-links a[href="#inicio"],
.nav-links a[href="#tours"],
.nav-links a[href="#nosotros"] {
    color: #0047AB;
    text-decoration: underline;
    text-decoration-color: #0047AB;
    text-decoration-thickness: 2px;
    text-underline-offset: 9px;
}
/* =====================================
   HERO — PANTALLAS GRANDES
===================================== */

@media (min-width: 851px) {

    .hero {
        width: 100%;
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto;

        grid-template-columns:
            minmax(0, 1.1fr)
            minmax(0, 0.9fr);
    }

    .hero-image .founder-gallery .tour-gallery img {
        height: 420px;
    }

}
/* =====================================
   GALERÍA DEL FUNDADOR — PROPORCIÓN FIJA
===================================== */

@media (min-width: 851px) {

    .hero-image {
        height: auto;
        min-height: 0;
        aspect-ratio: 6 / 5;
    }

    .hero-image .founder-gallery {
        width: 100%;
        height: 100%;
    }

    .hero-image .founder-gallery .tour-gallery {
        height: 100%;
    }

    .hero-image .founder-gallery .tour-gallery img {
        height: 100%;
        object-fit: cover;
    }

}
/* MENÚ HAMBURGUESA */

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #0047AB;
    font-size: 28px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
}

/* MOSTRAR SOLO EN CELULARES */

@media (max-width: 850px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
/* =====================================
   MENÚ DESPLEGABLE PARA CELULARES
===================================== */

@media (max-width: 850px) {

    .navbar {
        position: relative;
    }

    .menu-toggle {
        margin-left: auto;
    }

    .navbar .nav-links {
        position: absolute;
        top: 100%;
        left: 4%;
        right: 4%;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;

        background: white;
        padding: 15px;
        border-radius: 0 0 16px 16px;

        box-shadow: 0 15px 30px rgba(0, 71, 171, 0.12);

        z-index: 1000;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-10px);

        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;
    }

    .navbar .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .navbar .nav-links a {
        width: 100%;
        padding: 12px 15px;
    }

    .navbar .language-select {
        width: 100%;
    }

}
/* =====================================
   MENÚ MÓVIL — DISEÑO ELEGANTE
===================================== */

@media (max-width: 850px) {

    /* BOTÓN HAMBURGUESA */

    .menu-toggle {
        width: 42px;
        height: 42px;
        padding: 0;
        margin-left: auto;

        background: rgba(0, 71, 171, 0.07);
        border: 1px solid rgba(0, 71, 171, 0.12);
        border-radius: 12px;

        color: #0047AB;
        font-size: 24px;
    }

    /* PANEL DESPLEGABLE */

    .navbar .nav-links {
        left: auto;
        right: 16px;

        width: min(290px, calc(100vw - 32px));

        padding: 12px;
        gap: 3px;

        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);

        border: 1px solid rgba(0, 71, 171, 0.10);
        border-radius: 16px;

        box-shadow: 0 20px 45px rgba(0, 40, 100, 0.15);
    }

    /* ENLACES */

    .navbar .nav-links a {
        justify-content: flex-start;
        text-align: left;

        min-height: 44px;
        padding: 12px 14px;

        font-size: 14px;
        border-radius: 10px;
    }

    /* QUITAR SUBRAYADO DENTRO DEL PANEL */

    .navbar .nav-links a::after {
        display: none;
    }

    /* DESTACAR LA PÁGINA ACTUAL */

    .navbar .nav-links a[href="#inicio"],
    .navbar .nav-links a[href="#tours"],
    .navbar .nav-links a[href="#nosotros"] {
        background: #EAF3FF;
        color: #0047AB;
        text-decoration: none;
    }

    /* SELECTOR DE IDIOMAS */

    .navbar .language-select {
        width: 100%;
        margin-top: 8px;
        padding: 11px 12px;

        border-radius: 10px;
        font-size: 13px;
    }

}
/* =====================================
   GALERÍAS DE TOURS — IMÁGENES RESPONSIVAS
===================================== */

#tours .tour-gallery img {
    height: auto;
    aspect-ratio: 8 / 5;
    object-fit: cover;
}
/* =====================================
   DISTINTIVO — TOUR MUY SOLICITADO
===================================== */

.tour-popular-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    background: rgba(235, 246, 255, 0.92);
    backdrop-filter: blur(8px);

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;

    color: #0047AB;

    box-shadow: 0 6px 18px rgba(0, 45, 115, 0.16);

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

/* SÍMBOLO */

.popular-symbol {
    font-size: 23px;
    line-height: 1;
}

/* ANIMACIÓN DEL ÍCONO */

.tour-popular-badge:hover,
.tour-popular-badge:focus-visible {
    transform: scale(1.1);
    background: white;
}

/* MENSAJE EMERGENTE */

.popular-label {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;

    white-space: nowrap;

    padding: 9px 13px;

    background: #0047AB;
    color: white;

    font-size: 12px;
    font-weight: 600;

    border-radius: 9px;

    box-shadow: 0 8px 20px rgba(0, 45, 115, 0.2);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}

/* MOSTRAR MENSAJE AL PASAR EL MOUSE O TOCAR */

.tour-popular-badge:hover .popular-label,
.tour-popular-badge:focus .popular-label {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* ESTRELLA MÁS PEQUEÑA Y DELICADA */

.tour-popular-badge {
    width: 33px;
    height: 33px;

    top: 10px;
    right: 10px;
}

.tour-popular-badge .popular-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* =====================================
   ES TOURS — ANUNCIO DE LA GALERÍA
===================================== */

.lightbox-promo {
    position: relative;
    isolation: isolate;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 760px;
    height: 100%;

    padding: 30px;
    box-sizing: border-box;
    overflow: hidden;

    text-align: center;
    color: #ffffff;

    background: linear-gradient(
        145deg,
        #1268b3 0%,
        #07529b 55%,
        #053568 100%
    );

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);

    gap: 13px;
}

/* MANTENER OCULTO EL ANUNCIO */

.lightbox-promo[hidden],
#lightbox-image[hidden] {
    display: none !important;
}

/* LUZ DECORATIVA */

.lightbox-promo::before {
    content: "";

    position: absolute;
    width: 300px;
    height: 300px;

    top: -150px;
    right: -100px;

    border-radius: 50%;

    background: rgba(125, 213, 255, 0.16);
    filter: blur(30px);

    pointer-events: none;
}

/* SEGUNDA LUZ */

.lightbox-promo::after {
    content: "";

    position: absolute;
    width: 250px;
    height: 250px;

    bottom: -160px;
    left: -80px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);
    filter: blur(35px);

    pointer-events: none;
}

/* CONTENIDO POR ENCIMA DE LAS LUCES */

.lightbox-promo > * {
    position: relative;
    z-index: 1;
}

/* ETIQUETA SUPERIOR */

.promo-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;

    color: #bce7ff;
}

/* ÍCONO DE CÁMARA */

.promo-camera {
    font-size: 52px;
    line-height: 1.2;

    filter: drop-shadow(
        0 8px 18px rgba(0, 0, 0, 0.2)
    );
}

/* TÍTULO PRINCIPAL */

.lightbox-promo h2 {
    max-width: 550px;
    margin: 0;

    font-size: clamp(26px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;

    color: #ffffff;
}

/* DESCRIPCIÓN */

.promo-descripcion,
.lightbox-promo p:not(.promo-continue) {
    max-width: 480px;
    margin: 0;

    font-size: 15px;
    line-height: 1.6;

    color: rgba(255, 255, 255, 0.85);
}

/* BOTÓN PARA EXPLORAR TOURS */

.promo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 8px;
    padding: 13px 27px;

    border-radius: 50px;

    background: #ffffff;
    color: #07529b;

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.promo-button:hover {
    transform: translateY(-3px);

    background: #eaf7ff;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* INVITACIÓN A SEGUIR VIENDO FOTOS */

.promo-continue {
    margin: 8px 0 0;

    font-size: 12px;
    font-weight: 500;

    color: #bce7ff;
}

/* FIRMA DE LA MARCA */

.promo-brand {
    margin-top: 8px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;

    color: rgba(255, 255, 255, 0.65);
}

/* ADAPTACIÓN A CELULARES */

@media (max-width: 600px) {

    .lightbox-promo {
        padding: 20px 13px;
        gap: 9px;

        border-radius: 15px;
    }

    .promo-eyebrow {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .promo-camera {
        font-size: 36px;
    }

    .lightbox-promo h2 {
        font-size: clamp(21px, 6vw, 29px);
    }

    .lightbox-promo p:not(.promo-continue) {
        font-size: 12px;
        line-height: 1.4;
    }

    .promo-button {
        padding: 11px 17px;
        font-size: 12px;
    }

    .promo-continue {
        font-size: 10px;
    }

    .promo-brand {
        font-size: 9px;
    }
}
/* =====================================
   AJUSTE DEL ANUNCIO PARA LAPTOPS
===================================== */

@media (min-width: 601px) and (max-height: 850px) {

    .lightbox-promo {
        max-width: none;
        width: 100%;

        padding: 16px 26px;
        gap: 7px;
    }

    .promo-eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .promo-camera {
        font-size: 36px;
        line-height: 1;
    }

    .lightbox-promo h2 {
        max-width: 720px;

        font-size: clamp(24px, 3.3vw, 34px);
        line-height: 1.15;
    }

    .lightbox-promo p:not(.promo-continue) {
        max-width: 660px;

        font-size: 13px;
        line-height: 1.4;
    }

    .promo-button {
        margin-top: 4px;
        padding: 10px 22px;

        font-size: 13px;
    }

    .promo-continue {
        margin-top: 3px;
        font-size: 11px;
    }

    .promo-brand {
        margin-top: 3px;
        font-size: 10px;
    }

}
/* ==========================================
   CONTACTO - ES TOURS
========================================== */

.contact-main {
    padding: 55px 24px 90px;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f0f7ff 65%,
        #ffffff 100%
    );
}

/* PRESENTACIÓN */

.contact-intro {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.contact-subtitle {
    display: block;
    color: #07529b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.contact-intro h1 {
    color: #123a63;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
    margin-bottom: 16px;
}

.contact-intro p {
    color: #63758a;
    font-size: 15px;
    line-height: 1.8;
}

/* CONTENEDOR DE TARJETAS */

.contact-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    max-width: 1050px;
    margin: 0 auto;
}

/* TARJETA INDIVIDUAL */

.social-video-card {
    min-width: 0;
    background: #ffffff;
    border: 1px solid #dce8f5;
    border-radius: 22px;
    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(7, 82, 155, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.social-video-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 40px rgba(7, 82, 155, 0.15);
}

/* ESPACIO PARA LOS FUTUROS VIDEOS */

.social-video-placeholder {
    aspect-ratio: 9 / 13;

    background: linear-gradient(
        145deg,
        #07529b,
        #2686c8,
        #85c7ec
    );

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 18px;
    padding: 25px;
    text-align: center;
    color: white;
}

/* SÍMBOLO DE REPRODUCCIÓN */

.social-video-placeholder::before {
    content: "▶";

    display: grid;
    place-items: center;

    width: 65px;
    height: 65px;

    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;

    font-size: 22px;
    padding-left: 4px;

    background: rgba(255, 255, 255, 0.12);
}

/* TEXTOS DEL VIDEO */

.social-video-placeholder span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.social-video-placeholder p {
    max-width: 220px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* INFORMACIÓN DE REDES */

.social-video-info {
    padding: 22px;
}

.social-video-info > span {
    font-size: 12px;
    font-weight: 700;
    color: #2686c8;
}

.social-video-info h2 {
    font-size: 18px;
    color: #123a63;
    margin: 8px 0 18px;
    overflow-wrap: anywhere;
}

/* BOTÓN VISITAR PERFIL */

.social-video-info a {
    display: inline-flex;
    align-items: center;

    padding: 11px 18px;
    border-radius: 30px;

    background: #07529b;
    color: white;
    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition: background 0.25s ease;
}

.social-video-info a:hover {
    background: #2686c8;
}

/* TABLETS */

@media (max-width: 900px) {

    .contact-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 700px;
    }

}

/* CELULARES */

@media (max-width: 600px) {

    .contact-main {
        padding: 35px 18px 65px;
    }

    .contact-intro {
        margin-bottom: 30px;
    }

    .contact-video-grid {
        grid-template-columns: 1fr;
        max-width: 370px;
        gap: 22px;
    }

    .social-video-placeholder {
        aspect-ratio: 9 / 12;
    }

}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {

    .social-video-card,
    .social-video-info a {
        transition: none;
    }

}
/* ==========================================
   CONTACTO - WHATSAPP Y CORREO
========================================== */

.contact-methods {
    max-width: 950px;
    margin: 80px auto 0;
}

/* ENCABEZADO */

.contact-methods-heading {
    max-width: 650px;
    margin: 0 auto 35px;
    text-align: center;
}

.contact-methods-heading > span {
    display: block;

    color: #07529b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;

    margin-bottom: 12px;
}

.contact-methods-heading h2 {
    color: #123a63;

    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.25;

    margin-bottom: 12px;
}

.contact-methods-heading p {
    color: #63758a;
    font-size: 14px;
    line-height: 1.8;
}

/* DISTRIBUCIÓN DE TARJETAS */

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

/* TARJETAS */

.contact-method-card {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    min-height: 260px;
    padding: 30px;

    background: #ffffff;

    border: 1px solid #dce8f5;
    border-radius: 22px;

    box-shadow:
        0 10px 30px rgba(7, 82, 155, 0.07);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* PEQUEÑO DETALLE AZUL SUPERIOR */

.contact-method-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(
        90deg,
        #07529b,
        #62b5e8
    );
}

/* ANIMACIÓN */

.contact-method-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 40px rgba(7, 82, 155, 0.13);
}

/* ÍCONOS */

.contact-method-icon {
    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;

    margin-bottom: 18px;

    background: #e8f4ff;
    color: #07529b;

    border-radius: 14px;

    font-size: 18px;
    font-weight: 800;
}

/* TÍTULOS */

.contact-method-card h3 {
    color: #123a63;

    font-size: 20px;
    font-weight: 700;

    margin-bottom: 12px;
}

/* DESCRIPCIONES */

.contact-method-card p {
    color: #63758a;

    font-size: 14px;
    line-height: 1.7;

    margin-bottom: 25px;

    overflow-wrap: anywhere;
}

/* BOTONES */

.contact-method-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: auto;
    padding: 12px 22px;

    background: #07529b;
    color: #ffffff;

    border-radius: 30px;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.contact-method-button:hover {
    background: #2686c8;
    transform: translateY(-2px);
}

/* RESPONSIVE */

@media (max-width: 600px) {

    .contact-methods {
        margin-top: 55px;
    }

    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-method-card {
        min-height: 240px;
        padding: 25px;
    }

}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {

    .contact-method-card,
    .contact-method-button {
        transition: none;
    }

    .contact-method-card:hover,
    .contact-method-button:hover {
        transform: none;
    }

}
/* PÁGINA ACTUAL EN EL MENÚ */

.nav-links a[aria-current="page"] {
    color: #07529b;
    font-weight: 600;

    text-decoration: underline;
    text-decoration-color: #07529b;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}
/* ==================================
   VIDEOS DE REDES SOCIALES
================================== */

/* CONTENEDOR DEL VIDEO */

.social-video-player {
    position: relative;
    width: 100%;
    min-height: 300px;
    padding: 0;
    overflow: hidden;
    background: #081828;
    isolation: isolate;
}


/* VIDEO */

.social-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;
}


/* BOTÓN PARA ACTIVAR SONIDO */

.social-audio-toggle {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;

    width: 46px;
    height: 46px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;

    background: rgba(5, 20, 40, 0.65);

    color: white;
    font-size: 20px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


/* EFECTO AL PASAR EL MOUSE */

.social-audio-toggle:hover {
    background: rgba(0, 71, 171, 0.9);
    transform: scale(1.08);
}


/* ACCESIBILIDAD CON TECLADO */

.social-audio-toggle:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}
/* =====================================
   GALERÍA DEL FUNDADOR — TABLET VERTICAL
===================================== */

@media (min-width: 600px) and (max-width: 850px) and (orientation: portrait) {

    .hero-image {
        width: 100%;
        max-width: 620px;

        height: auto;
        min-height: 0;

        aspect-ratio: 6 / 5;

        margin-left: auto;
        margin-right: auto;
    }

    .hero-image .founder-gallery {
        width: 100%;
        height: 100%;
    }

    .hero-image .founder-gallery .tour-gallery {
        height: 100%;
    }

    .hero-image .founder-gallery .tour-gallery img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

}