/* ==== EMPRESA ==== */
/*  EMPRESA — PERFIL PÚBLICO DEL PROVEEDOR Y MEDALLA PIONERO GLOBAL  */

.hero-sectiomn-proveedor {
    background: black;
    color: white;
    padding: 1rem 0;
    position: relative;
    overflow: visible;
}

.hero-sectiomn-proveedor::before {
    height: 100%;
    top: 0;
    bottom: auto;
    background-size: auto, 100% 672.2265625px;
    background-position: 50% 0%, 50% -262.30078125px;
    background-repeat: repeat-x, no-repeat;
}

.hero-sectiomn-proveedor .hero-content {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}

.hero-sectiomn-proveedor .hero-content > .row {
    display: grid;
    grid-template-columns: 27% minmax(0, 1fr) 15%;
    align-items: center;
    column-gap: 1%;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    --bs-gutter-x: 0;
}

.hero-sectiomn-proveedor .hero-content > .row > .col-lg-4.mx-auto.text-center.row {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.hero-sectiomn-proveedor .hero-content > .row > .col-lg-4.mx-auto.text-center.row > .col-lg-12 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 0 0.8rem;
}

.hero-sectiomn-proveedor .hero-content > .row > .col-lg-4.mx-auto.text-center.row > .col-lg-12 img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 145px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    filter: drop-shadow(1px 0 0 #fff)
            drop-shadow(-1px 0 0 #fff)
            drop-shadow(0 1px 0 #fff)
            drop-shadow(0 -1px 0 #fff)
            drop-shadow(1px 1px 0 #fff)
            drop-shadow(-1px -1px 0 #fff)
            drop-shadow(1px -1px 0 #fff)
            drop-shadow(-1px 1px 0 #fff);
}

.hero-sectiomn-proveedor .hero-content > .row > .col-lg-4.mx-auto.text-center.row > .col-lg-8 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.hero-sectiomn-proveedor .hero-content > .row > .col-lg-4.mx-auto.text-center.row > .col-lg-8 > a,
.hero-sectiomn-proveedor .hero-content > .row > .col-lg-4.mx-auto.text-center.row > .col-lg-8 > button {
    width: min(100%, 240px);
    margin-left: auto;
    margin-right: auto;
}

.hero-sectiomn-proveedor .hero-content > .row > .col-lg-6.mx-auto.text-center {
    grid-column: 2;
    width: 100%;
    max-width: none;
    margin: 0;
}

.hero-sectiomn-proveedor .hero-content > .row > .medalla {
    grid-column: 3;
    position: relative;
    inset: auto;
    align-self: center;
    justify-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    margin: 0 auto;
    padding: 0;
    transform: none;
    overflow: visible;
    box-sizing: border-box;
    z-index: 2;
}

.hero-sectiomn-proveedor .hero-content > .row > .medalla > button {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 0;
    box-sizing: border-box;
    transform: scale(0.8);
    transform-origin: center;
}

.hero-sectiomn-proveedor .hero-content > .row > .medalla img.base {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    margin: 0;
    padding: 0;
    object-fit: contain;
    object-position: center;
    position: relative;
    z-index: 1;
}

.hero-sectiomn-proveedor .hero-content > .row > .medalla .brillo {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    border-radius: 50%;
    transform: scale(0.8);
    transform-origin: center center;
    animation: pionero-medalla-mascara 6s ease infinite;
}

.hero-sectiomn-proveedor .hero-content > .row > .medalla .brillo::after {
    content: "";
    position: absolute;
    top: -25%;
    left: -80%;
    width: 65%;
    height: 150%;
    transform: rotate(24deg);
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.08) 25%, rgba(255,255,255,.68) 50%, rgba(255,255,255,.12) 75%, transparent 100%);
    filter: blur(2px);
    animation: pionero-medalla-brillo 5.8s ease-in-out infinite;
}

@keyframes pionero-medalla-mascara {
    0% { background-position: -150% 0; }
    66.6667%, 100% { background-position: 150% 0; }
}

@keyframes pionero-medalla-brillo {
    0%, 12% { left: -80%; opacity: 0; }
    20% { opacity: .9; }
    58% { left: 140%; opacity: .75; }
    70%, 100% { left: 140%; opacity: 0; }
}

@media (max-width: 991.98px) {
    .hero-sectiomn-proveedor .hero-content > .row {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 1rem;
    }

    .hero-sectiomn-proveedor .hero-content > .row > .col-lg-4.mx-auto.text-center.row,
    .hero-sectiomn-proveedor .hero-content > .row > .col-lg-6.mx-auto.text-center,
    .hero-sectiomn-proveedor .hero-content > .row > .medalla {
        grid-column: 1;
        width: 100%;
        max-width: 100%;
    }

    .hero-sectiomn-proveedor .hero-content > .row > .col-lg-4.mx-auto.text-center.row > .col-lg-12 img {
        max-height: 125px;
    }

    .hero-sectiomn-proveedor .hero-content > .row > .medalla {
        justify-self: center;
        width: 80%;
    }

    .hero-sectiomn-proveedor .hero-content > .row > .medalla img {
        width: 100%;
        max-width: 144px;
        height: auto;
        margin: 0;
    }
}

.hero-sectiomn-proveedor .hero-subtitle {
    line-height: 1.4875;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.hero-sectiomn-proveedor .hero-text-outline {
    -webkit-box-decoration-break: initial;
    box-decoration-break: initial;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-border-image: none;
    border-image: none;
    color: #fff;
    -webkit-text-stroke: .55px #000;
    paint-order: stroke fill;
    text-shadow: 1px 1px 1px #000, -1px -1px 1px #000,
                 1px -1px 1px #000, -1px 1px 1px #000;
}

#exportar-fondo-texto-svg {
    position: absolute;
    inset: 0 auto auto 0;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
}

.hero-sectiomn-proveedor > .hero-content {
    position: relative;
    z-index: 1;
}

.hero-sectiomn-proveedor .hero-title {
    display: table;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto 0.5rem;
    padding: 0 0 6px;
    text-align: center;

    font-size: clamp(1.5rem, 2.5vw, 2.05rem);
    font-weight: 900;
    letter-spacing: 0.025em;
    line-height: 1.2;
    color: #fff;
    -webkit-text-stroke: 0;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.28),
        0 -1px 0 rgba(0, 0, 0, 0.55),
        1px 0 0 rgba(0, 0, 0, 0.55),
        -1px 0 0 rgba(0, 0, 0, 0.55),
        0 2px 1px rgba(0, 0, 0, 0.85),
        0 4px 5px rgba(0, 0, 0, 0.72),
        0 8px 16px rgba(0, 0, 0, 0.48),
        0 0 2px rgba(0, 0, 0, 0.9);
    background-image: linear-gradient(
        90deg,
        #8C6721 0%,
        #F7D77B 35%,
        #FFF0B3 55%,
        #B8862D 100%
    );
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 3px;
}

.hero-sectiomn-proveedor .hero-content .col-lg-8 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-sectiomn-proveedor .hero-content .col-lg-8 > a,
.hero-sectiomn-proveedor #btn-contactar-proveedor {
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    max-width: 220px;
    min-height: 44px;
    margin: 0.35rem 0 0.5rem;
    padding: 0.7rem 1.45rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    text-shadow: 0 1px 1px rgba(0, 30, 60, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -2px 4px rgba(0, 30, 60, 0.3);
    transition: transform 0.22s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.hero-sectiomn-proveedor .hero-content .col-lg-8 > a.solucion-toggle.btn-catalogo-publico {
    background: linear-gradient(
        180deg,
        #00B1EC 0%,
        #0F508C 48%,
        #004D88 100%
    );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -2px 4px rgba(0, 30, 60, 0.3),
        0 6px 16px -4px rgba(0, 80, 130, 0.5);
}

.hero-sectiomn-proveedor #btn-contactar-proveedor {
    margin-right: 0;
    margin-left: 0;
    background: linear-gradient(
        180deg,
        #72F542 0%,
        #20C83D 18%,
        #07852D 48%,
        #046020 76%,
        #023E18 100%
    );
    text-shadow: 0 1px 2px rgba(0, 35, 10, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(224, 255, 190, 0.85),
        inset 0 2px 8px rgba(125, 255, 80, 0.30),
        inset 0 -3px 6px rgba(0, 35, 10, 0.65),
        0 5px 16px -4px rgba(0, 115, 35, 0.65);
    cursor: pointer;
}

.hero-sectiomn-proveedor .hero-content .col-lg-8 > a::before,
.hero-sectiomn-proveedor #btn-contactar-proveedor::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 5.5%;
    right: 5.5%;
    height: 46%;
    border-radius: 40px 40px 60% 60%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.hero-sectiomn-proveedor .hero-content .col-lg-8 > a::after,
.hero-sectiomn-proveedor #btn-contactar-proveedor::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: -25%;
    left: -60%;
    width: 38%;
    height: 150%;
    border-radius: 50%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.16) 22%,
        rgba(255, 255, 255, 0.86) 50%,
        rgba(255, 255, 255, 0.16) 78%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-18deg);
    opacity: 0;
    pointer-events: none;
}

.hero-sectiomn-proveedor .hero-content .col-lg-8 > a:hover::after,
.hero-sectiomn-proveedor #btn-contactar-proveedor:hover::after {
    animation: barrido-catalogo-final 0.9s ease-in-out both;
}

@keyframes barrido-catalogo-final {
    0%   { left: -60%; opacity: 0; }
    12%  { opacity: 1; }
    88%  { opacity: 0.95; }
    100% { left: 125%; opacity: 0; }
}

.hero-sectiomn-proveedor .hero-content .col-lg-8 > a > *,
.hero-sectiomn-proveedor #btn-contactar-proveedor > * {
    position: relative;
    z-index: 1;
}

