/* ==========================================================
   RED COMERCIAL
========================================================== */

.representantes-section {
    padding: 100px 0;
    background: #fff;
}

.representante-card {
    background: #fff;
    border-radius: 22px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    transition: .35s ease;
}

.representante-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .15);
}

.representante-card i {
    font-size: 2.8rem;
    color: var(--color-primary);
    margin-bottom: 18px;
}

.representante-card h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-dark);
}

.representante-card span {
    display: block;
    color: #7b7b7b;
    margin-bottom: 6px;
}

.representante-card strong {
    display: block;
    font-size: 1.45rem;
    color: var(--color-primary);
    margin-bottom: 25px;
}

.btn-representante {
    display: inline-block;
    text-decoration: none;
    background: var(--color-primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s;
}

.btn-representante:hover {
    background: var(--color-secondary);
    color: #fff;
    transform: translateY(-2px);
}

/* ===================================
   REPRESENTANTES
=================================== */

.representantes-section {

    padding: 90px 0;

    background: #f7f9f5;

}


.representantes-grid {

    margin-top: 50px;

}


.representante-card {

    height: 100%;

    background: #ffffff;

    border-radius: 22px;

    padding: 35px 30px;

    text-align: center;

    position: relative;

    border: 1px solid rgba(25, 135, 84, .12);

    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);

    transition: all .35s ease;

    overflow: hidden;

}


/* línea superior */

.representante-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 5px;

    background: #198754;

    transform: scaleX(0);

    transition: .35s;

}


.representante-card:hover::before {

    transform: scaleX(1);

}



.representante-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);

}



/* Icono */

.representante-card i {

    width: 70px;

    height: 70px;

    display: flex;

    justify-content: center;

    align-items: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #e9f7ef;

    color: #198754;

    font-size: 32px;

    transition: .3s;

}


.representante-card:hover i {

    background: #198754;

    color: white;

    transform: scale(1.1);

}


/* Ciudad */

.representante-card h3 {

    font-size: 25px;

    font-weight: 700;

    color: #222;

    margin-bottom: 10px;

}



/* Operador */

.representante-card span {

    display: block;

    font-size: 14px;

    color: #777;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 5px;

}



/* Número */

.representante-card strong {

    display: block;

    font-size: 25px;

    color: #198754;

    margin-bottom: 25px;

    letter-spacing: .5px;

}



/* Botón */

.btn-representante {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    width: 100%;

    padding: 12px 20px;

    border-radius: 50px;

    background: #198754;

    color: white;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;

}



.btn-representante:hover {

    background: #146c43;

    color: white;

    transform: translateY(-2px);

}

/* BENEFICIOS */

.benefits-section {
    padding: 100px 0;
    background: #f8faf8;
}

.benefit-card {
    background: #fff;
    padding: 40px 35px;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: .35s;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .15);
}

.benefit-card i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.benefit-card p {
    color: #666;
    line-height: 1.7;
}


/*==========================================================
 CTA
==========================================================*/

.cta-section {
    padding: 110px 0;
}

.cta-box {

    position: relative;
    overflow: hidden;

    background: linear-gradient(135deg, #2f7d32 0%, #3d9440 100%);
    border-radius: 30px;

    padding: 80px 60px;

    text-align: center;

    box-shadow: 0 25px 60px rgba(47, 125, 50, .25);

}

/* Efectos decorativos */

.cta-box::before {

    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    background: rgba(255, 255, 255, .08);

    border-radius: 50%;

    top: -120px;
    right: -100px;

}

.cta-box::after {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    background: rgba(255, 255, 255, .06);

    border-radius: 50%;

    bottom: -70px;
    left: -60px;

}

.cta-box>* {

    position: relative;
    z-index: 2;

}

.cta-box .section-tag {

    display: inline-block;

    background: rgba(255, 255, 255, .18);

    color: #fff;

    padding: 8px 18px;

    border-radius: 50px;

    font-size: .9rem;

    font-weight: 600;

    margin-bottom: 18px;

}

.cta-box h2 {

    color: #fff;

    font-size: clamp(2rem, 4vw, 3rem);

    font-weight: 700;

    margin-bottom: 20px;

}

.cta-box p {

    max-width: 700px;

    margin: 0 auto;

    color: rgba(255, 255, 255, .9);

    line-height: 1.8;

    font-size: 1.05rem;

}

/* BOTONES */

.cta-buttons {

    margin-top: 45px;

    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;

}

.btn-primary-custom,
.btn-secondary-custom {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-width: 220px;

    padding: 16px 34px;

    border-radius: 999px;

    text-decoration: none;

    font-weight: 600;

    transition: .35s ease;

    font-size: 1rem;

}

/* Principal */

.btn-primary-custom {

    background: #fff;

    color: var(--color-primary);

    border: 2px solid #fff;

}

.btn-primary-custom:hover {

    background: #f4f4f4;

    color: var(--color-primary);

    transform: translateY(-4px);

    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);

}

/* Secundario */

.btn-secondary-custom {

    color: #fff;

    border: 2px solid rgba(255, 255, 255, .45);

    background: transparent;

}

.btn-secondary-custom:hover {

    background: rgba(255, 255, 255, .12);

    color: #fff;

    transform: translateY(-4px);

    border-color: #fff;

}

.btn-primary-custom i,
.btn-secondary-custom i {

    font-size: 1.2rem;

}

/*==========================================================
 RESPONSIVE
==========================================================*/

@media(max-width:991px) {

    .cta-box {

        padding: 60px 35px;

    }

}

@media(max-width:576px) {

    .cta-box {

        padding: 45px 25px;

    }

    .cta-box h2 {

        font-size: 2rem;

    }

    .cta-box p {

        font-size: .95rem;

    }

    .btn-primary-custom,
    .btn-secondary-custom {

        width: 100%;

    }

}