

* {
    box-sizing: border-box;
}

:root {
    --wine: #8f1838;
    --wine2: #681128;
    --rose: #c97483;
    --cream: #fffaf4;
    --ink: #251d20;
    --muted: #746c70;
    --line: #ded6d3;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: #efe8e2;
}

body {
    min-height: 100vh;
}




.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns:
        minmax(520px, 1.12fr)
        minmax(470px, 0.88fr);

    position: relative;
    overflow: hidden;
}




.hero {
    position: relative;
    min-height: 100vh;

    background:
        url("../img/fondo-cdmx.png")
        center center / cover
        no-repeat;

    color: #ffffff;
}




.hero-shade {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(46, 13, 20, 0.82) 0%,
        rgba(77, 18, 34, 0.58) 42%,
        rgba(70, 22, 32, 0.18) 78%,
        rgba(0, 0, 0, 0) 100%
    );
}


.hero-content {
    position: relative;
    z-index: 1;

    min-height: 100vh;

    padding:
        48px
        clamp(38px, 6vw, 92px);

    display: flex;
    flex-direction: column;
}




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

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.brand-mark {
    width: 42px;
    height: 42px;

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;

    display: grid;
    place-items: center;

    font-size: 22px;
}




.hero-copy {
    margin: auto 0;
    max-width: 600px;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 3.5px;
    font-weight: 700;

    margin: 0 0 18px;

    color: #fff8f2;
}

.hero h1 {
    margin: 0;

    font-size: clamp(54px, 5.1vw, 84px);
    line-height: 0.93;

    letter-spacing: -3px;

    text-shadow:
        0 2px 18px
        rgba(50, 16, 26, 0.2);
}

.hero h1 span {
    display: block;

    font-size: 0.66em;
    font-weight: 300;

    letter-spacing: -2px;
}




.accent-line {
    width: 100px;
    height: 5px;

    border-radius: 5px;

    background: #f3c7bd;

    margin: 25px 0;
}


.lead {
    font-size: clamp(22px, 2vw, 31px);
    line-height: 1.25;

    margin: 0 0 38px;
}




.features {
    display: grid;
    gap: 19px;
}

.features article {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    width: 58px;
    height: 58px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;

    background: rgba(143, 24, 56, 0.87);

    font-size: 25px;

    box-shadow:
        0 8px 22px
        rgba(53, 16, 27, 0.2);
}

.features strong {
    font-size: 13px;
    letter-spacing: 0.8px;
}

.features p {
    margin: 3px 0 0;

    font-size: 13px;
    line-height: 1.35;

    color: rgba(255, 255, 255, 0.75);
}




.hero-footer {
    border-top:
        1px solid
        rgba(255, 255, 255, 0.45);

    padding-top: 18px;

    display: flex;
    flex-direction: column;
    gap: 9px;
}

.hero-footer span {
    font-size: 9px;
    letter-spacing: 3px;
}

.hero-footer em {
    font-family: Georgia, serif;

    font-size: 18px;

    color:
        rgba(255, 255, 255, 0.72);
}




.login-area {
    position: relative;

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

    padding: 50px;

    background:
        linear-gradient(
            145deg,
            #fffdf9,
            #f5ece7
        );
}




.login-area::before,
.login-area::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    filter: blur(1px);

    pointer-events: none;
}

.login-area::before {
    width: 390px;
    height: 390px;

    right: -180px;
    top: -180px;

    background:
        rgba(197, 111, 123, 0.14);
}

.login-area::after {
    width: 320px;
    height: 320px;

    left: -170px;
    bottom: -180px;

    background:
        rgba(143, 24, 56, 0.08);
}


.login-card {
    position: relative;
    z-index: 1;

    width: min(100%, 580px);

    padding:
        54px
        50px
        42px;

    background:
        rgba(255, 253, 250, 0.95);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border:
        1px solid
        rgba(255, 255, 255, 0.9);

    border-radius: 28px;

    box-shadow:
        0 28px 70px
        rgba(75, 41, 49, 0.12);
}




.card-head {
    text-align: center;

    margin-bottom: 31px;
}

.mini-label {
    display: block;

    color: var(--wine);

    font-size: 9px;
    letter-spacing: 3px;
    font-weight: 700;

    margin-bottom: 13px;
}

.card-head h2 {
    margin: 0;

    font-size: 42px;
    letter-spacing: -1.5px;

    color: #2c2427;
}

.card-head p {
    margin: 8px 0 0;

    color: var(--muted);

    font-size: 16px;
}




.error {
    padding: 13px 15px;

    margin: 0 0 20px;

    border:
        1px solid
        #e8c8ce;

    border-radius: 11px;

    background: #fff0f2;

    color: #7b1730;

    text-align: center;

    font-size: 14px;
}




.login-form label {
    display: block;

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

    color: #544b4f;

    margin: 17px 0 8px;
}




