.ubicaciones {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #F9751F;
    position: relative;
    margin: 15px 0;
    gap: 20px;

    & h1 {
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 3.5em;
        font-weight: 900;
        z-index: 5000;
        pointer-events: none;
        text-shadow: 4px 2px 3px rgba(0, 0, 0, 0.2);
    }
}


.sucursales {
    width: 90%;
    display: flex;
    gap: 15px;
    margin: 30px auto;
}

#mapa-sucursales {
    height: 400px;
    width: 90%;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.tarjeta {
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;

    & .encabezado {
        flex: 1;
        border-bottom: 1px solid #F9751F;
        min-height: 60px;
    }



    & h3 {
        text-align: center;
        font-size: 1.5em;
        font-weight: bold;
        padding: 20px;
    }

    & .contenido {
        flex: 1;
        padding: 25px;
        text-align: left;
        font-size: 15px;
        color: #333;
    }

    p {
        display: flex;
        align-items: center;
        margin: 5px 0;
    }

    i {
        color: #096CF1;
        margin-right: 8px;
    }
}

.elemento-oculto {
    display: none !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 9999s ease-in-out 0s;
    -webkit-text-fill-color: white !important;
    caret-color: white;
}

@media(max-width: 900px) {
    .contacto_contenedor {
        flex-direction: column;
        align-items: center;
    }

    .contacto_apartado {
        margin: 20px 0;
        width: 100%;
    }
}


.contacto {
    position: relative;
    margin-top: 30px;
    width: 100%;
    height: 65vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    box-sizing: border-box;
}

.fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.contacto::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.info {
    color: #fff;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 80%;


    & h1 {
        text-shadow: 4px 2px 3px rgba(0, 0, 0, 0.5);
        font-size: 2.5em;
        font-weight: 900;
    }

    & .boton {
        width: 100%;
        font-size: 1.5em;
        border-radius: 20px;
        background-color: #096CF1;
        color: #fff;
        font-weight: 800;
        padding: 10px;
        text-align: center;
        border: none;
        cursor: pointer;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
        margin: 15px;
    }
}

.fila-inputs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.inputform {
    font-size: 1.1em;
    flex: 1;
    background: none;
    border: none;
    padding: 10px 0;
    border-bottom: solid 1px #fff;
    outline: none;
    color: white;
    margin-bottom: 15px;
}

.inputform::placeholder {
    color: white;
}

@media (max-width: 768px) {
    .sucursales {
        flex-direction: column;
    }

    .ubicaciones {

        & h1 {
            width: 80%;
            font-size: 2.5em;
            text-align: center;
        }
    }

    .fila-inputs {
        flex-wrap: wrap;
        gap: 0;
    }

    .info {
        text-align: center;
        gap: 0;

        & h3 {
            font-size: 1em;
        }

        & .boton {
            width: 60%;
            margin: 20px;
        }
    }

    /* form {
        display: flex;
        flex-wrap: wrap;
    } */

}