/* MI RUTA - EDUCATIC ONE */

.route-hero {
    padding: 72px 0;
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(92, 145, 255, .28), transparent 30%),
        linear-gradient(135deg, #071b3b, #0d397c 62%, #155eef);
}

.route-hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 45px;
}

.route-hero h1 {
    max-width: 760px;
    margin: 10px 0 14px;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.route-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.76);
    font-size: 18px;
}

.route-promise {
    max-width: 310px;
    padding: 23px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    background: rgba(255,255,255,.1);
}

.route-promise strong,
.route-promise span {
    display: block;
}

.route-promise span {
    margin-top: 7px;
    color: rgba(255,255,255,.68);
    font-size: 13px;
}

.route-form-section {
    padding: 72px 0;
    background: #f5f8fc;
}

.route-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
    align-items: start;
}

.route-form-card,
.route-sidebar article {
    border: 1px solid #e4e9f2;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(16,24,40,.05);
}

.route-form-card {
    padding: 30px;
}

.route-step-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 28px;
}

.route-step-heading > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #155eef;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.route-step-heading small {
    color: #155eef;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.route-step-heading h2 {
    margin: 3px 0 0;
    color: #071b3b;
}

fieldset {
    margin: 0 0 32px;
    padding: 0;
    border: 0;
}

legend {
    margin-bottom: 14px;
    color: #071b3b;
    font-size: 18px;
    font-weight: 900;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.choice-card,
.select-option {
    position: relative;
    cursor: pointer;
}

.choice-card input,
.select-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-card > span {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
    border: 1px solid #dfe5ef;
    border-radius: 15px;
    background: #fff;
    transition: .2s ease;
}

.choice-card strong,
.choice-card small {
    display: block;
}

.choice-card strong {
    color: #172033;
    line-height: 1.3;
}

.choice-card small {
    margin-top: 7px;
    color: #667085;
    line-height: 1.45;
}

.choice-card input:checked + span,
.select-option input:checked + span {
    border-color: #155eef;
    background: #edf4ff;
    box-shadow: 0 0 0 3px rgba(21,94,239,.10);
}

.select-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.select-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.select-option > span {
    min-height: 70px;
    display: grid;
    place-items: center;
    padding: 13px;
    border: 1px solid #dfe5ef;
    border-radius: 13px;
    color: #344054;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    transition: .2s ease;
}

.route-submit {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #155eef, #0f49be);
    color: #fff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.route-submit:hover {
    filter: brightness(.96);
}

.route-sidebar {
    display: grid;
    gap: 14px;
}

.route-sidebar article {
    display: flex;
    gap: 13px;
    padding: 18px;
}

.route-sidebar article > span {
    font-size: 24px;
}

.route-sidebar strong {
    display: block;
    color: #071b3b;
}

.route-sidebar p {
    margin: 4px 0 0;
    color: #667085;
    font-size: 13px;
}

.route-sidebar .sidebar-message {
    display: block;
    color: #fff;
    background: linear-gradient(135deg, #071b3b, #155eef);
}

.sidebar-message small {
    color: #cfe0ff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.route-sidebar .sidebar-message p {
    color: rgba(255,255,255,.78);
    font-size: 14px;
}

.results-section {
    padding: 80px 0;
    background: #fff;
}

.result-intro {
    max-width: 780px;
    margin-bottom: 30px;
}

.result-intro h2 {
    margin: 8px 0 10px;
    color: #071b3b;
    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.1;
}

.result-intro p {
    color: #667085;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.recommendation-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 25px;
    border: 1px solid #e4e9f2;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(16,24,40,.06);
}

.recommendation-card.principal {
    border-color: #155eef;
    background: linear-gradient(180deg, #edf4ff, #fff 50%);
}

.best-match,
.complementary {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .9px;
}

.best-match {
    color: #155eef;
}

.complementary {
    color: #667085;
}

.recommendation-number {
    margin-top: 16px;
    color: #c5d4ee;
    font-size: 38px;
    font-weight: 900;
}

.recommendation-card h3 {
    margin: 6px 0 9px;
    color: #071b3b;
    font-size: 22px;
    line-height: 1.25;
}

.recommendation-card p {
    flex: 1;
    color: #667085;
}

.recommendation-price {
    margin: 18px 0;
    color: #071b3b;
}

.route-program-button {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 15px;
    border-radius: 12px;
    background: #155eef;
    color: #fff;
    font-weight: 900;
    text-align: center;
}

.mentor-help {
    margin-top: 28px;
    padding: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-radius: 20px;
    color: #fff;
    background: #071b3b;
}

.mentor-help span {
    color: #a9c9ff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.mentor-help h3 {
    margin: 5px 0;
}

.mentor-help p {
    margin: 0;
    color: rgba(255,255,255,.68);
}

.mentor-help a {
    flex-shrink: 0;
    padding: 13px 18px;
    border-radius: 12px;
    background: #fff;
    color: #155eef;
    font-weight: 900;
}

.empty-route,
.route-error {
    padding: 28px;
    border-radius: 18px;
}

.empty-route {
    background: #f5f8fc;
}

.route-error {
    background: #fff2f0;
    color: #9e2d2d;
}

@media (max-width: 980px) {
    .route-hero-grid,
    .route-layout {
        grid-template-columns: 1fr;
    }

    .route-promise {
        max-width: none;
    }

    .select-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 650px) {
    .route-hero {
        padding: 56px 0;
    }

    .route-hero h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .route-form-card {
        padding: 20px;
    }

    .choice-grid,
    .select-grid,
    .select-grid.three {
        grid-template-columns: 1fr;
    }

    .choice-card > span {
        min-height: 0;
    }

    .mentor-help {
        align-items: flex-start;
        flex-direction: column;
    }

    .mentor-help a {
        width: 100%;
        text-align: center;
    }
}
