/* ==========================================================================
   RESETS Y DEFINICIONES GLOBALES
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: var(--font-main, 'Kufam', sans-serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 500;

}

/* ==========================================================================
   0. VARIABLES GLOBALES (:root)
   ========================================================================== */

:root {
    /* Tipografía */
    --font-main: 'Kufam', sans-serif;
    --primaria: 'Kufam', sans-serif;
    --font-title: 'Kufam', sans-serif;

    /* Colores Principales (Azul / Cyan Marca) */
    --color-primary: #22B8EA;
    --color-primary-dark: #005B87;
    --primary: #00b8f3;
    --primary-dark: #00a8e8;
    --blue: #1ab9ea;

    /* Colores Oscuros y Texto */
    --navy: #003854;
    --dark: #043553;
    --color-dark: #003A57;
    --dark-box: #002b40;
    --color-text: #FFFFFF;
    --4: #003854;
    --Color-2: #003854;

    /* Colores de Acento / Fecha / Alerta */
    --color-date: #FF6368;
    --color-accent: #ff6168;
    --secondary: #ff6267;
    --color-secondary: #7456f1;

    /* Fondos y Claros */
    --white: #ffffff;
    --color-white: #ffffff;
    --Color: #ffffff;
    --12: #B4EAFF;
    --bg-top: #c5edff;
    --bg-bottom: #b5e7fb;
    --color-bg: #c3ecff;
    --light-bg: #ececec;
    --team-bg: #c6e7f4;
    --panel: #e7e7e7;
    --color-panel: #efefef;

    /* Home & UI Específicos */
    --color_principal: #888b8c;
    --color_fondo_1: #006791;
    --color_contraste: #81A9AD;
    --color_footer: #D6DFE2;
    --color_overlay: rgba(50, 50, 50, 0.75);
    --borde-redondeado: 8px;

    /* Preguntas Frecuentes (FAQ) */
    --faq-bg: #F2F2F2;
    --faq-title: #18B9EA;
    --faq-text: #003A57;
    --faq-scroll: #18B9EA;

    /* Dimensiones, Layout y Efectos */
    --hero-height: 530px;
    --container: 1920px;
    --radius: 10px;
    --shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
    --transition: .3s ease;
}


/* ==========================================================================
   1. UTILIDADES Y BOTONES GLOBALES
   ========================================================================== */

.boton-azul {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color_fondo_1);
    border-radius: 8px;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Kufam', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: background 0.25s ease, transform 0.2s ease;
}

.boton-azul:hover {
    background: #007DAE;
}

/* Ocultamiento accesible para lectores de pantalla */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.divider {
    height: 1px;
    background: rgba(0, 56, 84, 0.1);
    margin: 40px 0;
}


/* ==========================================================================
   2. MODAL DE CONFIRMACIÓN
   ========================================================================== */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 16px;
    box-sizing: border-box;
}

.modal-backdrop.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    position: relative;
    max-width: 540px;
    width: 100%;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 44, 66, 0.08);
    color: #002c42;
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 44, 66, 0.18);
    transform: scale(1.08);
}

.modal-header {
    background: #ffffff;
    padding: 28px 20px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-header__logo {
    width: 165px;
    max-width: 100%;
    height: auto;
    display: block;
}

.modal-header__tagline {
    font-family: var(--font-main, 'Kufam', sans-serif);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy, #002c42);
    margin: 10px 0 0;
    letter-spacing: 0.2px;
}

.modal-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 297;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0081a7;
}

