*, *::before, *::after {
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
}
/* ============================
   HERO / CAROUSEL
============================ */

.hero {
    width: 100%;
}

.carousel {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

/* Slides */
.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .6s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================
   INDICATORS (líneas)
============================ */

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    right: 24px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.indicator {
    width: 26px;
    height: 3px;
    background: rgba(255,255,255,.45);
    border: none;
    cursor: pointer;
    transition: background .3s ease, width .3s ease;
}

.indicator.active {
    background: #fff;
    width: 40px;
}
/* ============================
   HERO - Desktop image anchor
============================ */

@media (min-width: 769px) {
    .slide img {
        object-position: center top;
    }
}

/* ============================
   INFO SECTION
============================ */

.info-section {
   
    margin: 80px auto;
    text-align: center;
    padding: 0 ;
}
.info-content {
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================
   Section subtitle highlight
============================ */

.info-title {
    
    background: #BE1119;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
font-family: 'Made Okine Sans', sans-serif;
    font-weight: 700;
    padding: 26px 0;
    margin-bottom: 24px;
}
@media (max-width: 768px) {

    .info-title {
        font-size: 23px;
    }
}

.info-text {
    max-width: 920px;
    margin: 0 auto 50px;
    line-height: 1.6;
    color: #000000;    
font-family: 'Made Okine Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
     text-align: justify;
    text-justify: inter-word;
}

@media (max-width: 768px) {

    .info-text {
        font-size: 20px;
    }
}
/* ============================
   CAROUSEL
============================ */
.info-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-size: 20px;
}

/* Slots fijos */
.card-slot {
    width: 280px;
    height: auto;
    transition: transform .5s ease;
}

/* Centro con flechas */
.center-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Tarjeta base */
.info-card {
    border: 2px solid #c40000;
    border-radius: 16px;
    padding: 16px;
    background: #fff;
    transition: transform .5s ease, background .5s ease;
    transition:
        opacity .45s ease,
        transform .45s ease;
        
font-family: 'Made Okine Sans', sans-serif;
    font-weight: 400;
}

.info-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
}

/* Estados visuales */
.is-left .info-card,
.is-right .info-card {
    transform: scale(0.92);
    opacity: 0.85;
}

.is-center .info-card {
    background: #8a8a8a;
    transform: scale(1.05);
}

/* Flechas alineadas al centro */
.info-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #000;
    color: #fff;
    cursor: pointer;
}

/* ============================
   Card transition (individual)
============================ */

/* Estados de salida */
.card-exit-left {
    opacity: 0;
    transform: translateX(-12px) scale(0.96);
}

.card-exit-right {
    opacity: 0;
    transform: translateX(12px) scale(0.96);
}

/* Estado de entrada */
.card-enter {
    opacity: 0;
    transform: scale(0.96);
}
/* ============================
   Info carousel - Mobile
============================ */

@media (max-width: 768px) {

    /* Ocultar tarjetas laterales */
    .card-slot.left,
    .card-slot.right {
        display: none;
    }

    /* Centrar tarjeta central y flechas */
    .info-carousel {
        justify-content: center;
    }

    .center-wrapper {
        gap: 10px;
    }

    /* Tarjeta central ocupa más ancho */
    .card-slot.center {
        width: 100%;
        max-width: 320px;
    }

    /* Ajuste visual */
    .is-center .info-card {
        transform: scale(1);
    }
}
.info-center-text2 p {
    font-size: 26px;
    color: #000;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 400;
    text-align: center;
    text-justify: inter-word;
}
@media (max-width: 768px) {

   .info-center-text2 p {
        font-size: 16px;
        
    }

}
/*BOTON COTIZAR*/
.cotizar-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.btn-cotizar {
    background-color: #000;
    color: #fff;
    padding: 14px 36px;
    border-radius: 14px;
    font-size: 30px;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.2s ease;
    font-family: 'Made Okine Sans', sans-serif;
    font-weight: 400;
}

.btn-cotizar:hover {
    background-color: #222;
    transform: translateY(-2px);
}

.btn-cotizar:active {
    transform: translateY(0);
}
@media (max-width: 1040px) and (min-width: 769px) {

    .btn-cotizar {
        font-size: 24px;
        padding: 12px 30px;
        border-radius: 12px;
    }
}

@media (max-width: 768px) {

    .btn-cotizar {
        font-size: 16px;
        padding: 10px 24px;
        border-radius: 10px;
    }

    .cotizar-wrapper {
        margin-top: 24px;
    }
}

/*------------MEJORES CLIENTES IMAGENES---------------*/
.clientes {
    width: 100%;
    padding: 60px 20px;
}

.clientes-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
}

.clientes-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    align-items: center;
    justify-items: center;
}

.clientes-grid--final {
    margin-top: 40px;
}
.clientes-grid--final {
    grid-template-columns: repeat(2, 1fr);
    max-width: 420px;      /* ancho del bloque de 2 logos */
    margin: 40px auto 0;  /* centrado */
    gap: 40px 30px;
}

.clientes-grid img {
    max-width: 190px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(0);
}
@media (max-width: 768px) {
    
.clientes-grid--final {
        grid-template-columns: repeat(2, 1fr);
        max-width: 300px;
        margin: 0 auto;
        gap: 28px 20px;
    }
    .clientes {
        padding: 40px 16px;
    }

    .clientes-title {
        font-size: 22px;
        margin-bottom: 28px;
    }

    .clientes-grid {
        gap: 28px 20px;
    }

    .clientes-grid img {
        max-width: 130px;
    }
}
