/* ==========================================================================
   OXIGENA VIAJES - ESTILOS UNIFICADOS DE FORMULARIOS (formularios.css)
   Páginas aplicadas:
   - formulario-solicita-tu-viaje.html
   - formulario-viaje-a-medida.html
   - formulario-datos.html
   - formulario-pagos.html
   - formulario-finalizar.html
   ========================================================================== */

/* ==========================================================================
   1. CONTENEDOR PRINCIPAL Y FONDO GRADIENTE
   ========================================================================== */

.content-main {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 30px 16px 80px;
    background: linear-gradient(180deg, #0077A9 0%, #008CC5 140px, #20B7EA 420px, #68CFF6 800px, #B4EAFF 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.container {
    width: min(1380px, 94%);
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    box-sizing: border-box;
}

.container>.trip-info__grid {
    flex: 1 1 0;
    min-width: 0;
    max-width: 50%;
    width: 50%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ==========================================================================
   2. HERO CABECERA (.trip-hero)
   ========================================================================== */

.trip-hero {
    position: relative;
    width: 100%;
    height: var(--hero-height, 460px);
    overflow: hidden;
    background-image: url("../assets/img/formulario-datos/fondo-esqui.webp");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.trip-hero--viaje-a-medida,
body.page-viaje-a-medida .trip-hero {
    background-image: url("../assets/img/viaje-a-medida/fondo-cabecera.webp");
    background-position: center 30%;
}

.trip-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

.trip-hero__container {
    position: relative;
    max-width: min(1380px, 94%);
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 24px;
    box-sizing: border-box;
    max-width: 90%;

}

.trip-hero__content-back {
    position: absolute;
    left: 0;
    bottom: 50%;
    z-index: 5;
}

.trip-hero__back {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    border: none;
}

.trip-hero__back:hover {
    background: #B4EAFF;
    transform: scale(1.06);
}

.trip-hero__back img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.trip-hero__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.trip-hero__label {
    color: #ffffff;
    font-family: 'Kufam', sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.25;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
    text-transform: uppercase;
}

.trip-hero__title {
    color: #ffffff;
    font-family: 'Kufam', sans-serif;
    font-size: 21px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
    margin: 0;
}

.trip-hero__center-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #003854;
    font-family: 'Kufam', sans-serif;
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px;
    white-space: nowrap;
    z-index: 3;
    pointer-events: none;
}

/* ==========================================================================
   3. RESUMEN / TITULAR SUPERIOR (.trip-overview)
   ========================================================================== */

.trip-overview {
    position: relative;
    width: min(1380px, 94%);
    margin: 0 auto 30px;
    box-sizing: border-box;
    text-align: center;
}

.trip-overview__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.trip-overview__title {
    color: #ffffff;
    font-family: 'Kufam', sans-serif;
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 800;
    line-height: 1.18;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    margin: 0 0 14px;
}

.trip-overview__title span {
    display: block;
}

.trip-overview__top {
    max-width: 960px;
    margin: 0 auto;
}

.trip-overview__top h3,
.trip-overview__subtitle {
    color: #ffffff;
    font-family: 'Kufam', sans-serif;
    font-size: clamp(15px, 1.35vw, 19px);
    font-weight: 400;
    line-height: 1.45;
    text-align: center;
    margin: 0;
    opacity: 0.98;
}

.form_title,
.trip-overview__section-title {
    color: #ffffff;
    font-family: 'Kufam', sans-serif;
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 24px;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
}

/* ==========================================================================
   4. COLUMNA IZQUIERDA (IMAGEN, SERVICIOS, CONDICIONES, CONTACTO)
   ========================================================================== */

.info-com-cond {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.formulario-img {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.formulario-img img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    display: block;
}

.info-card {
    background: #fff;
    border-radius: 8px;
    padding: 24px 28px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    color: #003854;
    box-sizing: border-box;
}

.info-card h2 {
    color: #00B8F3;
    font-family: 'Kufam', sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    letter-spacing: 0.3px;
}

.info-card h3 {
    color: #FF6368;
    font-family: 'Kufam', sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 18px 0 10px 0;
    letter-spacing: 0.3px;
}

.info-card ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0 0 16px 0;
}

.info-card li {
    font-family: 'Kufam', sans-serif;
    color: #003854;
    line-height: 1.5;
    margin-bottom: 4px;
}

.info-card p {
    font-family: 'Kufam', sans-serif;
    font-weight: 500;
    color: #003854;
    line-height: 1.5;
    margin: 0 0 12px 0;
}

.info-card--condiciones {
    background: #fff;
    border-radius: 8px;
    padding: 20px 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.info-card--condiciones h2 {
    color: #00B8F3;
    font-family: 'Kufam', sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 12px 0;
}

.btn-condiciones {
    background: #003854;
    color: #ffffff;
    width: 100%;
    border-radius: 6px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'Kufam', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
    box-sizing: border-box;
}

.btn-condiciones:hover {
    background: #005B87;
    transform: translateY(-1px);
}

.btn-condiciones img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.contact-card {
    background: #002B40;
    border-radius: 8px;
    padding: 34px 28px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.contact-card__icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.contact-card__icon img,
.contact-card__icon svg {
    width: 88px;
    height: auto;
    display: block;
}

.contact-card h3 {
    color: #B4EAFF;
    font-family: 'Kufam', sans-serif;
    font-size: 25px;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.contact-card p {
    color: #B4EAFF;
    font-family: 'Kufam', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.35;
    max-width: 290px;
    margin: 0 auto;
    text-transform: uppercase;
}

.contact-card hr,
.contact-card .hr-ct-card {
    width: 80%;
    border: none;
    border-top: 1px solid rgba(180, 234, 255, 0.35);
    margin: 20px auto;
}

.contact-card-datos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.contact-card-datos img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.contact-card-datos a {
    color: #B4EAFF;
    font-family: 'Kufam', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-card-datos a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ==========================================================================
   5. COLUMNA DERECHA - CONTENEDOR DEL FORMULARIO (.trip-form)
   ========================================================================== */

.trip-form {
    background: #F2F4F7;
    border-radius: 10px;
    padding: 20px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

/* Pasos / Migas de pan */
.form-steps {
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Kufam', sans-serif;
    color: #003854;
    margin-bottom: 18px;
}

.form-steps a {
    color: #003854;
    opacity: 0.65;
    text-decoration: none;
    transition: opacity 0.2s;
}

.form-steps a.active {
    font-weight: 800;
    opacity: 1;
}

.form-steps span {
    opacity: 0.4;
}

/* Títulos dentro del formulario */
.trip-form__title {
    font-family: 'Kufam', sans-serif;
    font-size: 23px;
    font-weight: 800;
    color: #00B8F3;
    text-transform: uppercase;
    margin: 0 0 18px;
    line-height: 1.2;
}

.trip-form__title.trip-form__title--navy {
    color: #003854;
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 22px;
}

.trip-form__title.trip-form__title--medida {
    color: #003854;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 10px;
}

.trip-form__title-sub {
    font-family: 'Kufam', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #003854;
    text-transform: uppercase;
    margin: 16px 0 12px;
}

/* Grupos e inputs de formulario */
.trip-form__group {
    margin-bottom: 11px;
    width: 100%;
}

.trip-form input[type="text"],
.trip-form input[type="email"],
.trip-form input[type="Email"],
.trip-form input[type="tel"],
.trip-form input[type="phone"],
.trip-form input[type="date"],
.trip-form input[type="number"],
.trip-form textarea {
    width: 100%;
    background: #FFFFFF;
    border: none;
    outline: none;
    border-radius: 6px;
    height: 48px;
    padding: 0 16px;
    font-family: 'Kufam', sans-serif;
    font-size: 15px;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    color: #333333;
}

.trip-form input::placeholder,
.trip-form textarea::placeholder {
    color: #8faec2;
    font-family: 'Kufam', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.trip-form input:focus,
.trip-form textarea:focus {
    box-shadow: 0 0 0 2px #00B8F3;
}

.trip-form textarea {
    height: 100px;
    min-height: 90px;
    padding: 12px 16px;
    resize: vertical;
    line-height: 1.4;
}

/* ==========================================================================
   6. ACORDEONES (.accordion-checkbox)
   ========================================================================== */

.accordion-checkbox {
    background: #B4EAFF;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-toggle {
    display: none;
}

.accordion-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    user-select: none;
    background: transparent;
    color: #00B8F3;
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Kufam', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #00B8F3;
}

.checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #FFFFFF;
    border: 1.5px solid #00B8F3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}

.accordion-arrow {
    width: 18px;
    height: 18px;
    color: #00B8F3;
    stroke: #00B8F3;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    padding: 0 18px;
    box-sizing: border-box;
}

.accordion-content p {
    font-family: 'Kufam', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #003854;
    margin: 4px 0 12px 0;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 0;
}

.form-grid input {
    background: #FFFFFF;
    border: none;
    outline: none;
    border-radius: 6px;
    height: 44px;
    padding: 0 14px;
    font-family: 'Kufam', sans-serif;
    font-size: 13.5px;
    color: #003854;
    width: 100%;
    box-sizing: border-box;
}

.form-grid input::placeholder {
    color: #8faec2;
}

.form-grid input:focus {
    box-shadow: 0 0 0 2px #00B8F3;
}

/* Estado Expandido */
.accordion-toggle:checked~.accordion-content {
    max-height: 1400px;
    opacity: 1;
    padding: 4px 18px 18px 18px;
}

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

.accordion-toggle:checked+.accordion-label .checkbox {
    background: #003854;
    border-color: #003854;
}

.accordion-toggle:checked+.accordion-label .checkbox::after {
    content: "✓";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

/* Medidas user en acordeón viaje escolar */
.medidas-user {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

/* ==========================================================================
   7. DOCUMENTOS REQUERIDOS (.upload-btn)
   ========================================================================== */

.docs-section {
    margin-top: 14px;
}

.docs-section__title {
    font-family: 'Kufam', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #00B8F3;
    text-transform: uppercase;
    margin: 0 0 4px;
}

.docs-section__subtitle {
    font-family: 'Kufam', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    color: #003854;
    margin: 0 0 12px;
}

.upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #003854;
    color: #ffffff;
    height: 50px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Kufam', sans-serif;
    font-size: 15px;
    font-weight: 700;
    width: 100%;
    margin-bottom: 16px;
    transition: background 0.25s ease, transform 0.2s ease;
    border: none;
    box-sizing: border-box;
}

.upload-btn:hover {
    background: #005B87;
    transform: translateY(-1px);
}

.upload-btn .img-up-doc {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* ==========================================================================
   8. OPCIONES RADIO (VIAJE A MEDIDA)
   ========================================================================== */

.radio-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin: 14px 0 16px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    accent-color: #00B8F3;
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
}

.radio-option label {
    font-family: 'Kufam', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #003854;
    cursor: pointer;
}

/* ==========================================================================
   9. MÉTODOS Y TARJETAS DE PAGO (formulario-pagos.html)
   ========================================================================== */

.payment-selector {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.payment-card {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border: 1.5px solid transparent;
    transition: border-color 0.2s ease;
}

.payment-card.active {
    border-color: #00B8F3;
}

.payment-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.payment-card__header input[type="radio"] {
    accent-color: #00B8F3;
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0;
}

.payment-card__header h3 {
    font-family: 'Kufam', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #003854;
    text-transform: uppercase;
    margin: 0;
}

.payment-card__subtitle {
    font-family: 'Kufam', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #003854;
    margin: 8px 0 12px;
}

.payment-schedule {
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 14px;
    width: fit-content;

}

.payment-schedule__now {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Kufam', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #003854;
    margin-bottom: 6px;
}

.badge-price {
    background: #00B8F3;
    color: #003854;
    font-family: 'Kufam', sans-serif;
    font-size: 14px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 12px;
}

.payment-schedule__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Kufam', sans-serif;
    color: #003854;
    gap: 40px;
}

.payment-schedule__item .plazo-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
}

.payment-schedule__item .plazo-badge::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #CBD5E1;
}

.payment-schedule__item.total {
    font-weight: 700;
    border-top: 1px dashed #d0dbe2;
    padding-top: 6px;
    margin-top: 4px;
}

.payment-card hr {
    border: none;
    border-top: 1px solid #E2E8F0;
    margin: 14px 0;
}

.payment-card h4 {
    font-family: 'Kufam', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #003854;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.cards-logos {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    justify-content: center;
}

.cards-logos img {
    height: 35px;
    width: auto;
    object-fit: contain;
    border-radius: 3px;
}

.payment-card label.payment-field-label {
    display: block;
    font-family: 'Kufam', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #003854;
    margin: 0 0 6px 0;
}

.payment-card input[type="text"],
.payment-card input[type="number"],
.payment-card input[type="date"] {
    background: #F4F6F8;
    height: 44px;
    border-radius: 6px;
    padding: 0 14px;
    font-size: 13.5px;
    margin-bottom: 12px;
    border: none;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Kufam', sans-serif;
    color: #003854;
}

.payment-card input::placeholder {
    color: #8C9CA6;
}

.card-security-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.card-security-row .trip-form__group {
    margin-bottom: 0;
}

.check-guardar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    cursor: pointer;
}

.check-guardar input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #00B8F3;
    margin: 0;
}

.check-guardar span {
    font-family: 'Kufam', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #003854;
}

.payment-card__full-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Kufam', sans-serif;
    color: #003854;
    margin: 10px 0 12px;
}

.payment-card__full-row strong {
    font-size: 16px;
    font-weight: 800;
}

/* ==========================================================================
   10. RESUMEN FINALIZAR (formulario-finalizar.html)
   ========================================================================== */

.resumen-card {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 26px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.resumen-card__label {
    font-family: 'Kufam', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #003854;
    margin: 0 0 6px 0;
}

.resumen-card__name {
    font-family: 'Kufam', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #003854;
    margin: 0 0 8px 0;
}

.resumen-card__text {
    font-family: 'Kufam', sans-serif;
    color: #003854;
    line-height: 1.5;
    margin: 0;
}

.resumen-card hr {
    border: none;
    border-top: 1px solid #E2E8F0;
    margin: 16px 0;
}

.divisor-dudas {
    width: 2px;
    height: -webkit-fill-available;
    background: white;
    display: none;
}

.hr-ct-card {
    border: none;
    border-top: 1px solid #00C3FF;
    margin: 18px 0;
    width: 100%;
}

.resumen-card__title {
    font-family: 'Kufam', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #003854;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.resumen-card ul {
    list-style-type: disc;
    padding-left: 18px;
    margin: 0;
}

.resumen-card li {
    font-family: 'Kufam', sans-serif;
    color: #003854;
    line-height: 1.45;
    margin-bottom: 3px;
}

.resumen-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 6px;
}

.resumen-card__footer-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.resumen-card__footer-left span {
    font-family: 'Kufam', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #003854;
}

.resumen-card__price {
    font-family: 'Kufam', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: #003854;
    margin: 0;
}

.resumen-card__footer-right span {
    font-family: 'Kufam', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #003854;
}

/* ==========================================================================
   11. BOTONES Y ACCIONES AL PIE DEL FORMULARIO
   ========================================================================== */

.trip-form__back {
    display: block;
    text-align: center;
    margin: 22px auto 14px;
    font-family: 'Kufam', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #003854;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.trip-form__back:hover {
    color: #00B8F3;
}

.trip-form__button {
    display: block;
    width: 280px;
    max-width: 100%;

    line-height: 56px;
    text-decoration: none;

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

.trip-form__button:hover {
    background: #007DAE;
}


/* ==========================================================================
   12. SECCIÓN PERSONALIZA TU EXPERIENCIA (VIAJE A MEDIDA)
   ========================================================================== */

.custom-section--viaje-medida {
    position: relative;
    width: 100%;
    min-height: 560px;
    background: linear-gradient(180deg, #005a80 0%, #0081a9 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 70px;
    overflow: hidden;
    box-sizing: border-box;
}

.custom-section--viaje-medida .custom-center {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.custom-section--viaje-medida .letsgo {
    display: flex;
    margin-bottom: 14px;
    justify-content: center;
    align-items: center;
}

.custom-section--viaje-medida .letsgo img {
    width: 210px;
    height: auto;
    object-fit: contain;
    display: block;
}

.custom-section--viaje-medida .custom-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.custom-section--viaje-medida .custom-icons img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.custom-section--viaje-medida .custom-center h2 {
    font-family: 'Kufam', sans-serif;
    text-transform: uppercase;
    margin: 0;
    color: #FFFFFF;
    text-align: center;
    font-size: clamp(32px, 3.8vw, 54px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.custom-section--viaje-medida .custom-collage {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.custom-section--viaje-medida .custom-collage.custom-left {
    top: 50%;
    transform: translateY(-50%);
    left: clamp(-80px, calc(50% - 620px), 160px);
}

.custom-section--viaje-medida .custom-collage.custom-right {
    top: 50%;
    transform: translateY(-50%);
    right: clamp(-80px, calc(50% - 620px), 160px);
}

.custom-section--viaje-medida .custom-collage img {
    height: 420px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* ==========================================================================
   13. MEDIA QUERIES (ORGANIZADAS DE MAYOR A MENOR RESOLUCIÓN)
   ========================================================================== */
@media (max-width: 1600px) {
    .container {
        gap: 24px;
    }

    .trip-overview__title {
        font-size: 34px;
    }

    .trip-form__title.trip-form__title--navy {
        font-size: 36px;
    }
}

/* Tablet Grande / Laptop (1100px) */
@media (max-width: 1024px) {
    .trip-hero {
        height: 380px;
    }

    .container {
        flex-direction: column-reverse;
        align-items: center;
        gap: 32px;
        width: 100%;
        padding: 0px;

    }

    .container>.trip-info__grid {
        max-width: 100%;
        width: 100%;
    }

    .custom-section--viaje-medida .custom-collage {
        display: none;
    }

    .custom-section--viaje-medida {
        min-height: auto;
        padding: 50px 20px;
    }

    .contact-card {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        padding: 20px 20px;
    }

    .contact-card .grupo-superior {
        display: flex;
        flex-direction: row;

        padding-right: 5px;
        gap: 20px;
        max-width: 40%;
        align-items: center;
    }

    .contact-card .grupo-inferior {
        flex-direction: column;
        justify-content: space-evenly;
        align-items: flex-start;
    }

    .divisor-dudas {
        display: flex;
        background: #B4EAFF;
    }

    .hr-ct-card {
        display: none;
        ;
    }

    .contact-card h3 {
        font-size: 16px;

    }

    .contact-card p {
        font-size: 15px;
    }

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

    .contact-card__icon {
        margin-bottom: 0px;
    }

    .contact-card-datos {
        justify-content: flex-start
    }

    .contact-card-datos a {
        font-size: 14px;
    }

    .trip-hero__label {
        font-size: 15px;
    }
}

/* Mobile (600px) */
@media (max-width: 550px) {
    .trip-hero {
        height: 280px;
    }

    .trip-hero__back {
        width: 38px;
        height: 38px;
        bottom: 70px;
    }

    .trip-hero__back img {
        width: 20px;
        height: 20px;
    }

    .trip-hero__label {
        font-size: 15px;
    }

    .trip-hero__title {
        font-size: 17px;
    }

    .trip-hero__center-title {
        font-size: 34px;
        white-space: normal;
        padding: 0 16px;
    }

    .content-main {
        padding: 20px 12px 60px;
    }

    .trip-overview__title {
        font-size: 25px;
    }

    .trip-overview__top h3,
    .trip-overview__subtitle {
        font-size: 15px;
    }

    .form_title,
    .trip-overview__section-title {
        font-size: 22px;
    }

    .trip-form {
        padding: 24px 18px 30px;
    }

    .trip-form__title.trip-form__title--navy {
        font-size: 28px;
    }

    .trip-form__title {
        font-size: 20px;
    }

    .trip-form__back {
        margin: 20px auto 30px;
    }

    .info-card {
        padding: 20px 18px;
    }

    .contact-card {
        padding: 20px 20px;
        gap: 10px;
    }

    .contact-card p {
        font-size: 12px;
    }

    .contact-card .grupo-superior {
        gap: 10px;

    }

    .grupo-superior {
        gap: 10px;

    }

    .card-security-row {
        grid-template-columns: 1fr;
    }

    .medidas-user {
        grid-template-columns: 1fr;
    }

    .trip-form__button {
        width: 100%;
        height: 52px;
        font-size: 20px;
    }

    .contact-card h3 {
        font-size: 12px;
    }
}

/* Por encima de comun.css (body.page-viaje-a-medida), que conserva el diseño anterior. */
body.page-viaje-a-medida .content-main {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 30px 16px 80px;
    background: linear-gradient(180deg, #0077A9 0%, #008CC5 140px, #20B7EA 420px, #68CFF6 800px, #B4EAFF 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
}
body.page-viaje-a-medida .container {
    width: min(1380px, 94%);
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}
body.page-viaje-a-medida .container > .trip-info__grid {
    flex: 1 1 0;
    min-width: 0;
    max-width: 50%;
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
body.page-viaje-a-medida .trip-hero.trip-hero--viaje-a-medida {
    height: var(--hero-height, 460px);
    background-image: url("../assets/img/viaje-a-medida/fondo-cabecera.webp");
    background-position: center 30%;
    background-size: cover;
}
body.page-viaje-a-medida .trip-hero__center-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #003854;
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
}
@media (max-width: 1024px) {
    body.page-viaje-a-medida .container {
        flex-direction: column-reverse;
        align-items: center;
    }
    body.page-viaje-a-medida .container > .trip-info__grid {
        max-width: 100%;
        width: 100%;
    }
    body.page-viaje-a-medida .trip-hero__center-title {
        white-space: normal;
        width: 90%;
        font-size: clamp(28px, 8vw, 42px);
    }
}

.payment-schedule {
    width: 100%;
}

.payment-schedule__item .plazo-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    font-family: Kufam, sans-serif;
    color: #003854;
}

.payment-schedule__item .plazo-check input {
    width: 16px;
    height: 16px;
    accent-color: #00B8F3;
    margin: 0;
}

.payment-schedule__item.is-pagado {
    color: #64748b;
}

.payment-card__tpv {
    margin: 0 0 10px;
    font-family: Kufam, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #003854;
}

.payment-card__error {
    display: block;
    margin-top: 8px;
    color: #c00;
    font-family: Kufam, sans-serif;
}

.resumen-card {
    margin-bottom: 14px;
}

.resumen-card .checkout-edit {
    display: inline-block;
    margin-top: 8px;
    font-family: Kufam, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #007DAE;
    text-decoration: none;
}