.modal-banner__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-banner__title {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-family: var(--font-main, 'Kufam', sans-serif);
    font-size: 34px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.2px;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    padding: 0 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.modal-footer {
    background: #006791;
    padding: 24px 24px 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    box-sizing: border-box;
}

.modal-footer__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-footer__icon svg {
    display: block;
    width: 44px;
    height: 38px;
}

.modal-footer__text {
    font-family: var(--font-main, 'Kufam', sans-serif);
    font-size: 17px;
    font-weight: 400;
    color: #00b8f3;
    line-height: 1.35;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin: 0;
    text-align: left;
}


/* ==========================================================================
   3. ACORDEONES DE FORMULARIOS
   ========================================================================== */

.accordion-checkbox {
    margin: 18px 0;
}

.accordion-toggle {
    display: none;
}

.accordion-label {
    color: #00C3FF;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    background: #B4EAFF;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #fff;
    border: 2px solid #fff;
}

.accordion-arrow {
    transition: .35s;
    color: var(--color-primary-dark, #005B87);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
    background-color: #B4EAFF;
    color: #003854;
}

.accordion-toggle:checked~.accordion-content {
    max-height: max-content;
    margin-top: 15px;
}

.accordion-toggle:checked+.accordion-label .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-toggle:checked+.accordion-label .checkbox {
    background: var(--color-primary, #0078AE);
    border-color: var(--color-primary, #0078AE);
    position: relative;
}

.accordion-toggle:checked+.accordion-label .checkbox::after {
    content: "\2713";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 12px;
}

.accordion-content p {
    margin-left: 15px;
}


/* ==========================================================================
   4. ELEMENTOS Y BOTONES DE FORMULARIOS
   ========================================================================== */

.form-grid {
    display: grid;
    gap: 15px;
    padding: 18px;
}

.form-grid input {
    width: 100%;
}

.medidas-user {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.upload-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px 40px;
    margin-top: 20px;
    background-color: #003854;
    color: #FFF;
    gap: 20px;
    height: 60px;
    border-radius: 10px;
}

.img-up-doc {
    width: 30px;
}

.upload-btn:hover {
    background-color: #0078AE;
}

.trip-form input:focus,
.trip-form textarea:focus {
    outline: none;
    border-color: #22B8EA;
}

.trip-form input::placeholder,
.trip-form textarea::placeholder {
    color: #8faec2;
}

.trip-form__group input::placeholder,
.trip-form__group textarea::placeholder {
    color: #8faec2;
}

.trip-form__button {
    width: 240px;
    height: 64px;
    margin: auto;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #22B8EA;
    color: #003854;
    font-family: Kufam, sans-serif;
    font-size: 30px;
    font-weight: 800;
    text-transform: uppercase;
    transition: .25s;
}

.trip-form__button:hover {
    background: #005B87;
    color: #fff;
}

.trip-form__button:active {
    transform: scale(.98);
}

.trip-form__back {
    display: block;
    text-align: center;
    margin-top: 18px;
    margin-bottom: 28px;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    color: #003854;
    font-family: Kufam, sans-serif;
    transition: .25s;
}

.trip-form__back:hover {
    color: #22B8EA;
}

.formulario-img img {
    width: 100%;
    height: auto;
}


/* ==========================================================================
   5. MÉTODOS Y TARJETAS DE PAGO
   ========================================================================== */

.payment-radio {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.payment-plan {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.payment-method {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    height: 70px;
    border: solid 1px #003854;
    border-radius: 10px;
    padding-left: 20px;
}

.tipo-de-pago {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #cceeff;
    border-radius: 12px;
}

.row {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.card-security {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    color: #003854;
    font-size: 14px;
}


/* ==========================================================================
   6. CONTACT CARD Y BOTONES DE CONDICIONES
   ========================================================================== */

.contact-card__icon {
    text-align: center;
    margin-bottom: 25px;
}

.contact-card__icon img {
    max-width: 170px;
    height: auto;
}

.contact-card-datos {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-card-datos img {
    width: 25px;
}

.btn-condiciones img {
    width: 25px;
    height: auto;
}

.btn-condiciones:hover {
    background: #0078AE;
    color: #fff;
}

.btn-primary:hover {
    background: #B4EAFF;
    color: #003854;
}

.info-card ul,
.info-card ol {
    padding-left: 20px;
    line-height: 1.5;
}


/* ==========================================================================
   7. PESTAÑAS DE GALERÍA Y VISOR
   ========================================================================== */

.gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-slide.active {
    display: block;
}

.gallery-tab.active {
    text-decoration: underline;
}

.gallery-tab[data-gallery="estacion"]:hover {
    background: #B4EAFF;
    color: #003854;
}

.gallery-tab[data-gallery="hotel"]:hover {
    background: #B4EAFF;
    color: #003854;
}

.gallery-tab[data-gallery="mapa"] {
    background: #19B8EA;
}

.gallery-tab[data-gallery="mapa"]:hover {
    background: #B4EAFF;
    color: #003854;
}

.day-tab.active {
    background: #00C3FF;
    color: #003854;
}

.destinos-experiencia {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.experiencia-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}


/* ==========================================================================
   8. MÓDULO DE DESTINOS ESCOLARES
   ========================================================================== */

.destinos {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 18px;
    height: 460px;
}

.destinos .container {
    display: flex;
    flex-direction: column;
    font-family: kufam, sans-serif;
    width: min(1280px, 92%);
    margin: auto;
}

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

.prev {
    left: 12px;
}

.next {
    right: 12px;
}

.dias {
    text-align: center;
    width: 100px;
    background: #FF5F6A;
    color: #fff;
    font-weight: 700;
    padding: 10px;
    border-radius: 10px;
}

.precio {
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    width: 100px;
    background: #7756F7;
    color: #fff;
    font-weight: 700;
}

.card-logo {
    width: 120px;
    display: block;
    margin: 0 auto 34px;
}

.card-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    list-style: none;
    padding: 0 0 10px;
}

.card-list li {
    height: fit-content;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.card-list img {
    margin-top: 17px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.card-list p {
    display: flex;
    flex-direction: column;
    color: var(--4, #003854);
    font-family: var(--primaria, 'Kufam', sans-serif);
}


/* ==========================================================================
   9. SECCIONES INSTITUCIONALES (NOSOTROS / CONTACTO)
   ========================================================================== */

.about-title-mobile {
    display: block;
    color: var(--primary, #00b8f3);
    font-family: var(--font-main, 'Kufam', sans-serif);
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.about-intro {
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 18px;
    color: var(--navy, #003854);
}

.about-points {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 0;
}

.point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
}

.point .icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.point .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.point p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--navy, #003854);
}

.experience-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.experience-copy p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px;
    opacity: 0.95;
}

.feature img {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}

.team-main-photo {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--navy, #003854);
    margin: 0 0 8px;
    text-transform: uppercase;
}

.team-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary, #00b8f3);
    margin: 0 0 14px;
}

.team-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.team-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--navy, #003854);
    margin-bottom: 20px;
}

.la-pina-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--navy, #003854);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.la-pina-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--navy, #003854);
}

.la-pina-text p {
    margin-bottom: 14px;
}

.la-pina-photo img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}


/* ==========================================================================
   MEDIA QUERIES (ORGANIZADAS DE MAYOR A MENOR RESOLUCIÓN)
   ========================================================================== */

/* --------------------------------------------------------------------------
   MEDIA QUERY: max-width: 1024px
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {

    html,
    body {
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    .accordion-label {
        height: 50px;
    }
}