/* Estilos css Portada */

.titulo,
.servicios,
form {
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

/** MENU (desactivado) **/ 
/*
.nav-bg {
    background-color: var(--azul);
}
.nav-principal {
    align-items: center;
    display: flex;
    flex-direction: column;
}

@media (min-width: 480px) {
    .nav-principal {
        flex-direction: row;
        justify-content: space-between;
    }  
}
.nav-principal a {
    color: var(--blanco);
    padding: 1rem;
    text-decoration: none;
    transition: 2s;
}
.nav-principal a:hover {
    background-color: var(--blanco);
    color: var(--azul);
    cursor: pointer;
    transition: 2s;
}*/

/** BANNER PORTADA **/

.hero {
    background-image: url(../../public/img/portada-hero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 350px;
    margin-bottom: 2rem;
    position: relative;
}
.content-hero {
    align-items: center;
    background-color: rgb( 255 255 255 / 70% );
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    position: absolute;
    width: 100%;
}
.content-hero h2,
.content-hero p {
    color: var(--p-azul);
}
.ubicacion {
    align-items: flex-end;
    display: flex;
}
.btn {
    background-color: var(--p-naranja);
    color: white;
    border: 1px solid transparent;
    border-radius: .5rem;
    font-size: 2rem;
    font-weight: bold;
    margin-top: 3rem;
    padding: 1rem 3rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: 1s;
    width: 90%;
}
.btn:hover {
    background-color: white;
    border: 1px solid var(--p-naranja);
    color: var(--p-naranja);
    cursor: pointer;
    transition: 1s;
}

@media (min-width: 768px) {
    .btn {
        width: auto;
    }  
}

/** SERVICIOS **/
@media (min-width: 768px) {
    .servicios {
        column-gap: 1rem;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /*
        Opción reducida:
        grid: 1fr 1fr 1fr / 30rem;
        */
    }
}
.servicio {
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center,
}
.servicio h3 {
    color: var(--azul);
    font-weight: normal;
}
.servicio p {
    line-height: 2;
    text-align: center,
}
.servicio .iconos {
    align-items: center;
    background-color: var(--p-azul);
    border-radius: 50%;
    display: flex;
    height: 10rem;
    justify-content: center;
    width: 10rem;
}


/** FORMULARIO **/
.form {
    background-color: var(--p-azul);
    border-radius: 1.5rem;
    margin: 0 auto;
    padding: 3rem;
    width: min(60rem, 100%);
}
.form fieldset {
    border: none;
}
.form legend {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
}
@media (min-width: 769px) {
    .form-campos {
        column-gap: 1rem;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto 20rem;
    }
    .form-campo:nth-child(3),
    .form-campo:nth-child(4),
    .form-campo-check,
    .form-alert {
        grid-column: 1 / 3;
    }
}
.form-campo {
    margin-bottom: 1rem;
}
.form-campo label{
    color: white;
    display: block;
    font-weight: bold;
    margin-bottom: .5rem;
    text-align: left;
}
.form-campo-check {
    text-align: left;
    margin-top: 1.5rem;
}
.input-check {
    width: 3rem;
    transform: scale(1.5);
}
.label-check {
    color: white;
}
.label-check a{
    color: white;
}
.input{
    border: none;
    border-radius: .5rem;
    outline-color: var(--p-naranja);
    padding: 1rem;
    width: 100%;
}
.form-alert {
    text-align: center;
    color: white;
}

/** FOOTER **/

.footer {
    display: grid;
    grid-template-columns: 1fr;
    padding: 2rem;
}
@media (min-width: 768px) {
    .footer {
        grid-template-columns: 1fr 1fr;
    }
}
.footer-left {
    display: none;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .footer-left {
        display: inline;
    }
}
.footer-enlaces {
    display: inline;
}
.footer-enlace {
    color: var(--p-gris);
    margin-right: 1rem;
    text-align: center;
    text-decoration: none;
}
.footer-enlace:nth-last-child(1) {
    margin-right: 0;
}
.footer p span {
    color: var(--p-azul);
}
@media (min-width: 768px) {
    .footer p {
        display: inline;
    }
}
