/* Variante independiente. Tipografía y paleta tomadas como referencia de QSystems. */
:root{
 --paper:#fff;--ink:#172a45;--muted:#596573;--line:#dce2e9;--red:#b67412;
 --sans:"Open Sans",sans-serif;--qs-title:"Oswald",sans-serif;--qs-display:"Montserrat",sans-serif;
 --qs-blue:#3f5782;--qs-deep:#263d61;--qs-gold:#f0ac42;--qs-light:#f2f5f9;
}
body{font-family:var(--sans);font-weight:400}
strong{font-weight:650}
.entry-header{height:142px}
.entry-header .brand{gap:25px}
.entry-header .brand-mark{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:var(--qs-deep)}
.entry-header .brand-dot{color:var(--qs-gold)}
.entry-header .brand-name{font-family:var(--qs-title);font-size:28px;font-weight:300;letter-spacing:0;gap:4px;line-height:1.2}
.entry-header .brand-meaning{font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit}
.entry-header nav{font-family:var(--qs-display);font-size:13px;font-weight:500;gap:23px}
.entry-header nav a{position:relative;padding-block:8px}
.entry-header nav a:hover{color:#a4670e}
.entry-header nav a:not(.company-link)::after{content:"";position:absolute;bottom:0;left:0;width:0;height:2px;background:var(--qs-gold);transition:width .2s}
.entry-header nav a:not(.company-link):hover::after{width:100%}
.entry-context{padding:28px 0;border-top-color:var(--line);border-bottom-color:var(--line)}
.entry-claims{gap:6px}
.publish-principle{font-family:var(--qs-title);font-size:clamp(30px,3.1vw,43px);font-weight:300;letter-spacing:0;line-height:1.2}
.publish-principle strong{font-weight:500;letter-spacing:0;color:var(--qs-blue)}
.knowledge-principle{font-family:var(--qs-title);font-size:clamp(23px,2.3vw,32px);font-weight:300;letter-spacing:0}
.knowledge-principle strong{font-weight:500;font-size:.87em;letter-spacing:.03em}
.knowledge-arrow{color:var(--qs-gold)}
.entry-origin{font-family:var(--qs-display);font-size:clamp(17px,1.65vw,22px);font-weight:300;line-height:1.55;letter-spacing:-.025em;color:var(--muted)}
.entry-origin strong{color:var(--qs-deep);font-weight:600}
.entry-scope{font-family:var(--qs-display);font-size:14px;color:var(--qs-blue)}
.editorial-entry .entry-intro{font-size:17px;line-height:1.85;font-weight:400;color:#53606d}
.editorial-entry .entry-intro strong{font-weight:600;color:var(--ink)}
.editorial-entry .mouse-figure figcaption{font-family:var(--qs-title);font-size:clamp(27px,2.5vw,37px);font-weight:300;line-height:1.25;letter-spacing:0;color:var(--qs-deep)}
.ecosystem-node{background:var(--qs-light);border-color:#ccd6e3;color:var(--qs-deep)}
.ecosystem-node>strong{font-family:var(--qs-title);font-size:18px;font-weight:400;letter-spacing:0}
.ecosystem-node>span{font-family:var(--sans);font-size:12px;color:#5f6e80}
.ecosystem-gap{background:#fffaf0;border-color:#c68724;color:#96600b}
.gap-question{font-family:var(--qs-title)}
.editorial-entry .continue-link{font-family:var(--qs-display);font-size:13px;font-weight:500;color:var(--qs-blue)}
.editorial-entry .continue-link span{border-color:#c4cedc}
.tunneling-section{background:var(--qs-blue);color:#fff;padding-block:78px}
.tunneling-section .tunneling-label,.knowledge-section .knowledge-label{font-family:var(--qs-display);font-size:14px;font-weight:500;letter-spacing:.12em;text-transform:uppercase}
.tunneling-section .tunneling-label{color:#e3eaf5}
.tunneling-section .tunneling-label>span,.knowledge-section .knowledge-label>span{background:var(--qs-gold)}
.tunneling-section h2,.knowledge-section .knowledge-heading h2,.integral-flow .flow-heading h2{font-family:var(--qs-title);font-size:clamp(40px,4.4vw,62px);font-weight:300;line-height:1.18;letter-spacing:0}
.tunneling-section h2 em{color:#ffd58d}
.tunneling-section .tunneling-animation-panel{background:#f3f1eb;border:10px solid rgba(255,255,255,.12);background-clip:padding-box}
.tunneling-section .tunneling-system-name{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;letter-spacing:-.08em;color:#fff}
.tunneling-section .tunneling-explanation h3{font-family:var(--qs-title);font-size:36px;font-weight:300;letter-spacing:0;color:#ffd58d;border-color:#899bb6}
.tunneling-section .tunneling-explanation>p{color:#edf1f8;font-size:17px;line-height:1.75}
.tunneling-section .tunneling-benefits{border-color:#899bb6;gap:22px}
.tunneling-section .tunneling-benefit p{font-size:15px;line-height:1.6;letter-spacing:0;color:#fff}
.tunneling-section .tunneling-production{border-color:#899bb6}
.tunneling-section .tunneling-production h3{font-family:var(--qs-title);font-size:33px;font-weight:300;letter-spacing:0}
.tunneling-section .tunneling-production>div>p{color:#e3eaf5;font-size:17px;line-height:1.75}
.tunneling-section .tunneling-principles{font-family:var(--qs-title);font-size:30px;font-weight:300;letter-spacing:.01em;border-color:var(--qs-gold);gap:8px}
.knowledge-section{background:#fff;padding-block:78px}
.knowledge-section .knowledge-heading>p:last-child{font-size:18px;line-height:1.8}
.knowledge-section .knowledge-bridge{background:var(--qs-blue);padding-block:35px}
.knowledge-section .knowledge-endpoint>strong{font-family:var(--qs-display);font-size:38px;font-weight:600;letter-spacing:-.04em}
.knowledge-section .knowledge-endpoint>span{color:#e3eaf5;font-size:15px}
.knowledge-section .knowledge-cargo{font-family:var(--qs-title);font-size:25px;font-weight:300;letter-spacing:.01em;border-color:#899bb6}
.knowledge-section .knowledge-arrow{color:#ffd58d}
.knowledge-section .knowledge-number{font-family:var(--qs-title);font-size:26px;font-weight:300;color:#a66a10;margin-bottom:12px}
.knowledge-section h3{font-family:var(--qs-title);font-size:32px;font-weight:300;letter-spacing:0;line-height:1.25}
.knowledge-section .knowledge-effects p{font-size:17px;line-height:1.8}
.knowledge-section .knowledge-production>p,.knowledge-section .knowledge-production>span{font-family:var(--sans);font-size:20px;line-height:1.7;letter-spacing:0}
.knowledge-section .knowledge-production strong{font-weight:600;color:var(--qs-deep)}
.integral-flow{background:var(--qs-blue);color:#fff;padding-block:78px}
.integral-flow .flow-heading>p:last-child{font-family:var(--qs-display);font-size:20px;font-weight:300;color:#e3eaf5;letter-spacing:0}
.integral-flow #flow-arrow-neutral path,.integral-flow #flow-arrow-color path{fill:none}
.integral-flow .flow-input,.integral-flow #flow-arrow-neutral path{stroke:#c0cce0}
.integral-flow .flow-output,.integral-flow #flow-arrow-color path{stroke:#ffd18a}
.integral-flow .flow-node{background:var(--qs-blue);border-color:#9babc3}
.integral-flow .flow-node>strong{font-family:var(--qs-title);font-weight:400;letter-spacing:0}
.integral-flow .flow-node>span{font-size:clamp(13px,1.3cqw,17px);color:#e3eaf5;line-height:1.4}
.integral-flow .flow-q4{background:var(--qs-gold);border-color:var(--qs-gold)}
.integral-flow .flow-q4>strong{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:var(--qs-deep);letter-spacing:-.07em}
.integral-flow .flow-q4>span{color:var(--qs-deep)}
.integral-flow .flow-relation{background:var(--qs-blue);font-size:16px;color:#e3eaf5}
.integral-flow .flow-pdf,.integral-flow .flow-usage,.integral-flow .flow-content-cms,.integral-flow .flow-content-ai,.integral-flow .flow-production-data{color:#ffd18a}
.q4-section{background:var(--qs-gold);color:var(--qs-deep)}
.q4-section .section-label{font-family:var(--qs-display);font-size:19px;font-weight:500;letter-spacing:.02em}
.q4-section .q4-copy h2{font-family:var(--qs-title);font-size:clamp(66px,7.5vw,108px);font-weight:300;letter-spacing:-.01em;line-height:1.12}
.q4-section .q4-copy h2>span{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:.95em;font-weight:400;letter-spacing:-.07em}
.q4-section .q4-description{font-size:20px;line-height:1.8;letter-spacing:0}
.q4-section .q4-description strong{font-weight:650}
.q4-section .q4-invitation{border-color:#bd812c;max-width:500px}
.q4-section .q4-invitation>p{font-size:19px;line-height:1.75;letter-spacing:0}
.q4-section .q4-contact{font-family:var(--qs-display);font-size:15px;font-weight:600;text-transform:uppercase;letter-spacing:.07em;background:var(--qs-deep);color:#fff;padding:17px 25px;border:1px solid var(--qs-deep)}
.q4-section .q4-contact:hover{background:#fff;color:var(--qs-deep)}
.q4-section .q4-mark>span{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:#fff}
.q4-section .q4-mark>small{font-family:var(--qs-display);font-weight:700;color:var(--qs-deep);font-size:14px;letter-spacing:.08em}
.site-footer{font-family:var(--sans);color:var(--muted)}
.site-footer .footer-brand{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:var(--qs-deep)}
.back-top{color:var(--qs-blue);border-color:#b8c6da}
@media(min-width:1600px){
 .editorial-entry .mouse-figure{background:var(--qs-blue);padding:34px 38px}
 .editorial-entry .mouse-figure figcaption{color:#fff;font-size:38px;font-weight:300}
 .editorial-entry .entry-intro{font-size:18px;line-height:1.85}
 .editorial-entry .mouse-image{filter:drop-shadow(0 16px 20px rgba(12,26,48,.15))}
}
@media(max-width:1250px){.entry-header{height:auto;min-height:164px;padding-top:25px;padding-bottom:24px}}
@media(max-width:1000px){
 .entry-origin{font-size:18px}
 .integral-flow .flow-node>span{font-size:17px}
 .integral-flow .flow-q4>span{font-size:18px}
}
@media(max-width:760px){
 .tunneling-section,.knowledge-section,.integral-flow{padding-block:48px}
 .tunneling-section h2,.knowledge-section .knowledge-heading h2,.integral-flow .flow-heading h2{font-size:clamp(35px,7.8vw,47px);line-height:1.22}
 .tunneling-section .tunneling-explanation h3{font-size:30px}
 .tunneling-section .tunneling-explanation>p{font-size:17px;line-height:1.7}
 .tunneling-section .tunneling-production h3{font-size:30px}
 .tunneling-section .tunneling-benefits{gap:14px}
 .tunneling-section .tunneling-benefit p{font-size:15px;line-height:1.6}
 .knowledge-section .knowledge-heading>p:last-child{font-size:17px;line-height:1.75}
 .knowledge-section .knowledge-cargo{font-size:24px;border-color:#899bb6}
 .knowledge-section .knowledge-number{font-size:24px;top:0}
 .knowledge-section .knowledge-effects article{padding-left:40px}
 .knowledge-section h3{font-size:30px}
 .knowledge-section .knowledge-production>p,.knowledge-section .knowledge-production>span{font-size:20px}
}
@media(max-width:700px){
 .entry-header{min-height:0;gap:22px}
 .entry-header .brand-name{font-size:27px}
 .entry-header nav{font-size:13px;gap:17px 14px}
 .entry-header .company-link{font-size:13px}
 .entry-context{padding:22px 0}
 .publish-principle{font-size:34px}
 .knowledge-principle{font-size:26px;gap:8px}
 .entry-origin{font-size:16px;letter-spacing:-.02em;line-height:1.6}
 .entry-scope{font-size:12px}
 .editorial-entry .entry-intro{font-size:17px;line-height:1.8}
 .editorial-entry .mouse-figure figcaption{font-size:31px}
 .q4-section .q4-copy h2{font-size:clamp(58px,12vw,86px)}
 .q4-section .q4-description{font-size:18px;line-height:1.75}
 .q4-section .q4-invitation>p{font-size:18px}
 .q4-section .q4-mark>small{font-size:12px}
}
@media(max-width:480px){
 .entry-header .brand-name{font-size:26px;line-height:1.2}
 .entry-header .brand{gap:15px}
 .entry-header nav{font-size:14px;gap:16px 18px}
 .entry-header .company-link{font-size:14px}
 .knowledge-principle{font-size:24px;gap:7px}
 .entry-direction{gap:12px}
 .entry-origin{font-size:15px}
 .entry-scope{font-size:12px}
 .integral-flow .flow-node>span{font-size:15px}
 .integral-flow .flow-relation{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.entry-header nav a::after{transition:none}}

/* Logo oficial y lectura de relaciones en pantallas estrechas. */
.entry-header .company-link{display:flex;align-items:center;justify-content:center;padding:0 0 0 24px;line-height:0}
.entry-header .company-logo{display:block;width:80px;height:auto;max-width:none}
.flow-mobile{display:none}
@media(max-width:1000px){
 .integral-flow .flow-map{display:none}
 .integral-flow .flow-mobile{display:block;margin-top:32px}
 .flow-mobile-origin{display:flex;align-items:center;gap:24px;padding:22px 26px;background:var(--qs-gold);color:var(--qs-deep)}
 .flow-mobile-origin>strong{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:58px;font-weight:550;letter-spacing:-.07em;line-height:1}
 .flow-mobile-origin>span{font-size:17px;line-height:1.5}
 .flow-mobile-connections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}
 .flow-mobile-card{border:1px solid #899bb6;padding:22px;min-width:0}
 .flow-mobile-card>header{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px;margin-bottom:18px}
 .flow-mobile-card h3{font-family:var(--qs-title);font-size:30px;line-height:1.2;font-weight:300;letter-spacing:0;color:#fff}
 .flow-mobile-card>header>p{font-size:14px;line-height:1.5;color:#e3eaf5}
 .flow-mobile-link{display:flex;flex-direction:column;gap:3px;margin-top:13px;font-size:15px;line-height:1.5;color:#e3eaf5}
 .flow-mobile-link+.flow-mobile-link{padding-top:13px;border-top:1px solid rgba(255,255,255,.18)}
 .flow-mobile-link.is-output{color:#ffd18a}
 .flow-mobile-route{display:flex;align-items:center;gap:10px;font-family:var(--qs-display);font-size:14px;font-weight:500;line-height:1.5}
 .flow-mobile-arrow{font-family:var(--sans);font-size:22px;line-height:1}
 .flow-mobile-detail{display:block}
}
@media(max-width:700px){
 .entry-header{position:relative}
 .entry-header nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 .entry-header .company-link{position:absolute;top:25px;right:var(--gutter);width:76px;padding:0;margin:0;border:0;align-self:auto}
 .entry-header .company-logo{width:76px}
}
@media(max-width:600px){
 .flow-mobile-origin{padding:22px;gap:20px}
 .flow-mobile-origin>span{font-size:16px}
 .flow-mobile-connections{grid-template-columns:minmax(0,1fr);gap:14px;margin-top:14px}
 .flow-mobile-card{padding:20px}
 .flow-mobile-card>header{margin-bottom:16px}
 .flow-mobile-link{display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,1fr);align-items:start;column-gap:14px;font-size:15px}
 .flow-mobile-route{font-size:13px;gap:7px;flex-wrap:wrap}
 .flow-mobile-detail{font-size:15px;line-height:1.5}
}
@media(max-width:360px){
 .flow-mobile-origin{align-items:flex-start;gap:20px}
 .flow-mobile-origin>span{font-size:15px}
 .flow-mobile-card>header{display:block}
 .flow-mobile-card>header>p{margin-top:3px}
 .flow-mobile-link{display:flex;gap:4px}
 .flow-mobile-route{font-size:14px}
}

@media(max-width:360px){.entry-header .company-link,.entry-header .company-logo{width:68px}}

@media(min-width:481px) and (max-width:560px){
 .entry-header .brand{gap:16px}
 .entry-header .brand-mark{font-size:42px}
 .entry-header .brand-name{font-size:26px}
}

/* Una misma forma de Q4 en los tres bloques de identidad. */
.tunneling-section .tunneling-system-name,
.knowledge-section .knowledge-endpoint:first-child>strong,
.q4-section .q4-mark>span{
 font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
 font-weight:550;letter-spacing:-.08em;line-height:1;
}
.q4-section .q4-mark>span{margin-left:-.08em}
.q4-section .q4-company{display:block;margin-top:26px;line-height:0}
.q4-section .q4-company img{display:block;width:104px;height:auto;max-width:none}
.q4-section .q4-company:focus-visible{outline:2px solid var(--qs-deep);outline-offset:5px}
@media(max-width:700px){
 .q4-section .q4-company{grid-column:2;justify-self:center;margin-top:22px}
 .q4-section .q4-company img{width:84px}
}

/* Alineación con el centro de la silueta visible de Q4. */
.q4-section .q4-mark{--q4-wordmark-size:clamp(180px,27vw,400px)}
.q4-section .q4-mark>span{font-size:var(--q4-wordmark-size)}
.q4-section .q4-company{position:relative;left:calc(var(--q4-wordmark-size) / 16)}
@media(max-width:700px){.q4-section .q4-mark{--q4-wordmark-size:180px}}

.q4-section .q4-invitation>p+p{margin-top:10px}
