:root {
    --bs-body-font-family: 'Google Sans Flex', sans-serif;
    --azul-elmet: #052758;
    --color-maind: #0064d5;
    --rojo-elmet: #e4003a;
    --verde-pagox:#216c61;
    --verde-btn:#009d7f;
    --gris-azulado:#4579ad;
    --gris-silver:#acc2d0;
}

body {
    font-family: 'Google Sans Flex', sans-serif;
    margin: 0;
    padding: 0;
}

h1, h2, h3  {
    line-height: 120%;
     font-weight: 200;
}

h4, h5, h6 {
    font-weight: 200;
    line-height: 150%;
}

h1  {
    font-size: clamp(2rem, 7vw, 3.815rem);
}

h2 {
    font-size: 3.05rem;
}

h3 {
    font-size: 2.45rem;
}

h4 {
    font-size: 1.95rem;
}

h5 {
    font-size: 1.56rem;
}

h6 {
    font-size: 1.25rem;
}

p {
    font-size: 1rem;
    font-weight: 200;
    line-height: 170%;
}  

.hero {
    width:100%;
    min-height: 80vh;
    margin: 0;
}

.hero-content {
    width:100%;
    min-height: 80vh;
    padding: min(6rem, 20%) min(1.5rem, 10%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position:relative;
}

.hero-text {
    max-width: 1000px;
    color: #fff;
    text-align: center;
    z-index: 1;
    padding-bottom: 2rem;
}

.hero-text h1 {
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero .bold {
    font-weight: 500;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1000;
    background-image:url(img/mall-exterior.png);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-color {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #052758;
    opacity: 0.5;
}

.hero-highlights {
    position: relative;
    max-width: 100%;
    margin-top: -80px;
}

.cont-highlights {
    max-width: 1000px;
    margin: auto;
}   

.highlights {
    color: var(--azul-elmet);
    padding: 0px;
    text-align: center;
}


.card-h-1, .card-h-2, .card-h-3, .card-h-4 {
    height: 100%;
    padding: 2rem;
    text-align: left;
    align-items: center;
    justify-content: center;
}

.card-h-1 {
    color: white;
    background-color: var(--azul-elmet);
}

.card-h-2 {
    color: white;
    background-color: var(--color-maind);
}

.card-h-3 {
    color: white;
    background-color: var(--gris-azulado);
}

.card-h-4 {
    color: var(--azul-elmet);
    background-color: var(--gris-silver);
}


.highlights h6 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.min-text {
    font-size: 0.875rem;
    font-weight: 200;
}

.problema {
   padding: min(6rem, 20%) min(1.5rem, 10%);
}

.problema-titulos{
    max-width: 1000px;
    margin: auto;
    text-align: left;
    color: var(--azul-elmet);
}

.contenedor-problemas{
    margin-top: 2rem;
    text-align: center;
    color: #052758;
}

.icono-contenedor{
    color: var(--rojo-elmet); /* este color se lo pasa al icono si usas currentColor */
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #fcdee5;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.icono-problema { 
    width: 70px;
    height: 70px;
    stroke: currentColor;
    fill: currentColor;
}

.solucion{
    width: 100%;
    padding: min(6rem, 20%) min(1.5rem, 10%);
    background-color: #e9f1f9;
}

.solucion-titulo{
    max-width: 900px;
    text-align: center;
    color: var(--azul-elmet);
}

.solucion-titulo .bold{
    font-family: 'Google Sans Flex', sans-serif;
    font-weight: 700;
    color: var(--color-maind);
}

.solucion-contenido{
    margin: auto;
    max-width: 1000px;
    margin-bottom: 3rem;
    text-align: left;
    color: var(--azul-elmet);
}


.solucion-contenido h5{
    color: var(--color-maind)
}

.solucion-contenido .bold{
    font-family: 'Google Sans Flex', sans-serif;
    font-weight: 700;
    color: var(--color-maind);
}

.imagen-solucion {
    width: 100%;
    height: 400px;
    background-color: #abccf1;
    background-image: url('img/maind.art.png');
    background-size: cover;
    border-radius: 15px;
}

.tabla-operaciones{
    background-color: #ffffff;
    border-radius: 15px;
}

.titulo-operaciones{
    padding: 1.5rem;
    border-bottom: 1px solid var(--gris-silver);
    color: var(--azul-elmet);
}

.operaciones{
    padding: 1.5rem 3.5rem;
}

.item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 0;
}

.item-icon {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
    width: 110px;
  }

  .item-icon img {

    border-radius: 50%;
    border: 1px solid var(--gris-silver);
    width: 100%;
    max-width: 47px;
    height: auto;
  }


  .item-text {
    color: var(--azul-elmet);
    font-size: 1.25rem;
    font-weight: 200;
    line-height: 1.35;
  }


.hacemos {
    width: 100%;
    padding:100px 30px 100px 30px;
    margin-top: 0px;
    background-color: var(--color-maind);
}



.card-body {
    max-width: 1000px;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 15px;
    text-align: center;
    margin-top: 3rem;
}

.card-icon {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--azul-elmet);
    gap: 15px;
}

.card-icon .num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--rojo-elmet);
    border-radius: 50%;
    color: white;
    font-weight: bold;
}

