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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7f7;
    color: #163036;
}

.header-reserva {
    background: #072f36;
    color: white;
}

.header-contenedor {
    width: min(1150px, calc(100% - 40px));
    margin: auto;

    min-height: 72px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contenedor > span {
    font-weight: 800;
}

.volver {
    color: #6aded2;
    text-decoration: none;
    font-weight: 700;
}

.reserva-page {
    padding: 70px 0;
}

.reserva-contenedor {
    width: min(1100px, calc(100% - 40px));
    margin: auto;

    display: grid;
    grid-template-columns: 380px 1fr;

    gap: 70px;
    align-items: start;
}


/* IZQUIERDA */

.reserva-intro {
    position: sticky;
    top: 30px;
}

.mini-titulo {
    color: #0c988c;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 800;
}

.reserva-intro h1 {
    font-size: 48px;
    line-height: 1.04;

    margin: 18px 0 20px;
}

.reserva-intro > p {
    color: #718084;
    line-height: 1.7;
    font-size: 16px;
}

.datos-plan {
    margin-top: 35px;

    background: #082f36;
    color: white;

    padding: 27px;

    border-radius: 18px;

    display: grid;
    gap: 23px;
}

.datos-plan div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.datos-plan span {
    color: rgba(255,255,255,.55);
    font-size: 12px;
}

.datos-plan strong {
    font-size: 15px;
}


/* FORMULARIO */

.formulario-card {
    background: white;

    padding: 40px;

    border-radius: 22px;

    box-shadow:
        0 14px 45px rgba(8,47,54,.08);
}

.campo label {
    display: block;

    font-size: 14px;
    font-weight: 700;

    margin-bottom: 10px;
}

.cantidad-campo {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selector-cantidad {
    display: flex;
    align-items: center;

    border: 1px solid #d9e4e4;
    border-radius: 12px;

    overflow: hidden;
}

.selector-cantidad button {
    width: 48px;
    height: 48px;

    border: none;

    background: #ecf7f6;
    color: #087e75;

    font-size: 24px;

    cursor: pointer;
}

.selector-cantidad input {
    width: 60px;
    height: 48px;

    border: none;
    outline: none;

    text-align: center;

    font-size: 18px;
    font-weight: bold;

    background: white;
}

.separador {
    height: 1px;
    background: #e7eded;

    margin: 35px 0;
}

.viajeros-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 28px;
}

.viajeros-header h2 {
    margin-top: 8px;
    font-size: 26px;
}

#contadorViajeros {
    background: #e1f5f2;
    color: #087a70;

    height: fit-content;

    padding: 8px 12px;

    border-radius: 20px;

    font-size: 12px;
    font-weight: bold;
}


/* VIAJERO */

.viajero-card {
    background: #f7fafa;

    border: 1px solid #e2eceb;

    border-radius: 16px;

    padding: 25px;

    margin-bottom: 20px;
}

.viajero-titulo {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 22px;
}

.numero-viajero {
    width: 36px;
    height: 36px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0d9488;
    color: white;

    font-weight: bold;
}

.viajero-titulo h3 {
    font-size: 17px;
}

.campos-grid {
    display: grid;
    grid-template-columns: 1fr 110px;
    gap: 17px;
}

.campo-form {
    margin-bottom: 18px;
}

.campo-form.identificacion {
    grid-column: 1 / -1;
}

.campo-form label {
    display: block;

    margin-bottom: 8px;

    font-size: 13px;
    font-weight: 700;
}

.campo-form input {
    width: 100%;

    border: 1px solid #d5e1e1;
    border-radius: 10px;

    padding: 13px 14px;

    outline: none;

    font-size: 15px;

    background: white;
}

.campo-form input:focus {
    border-color: #20ad9f;

    box-shadow:
        0 0 0 3px rgba(32,173,159,.1);
}


/* RESUMEN */

.resumen {
    display: flex;
    justify-content: space-between;
    gap: 30px;

    padding: 25px;

    background: #082f36;
    color: white;

    border-radius: 14px;

    margin-top: 30px;
}

.resumen div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.resumen span {
    color: rgba(255,255,255,.55);
    font-size: 12px;
}

.continuar-btn {
    width: 100%;

    border: none;
    border-radius: 11px;

    background: #41cabb;
    color: #063038;

    padding: 17px;

    font-size: 16px;
    font-weight: 800;

    margin-top: 20px;

    cursor: pointer;

    transition: .25s;
}

.continuar-btn:hover {
    background: #62dacf;
    transform: translateY(-2px);
}

.seguridad {
    text-align: center;

    color: #8a9799;

    font-size: 11px;

    margin-top: 13px;
}


/* RESPONSIVE */

@media (max-width: 850px) {

    .reserva-contenedor {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .reserva-intro {
        position: static;
    }

}


@media (max-width: 550px) {

    .reserva-page {
        padding: 40px 0;
    }

    .reserva-contenedor,
    .header-contenedor {
        width: calc(100% - 28px);
    }

    .reserva-intro h1 {
        font-size: 38px;
    }

    .formulario-card {
        padding: 25px 18px;
    }

    .cantidad-campo {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .campos-grid {
        grid-template-columns: 1fr;
    }

    .campo-form.identificacion {
        grid-column: auto;
    }

    .resumen {
        flex-direction: column;
    }

}

.correo-reserva {
    margin-top: 25px;
}

.correo-reserva input {
    width: 100%;
}

/* =====================================
   OPCIONES DE PAGO
===================================== */

.opciones-pago {
    display: grid;
    gap: 16px;
}

.opcion-pago {
    position: relative;
    display: block;

    border: 2px solid #e0eaea;
    border-radius: 16px;

    padding: 0;

    cursor: pointer;

    background: #ffffff;

    transition:
        border-color .25s ease,
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.opcion-pago:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(8,47,54,.07);
}

.opcion-pago.activa {
    border-color: #25b9aa;
    background: #f0fbf9;

    box-shadow:
        0 8px 25px rgba(37,185,170,.10);
}

.opcion-pago input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.opcion-pago-contenido {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 25px;

    padding: 22px;
}

.opcion-pago-contenido > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.opcion-pago-contenido > div:first-child strong {
    font-size: 16px;
    color: #153238;
}

.opcion-pago-contenido > div:first-child span {
    color: #7c898c;
    font-size: 13px;
}

.opcion-pago-precio {
    text-align: right;

    display: flex;
    flex-direction: column;

    gap: 5px;
}

.opcion-pago-precio small {
    color: #889597;
    font-size: 11px;
}

.opcion-pago-precio strong {
    color: #087e75;
    font-size: 18px;
}


/* =====================================
   RESUMEN DEL PAGO
===================================== */

.resumen-pago {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}

.resumen-pago div {
    min-width: 0;
}

.resumen-pago strong {
    word-break: break-word;
}


@media (max-width: 600px) {

    .opcion-pago-contenido {
        flex-direction: column;
        align-items: flex-start;
    }

    .opcion-pago-precio {
        text-align: left;
    }

    .resumen-pago {
        grid-template-columns: 1fr;
    }

}