/* -- movilidad.css --
   Secciones nuevas del index (planificador, consultas, rutas, reto, viaje).
   Todas las clases empiezan con "mv-" para no chocar con index.css ni Bootstrap. */

:root {
    --mv-navy: #12304a;
    --mv-green: #279b68;
    --mv-ink: #173348;
    --mv-muted: #63798a;
    --mv-line: #dce9e8;
    --mv-shadow: 0 14px 36px rgba(18, 48, 74, .10);
}

/* Fondo de la página (reemplaza el gris sólido de index.css).
   Sigue siendo opaco, así que sigue tapando al hero cuando sube. */
.page-content {
    background:
        radial-gradient(ellipse 720px 460px at 92% 0, #c8f0e0 0, transparent 70%),
        radial-gradient(ellipse 760px 520px at 4% 900px, #d7edf7 0, transparent 70%),
        #f2f8f7;
}

.mv-section { padding: 0 0 40px; }

/* ---------- Botones ---------- */
.mv-btn {
    border: 0;
    border-radius: 12px;
    padding: 12px 17px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
}
.mv-btn:hover { transform: translateY(-2px); }
.mv-btn-primary {
    color: #fff;
    background: linear-gradient(115deg, var(--mv-green), #1885a8);
    box-shadow: 0 9px 20px rgba(33, 142, 113, .19);
}
.mv-btn-primary:hover { color: #fff; }

/* ---------- Planifica tu recorrido ---------- */
.mv-finder {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr .8fr auto;
    gap: 12px;
    align-items: end;
    background: #fff;
    border: 1px solid #d9e9e7;
    border-radius: 20px;
    padding: 19px;
    box-shadow: 0 16px 35px rgba(18, 48, 74, .07);
}
.mv-finder-head {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.mv-finder-head strong { font-size: 16px; color: var(--mv-navy); }
.mv-finder-head span { font-size: 11px; color: var(--mv-muted); }

.mv-field label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #486575;
    margin-bottom: 7px;
}
.mv-field select {
    width: 100%;
    padding: 13px 12px;
    border: 1px solid #d4e3e3;
    background: #f9fcfb;
    border-radius: 11px;
    font: inherit;
    font-size: 12px;
    color: var(--mv-ink);
    outline-color: var(--mv-green);
}
.mv-finder .mv-btn { height: 44px; white-space: nowrap; }

.mv-finder-result {
    display: none;
    margin-top: 12px;
    background: #e8f8ef;
    border: 1px solid #c5e9d4;
    color: #176e4e;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
}
.mv-finder-result.is-open { display: block; }
.mv-finder-result ul { margin: 6px 0 0; padding-left: 18px; }
.mv-finder-result a { color: #0f5e43; font-weight: 700; }

/* ---------- Encabezado de sección ---------- */
.mv-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 20px;
}
.mv-head h2 { font-size: 25px; letter-spacing: -.7px; margin: 0; color: var(--mv-navy); }
.mv-head p { margin: 7px 0 0; color: var(--mv-muted); font-size: 13px; }
.mv-text-link {
    font-size: 12px;
    font-weight: 800;
    color: #16825e;
    white-space: nowrap;
    text-decoration: none;
}

/* ---------- ¿Qué necesitas consultar? ---------- */
.mv-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.mv-quick-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--mv-line);
    border-radius: 19px;
    padding: 21px;
    box-shadow: 0 5px 20px rgba(20, 59, 74, .04);
    transition: transform .2s, box-shadow .2s;
}
.mv-quick-card::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    right: -40px;
    top: -40px;
    border-radius: 50%;
    background: #eaf8f1;
    transition: transform .25s;
}
.mv-quick-card:hover { transform: translateY(-4px); box-shadow: var(--mv-shadow); }
.mv-quick-card:hover::after { transform: scale(1.8); }

.mv-quick-icon {
    position: relative;
    z-index: 1;
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    font-size: 20px;
    margin-bottom: 16px;
}
.mv-qi-green  { background: #e2f7eb; color: #16825b; }
.mv-qi-blue   { background: #e0f3fb; color: #1678a4; }
.mv-qi-yellow { background: #fff2d7; color: #a16a0b; }
.mv-qi-purple { background: #f0e9ff; color: #7451b5; }

.mv-quick-card h3 { position: relative; z-index: 1; font-size: 15px; margin: 0 0 7px; color: var(--mv-navy); }
.mv-quick-card p  { position: relative; z-index: 1; font-size: 12px; line-height: 1.6; color: var(--mv-muted); margin: 0 0 14px; }
.mv-card-link {
    position: relative;
    z-index: 1;
    font-size: 12px;
    color: #167f61;
    font-weight: 800;
    text-decoration: none;
}

/* ---------- Información de rutas + tarjeta oscura ---------- */
.mv-info-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 18px;
}
.mv-panel {
    background: #fff;
    border: 1px solid var(--mv-line);
    border-radius: 21px;
    padding: 23px;
    box-shadow: 0 5px 20px rgba(20, 59, 74, .04);
}
.mv-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 17px;
}
.mv-panel-title h3 { font-size: 17px; margin: 0; color: var(--mv-navy); }
.mv-subtle { font-size: 11px; color: var(--mv-muted); }

.mv-route-row {
    display: grid;
    grid-template-columns: 43px 1fr auto;
    gap: 13px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #edf2f2;
}
.mv-route-row:first-child { padding-top: 0; }
.mv-route-row:last-of-type { border-bottom: 0; }
.mv-route-badge {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    background: #e5f7ed;
    color: #187b56;
    border-radius: 13px;
    font-weight: 900;
}
.mv-badge-blue  { background: #e1f2fb; color: #14769e; }
.mv-badge-amber { background: #fff1d8; color: #99680b; }
.mv-route-info strong { font-size: 13px; display: block; color: var(--mv-navy); }
.mv-route-info small  { font-size: 11px; color: var(--mv-muted); display: block; margin-top: 4px; }

.mv-status {
    font-size: 10px;
    font-weight: 800;
    padding: 7px 9px;
    border-radius: 99px;
    white-space: nowrap;
}
.mv-status-good { background: #e0f6e9; color: #167a53; }
.mv-status-mid  { background: #fff2d9; color: #9b680c; }

.mv-notice {
    position: relative;
    overflow: hidden;
    background: linear-gradient(140deg, #12304a, #155b73);
    color: #fff;
    border-color: transparent;
}
.mv-notice::after {
    content: "\f06c";                       /* icono de hoja (Font Awesome) */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    font-size: 130px;
    right: -6px;
    bottom: -20px;
    color: rgba(255, 255, 255, .06);
}
.mv-notice .mv-panel-title h3 { color: #fff; }
.mv-notice .mv-subtle { color: #c2dce3; }
.mv-notice-label {
    display: inline-block;
    padding: 6px 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .09);
    color: #a9ecd0;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.mv-notice h4 { font-size: 21px; line-height: 1.25; margin: 15px 0 9px; max-width: 300px; }
.mv-notice p  { font-size: 12px; line-height: 1.7; color: #c6dce3; margin: 0 0 19px; max-width: 310px; }
.mv-notice .mv-btn { position: relative; z-index: 1; background: #e3f7ed; color: #176c51; }

/* El enlace "Ver todas las rutas" (de index.css) dentro del panel */
.mv-panel .ver-todas-link { margin-top: 16px; }

/* ---------- Franja de beneficios ---------- */
.mv-impact-band {
    background: linear-gradient(110deg, #12304a, #176b7b);
    color: #fff;
    padding: 27px 0;
    margin-bottom: 40px;
}
.mv-impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.mv-impact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 10px;
    border-right: 1px solid rgba(255, 255, 255, .12);
}
.mv-impact-item:last-child { border-right: 0; }
.mv-impact-symbol {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .09);
    font-size: 18px;
    color: #b7f1d2;
}
.mv-impact-item strong { display: block; font-size: 17px; letter-spacing: -.3px; }
.mv-impact-item small  { display: block; font-size: 10px; color: #c1dce3; margin-top: 4px; }

/* ---------- Una experiencia diferente ---------- */
.mv-surprise {
    position: relative;
    overflow: hidden;
    background: #0c263a;
    color: #fff;
    padding: 45px 0 48px;
    margin-bottom: 40px;
}
.mv-surprise::before {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    border: 1px solid rgba(139, 220, 192, .27);
    right: -120px;
    top: -230px;
    box-shadow: 0 0 0 38px rgba(139, 220, 192, .06), 0 0 0 78px rgba(139, 220, 192, .03);
}
.mv-surprise::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid rgba(139, 220, 192, .2);
    left: -170px;
    bottom: -210px;
}
.mv-surprise .container { position: relative; z-index: 1; }

.mv-surprise-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 23px;
}
.mv-surprise-head h2 {
    font-size: clamp(27px, 3.2vw, 39px);
    line-height: 1.08;
    letter-spacing: -1.3px;
    margin: 10px 0;
    color: #fff;
    max-width: 590px;
}
.mv-surprise-head h2 span { color: #91e8bd; }
.mv-surprise-head p { font-size: 13px; line-height: 1.7; color: #b7d1dc; max-width: 500px; margin: 0; }

.mv-spark-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid rgba(116, 215, 181, .3);
    background: rgba(42, 194, 141, .1);
    border-radius: 99px;
    color: #8fe6bd;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}
.mv-surprise-grid { display: grid; grid-template-columns: 1fr .88fr; gap: 18px; }

/* Tarjeta del reto */
.mv-mission-card {
    position: relative;
    border-radius: 24px;
    padding: 25px;
    background: linear-gradient(140deg, #176b69, #145276 80%);
    border: 1px solid rgba(255, 255, 255, .13);
    min-height: 285px;
    overflow: hidden;
}
.mv-mission-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mv-mission-top span:first-child {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #bcefe0;
    font-weight: 800;
}
.mv-mission-status {
    font-size: 10px;
    color: #d9fff0;
    background: rgba(255, 255, 255, .09);
    border-radius: 99px;
    padding: 7px 10px;
}
.mv-mission-card h3 { font-size: 26px; line-height: 1.13; letter-spacing: -.7px; max-width: 380px; margin: 23px 0 10px; color: #fff; }
.mv-mission-card > p { font-size: 12px; line-height: 1.75; color: #d0e9e9; max-width: 400px; margin: 0 0 20px; }
.mv-mission-progress { height: 6px; background: rgba(255, 255, 255, .16); border-radius: 99px; overflow: hidden; margin: 17px 0 8px; }
.mv-mission-progress span { display: block; height: 100%; width: 0; background: #a8f0c9; border-radius: 99px; transition: width .45s ease; }
.mv-mission-bottom { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; color: #d5eeee; }
.mv-mission-card .mv-btn { margin-top: 18px; background: #d8f8e7; color: #125d4b; }
.mv-mission-msg { font-size: 11px; line-height: 1.6; color: #e1fff0; margin: 12px 0 0; min-height: 18px; }

/* Tarjeta "Tu viaje, tu decisión" */
.mv-impact-lab { background: #f8fcfa; color: var(--mv-ink); border-radius: 24px; padding: 23px; }
.mv-impact-lab h3 { font-size: 20px; letter-spacing: -.5px; margin: 0 0 7px; color: var(--mv-navy); }
.mv-impact-lab > p { font-size: 12px; line-height: 1.65; color: var(--mv-muted); margin: 0 0 18px; }
.mv-choice-list { display: grid; gap: 9px; }
.mv-choice {
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid #dceae5;
    background: #fff;
    border-radius: 13px;
    padding: 12px;
    text-align: left;
    cursor: pointer;
    transition: border-color .2s, transform .2s, background .2s;
    color: var(--mv-ink);
    width: 100%;
}
.mv-choice:hover { border-color: #70cba2; transform: translateX(2px); }
.mv-choice.is-selected { border-color: #259b6a; background: #eaf9f0; box-shadow: 0 0 0 2px rgba(37, 155, 106, .08); }
.mv-choice-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #e4f6eb;
    color: #1a805a;
    font-size: 15px;
    flex: 0 0 37px;
}
.mv-choice strong { display: block; font-size: 12px; }
.mv-choice small  { display: block; font-size: 10px; color: var(--mv-muted); margin-top: 3px; }

.mv-impact-result { display: none; margin-top: 13px; background: #e4f6ec; border-radius: 14px; padding: 14px; color: #1a654a; }
.mv-impact-result.is-open { display: block; animation: mv-rise .28s ease; }
.mv-impact-result strong { display: block; font-size: 13px; margin-bottom: 5px; }
.mv-impact-result p { font-size: 11px; line-height: 1.65; margin: 0; }
@keyframes mv-rise {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Mini mapa decorativo */
.mv-mini-map {
    height: 130px;
    position: relative;
    margin-top: 17px;
    background: #eaf4ef;
    border-radius: 17px;
    overflow: hidden;
    border: 1px solid #d8e8df;
}
.mv-mini-map::before {
    content: "";
    position: absolute;
    inset: -30%;
    background:
        repeating-linear-gradient(28deg, transparent 0 34px, #fff 35px 43px, transparent 44px 70px),
        repeating-linear-gradient(110deg, transparent 0 42px, #fff 43px 51px, transparent 52px 80px);
}
.mv-map-route {
    position: absolute;
    left: 13%;
    top: 56%;
    width: 75%;
    height: 4px;
    background: #1a9a69;
    border-radius: 10px;
    transform: rotate(-15deg);
    box-shadow: 0 0 0 4px rgba(26, 154, 105, .1);
}
.mv-map-point {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: #137ca1;
    border: 3px solid #fff;
    box-shadow: 0 3px 9px rgba(21, 59, 74, .19);
}
.mv-map-point.is-a { left: 13%; top: 53%; }
.mv-map-point.is-b { right: 12%; top: 25%; background: #239b69; }
.mv-map-label {
    position: absolute;
    z-index: 2;
    background: #fff;
    padding: 5px 7px;
    border-radius: 7px;
    font-size: 9px;
    font-weight: 800;
    color: #315467;
    box-shadow: 0 3px 10px rgba(21, 59, 74, .07);
}
.mv-map-label.is-a { left: 8%; top: 75%; }
.mv-map-label.is-b { right: 4%; top: 7%; }
.mv-map-caption {
    position: absolute;
    left: 10px;
    bottom: 8px;
    font-size: 9px;
    color: #547365;
    background: rgba(255, 255, 255, .8);
    padding: 4px 7px;
    border-radius: 6px;
}

/* ---------- Viaja con información ---------- */
.mv-journey {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 28px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--mv-line);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(20, 59, 74, .04);
}
.mv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #c4e7d6;
    background: #edfaf3;
    color: #187a55;
    padding: 8px 12px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.mv-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mv-green); box-shadow: 0 0 0 4px rgba(39, 155, 104, .11); }
.mv-journey-copy h2 { font-size: 28px; letter-spacing: -1px; line-height: 1.15; margin: 0 0 12px; color: var(--mv-navy); }
.mv-journey-copy > p { font-size: 13px; line-height: 1.8; color: var(--mv-muted); margin: 0 0 17px; }
.mv-green-note {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 14px;
    background: #eaf8f0;
    color: #267153;
    font-size: 12px;
    line-height: 1.6;
}
.mv-green-note i { font-size: 20px; }

.mv-journey-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.mv-step { background: #f5faf8; border: 1px solid #e2efea; border-radius: 15px; padding: 17px; }
.mv-step-num {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: #dff5e8;
    color: #167a53;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 12px;
}
.mv-step strong { display: block; font-size: 13px; color: var(--mv-navy); margin-bottom: 5px; }
.mv-step p { font-size: 11px; line-height: 1.6; color: var(--mv-muted); margin: 0; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 991px) {
    .mv-finder { grid-template-columns: 1fr 1fr; }
    .mv-finder .mv-btn { width: 100%; }
    .mv-quick-grid { grid-template-columns: repeat(2, 1fr); }
    .mv-impact-grid { grid-template-columns: repeat(2, 1fr); gap: 17px 8px; }
    .mv-impact-item:nth-child(2) { border-right: 0; }
    .mv-journey { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .mv-info-grid,
    .mv-surprise-grid { grid-template-columns: 1fr; }
    .mv-surprise { padding: 35px 0; }
    .mv-surprise-head { display: block; }
    .mv-surprise-head p { margin-top: 10px; }
    .mv-mission-card { min-height: 260px; }
    .mv-head { align-items: flex-start; }
    .mv-head h2 { font-size: 22px; }
}

@media (max-width: 520px) {
    .mv-finder { grid-template-columns: 1fr; padding: 16px; }
    .mv-finder-head { align-items: flex-start; flex-direction: column; gap: 4px; }
    .mv-quick-grid { gap: 10px; }
    .mv-quick-card { padding: 15px; }
    .mv-quick-card h3 { font-size: 13px; }
    .mv-quick-card p { font-size: 11px; }
    .mv-quick-icon { width: 40px; height: 40px; margin-bottom: 12px; }
    .mv-impact-item { padding: 0 5px; gap: 8px; }
    .mv-impact-symbol { width: 35px; height: 35px; flex-basis: 35px; font-size: 15px; }
    .mv-impact-item strong { font-size: 15px; }
    .mv-impact-item small { font-size: 9px; }
    .mv-journey { padding: 18px; }
    .mv-journey-copy h2 { font-size: 24px; }
    .mv-journey-steps { grid-template-columns: 1fr; gap: 8px; }
    .mv-step { padding: 13px; }
    .mv-panel { padding: 18px; }
}