.field {
    height: 57px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border:
        1px solid
        var(--line);

    border-radius: 12px;

    background: #ffffff;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}




.field:focus-within {
    border-color: #ad536a;

    box-shadow:
        0 0 0 4px
        rgba(143, 24, 56, 0.05);
}




.field-icon {
    width: 52px;

    flex: 0 0 52px;

    text-align: center;

    color: #a4979b;

    font-size: 11px;
}

.field-icon.lock {
    font-size: 10px;
}




.field input {
    min-width: 0;

    flex: 1;

    height: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    font-size: 15px;

    color: var(--ink);

    padding: 0 8px;
}

.field input::placeholder {
    color: #a49ca0;
}




.eye {
    width: 54px;
    height: 100%;

    flex: 0 0 54px;

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

    border: 0;

    background: transparent;

    color: #81777b;

    cursor: pointer;

    padding: 0;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}




.eye svg {
    width: 21px;
    height: 21px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;

    pointer-events: none;
}




.eye svg[hidden] {
    display: none;
}




.eye:hover {
    color: var(--wine);

    background:
        rgba(143, 24, 56, 0.04);
}




.eye:focus-visible {
    outline:
        2px solid
        rgba(143, 24, 56, 0.45);

    outline-offset: -4px;
}




.submit {
    width: 100%;
    height: 59px;

    margin-top: 29px;

    border: 0;

    border-radius: 12px;

    background:
        linear-gradient(
            110deg,
            var(--wine),
            #a52549
        );

    color: #ffffff;

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

    cursor: pointer;

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

    gap: 22px;

    box-shadow:
        0 12px 24px
        rgba(143, 24, 56, 0.16);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.submit:hover {
    transform: translateY(-1px);

    box-shadow:
        0 15px 28px
        rgba(143, 24, 56, 0.2);
}

.submit:active {
    transform: translateY(0);
}

.arrow {
    font-size: 21px;
}




.secure {
    display: flex;
    align-items: center;

    gap: 15px;

    margin:
        31px
        0
        22px;

    color: #7c7377;
}

.secure span {
    height: 1px;

    flex: 1;

    background: #e1d9d6;
}

.secure p {
    margin: 0;

    white-space: nowrap;

    font-size: 12px;
}




.message-mark {
    text-align: center;

    color: #8d7169;
}

.leaf {
    height: 30px;

    font-family: Georgia, serif;

    font-size: 38px;
    line-height: 24px;

    color: #c39b8f;
}

.message-mark p {
    margin: 8px 0 0;

    font-size: 9px;
    letter-spacing: 3px;
    line-height: 1.65;
}

.message-mark strong {
    color: var(--wine);
}




.mobile-title,
.mobile-footer {
    display: none;
}




@media (max-width: 900px) {

    .login-shell {
        display: block;

        min-height: 100vh;

        padding: 30px 18px;

        background:
            url("../img/fondo-cdmx.png")
            center center / cover
            fixed no-repeat;
    }


    

    .hero {
        display: none;
    }


    .login-area {
        min-height:
            calc(100vh - 60px);

        padding: 30px 16px;

        background: transparent;

        display: flex;
        flex-direction: column;
    }


    

    .login-area::before {
    display: none;
    }

    .login-area::after {
        display: none;
    }


    

    .mobile-title {
        position: relative;
        z-index: 1;

        display: flex;
        align-items: center;

        gap: 11px;

        margin-bottom: 24px;

        color: #ffffff;

        font-size: 20px;

        text-shadow:
            0 2px 12px
            rgba(64, 16, 31, 0.5);
    }

    .mobile-mark {
        width: 40px;
        height: 40px;

        display: grid;
        place-items: center;

        border-radius: 50%;

        background:
            rgba(143, 24, 56, 0.91);
    }


    

    .login-card {
        max-width: 520px;

        padding:
            39px
            28px
            31px;

        border-radius: 23px;
    }


    .card-head h2 {
        font-size: 35px;
    }


    .mobile-footer {
        position: relative;
        z-index: 1;

        display: block;

        margin: 20px 0 0;

        color: #ffffff;

        text-align: center;

        font-size: 8px;

        letter-spacing: 2px;

        text-shadow:
            0 2px 8px
            rgba(66, 16, 32, 0.7);
    }
}




@media (max-width: 520px) {

    .login-shell {
        padding: 0;

        background-position:
            center top;
    }

    .login-area {
        min-height: 100vh;

        padding:
            24px
            14px;
    }


    .mobile-title {
        align-self: flex-start;

        margin:
            2px
            5px
            20px;

        font-size: 17px;
    }


    .login-card {
    width: 100%;

    padding:
        32px
        20px
        26px;

    border-radius: 21px;

    
    background: rgba(255, 250, 247, 0.60);

    
    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    border: 1px solid rgba(255, 255, 255, 0.65);

    box-shadow:
        0 15px 40px rgba(70, 20, 35, 0.20);
    }

    .card-head {
        margin-bottom: 25px;
    }

    .mini-label {
        font-size: 8px;
    }

    .card-head h2 {
        font-size: 31px;
    }

    .card-head p {
        font-size: 14px;
    }


    .field {
        height: 54px;
    }


    .submit {
        height: 56px;
    }


    .message-mark {
        margin-top: 4px;
    }


    .secure {
        margin:
            26px
            0
            19px;
    }
}




@media (max-height: 700px) and (min-width: 901px) {

    .login-card {
        padding-top: 35px;
        padding-bottom: 30px;
    }

    .features {
        gap: 12px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }

    .hero-footer {
        display: none;
    }
}
.galmx-titulo {
    font-family: "Bodoni MT", Didot, "Times New Roman", Georgia, serif;
    font-size: clamp(65px, 5.9vw, 98px) !important;
    font-weight: 400;
    line-height: .86 !important;
    letter-spacing: -2.5px !important;
}
.galmx-titulo span {
    display: block;
    margin-top: 9px;
    font-family: "Bodoni MT", Didot, "Times New Roman", Georgia, serif;
    font-size: .43em !important;
    font-weight: 400 !important;
    line-height: 1.05;
    letter-spacing: -.7px !important;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .galmx-titulo { font-size: clamp(55px, 12vw, 72px) !important; }
    .galmx-titulo span { font-size: .40em !important; }
}
