html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    /* Fondo Desktop */ 
    background-image: url('../images/AEBU_Socio_Cultura_Fondo_Final.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ===========================
   HEADER
=========================== */

.main-header {
    position: relative;
    width: 100%;
    height: 110px;
    background-color: #005193;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

    .main-header h1 {
        margin: 0;
        color: #fff;
        font-size: 3rem;
        font-weight: 700;
    }

.mobile-logo {
    display: none;
}

/* ===========================
   CONTENIDO
=========================== */

.page-wrapper {
    min-height: calc(100vh - 110px);
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.content-shell {
    width: 100%;
}

.consulta-page {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
}

.consulta-card {
    width: 100%;
    max-width: 520px;
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    box-sizing: border-box;
    /* Desktop */
    margin-left: 500px;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
}

.consulta-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.input-set {
    display: flex;
    flex-direction: column;
}

    .input-set label {
        font-weight: 600;
        margin-bottom: .4rem;
        color: #333;
    }

    .input-set input {
        width: 100%;
        padding: .9rem 1rem;
        border: 1px solid #ccc;
        border-radius: 10px;
        font-size: 1rem;
        box-sizing: border-box;
    }

        .input-set input:focus {
            outline: none;
            border-color: #258cfb;
            box-shadow: 0 0 0 .2rem rgba(37,140,251,.2);
        }

.consulta-button {
    margin-top: .8rem;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: #4b83c7;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: .2s;
}

    .consulta-button:hover {
        background: #2f6db9;
    }

/* ===========================
   MOBILE
=========================== */

@media (max-width:768px) {

    html,
    body {
        background: none;
        background-color: #eef4fb;
    }

    .main-header {
        height: 130px;
        overflow: hidden;
    }

        .main-header h1 {
            display: none;
        }

    .mobile-logo {
        display: block;
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 120px;
        height: auto;
    }

    .page-wrapper {
        min-height: calc(100vh - 82px);
        background-color: #f58220;
        background-image: url('../images/fondo_mobile.png');
        background-repeat: no-repeat;
        background-position: center bottom;
        background-size: 100% auto;
        justify-content: center;
        align-items: flex-start;
    }

    .consulta-page {
        width: 100%;
        min-height: calc(100vh - 82px);
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding: 2rem .8rem 0;
        box-sizing: border-box;
    }

    .consulta-card {
        margin: 1rem 0 0;
        max-width: 340px;
        width: 100%;
        padding: 1.6rem 1.2rem;
        border-radius: 14px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .consulta-button {
        width: 100%;
    }
}
