:root {
    --brand-red: #c92d2a;
    --brand-dark: #111;
    --muted: #6b6b6b;
    --container-width: 1150px;
    --max-banner-height: 420px;
    --page-bg: #ffffff;
}

/* Reset básico */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    background: var(--page-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Container principal */
.login-container {
    padding: 28px 18px;
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* HEADER */
.site-header {
    background: var(--brand-red);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 2px 0 rgba(0,0,0,0.04);
}

.header-inner {
    text-align: center;
}

.header-logo {
    height: 52px;
    width: auto;
    display: inline-block;
    filter: drop-shadow(0 2px 0 rgba(0,0,0,0.06));
    max-width: 100%;
    height: auto; /* allow media queries to control actual height */
}

/* CONTENEDOR DE LOS BOTONES */
.img-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap; /* En celulares se pondrá uno abajo del otro automáticamente */
}


.img-btn {
    position: relative;
    width: 500px;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

    .img-btn:hover {
        transform: scale(1.04);
    }

    /* LA IMAGEN */
    .img-btn img {
        width: 100%;
        height: auto; /* Mantiene la proporción original 100% visible */
        display: block;
    }

/* TEXTO ENCIMA (Mantenemos tu estilo original) */
.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

    .overlay h3 {
        margin: 0;
        font-size: 18px;
    }

    .overlay p {
        margin: 5px 0 0;
        font-size: 13px;
    }