.card-text {
    margin-left: 3.4rem;
    margin-top: 1rem;
    text-align: left;
    font-size: 18px;
    font-weight: 200;
    color: var(--azul-elmet);
}

.card-text .bold{
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--azul-elmet);
}

.card-img {
    text-align: center;
    background-color: #f8f9fd;
    border-radius: 15px;
    margin-top: 1rem;
}

.card-img img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}


.boton-celeste {
    font-size: 1rem;
    background-color: var(--color-maind);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.boton-gris {
    font-size: 1rem;
    background-color: white;
    color: var(--azul-elmet);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.clientes{
    width: 100%;
    padding: min(6rem, 20%) min(1.5rem, 10%);
    background-color: #e9f1f9;
}

.clientes-titulo{
    margin: auto;
    max-width: 950px;
    text-align: center;
    color: var(--azul-elmet);
}


.logo-clientes{
    max-width: 1000px;
    text-align: center;
    color: #052758;
}

.contenedor-logo{
    padding: 10px;
    margin-bottom:min(1.2rem, 10%);
    max-width: 280px;
    height: auto;
    text-align: center;
    border-radius: 10px;
    background-color: white;
}

/* ---- Carrusel infinito de clientes ---- */

.carrusel-clientes {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    /* desvanecer los bordes para que la entrada/salida sea suave */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carrusel-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: carrusel-scroll 28s linear infinite;
}

.carrusel-track .contenedor-logo {
    flex: 0 0 auto;
    width: 190px;
    height: 90px;
    margin: 0 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrusel-track .contenedor-logo img {
    max-width: 80%;
    max-height: 65px;
    width: auto;
    height: auto;
}

@keyframes carrusel-scroll {
    from {
        transform: translateX(0);
    }
    to {
        /* la mitad del track = un set completo de logos (están duplicados) */
        transform: translateX(-50%);
    }
}

/* Sin animación: grilla estática centrada, sin los logos duplicados */
@media (prefers-reduced-motion: reduce) {
    .carrusel-track {
        animation: none;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .carrusel-track .contenedor-logo {
        margin-bottom: 12px;
    }

    .carrusel-track .contenedor-logo[aria-hidden="true"] {
        display: none;
    }

    .carrusel-clientes {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

@media (max-width: 767.98px) {
    .carrusel-track .contenedor-logo {
        width: 140px;
        height: 72px;
    }

    .carrusel-track .contenedor-logo img {
        max-height: 50px;
    }
}

.CTA{
    padding: min(6rem, 20%) min(1.5rem, 10%);
    background-color: var(--color-maind);
    text-align: center;
    color: white;
}

.CTA h2{
    font-family: 'Google Sans Flex', sans-serif;
    font-weight: 500;
}