:root {
    --blanco: #ffffff;
    --principal: #a4a4a4;
    --secundario: #1194be;
    --nav: #519EE0;
    --negro: #000;
    --botones: #316B77;
    --principal2: #527181;

}

body {
    font-family: parkinsans;
}

html {
    font-size: 62.5%;
    box-sizing: border-box;

}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    background-image: linear-gradient(to bottom, rgb(62, 151, 235) 20%, #ffffff 90%);
    font-size: 16mpx;
}

h1 {
    font-size: 3.8rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 1.8rem;
}

h1,
h2,
h3 {
    text-align: center;
}

.NavegacionPrincipal {
    color: var(--blanco);
    display: flex;
    flex-direction: column;

}

@media (min-width: 480px) {
    .NavegacionPrincipal {
        flex-direction: row;
        justify-content: space-evenly;
    }
}

.NavegacionPrincipal a {
    display: block;
    text-align: center;
    padding: 1rem 2rem;
    color: var(--blanco);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.NavegacionPrincipal a:hover {
    background-color: var(--nav);
    color: var(--negro);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contenedor {
    max-width: 120rem;
    margin: 0 auto 0 auto;
}

.boton {
    background-color: var(--botones);
    text-decoration: none;
    color: blanchedalmond;
    padding: 1rem 3rem;
    border-radius: 5rem;
    margin-top: 2rem;
    font-size: 1rem;
    width: 90%;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    border: none;
}

@media (min-width: 480px) {
    .boton {
        width: auto;
    }
}

.boton:hover {
    cursor: pointer;
    transform: scale(1.05);
    background-color: var(--principal2);
    transition: all 0.3s ease;
}

.contenido-hero a:hover {
    background-color: var(--nav);
    color: var(--negro);
}

/**Utilidades**/
.w-sm-100 {
    width: 100%;
}

@media (min-width: 480px) {
    .w-sm-100 {
        width: auto;
    }
}

.flex {
    display: flex;
}

.alinear-derecha {
    justify-content: flex-end;
}



.nav-bg {
    background-color: var(--secundario);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}

/**imagen*/
.Hero {
    background-image: url(../img/Fondo.png);
    background-size: cover;
    background-repeat: no-repeat;
    height: 450px;
    position: relative;
    margin-bottom: 2rem;
}

.contenido-hero {
    position: absolute;
    background-color: rgb(0 0 0 / 15%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contenido-hero h2,
.contenido-hero p {
    color: var(--blanco);
}

.ubicacion {
    display: flex;
    align-items: flex-end;
}

/* Hola */
.sombra {
    -webkit-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
    background-color: var(--blanco);
    padding: 2rem;
    border-radius: 2rem;
}

@media (min-width: 480px) {
    .servicios {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 2rem;
    }
}

.servicio {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 2rem;
    border-radius: 1rem;
}

.servicio:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.5);
}

.servicio h3 {
    color: var(--negro);
    font-weight: normal;
}

.servicio p {
    line-height: 2;
}

.servicio .iconos {
    background-color: var(--principal2);
    height: 15rem;
    width: 15rem;
    border-radius: 50%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

/** Contacto **/

.formulario {
    background-color: transparent;
    width: min(60rem, 100%);
    margin: 0 auto;
    padding: 2rem;
}

.formulario fieldset {
    border: none;
}

.formulario legend {
    text-align: center;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--principal2);
}

/*Campos de formulario*/
@media (min-width: 480px) {
    .contenedor-campos {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: auto auto 20rem;
        column-gap: 1rem;

    }
}

.campos:nth-child(3) {
    grid-column: 1 / 3;
}

.campos:nth-child(4) {
    grid-column: 1 / 3;
}

.campos {
    margin-bottom: 1rem;

}

.campos label {
    color: var(--negro);
    font-weight: bold;
    margin-bottom: .5rem;
    display: block;
}

.input-text {
    background-color: var(--blanco);
    width: 100%;
    border: 1px solid #e1e1e1;
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: all .3s ease;
}

.input-text:focus {
    border-color: var(--secundario);
    outline: none;
    box-shadow: 0 0 5px rgba(17, 148, 190, 0.2);
}

.campos textarea {
    height: 20rem;
}

.Cierre {
    text-align: center;
}

/** Clientes **/
.seccion-clientes {
    padding: 4rem 0;
}

.clientes-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    margin-top: 2rem;
    padding-bottom: 2rem;
    /* Space for scrollbar */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
}

/* Hide scrollbar for cleaner look */
.clientes-grid::-webkit-scrollbar {
    height: 8px;
}

.clientes-grid::-webkit-scrollbar-thumb {
    background-color: var(--principal2);
    border-radius: 4px;
}

.clientes-grid::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

.cliente-placeholder {
    background-color: var(--principal2);
    height: 20rem;
    min-width: 28rem;
    /* Fixed width for carousel items */
    scroll-snap-align: center;
    flex: 0 0 auto;
    /* Prevent shrinking */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    color: var(--blanco);
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.cliente-placeholder:hover {
    transform: scale(1.02);
}

/** Footer Social Icons **/
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.social-icon {
    color: var(--principal);
    /* Using gray for minimalist look */
    width: 3rem;
    height: 3rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--secundario);
    /* Blue on hover */
    transform: translateY(-3px);
}

footer {
    padding-bottom: 2rem;
}