.hero-sectiomn-proveedor .hero-content .col-lg-8 > a:hover,
.hero-sectiomn-proveedor #btn-contactar-proveedor:hover {
    color: #fff;
    text-decoration: none;
    filter: brightness(1.04);
    transform: translateY(-2px);
}

.hero-sectiomn-proveedor .hero-content .col-lg-8 > a:hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.76),
        inset 0 -2px 4px rgba(0, 30, 60, 0.24),
        0 7px 16px -4px rgba(0, 80, 130, 0.46),
        0 0 13px 2px rgba(65, 190, 255, 0.38);
}

.hero-sectiomn-proveedor #btn-contactar-proveedor:hover {
    box-shadow:
        inset 0 1px 0 rgba(224, 255, 190, 0.9),
        inset 0 -2px 4px rgba(0, 35, 10, 0.3),
        0 7px 16px -4px rgba(0, 115, 35, 0.58),
        0 0 13px 2px rgba(72, 255, 55, 0.42);
}

.hero-sectiomn-proveedor .hero-content .col-lg-8 > a:active,
.hero-sectiomn-proveedor #btn-contactar-proveedor:active {
    transform: translateY(1px);
    box-shadow: inset 0 2px 5px rgba(0, 40, 80, 0.2);
}

.hero-sectiomn-proveedor .hero-content .col-lg-8 > a:focus-visible,
.hero-sectiomn-proveedor #btn-contactar-proveedor:focus-visible {
    outline: 3px solid rgba(90, 205, 255, 0.8);
    outline-offset: 3px;
}

.hero-sectiomn-proveedor #btn-contactar-proveedor .fa-whatsapp {
    flex: 0 0 auto;
    font-size: 1rem;
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .hero-sectiomn-proveedor .hero-content .col-lg-8 > a,
    .hero-sectiomn-proveedor #btn-contactar-proveedor {
        transition: none;
    }
}

.empresa-logo {
    height: 120px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: grayscale(0%);
}

.empresa-nombre {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}
