* {
    box-sizing: border-box;
}
html,
body {
    min-height: 100%;
}
body {
    margin: 0;
    color: #17384e;
    background: #edf3f5;
    font-family: Arial, Helvetica, sans-serif;
}
a {
    text-decoration: none;
}
.mpv-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(430px, 1.08fr) minmax(520px, .92fr);
}
.mpv-background {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(128deg, rgba(8, 69, 68, .88), rgba(12, 111, 87, .73) 54%, rgba(171, 144, 49, .48)),
        linear-gradient(0deg, rgba(0, 38, 44, .24), rgba(0, 38, 44, .08)),
        url('../images/mpch-edificio-login.jpg') center/cover no-repeat;
}
.mpv-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 18%, rgba(255,255,255,.18), transparent 32%),
        linear-gradient(to top, rgba(0, 48, 45, .48), transparent 48%);
}
.mpv-background-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(1, 48, 58, .12), transparent 48%);
}
.mpv-brand {
    min-height: 100vh;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px clamp(34px, 6vw, 86px) 72px;
}
.mpv-back-link {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 999px;
    color: rgba(255,255,255,.94);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(4px);
    font-size: 12px;
    font-weight: 700;
    transition: background .18s ease, transform .18s ease;
}
.mpv-back-link:hover {
    background: rgba(255,255,255,.15);
    transform: translateY(-1px);
}
.mpv-brand-content {
    max-width: 660px;
}
.mpv-logo {
    width: 104px;
    height: 118px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,.22));
}
.mpv-kicker,
.mpv-eyebrow {
    margin: 19px 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}
.mpv-brand-content h1 {
    max-width: 640px;
    margin: 0;
    font-size: clamp(44px, 5vw, 70px);
    line-height: 1.02;
    letter-spacing: -1.6px;
    text-shadow: 0 12px 30px rgba(0,0,0,.16);
}
.mpv-brand-content > p:last-child {
    max-width: 590px;
    margin: 24px 0 0;
    color: rgba(255,255,255,.90);
    font-size: 18px;
    line-height: 1.65;
}
.mpv-panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 38px clamp(30px, 4vw, 62px);
    background:
        radial-gradient(circle at top right, rgba(231, 246, 240, .90), transparent 35%),
        linear-gradient(180deg, #fbfdfd, #f1f6f7);
}
.mpv-panel-inner {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}
.mpv-eyebrow {
    margin-top: 0;
    color: #0c7a5c;
}
.mpv-heading h2 {
    margin: 0;
    color: #17384e;
    font-size: clamp(32px, 3vw, 44px);
    letter-spacing: -.8px;
}
.mpv-heading > p:last-child {
    margin: 12px 0 0;
    color: #697f8d;
    font-size: 15px;
    line-height: 1.6;
}
.mpv-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}
.mpv-card {
    position: relative;
    min-height: 355px;
    display: flex;
    flex-direction: column;
    padding: 26px;
    overflow: hidden;
    border: 1px solid #d7e5e8;
    border-radius: 20px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 15px 35px rgba(27, 71, 88, .09);
    transition: transform .20s ease, box-shadow .20s ease, border-color .20s ease;
}
.mpv-card::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    right: -70px;
    top: -70px;
    border-radius: 50%;
    background: rgba(12, 122, 92, .06);
}
.mpv-card:hover {
    transform: translateY(-5px);
    border-color: rgba(12, 122, 92, .30);
    box-shadow: 0 22px 44px rgba(27, 71, 88, .14);
}
.mpv-card-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #0c7a5c, #1b8f6e 70%, #b29b38);
    box-shadow: 0 10px 22px rgba(12, 122, 92, .22);
}
.mpv-card-secondary .mpv-card-icon {
    background: linear-gradient(135deg, #0b5d83, #0d7c88 70%, #3d9f83);
    box-shadow: 0 10px 22px rgba(11, 93, 131, .22);
}
.mpv-card-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}
.mpv-card-number {
    position: absolute;
    top: 27px;
    right: 27px;
    color: #c7d4d9;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}
.mpv-card h3 {
    margin: 27px 0 11px;
    color: #17384e;
    font-size: 23px;
    line-height: 1.2;
}
.mpv-card p {
    margin: 0;
    color: #677d8b;
    font-size: 14px;
    line-height: 1.65;
}
.mpv-action {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding: 0 18px;
    border-radius: 13px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(12, 122, 92, .19);
    transition: filter .18s ease, transform .18s ease;
}
.mpv-action:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}
.mpv-action-primary {
    background: linear-gradient(135deg, #0c7a5c, #1b8f6e 68%, #ad9737);
}
.mpv-action-secondary {
    background: linear-gradient(135deg, #0b5d83, #0d7c88 70%, #2d9076);
    box-shadow: 0 12px 24px rgba(11, 93, 131, .19);
}
.mpv-notice {
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid #d7e5e8;
    border-radius: 13px;
    color: #607785;
    background: rgba(255,255,255,.76);
}
.mpv-notice-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #0c7a5c;
    font-weight: 700;
}
.mpv-notice p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}
.mpv-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #dce6ea;
    color: #82939d;
    font-size: 11px;
}
@media (max-width: 1050px) {
    .mpv-page {
        grid-template-columns: 1fr;
    }
    .mpv-background {
        min-height: 460px;
    }
    .mpv-brand {
        min-height: 460px;
        padding-bottom: 54px;
    }
    .mpv-panel {
        min-height: auto;
    }
}
@media (max-width: 700px) {
    .mpv-options {
        grid-template-columns: 1fr;
    }
    .mpv-card {
        min-height: 320px;
    }
    .mpv-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}
@media (max-width: 500px) {
    .mpv-brand,
    .mpv-panel {
        padding-left: 20px;
        padding-right: 20px;
    }
    .mpv-brand-content h1 {
        font-size: 42px;
    }
    .mpv-logo {
        width: 84px;
        height: 96px;
    }
}
