@import "styles-layout.css";

:root{
    --bg: #F2F7FA;
    --card: #E3EEF5;
    --muted: #C9DEEC;
    --accent: #AFCBE3;
    --brand-500: #86A8C2;
    --brand-800: #3B4F61;
}

.mm-hero{
    position: relative;
    display: grid;
    align-content: start;
    color: #fff;
    background:
            linear-gradient(rgba(59,79,97,0.55), rgba(59,79,97,0.55)),
            url("../../components/mapa-login-azulado.png") center/cover no-repeat;
    height: 100vh;
}

/* Topbar con logo */
.mm-hero__topbar{
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px clamp(16px, 5vw, 40px);
}

.mm-brand{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.mm-brand__logo{
    height: 34px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.25));
}
.mm-brand__name{
    font-family: "Raleway", "Open Sans", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: .2px;
    color: #fff;
    font-size: 20px;
    text-shadow: 0 1px 10px rgba(0,0,0,.2);
}

.mm-hero__overlay{
    position: absolute; inset: 0;
    backdrop-filter: blur(1.2px);
}

.mm-hero__container{
    position: relative;
    z-index: 1;
    width: min(1100px, 92%);
    margin: clamp(24px, 6vh, 56px) auto;
    padding: clamp(20px, 4vw, 40px);
    font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    text-align: left;
}

.mm-hero__title{
    font-family: "Raleway", "Open Sans", Arial, sans-serif;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 .6rem 0;
    font-size: clamp(28px, 4.6vw, 56px);
    letter-spacing: .2px;
}

.mm-hero__subtitle{
    margin: 0 0 1.4rem 0;
    font-size: clamp(15px, 1.8vw, 20px);
    color: rgba(255,255,255,0.94);
    max-width: 820px;
}

.mm-hero__actions{
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
}

/* Botón primario */
.mm-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: .78rem 1.3rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform .08s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
    will-change: transform;
}
.mm-btn:active{ transform: translateY(1px); }

.mm-btn--primary{
    background: var(--brand-800);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.08);
}
.mm-btn--primary:hover{
    background: #2f3f50;
    box-shadow: 0 8px 22px rgba(0,0,0,.22);
}

@media (max-width: 576px){
    .mm-hero{ min-height: 60vh; }
    .mm-hero__container{ text-align: left; }
}


/*  */
.btn-cta {
    background-color: #3B4F61;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.btn-cta:hover{
    transform: translateX(10px);
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-cta:hover .arrow{
    transform: translateX(2px);
}
