/* Web Ingeniería Solutions */

.pemarks{
    --pem-bg:#FFFFFF;
    --pem-ink:#071B3B;
    --pem-accent:#0B7CFF;
    --pem-cyan:#59BAFF;
    --pem-line:rgba(7,27,59,.09);
    position:relative;
    overflow:hidden;
    padding:54px 0 50px;
    color:var(--pem-ink);
    background:
        radial-gradient(circle at 90% 10%,rgba(11,124,255,.055),transparent 22%),
        var(--pem-bg);
}

.pemarks::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(90deg,transparent 0 7%,rgba(7,27,59,.02) 7% 7.04%,transparent 7.04% 100%);
}

.pemarks__head,
.pemarks__footer{
    width:min(1380px,calc(100% - 56px));
    margin-inline:auto;
}

.pemarks__head{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:minmax(0,740px) 1fr;
    align-items:end;
    gap:56px;
    margin-bottom:28px;
}

.pemarks__eyebrow{
    display:inline-flex;
    align-items:center;
    gap:9px;
    margin-bottom:9px;
    color:var(--pem-accent);
    font-size:9px;
    font-weight:800;
    letter-spacing:.16em;
}

.pemarks__eyebrow::before{
    content:"";
    width:28px;
    height:1px;
    background:linear-gradient(90deg,var(--pem-accent),var(--pem-cyan));
}

.pemarks h2{
    max-width:680px;
    margin:0;
    color:var(--pem-ink);
    font-size:clamp(28px,3.35vw,46px);
    line-height:1;
    letter-spacing:-.04em;
    font-weight:660;
}

.pemarks__head-copy p{
    max-width:640px;
    margin:15px 0 0;
    color:#6A788B;
    font-size:12px;
    line-height:1.62;
}

.pemarks__side{
    justify-self:end;
    display:flex;
    align-items:center;
    gap:12px;
    padding-bottom:5px;
}

.pemarks__side span{
    width:44px;
    height:1px;
    background:linear-gradient(90deg,transparent,var(--pem-accent));
}

.pemarks__side small{
    color:#97A2B0;
    font-size:8px;
    font-weight:800;
    letter-spacing:.14em;
    white-space:nowrap;
}

.pemarks__viewport{
    position:relative;
    z-index:2;
    overflow:hidden;
    border-top:1px solid var(--pem-line);
    border-bottom:1px solid var(--pem-line);
    background:#fff;
}

.pemarks__viewport::before,
.pemarks__viewport::after{
    content:"";
    position:absolute;
    z-index:4;
    top:0;
    bottom:0;
    width:min(7vw,90px);
    pointer-events:none;
}

.pemarks__viewport::before{left:0;background:linear-gradient(90deg,#fff,transparent);}
.pemarks__viewport::after{right:0;background:linear-gradient(-90deg,#fff,transparent);}

.pemarks__track{
    display:flex;
    width:max-content;
    will-change:transform;
}

.pemarks__group{
    display:flex;
    align-items:stretch;
}

.pemarks[data-marquee="yes"] .pemarks__track{animation:pemarks-left var(--pem-duration,34s) linear infinite;}
.pemarks[data-marquee="yes"][data-direction="right"] .pemarks__track{animation-name:pemarks-right;}
.pemarks[data-pause-hover="yes"] .pemarks__viewport:hover .pemarks__track{animation-play-state:paused;}
.pemarks.is-paused .pemarks__track{animation-play-state:paused;}

.pemarks__brand{
    position:relative;
    width:225px;
    min-height:106px;
    padding:18px 24px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-right:1px solid var(--pem-line);
    color:var(--pem-ink);
    text-decoration:none;
    background:#fff;
    transition:background .22s ease,transform .22s ease;
}

.pemarks__brand:hover{color:var(--pem-ink);background:#FBFDFF;}

.pemarks__brand img{
    display:block;
    width:auto;
    max-width:150px;
    max-height:48px;
    object-fit:contain;
    filter:grayscale(1);
    opacity:.64;
    transition:filter .24s ease,opacity .24s ease,transform .24s ease;
}

.pemarks__brand:hover img{filter:grayscale(0);opacity:1;transform:scale(1.02);}

.pemarks__wordmark{
    max-width:170px;
    text-align:center;
    color:#40516A;
    font-size:15px;
    line-height:1.15;
    font-weight:700;
    letter-spacing:-.02em;
    opacity:.65;
    transition:opacity .2s ease,color .2s ease;
}

.pemarks__brand:hover .pemarks__wordmark{color:var(--pem-accent);opacity:1;}

.pemarks__dot{
    position:absolute;
    left:15px;
    bottom:13px;
    width:3px;
    height:3px;
    border-radius:50%;
    background:#D4DEE9;
    transition:background .2s ease,box-shadow .2s ease;
}

.pemarks__brand:hover .pemarks__dot{
    background:var(--pem-accent);
    box-shadow:0 0 0 4px rgba(11,124,255,.07);
}

.pemarks__footer{
    position:relative;
    z-index:2;
    margin-top:16px;
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:14px;
    color:#A2ACB8;
    font-size:7px;
    font-weight:800;
    letter-spacing:.15em;
}

.pemarks__footer-line{
    height:1px;
    background:linear-gradient(90deg,rgba(7,27,59,.03),rgba(11,124,255,.15),rgba(7,27,59,.03));
}

@keyframes pemarks-left{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
@keyframes pemarks-right{from{transform:translate3d(-50%,0,0)}to{transform:translate3d(0,0,0)}}

@media(max-width:1024px){
    .pemarks__head{grid-template-columns:1fr;gap:18px;}
    .pemarks__side{justify-self:start;}
    .pemarks__brand{width:205px;min-height:100px;}
}

@media(max-width:767px){
    .pemarks{padding-block:42px 38px;}
    .pemarks__head,.pemarks__footer{width:calc(100% - 30px);}
    .pemarks__head{margin-bottom:22px;}
    .pemarks h2{font-size:clamp(28px,9vw,38px);}
    .pemarks__head-copy p{margin-top:12px;font-size:11px;}
    .pemarks__side{display:none;}
    .pemarks__brand{width:172px;min-height:90px;padding:16px 20px;}
    .pemarks__brand img{max-width:125px;max-height:42px;}
    .pemarks__wordmark{font-size:14px;}
    .pemarks__footer{grid-template-columns:1fr;}
    .pemarks__footer-line,.pemarks__footer span:last-child{display:none;}
}

@media(prefers-reduced-motion:reduce){
    .pemarks__track{animation:none!important;transform:none!important;}
    .pemarks__brand,.pemarks__brand img{transition:none!important;}
}
