.mk-seo-content{margin:0;background:#100e10;color:#f9f4f0;font:1rem/1.65 system-ui,sans-serif}
.mk-seo-content a:focus-visible,.mk-seo-content summary:focus-visible{outline:2px solid #ff9b88;outline-offset:4px}
.mk-seo-skip{position:fixed;z-index:1200;left:1rem;top:-6rem;padding:.6rem 1rem;color:#100e10;background:#fff}
.mk-seo-skip:focus{top:1rem}
.mk-seo-main{box-sizing:border-box;max-width:80rem;padding:clamp(1rem,5vw,4.5rem);margin:auto}
.mk-seo-crumb{display:flex;gap:.5rem;flex-wrap:wrap;font:600 .8rem/1.4 ui-monospace,monospace}
.mk-seo-label{margin:clamp(1.8rem,6vw,4rem) 0 .6rem;font:.84rem/1.45 ui-monospace,monospace;letter-spacing:.09em;color:#ff9b88}
.mk-seo-main h1,.mk-seo-main h2,.mk-seo-main h3{font-family:MKInteriorHakimi,system-ui,sans-serif;line-height:1.08;overflow-wrap:anywhere}
.mk-seo-main h1{max-width:16ch;margin:0 0 .45em;font-size:clamp(2.5rem,7vw,6rem);letter-spacing:-.046em}
.mk-seo-lead{max-width:51ch;color:#e5d7d3;font-size:clamp(1.15rem,2vw,1.5rem)}
.mk-seo-body{max-width:64rem;margin:clamp(2.25rem,7vw,5rem) 0}
.mk-seo-body>p{max-width:68ch;color:#e5d7d3}
.mk-seo-body>h2,.mk-seo-related h2{margin:1.9em 0 .55em;font-size:clamp(1.55rem,3.5vw,2.6rem)}
.mk-seo-steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:.85rem;counter-reset:steps}
.mk-seo-steps li{counter-increment:steps;padding:1.25rem;background:#1f191c;border:1px solid #443437}
.mk-seo-steps li::before{content:'0' counter(steps);font:.82rem/1.4 ui-monospace,monospace;color:#ff9b88}
.mk-seo-steps li h3{font-size:1.4rem;margin:.55rem 0}
.mk-seo-content details{max-width:66ch;padding:.75rem 1rem;margin:.5rem 0;border:1px solid #4d3a3f;background:#20181c}
.mk-seo-content summary{cursor:pointer;padding:.3rem 0;font-weight:650}
.mk-seo-main a,.mk-seo-footer a{color:#ffb29e;text-underline-offset:.22em}
.mk-seo-related ul{display:flex;gap:.55rem;flex-wrap:wrap;list-style:none;padding:0}
.mk-seo-related a,.mk-seo-cta a{display:inline-flex;align-items:center;min-height:44px;gap:.55rem;padding:.45rem .78rem;background:#2b1f23}
.mk-seo-cta a{background:#ff4b35;color:#160807;font-weight:750;text-decoration:none}
.mk-seo-footer{border-top:1px solid #49383e;padding:1.2rem clamp(1rem,5vw,4.5rem);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;font:.85rem/1.5 ui-monospace,monospace}

/* This overlay is loaded only by IA y Automatización and only scopes its new hero. */
.ia-hero{display:grid;gap:clamp(1.5rem,3.5vw,3.5rem);margin-block-start:clamp(1.4rem,4vw,4.2rem);align-items:center}
.ia-hero .mk-seo-label{margin:0 0 1rem;color:#ffc1ae}
.ia-hero #ia-hero-title{max-width:14ch;margin:0 0 .38em;font-size:clamp(2.35rem,6vw,5.55rem);line-height:.99;overflow-wrap:normal;text-wrap:balance}
.ia-hero .mk-seo-lead{font-size:clamp(1.04rem,1.7vw,1.29rem);max-width:45ch;line-height:1.58;margin:0}
.ia-hero .ia-hero-cta{margin:1.45rem 0 0}
.ia-hero .ia-hero-cta a{display:inline-flex;padding:.65rem 1rem;gap:.6rem;min-height:44px;border-radius:.28rem;background:#ffac97;color:#211219}
.ia-hero .ia-hero-cta a:hover{background:#ffd1c5}
.ia-flow{margin:0;min-width:0;container-type:inline-size;border:1px solid #64475f;border-radius:.9rem;overflow:clip;background:#19131d}
.ia-board{min-width:0;position:relative;isolation:isolate;aspect-ratio:4/3;background:radial-gradient(ellipse at 50% 40%,#33213a 0%,#211727 48%,#141217 100%);overflow:clip}
.ia-board::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.5;background-image:linear-gradient(#94729d35 1px,transparent 1px),linear-gradient(90deg,#94729d35 1px,transparent 1px);background-size:24px 24px;mask-image:radial-gradient(ellipse at center,#000 20%,transparent 85%)}
.ia-board-meta{position:absolute;z-index:2;inset:4% 4% auto;display:flex;justify-content:space-between;gap:.3rem;font:650 clamp(.56rem,2.25cqi,.79rem)/1.2 ui-monospace,monospace;letter-spacing:.04em;color:#eacde8}
.ia-board-meta span:first-child{color:#ffb19f}
.ia-diagram{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.ia-fox{position:absolute;inset:7% auto auto 22%;width:58%;height:auto;pointer-events:none}
.ia-board-label{position:absolute;white-space:nowrap;font:700 clamp(.56rem,2.1cqi,.78rem)/1.2 ui-monospace,monospace;color:#ffc0af;padding:.36em .58em;border:1px solid #6b5167;border-radius:.3rem;background:#211825}
.ia-board-label span{margin-inline-start:.4em;color:#fcf0ff;font-weight:650}
.ia-board-label--in{inset:10.2% auto auto 4%}
.ia-board-label--out{inset:10.2% 4% auto auto}
.ia-board-label--review{inset:77% 4% auto auto}
.ia-flow figcaption{border-top:1px solid #64475f;padding:.8rem clamp(.85rem,3cqi,1.1rem) 1rem;color:#e7dae8;font-size:clamp(.83rem,2.65cqi,.96rem);line-height:1.45}
.ia-flow figcaption span{display:block;color:#ffc1ae;font:650 .71rem/1.4 ui-monospace,monospace;letter-spacing:.055em;text-transform:uppercase;margin-block-end:.24rem}
@media(min-width:850px){.ia-hero{grid-template-columns:minmax(0,.95fr) minmax(0,1fr)}}
@media(prefers-reduced-motion:no-preference){
  .ia-board[data-scroll-ready] .ia-fox{transform:translate(var(--ia-x,0%),var(--ia-y,0%))}
  .ia-board[data-scroll-ready] .ia-route-lit{opacity:var(--ia-route,1)}
}@media(min-width:850px){.ia-hero{margin-block-start:clamp(2rem,3vw,3rem)}.ia-hero #ia-hero-title{font-size:clamp(2.65rem,4.65vw,4.6rem);max-width:16ch}}

/* IA route only. Keep the approved copy, original MIA + motion and shared header untouched. */
main.mk-seo-main:has(> .ia-hero){
  --ia-gutter:clamp(1rem,5vw,4.5rem);
  --ia-inset:max(var(--ia-gutter),calc((100% - 80rem)/2 + var(--ia-gutter)));
  max-width:none;
  padding-inline:0;
}
main.mk-seo-main:has(> .ia-hero)>:not(.ia-hero){margin-inline:var(--ia-inset)}
main.mk-seo-main:has(> .ia-hero)>.ia-hero{
  position:relative;
  isolation:isolate;
  padding:clamp(1.75rem,4.2vw,3.7rem) var(--ia-inset) clamp(2.35rem,5.4vw,4.7rem);
  margin-block-start:clamp(1.1rem,2.8vw,2rem);
  background:#160e1a;
}
.ia-hero::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    linear-gradient(90deg,#140f166e 0%,#140f1630 40%,transparent 65%),
    url("/servicios-publicos-v1/trama.svg") right center / min(100%,105rem) auto no-repeat,
    radial-gradient(ellipse at 73% 43%,#442339 0%,#261628 46%,#181119 82%);
  opacity:.95;
}
.ia-hero::after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,#100e10 0%,transparent 13%,transparent 85%,#100e10 100%);
}
.ia-hero>.ia-hero-copy,.ia-hero>.ia-flow{position:relative;z-index:1}
.ia-hero .ia-hero-copy{min-width:0}
/* Let the orange signal leave the wide panel while the localized board stays readable. */
.ia-hero>.ia-flow{border-color:#89596f;box-shadow:0 1.4rem 3.8rem #08070c60}
.ia-hero>.ia-flow .ia-board{background:radial-gradient(ellipse at 50% 39%,#3d2945 0%,#251b2e 48%,#151219 100%)}
.ia-hero .mk-seo-lead{color:#efe1e3}
@media(max-width:849px){
  .ia-hero::before{background:
    linear-gradient(180deg,#150f19 0%,#150f192f 56%,transparent 78%),
    url("/servicios-publicos-v1/trama.svg") 67% 87% / max(46rem,118%) auto no-repeat,
    radial-gradient(ellipse at 75% 76%,#4c293f 0%,#29172c 43%,#181119 79%)}
  .ia-hero::after{background:linear-gradient(180deg,#100e10 0%,transparent 10%,transparent 88%,#100e10 100%)}
}
@media(min-width:850px){main.mk-seo-main:has(> .ia-hero)>.ia-hero{grid-template-columns:minmax(0,.91fr) minmax(0,1.09fr)}}

[data-mk-ia-editorial]{--ia-paper:#f7efe9;--ia-sub:#e9d3dc;--ia-accent:#ffb29b;--ia-orchid:#c6a9d8;--ia-rule:#664755;--ia-surface:#1e171d;--ia-space:clamp(1.1rem,3.2vw,2.5rem)}
[data-mk-ia-editorial] .ia-hero-copy .mk-seo-label{
 position:relative;display:inline-flex;align-items:center;gap:.55rem;max-width:100%;margin:0 0 1.1rem;padding:.43rem .72rem;
 border:1px solid #8f6574;border-radius:.25rem;color:#ffd1b9;background:#261b24;letter-spacing:.075em
}
[data-mk-ia-editorial] .ia-hero-copy .mk-seo-label::before{content:"";width:.48rem;height:.48rem;flex:none;border:1px solid #ffba9e;transform:rotate(45deg)}
[data-mk-ia-editorial] .ia-hero #ia-hero-title{color:var(--ia-paper);font-size:clamp(2.48rem,4.8vw,4.75rem);line-height:.99;letter-spacing:-.063em}
[data-mk-ia-editorial] .ia-hero .mk-seo-lead{max-width:44ch;color:var(--ia-sub)}
[data-mk-ia-editorial] .ia-hero .ia-hero-cta a{background:#ffb19b;border:1px solid #ffd0b6;min-height:48px}
[data-mk-ia-editorial] .ia-hero .ia-flow{border-color:#97748d;border-radius:.48rem;box-shadow:0 14px 32px #09070b75}
[data-mk-ia-editorial] .ia-flow figcaption{border-color:#805b75;color:#f1e0ea;background:#291d2b}
[data-mk-ia-editorial] .ia-flow figcaption span{color:#ffd0b9}
[data-mk-ia-editorial] .mk-seo-body{max-width:none;display:grid;gap:var(--ia-space);margin-block:var(--ia-space)}
[data-mk-ia-editorial] .mk-ia-chapter{min-width:0;padding:clamp(.95rem,3.5vw,2.6rem);border:1px solid var(--ia-rule);border-radius:.5rem;background:var(--ia-surface)}
[data-mk-ia-editorial] .mk-ia-chapter>h2{margin:.15rem 0 .85rem;color:var(--ia-paper);font-size:clamp(1.65rem,4.15vw,2.95rem);letter-spacing:-.04em;text-wrap:balance}
[data-mk-ia-editorial] .mk-ia-chapter>p{margin:0;max-width:65ch;color:var(--ia-sub)}
[data-mk-ia-editorial] .mk-ia-chapter--fit{border-left:3px solid var(--ia-accent);background:linear-gradient(116deg,#30212a,#1f171d)}
[data-mk-ia-editorial] .mk-ia-chapter--method{background:#211820}
[data-mk-ia-editorial] .mk-ia-chapter--scope{border-left:3px solid var(--ia-orchid);background:linear-gradient(116deg,#2c2132,#1e181f)}
[data-mk-ia-editorial] .mk-seo-steps{gap:clamp(.7rem,1.45vw,1.25rem);padding:0}
[data-mk-ia-editorial] .mk-seo-steps li{position:relative;min-width:0;padding:clamp(1rem,2.45vw,1.65rem);border:1px solid #79566b;background:#2a2029;border-radius:.38rem}
[data-mk-ia-editorial] .mk-seo-steps li::before{
 display:block;padding-bottom:.6rem;margin-bottom:.65rem;color:#ffc3aa;border-bottom:1px solid #a8778155
}
[data-mk-ia-editorial] .mk-seo-steps h3{margin:.35rem 0 .45rem;color:var(--ia-paper)}
[data-mk-ia-editorial] .mk-seo-steps li p{margin:0;color:var(--ia-sub)}
[data-mk-ia-editorial] .mk-ia-chapter--faq details{max-width:none;margin:.55rem 0 0;border-radius:.35rem;border-color:#8a6171;background:#2a1e28}
[data-mk-ia-editorial] .mk-ia-chapter--faq summary{min-height:44px;align-content:center;color:var(--ia-paper)}
[data-mk-ia-editorial] .mk-seo-related{padding-top:.8rem;border-top:1px solid var(--ia-rule)}
[data-mk-ia-editorial] .mk-seo-related a{border:1px solid #805b72;border-radius:.25rem;background:#2b1e29}
@media(min-width:960px){
 [data-mk-ia-editorial] :is(.mk-ia-chapter--fit,.mk-ia-chapter--scope){display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;gap:clamp(1rem,4vw,3.7rem)}
 [data-mk-ia-editorial] :is(.mk-ia-chapter--fit,.mk-ia-chapter--scope)>h2{margin:0}
}
@media(max-width:450px){
 [data-mk-ia-editorial] .ia-hero #ia-hero-title{font-size:clamp(2.15rem,8.7vw,2.9rem)}
 [data-mk-ia-editorial] .ia-hero .ia-flow{box-shadow:none}
}

/* Private Vol. 27 · IA landing only. */
[data-mk-ia-editorial]{--ia-paper:#fbf2ef;--ia-sub:#e9d7df;--ia-accent:#ffb99f;--ia-orchid:#dbbded;--ia-rule:#806074;--ia-surface:#201720}
[data-mk-ia-editorial] .ia-hero-copy .mk-seo-label{display:block;width:auto;padding:0;border:0;border-radius:0;background:none;color:var(--ia-accent);font-size:.72rem;letter-spacing:.11em}
[data-mk-ia-editorial] .ia-hero-copy .mk-seo-label::before{content:none}
[data-mk-ia-editorial] .ia-hero #ia-hero-title{font-size:clamp(2.4rem,5.6vw,5.4rem);font-weight:750;line-height:.98;letter-spacing:-.038em;text-wrap:balance}
[data-mk-ia-editorial] .ia-hero #ia-hero-title span{color:#f5c7b8}
[data-mk-ia-editorial] .ia-hero .mk-seo-lead{font-size:clamp(1.04rem,1.45vw,1.22rem);line-height:1.65;max-width:48ch;text-wrap:pretty}
[data-mk-ia-editorial] .ia-hero .ia-hero-cta a:focus-visible{outline:2px solid #f9dbff;outline-offset:4px}
[data-mk-ia-editorial] .ia-hero>.ia-flow{border-radius:.75rem;box-shadow:none}
[data-mk-ia-editorial] .ia-flow figcaption{display:grid;grid-template-columns:minmax(7.6rem,27%) minmax(0,1fr);gap:.75rem;padding:.88rem 1.1rem;background:#251929;color:var(--ia-sub);line-height:1.55}
[data-mk-ia-editorial] .ia-flow figcaption span{line-height:1.55;margin:0}
[data-mk-ia-editorial] .mk-ia-chapter{border-radius:.75rem}
[data-mk-ia-editorial] .mk-ia-chapter:is(.mk-ia-chapter--fit,.mk-ia-chapter--scope){border-left-width:1px}
[data-mk-ia-editorial] .mk-ia-chapter--method{padding-inline:0;border:0;background:none}
[data-mk-ia-editorial] .mk-ia-chapter>h2{line-height:1.08;letter-spacing:-.034em}
[data-mk-ia-editorial] .mk-ia-chapter>p{line-height:1.64;text-wrap:pretty}
[data-mk-ia-editorial] .mk-seo-steps li{border-color:#77556a;min-height:0;border-radius:.75rem;background:#251c28}
[data-mk-ia-editorial] .mk-seo-steps li.mk-spotlight::before{content:counter(steps,decimal-leading-zero);position:static;pointer-events:auto;z-index:auto;opacity:1;background:none;transition:none;border-radius:0}
[data-mk-ia-editorial] .mk-seo-steps li.mk-spotlight::after{border-radius:inherit;background:radial-gradient(200px circle at var(--mx,50%) var(--my,50%),#ffb99fd9,transparent 72%)}
[data-mk-ia-editorial] .mk-seo-steps li h3{line-height:1.2}
[data-mk-ia-editorial] .mk-seo-steps li p{line-height:1.55;text-wrap:pretty}
[data-mk-ia-editorial] ::selection{background:#ffd0bd;color:#251321}
@media(max-width:600px){
 [data-mk-ia-editorial] .ia-hero #ia-hero-title{font-size:clamp(2.25rem,9.4vw,3.45rem);max-width:15ch}
 [data-mk-ia-editorial] .ia-flow figcaption{display:block;padding:.8rem .9rem .9rem}
 [data-mk-ia-editorial] .ia-flow figcaption span{margin-block-end:.22rem}
}
@media(prefers-reduced-motion:reduce){[data-mk-ia-editorial] .mk-seo-steps li.mk-spotlight::after{display:none}}


/* IA landing only. A transparent diagram floats above the scene; no opaque card. */
html[data-mk-ia-scene] body{background:#100c14;color:#fff4f4}
.ia-local-head{position:sticky;top:0;z-index:75;background:#130f17e8;border-bottom:1px solid #ffffff1a;color:#fff2f0}
.ia-local-inner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:clamp(.9rem,2.1vw,2rem);width:min(92%,78rem);min-height:84px;margin:auto;font:500 13px/1.35 Sora,system-ui,sans-serif}
.ia-local-head a{text-decoration:none;color:inherit}
.ia-local-brand{display:grid;place-items:center;flex:none;min-width:56px;min-height:55px}
.ia-local-brand img{width:75px;height:64px;object-fit:contain}
.ia-local-links{display:flex;align-items:center;gap:clamp(.7rem,2.1vw,1.8rem);margin:0;color:#e9d7df}
.ia-local-links a{display:inline-flex;align-items:center;min-height:44px}
.ia-local-links a:hover,.ia-local-links a:active{color:#ffbdab}
.ia-local-head :focus-visible,.ia-graphic-trigger:focus-visible{outline:2px solid #ffbeac;outline-offset:4px}
.ia-local-cta{display:inline-flex;gap:.65rem;align-items:center;min-height:48px;padding:.62rem .8rem;border:1px solid #cf9eaa;border-radius:2px;color:#fff4f1;white-space:nowrap}
.ia-local-cta:hover{background:#322431}
.ia-local-cta svg{height:18px;width:18px}
.ia-local-toggle{display:none}
html[data-mk-ia-scene] [data-mk-service-target]{scroll-margin-block-start:7.2rem}
html[data-mk-ia-scene] .ia-hero{margin-top:0!important;min-height:min(70svh,46rem);padding-block:clamp(2rem,5vw,5rem)!important;background:#17101b!important}
html[data-mk-ia-scene] .ia-hero::before{background:radial-gradient(ellipse at 74% 52%,#51334f91,transparent 52%),radial-gradient(ellipse at 26% 72%,#38223883,transparent 62%),linear-gradient(105deg,#15101a,#2a192d 65%,#140e19)}
html[data-mk-ia-scene] .ia-hero::after{z-index:0;background:linear-gradient(90deg,#120e17b8 0%,#120e1733 45%,transparent 80%),linear-gradient(180deg,#17101c 0%,transparent 20%,transparent 82%,#17101c 100%)}
.ia-scene-ground{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;background:url("/servicios-publicos-v1/trama.svg") 100% 73% / min(78rem,108%) auto no-repeat}
.ia-scene-canvas{display:block;width:100%;height:100%;opacity:.78}
html[data-mk-ia-scene] .ia-hero .ia-flow,
html[data-mk-ia-scene] .ia-hero .ia-board{background:none;border:0;border-radius:0;box-shadow:none;overflow:visible}
html[data-mk-ia-scene] .ia-hero .ia-board::before{content:none}
html[data-mk-ia-scene] .ia-hero .ia-flow figcaption{padding:.72rem 0 0;border-color:#90708066;background:none;max-width:52ch}
.ia-graphic-trigger{position:absolute;z-index:2;inset:7% auto auto 22%;width:58%;aspect-ratio:1;background:none;border:0;padding:0;border-radius:50%;color:inherit;cursor:pointer}
html[data-mk-ia-scene] .ia-graphic-trigger .ia-fox{inset:0;width:100%;height:auto;transform:none!important;display:block}
.ia-graphic-trigger:focus-visible{outline-offset:-.7rem}
html[data-mk-ia-scene] .mk-ia-chapter--fit{display:block;padding:clamp(1.05rem,4vw,3.1rem);border-radius:.6rem;border:1px solid #78566d;background:linear-gradient(140deg,#251b27,#19131d)}
html[data-mk-ia-scene] .mk-ia-chapter--fit>h2{margin:0 0 .72rem}
.ia-fit-map{margin:clamp(1.15rem,4vw,2.3rem) 0 0;padding:1rem 0 .2rem;border-top:1px solid #bd879258}
.ia-fit-map figcaption{margin:0 0 1rem;color:#eabcae;font:700 .8rem/1.4 system-ui,sans-serif}
.ia-fit-steps{display:grid;grid-template-columns:minmax(0,1fr) 3rem minmax(0,.9fr) 3rem minmax(0,1.4fr);gap:.3rem;align-items:center}
.ia-fit-steps :is(.ia-fit-sources,.ia-fit-outputs,.ia-fit-decision){min-width:0;display:grid;gap:.48rem}
.ia-fit-steps :is(.ia-fit-sources,.ia-fit-outputs,.ia-fit-decision)>span{font:600 .82rem/1.25 system-ui,sans-serif;color:#d8bacf}
.ia-fit-steps strong{padding:.56rem .66rem;border:1px solid #84627c;border-radius:.24rem;color:#fff0f4;background:#241b29;font:680 clamp(.86rem,1.35vw,1.04rem)/1.32 system-ui,sans-serif}
.ia-fit-decision strong{border-color:#edac95;background:#392936}
.ia-fit-outputs small{display:block;margin-block-end:.22rem;color:#ffbca7;font:690 .68rem/1.15 system-ui,sans-serif;letter-spacing:.08em}
.ia-fit-connector{width:100%;height:72px;display:block;fill:none;stroke:#edab9a;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:860px){
 .ia-local-inner{min-height:70px;width:calc(100% - 2rem)}
 .ia-local-brand img{width:65px;height:56px}
 .ia-local-toggle{display:flex;align-items:center;gap:.65rem;min-height:44px;padding:.4rem .65rem;border:1px solid #b799ad77;border-radius:.28rem;background:#261d29;color:inherit;font:inherit}
 .ia-local-toggle span{display:grid;gap:4px;width:15px}
 .ia-local-toggle i{height:1px;background:currentColor}
 .ia-local-links{position:absolute;inset:calc(100% + 6px) 0 auto;display:none;flex-direction:column;align-items:stretch;gap:0;padding:.65rem 1.1rem;background:#1b1320;border:1px solid #795770;border-radius:.5rem;box-shadow:0 20px 40px #09070f88}
 .ia-local-head[data-ia-menu-open] .ia-local-links{display:flex}
 .ia-local-links a{min-height:48px;padding:.42rem 0;border-block-end:1px solid #845f7770;font-size:clamp(1rem,4.4vw,1.2rem)}
 .ia-local-links a:last-child{border:0}
 .ia-local-cta{display:none}
 html[data-mk-ia-scene] .ia-hero{min-height:0}
 html[data-mk-ia-scene] .ia-hero::after{background:linear-gradient(180deg,#120e17ad 0%,transparent 50%,#17101c 100%)}
 .ia-scene-ground{background-position:60% 85%;background-size:54rem auto}
}
@media(max-width:620px){
 .ia-fit-steps{grid-template-columns:minmax(0,1fr);gap:.42rem}
 .ia-fit-connector{width:2.5rem;height:1.6rem;transform:rotate(90deg);margin-inline:1rem}
 .ia-fit-steps :is(.ia-fit-sources,.ia-fit-outputs){grid-template-columns:repeat(2,minmax(0,1fr))}
 .ia-fit-steps :is(.ia-fit-sources,.ia-fit-outputs)>span{grid-column:1/-1}
 .ia-fit-steps strong{font-size:.88rem}
}


/* IA borrows the established Campaña Web menu; its actual links remain local. */
html[data-mk-ia-scene]{--ia-menu-paper:#f8f4f8;--ia-menu-ink:#211a24;--ia-menu-line:#ddd5e1;--ia-menu-purple:#594467}
html[data-mk-ia-scene] .ia-campaign-shell{position:sticky;top:0;z-index:81;background:#f8f4f8ef;border-block-end:1px solid #ddd5e1b5}
html[data-mk-ia-scene] .ia-campaign-shell header.nav.wrap{height:88px;position:relative;color:var(--ia-menu-ink);isolation:auto}
html[data-mk-ia-scene] .ia-campaign-shell a{color:inherit;text-decoration:none}
html[data-mk-ia-scene] .brand-image{display:grid;place-items:center;flex:none;min-width:56px;min-height:55px}
html[data-mk-ia-scene] .brand-image img{display:block;width:86px;height:86px;object-fit:contain}
html[data-mk-ia-scene] .campaign-menu a{display:flex;align-items:center;min-height:44px;font:500 clamp(.7rem,.98vw,.83rem)/1.35 Sora,system-ui,sans-serif}
html[data-mk-ia-scene] .campaign-menu a:hover{color:var(--ia-menu-purple)}
html[data-mk-ia-scene] header.nav.wrap>.btn{display:inline-flex;align-items:center;box-sizing:border-box;font-family:Sora,system-ui,sans-serif}
html[data-mk-ia-scene] .menu-toggle,html[data-mk-ia-scene] .menu-shade{display:none}
html[data-mk-ia-scene] .ia-mobile-perch{display:none}
html[data-mk-ia-scene] .ia-desktop-perch{position:absolute;inset:20% auto auto 26%;width:53%;height:61%;pointer-events:none}
@media(max-width:965px){
 html[data-mk-ia-scene] .ia-campaign-shell header.nav.wrap{height:auto;min-height:78px}
 html[data-mk-ia-scene] .brand-image img{width:72px;height:72px}
 html[data-mk-ia-scene] header.nav.wrap>.btn{display:none}
 html[data-mk-ia-scene] .menu-toggle{display:inline-grid;place-items:center;flex:none;width:48px;height:48px;border:0;border-radius:50%;background:#ece7ee;color:var(--ia-menu-ink);cursor:pointer}
 html[data-mk-ia-scene] .menu-toggle i{display:grid;width:22px;gap:6px}
 html[data-mk-ia-scene] .menu-toggle b{display:block;height:2px;border-radius:2px;background:currentColor;transition:transform .24s}
 html[data-mk-ia-scene] .menu-toggle[aria-expanded=true] b:first-child{transform:translateY(4px) rotate(45deg)}
 html[data-mk-ia-scene] .menu-toggle[aria-expanded=true] b:last-child{transform:translateY(-4px) rotate(-45deg)}
 html[data-mk-ia-scene] .ia-campaign-shell .navlinks.campaign-menu{
  position:absolute;inset:calc(100% + 8px) 0 auto;z-index:82;width:auto;display:flex;flex-direction:column;align-items:stretch;gap:0;
  padding:14px 22px 16px;border:1px solid #e8e0eb;border-radius:16px;background:var(--ia-menu-paper);
  box-shadow:0 20px 48px #19121f66;max-height:calc(100dvh - 120px);overflow:auto;overscroll-behavior:contain;
  visibility:hidden;opacity:0;transform:translateY(-12px) scale(.985);transform-origin:top right;pointer-events:none;
  transition:opacity .26s ease,transform .36s cubic-bezier(.22,1,.36,1),visibility .36s;
 }
 html[data-mk-ia-scene] .ia-campaign-shell .navlinks.campaign-menu.is-open{visibility:visible;opacity:1;transform:none;pointer-events:auto}
 html[data-mk-ia-scene] .ia-campaign-shell .navlinks.campaign-menu a{font:500 clamp(18px,4.8vw,24px)/1.28 Sora,system-ui,sans-serif;letter-spacing:-.025em;min-height:52px;padding:12px 0;border-block-end:1px solid var(--ia-menu-line);white-space:normal}
 html[data-mk-ia-scene] .ia-campaign-shell .navlinks.campaign-menu a:last-child{border:0}
 html[data-mk-ia-scene] .menu-shade.is-open{display:block;position:fixed;inset:0;z-index:80;border:0;background:transparent}
}
@media(max-width:849px){
 html[data-mk-ia-scene] .ia-mobile-perch{
  position:relative;z-index:1;display:block;width:min(100%,12.5rem);height:clamp(120px,31vw,152px);justify-self:end;pointer-events:none;
  margin-block:-.72rem -.46rem;
 }
 html[data-mk-ia-scene] .ia-desktop-perch{display:none}
 html[data-mk-ia-scene] .ia-hero{row-gap:clamp(.9rem,4vw,1.8rem)}
}
@media(prefers-reduced-motion:reduce){html[data-mk-ia-scene] .menu-toggle b,html[data-mk-ia-scene] .ia-campaign-shell .navlinks{transition:none!important}}

.mk-ia-chapter--fit #mk-ia-aplicaciones .ia-fit-em{font-family:MKRoulenFinal,serif;font-weight:400;color:#f5c7b8;white-space:nowrap;position:relative;display:inline-block}
.ia-fit-em:after{content:"";position:absolute;inset:auto 0 -.07em;height:1px;background:linear-gradient(90deg,#ef9c85,#cb9edf 68%,transparent);transform-origin:left}
.mk-ia-chapter--fit .ia-fit-map{border-block:1px solid #a3778f80;padding:1.4rem 0;margin-block:2rem 0}
.mk-ia-chapter--fit .ia-fit-map figcaption,.ia-contact-kicker{font:700 .73rem/1.4 system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#f5c7b8}
.mk-ia-chapter--fit .ia-fit-steps strong{border:0;background:none;padding:.15rem 0;color:#fff0f4}
.mk-ia-chapter--fit .ia-fit-steps>div{border-inline-start:1px solid #a3778fc2;padding-inline-start:.8rem}
.mk-ia-chapter--fit .ia-fit-steps>div:nth-of-type(2){border-inline-start-color:#fa846f}
.mk-ia-chapter--fit .ia-fit-steps>div:nth-of-type(3){border-inline-start-color:#c9b0f0}
.mk-ia-chapter--fit .ia-fit-connector{overflow:visible}
@media(prefers-reduced-motion:no-preference){
 .mk-ia-chapter--fit.ia-fit-in .ia-fit-em:after{animation:ia-fit-ink .72s cubic-bezier(.2,.75,.25,1) both}
 .mk-ia-chapter--fit.ia-fit-in .ia-fit-connector path{animation:ia-fit-trace .85s ease-out both;stroke-dasharray:1;stroke-dashoffset:0}
 .mk-ia-chapter--fit.ia-fit-in .ia-fit-connector:nth-of-type(2) path{animation-delay:.15s}
 @keyframes ia-fit-ink{from{transform:scaleX(.08);opacity:.35}}
 @keyframes ia-fit-trace{from{stroke-dashoffset:1;opacity:.2}}
}
.ia-project{--ia-edge:#a8839e;--ia-light:#fff0f4;color:var(--ia-light);background:linear-gradient(130deg,#322133,#211822 68%);border-block:1px solid var(--ia-edge);margin:clamp(2.25rem,6vw,5rem) auto;padding:clamp(1rem,4vw,3rem);max-width:1100px;display:grid;grid-template-columns:minmax(0, .85fr) minmax(0,1.15fr);gap:clamp(1.1rem,5vw,4rem);scroll-margin-top:6.7rem}
.ia-project h2{font-size:clamp(2.05rem,4vw,4rem);line-height:1.04;margin:.5rem 0 1rem;overflow-wrap:anywhere}
.ia-project .ia-contact-intro{max-width:33ch;color:#f0d7df;margin:0;font-size:1rem;line-height:1.5}
.ia-project-form,.ia-project-field{display:grid;gap:.55rem;min-width:0}
.ia-project-form{gap:.95rem}
.ia-project-field label{font-size:.94rem;font-weight:660;color:var(--ia-light)}
.ia-project-field :is(select,textarea){box-sizing:border-box;width:100%;min-height:48px;padding:.68rem .85rem;background:#1e1621;color:var(--ia-light);border:1px solid var(--ia-edge);border-radius:.35rem;font:1rem/1.4 system-ui,sans-serif;color-scheme:dark}
.ia-project-field textarea{min-height:7rem;resize:vertical}
.ia-project-field [aria-invalid="true"]{border-color:#ffb4a6}
.ia-project-field .ia-project-error{color:#ffb4a6;font-size:.85rem;margin:0}
.ia-project button{justify-self:start;min-height:48px;padding:.55rem 1rem;border:1px solid #ffbfae;border-radius:2rem;font:730 1rem/1.25 system-ui,sans-serif;background:#ffbfae;color:#281927;cursor:pointer}
.ia-project button:disabled{opacity:.65;cursor:not-allowed}
.ia-project :is(select,textarea,button):focus-visible{outline:2px solid #e1bcff;outline-offset:3px}
.ia-project-help,.ia-project-status{margin:0;color:#e9cdd7;font-size:.85rem;line-height:1.45}
.ia-project-status:not(:empty){border-inline-start:2px solid #dcb7ed;padding-inline-start:.75rem}
@media(max-width:720px){.ia-project{grid-template-columns:minmax(0,1fr);margin-inline:0}.mk-ia-chapter--fit .ia-fit-steps>div{padding-inline-start:.65rem}}

html[data-mk-ia-scene] .ia-board-label>span{display:block;color:#fff0f5;font-size:clamp(.71rem,1.08vw,.94rem);line-height:1.15;font-weight:720}
.ia-board-label>small{display:block;color:#f4d0df;font:650 clamp(.62rem,.85vw,.74rem)/1.25 system-ui,sans-serif}
.ia-board-label.ia-board-label--in>small{color:#ffd1c2}
.ia-stage-signals{opacity:0;pointer-events:none}
@media(prefers-reduced-motion:no-preference){
 .ia-flow[data-ia-stage-active] .ia-stage-signals{opacity:1}
 .ia-flow[data-ia-stage-active] .ia-stage-pulse{stroke-dasharray:.13 1;stroke-dashoffset:.15;opacity:0}
 .ia-flow[data-ia-stage-active] .ia-stage-pulse--in{stroke:#ffc5ac;animation:ia-stage-in 8.4s linear infinite}
 .ia-flow[data-ia-stage-active] .ia-stage-pulse--out{stroke:#ecd4ff;animation:ia-stage-exit-out 8.4s linear infinite}
 .ia-flow[data-ia-stage-active] .ia-stage-pulse--review{stroke:#ccd0ff;animation:ia-stage-exit-review 8.4s linear infinite}
 .ia-flow[data-ia-stage-active] .ia-stage-decision{animation:ia-stage-center 8.4s ease-out infinite}
 @keyframes ia-stage-in{0%,50%{stroke-dashoffset:.15;opacity:0} 2%,52%{opacity:1} 19%,69%{stroke-dashoffset:-1;opacity:1} 20%,70%,100%{stroke-dashoffset:-1;opacity:0}}
 @keyframes ia-stage-exit-out{0%,23%{stroke-dashoffset:.15;opacity:0} 25%{opacity:1} 42%{stroke-dashoffset:-1;opacity:1} 43%,100%{stroke-dashoffset:-1;opacity:0}}
 @keyframes ia-stage-exit-review{0%,73%{stroke-dashoffset:.15;opacity:0} 75%{opacity:1} 92%{stroke-dashoffset:-1;opacity:1} 93%,100%{stroke-dashoffset:-1;opacity:0}}
 @keyframes ia-stage-center{0%,17%,31%,67%,81%,100%{opacity:0} 21%,71%{opacity:1}}
}

