/* Fuentes autoalojadas (licencia SIL OFL 1.1, Google Fonts). Antes se cargaban de fonts.googleapis.com:
   bloqueaban el primer pintado (~750 ms) y el cambio de fuente movía el layout (CLS). Issue #6.
   font-display:optional: si la fuente no llegó al primer pintado se usa la del sistema en esa visita y no hay salto. */
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 500;font-display:optional;src:url("../fonts/jetbrains-mono-latin-ext.bd4781a31b42.woff2") format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 500;font-display:optional;src:url("../fonts/jetbrains-mono-latin.b636a65da4f0.woff2") format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:optional;src:url("../fonts/montserrat-800-latin-ext.764f94e191f1.woff2") format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:optional;src:url("../fonts/montserrat-800-latin.9e624ca74fb3.woff2") format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Schibsted Grotesk';font-style:normal;font-weight:400 800;font-display:optional;src:url("../fonts/schibsted-grotesk-latin-ext.65233324c912.woff2") format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Schibsted Grotesk';font-style:normal;font-weight:400 800;font-display:optional;src:url("../fonts/schibsted-grotesk-latin.ba4038fc5cb5.woff2") format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* Tokens. Modo oscuro de marca DeploShark (modo principal). Para revender: cambiar sólo este bloque. */
:root{
  --bg:#0D1117;
  --surface:#2E2D30;
  --raised:#3C3B3C;
  --line:#46454A;
  --text:#F2F4F7;
  --text-2:#A0A1A5;
  --primary:#3B8BEB;
  --primary-hover:#1E6FD0;
  --on-primary:#0D1117;
  --on-primary-hover:#FFFFFF;
  --accent:#22B8E6;
  --brand:#084789;
  --lit-fill:color-mix(in srgb, var(--accent) 18%, var(--bg));
  --grid-dot:color-mix(in srgb, var(--line) 45%, var(--bg));
  --nav-bg:color-mix(in srgb, var(--bg) 92%, transparent);
  --bar-bg:color-mix(in srgb, var(--surface) 55%, transparent);
  --placeholder-text:#FFD580;
  --placeholder-line:#8a6d2b;

  --font:"Schibsted Grotesk", system-ui, sans-serif;
  --mono:"JetBrains Mono", ui-monospace, monospace;
  --font-logo:"Montserrat", var(--font);

  --gutter:clamp(16px, 4vw, 48px);
  --max:1240px;
  --space-section:clamp(4.5rem, 10vw, 8rem);
  --radius:6px;
  --ease-out:cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:5rem;color-scheme:dark}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:1.0625rem;line-height:1.6}
img,svg{display:block;max-width:100%}
a{color:var(--primary);text-underline-offset:.2em;text-decoration-thickness:1px}
a:not(.btn):hover{color:var(--accent)}
::selection{background:var(--accent);color:var(--bg)}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:2px}
html{scrollbar-color:var(--line) var(--bg)}
h1,h2,h3{margin:0;line-height:1.08;letter-spacing:-.025em;text-wrap:balance}
h2{font-size:clamp(1.875rem, 4vw, 3rem);font-weight:700}
h3{font-size:1.1875rem;font-weight:650;letter-spacing:-.01em}
p{margin:0}
.wrap{max-width:var(--max);margin-inline:auto;padding-inline:var(--gutter)}
.skip{position:absolute;left:-999px;top:0;background:var(--primary);color:var(--bg);padding:.75rem 1rem;z-index:10}
.skip:focus{left:1rem}
.lede{color:var(--text-2);font-size:clamp(1.0625rem, 1.5vw, 1.1875rem);max-width:58ch}
.tool{font-family:var(--mono);font-size:.8125rem;color:var(--text);background:var(--bg);border:1px solid var(--line);padding:.15rem .5rem;border-radius:4px;white-space:nowrap}
.placeholder{font-family:var(--mono);font-size:.75rem;color:var(--placeholder-text);border:1px dashed var(--placeholder-line);padding:.05rem .4rem;border-radius:4px;white-space:nowrap}

.btn{display:inline-flex;align-items:center;gap:.6rem;min-height:48px;padding:.75rem 1.35rem;font:inherit;font-weight:650;font-size:1rem;text-decoration:none;border-radius:var(--radius);border:1px solid transparent;cursor:pointer;transition:background-color .2s var(--ease-out),color .2s var(--ease-out),border-color .2s var(--ease-out)}
.btn svg{width:18px;height:18px;transition:transform .25s var(--ease-out)}
.btn:hover svg{transform:translateX(3px)}
.btn--primary{background:var(--primary);color:var(--on-primary)}
.btn--primary:hover{background:var(--primary-hover);color:var(--on-primary-hover)}
.btn--ghost{border-color:var(--line);color:var(--text)}
.btn--ghost:hover{border-color:var(--text-2);color:var(--text);background:var(--surface)}

/* ===== Bloque: Navegación ===== */
.nav{position:sticky;top:0;z-index:5;background:var(--nav-bg);backdrop-filter:saturate(140%) blur(10px);border-bottom:1px solid var(--line)}
.nav__row{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:66px}
.logo{display:flex;align-items:center;gap:.55rem;text-decoration:none}
.logo svg{width:44px;height:auto}
.logo__word{font-family:var(--font-logo);font-weight:800;font-size:1.3125rem;letter-spacing:-.02em;color:var(--text);line-height:1}
.logo__word span{color:var(--primary)}
.nav__links{display:none;gap:1.75rem;list-style:none;margin:0;padding:0}
.nav__links a{color:var(--text-2);text-decoration:none;font-size:.9375rem}
.nav__links a:hover{color:var(--text)}
.nav .btn{min-height:40px;padding:.5rem 1rem;font-size:.9375rem}
.nav .btn{white-space:nowrap;gap:0}
@media (min-width:900px){.nav__links{display:flex}}

/* ===== Bloque: Hero con mapa del sistema ===== */
.hero{padding-block:1.25rem 0}
.hero__top{display:grid;gap:1.1rem;align-items:start}
.hero h1{font-size:clamp(2.1rem, 4vw, 3rem);font-weight:750;max-width:22ch;min-height:2.9em;hyphens:auto}
.hero h1 span{color:var(--accent)}
.hero__side{display:grid;gap:1.1rem;align-items:end}
.hero__actions{display:flex;flex-wrap:wrap;gap:.75rem}
.hero .lede{max-width:54ch}
@media (min-width:1000px){.hero__top{grid-template-columns:minmax(0, 1.1fr) minmax(0, .9fr);gap:2.25rem}.hero__side{align-content:end}.hero__actions{justify-content:flex-end}}

.map{margin:1.5rem 0 0;border:1px solid var(--line);border-radius:10px;background:
  radial-gradient(circle at 1px 1px, var(--grid-dot) 1px, transparent 0) 0 0/22px 22px, var(--bg);overflow:hidden}
.map__bar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.75rem;border-bottom:1px solid var(--line);background:var(--bar-bg)}
.map__bar p{font-size:.875rem;color:var(--text-2);margin-right:.25rem}
.chip{font:inherit;font-size:.875rem;font-weight:550;color:var(--text-2);background:transparent;border:1px solid var(--line);border-radius:999px;padding:.4rem .85rem;min-height:36px;cursor:pointer;transition:color .2s,border-color .2s,background-color .2s}
.chip:hover{color:var(--text);border-color:var(--text-2)}
.chip[aria-pressed="true"]{color:var(--bg);background:var(--accent);border-color:var(--accent)}
.map__canvas{padding:clamp(.5rem, 1.5vw, .75rem)}
.map svg{width:100%;height:auto}
/* Reserva el alto del mapa antes de que el JS lo dibuje (si no, el svg vacío mide 150 px y al dibujarse empuja todo: CLS, issue #6).
   Proporciones = LAYOUT.narrow / LAYOUT.wide de deploshark.js; el corte de 760px es el mismo matchMedia del JS. */
.map__svg{aspect-ratio:360 / 660}
@media (min-width:760px){.map__svg{aspect-ratio:1000 / 290}}
.map__caption{display:grid;gap:.2rem;padding:.7rem 1.25rem;border-top:1px solid var(--line);min-height:4.5rem}
.map__caption strong{font-size:1.0625rem}
.map__caption p{color:var(--text-2);font-size:.9375rem;max-width:80ch}

/* SVG del mapa */
.edge{fill:none;stroke:var(--line);stroke-width:1.5;transition:stroke .2s var(--ease-out),opacity .2s}
.edge.is-tracing{stroke:var(--accent);stroke-width:2}
.edge.is-lit{stroke:var(--accent);stroke-width:2;stroke-dasharray:6 8;animation:flow 1.2s linear infinite}
.edge.is-dim{opacity:.35}
@keyframes flow{to{stroke-dashoffset:-28}}
.node{transition:opacity .2s}
.node rect{fill:var(--surface);stroke:var(--line);stroke-width:1;transition:stroke .35s var(--ease-out) var(--d,0ms),fill .35s var(--ease-out) var(--d,0ms)}
.node text{fill:var(--text-2);font-family:var(--font);font-size:15px;font-weight:550;transition:fill .35s var(--d,0ms)}
.node.is-lit rect{stroke:var(--accent);fill:var(--lit-fill)}
.node.is-lit text{fill:var(--text)}
.node.is-dim{opacity:.6}
.node--ext rect{fill:var(--bg);stroke-dasharray:4 4}
.boundary{fill:none;stroke:var(--line);stroke-dasharray:6 6;transition:stroke .3s}
.boundary.is-lit{stroke:var(--accent)}
.boundary-label{fill:var(--text-2);font-family:var(--font);font-size:13px;font-weight:550}
.boundary-label.is-lit{fill:var(--accent)}
.map-reset *{transition:none!important}
.map.is-offscreen .edge.is-lit{animation-play-state:paused}

/* ===== Secciones ===== */
.section{padding-block:var(--space-section)}
.section__head{display:grid;gap:1rem;margin-bottom:clamp(2.5rem, 5vw, 4rem)}
.section__head h1{font-size:clamp(1.875rem, 4vw, 3rem);font-weight:700}
/* Entrada de títulos: se descubren de izquierda a derecha, como una línea del mapa. Visible por defecto sin JS. */
.js-reveal [data-reveal] h2{clip-path:inset(-.2em 100% -.3em -.2em);transform:translateY(.3em);transition:clip-path .75s var(--ease-out),transform .75s var(--ease-out)}
.js-reveal [data-reveal] .lede,.js-reveal [data-reveal] ul{opacity:0;transition:opacity .5s var(--ease-out) .25s}
.js-reveal [data-reveal].is-in h2{clip-path:inset(-.2em -.2em -.3em -.2em);transform:none}
.js-reveal [data-reveal].is-in .lede,.js-reveal [data-reveal].is-in ul{opacity:1}
@media (min-width:900px){.section__head{grid-template-columns:6fr 5fr;gap:3rem;align-items:end}}

/* Bloque: Problemas */
.symptoms{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.symptoms li{display:grid;gap:.5rem;padding:1.35rem 0;border-bottom:1px solid var(--line)}
.symptoms .s{font-size:clamp(1.125rem, 2vw, 1.375rem);font-weight:600;line-height:1.3}
.symptoms .r{color:var(--text-2)}
.symptoms a{font-weight:600;text-decoration:none;white-space:nowrap}
.symptoms a:hover{text-decoration:underline}
.arr{display:inline-block;width:1em;height:1em;vertical-align:-.15em}
@media (min-width:900px){.symptoms li{grid-template-columns:6fr 5fr;gap:3rem;align-items:baseline}}

/* Bloque: Paquetes */
.pkgs{display:grid;gap:1rem}
.pkg{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:clamp(1.25rem, 3vw, 2rem);display:grid;gap:1.25rem;scroll-margin-top:6rem}
.pkg header{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.5rem 1rem}
.pkg h3{font-size:clamp(1.5rem, 2.6vw, 2rem);font-weight:700}
.pkg__for{color:var(--text-2);font-size:1.0625rem}
.pkg__body{display:grid;gap:1.25rem}
.pkg ul{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.pkg li{position:relative;padding-left:1.25rem}
.pkg li::before{content:"";position:absolute;left:0;top:.62em;width:.5rem;height:.5rem;border:1.5px solid var(--accent);border-radius:2px}
.pkg__tools{display:flex;flex-wrap:wrap;gap:.4rem;align-content:start}
.pkg__badge{font-size:.8125rem;font-weight:600;color:var(--accent);border:1px solid var(--accent);padding:.1rem .5rem;border-radius:999px}
.pkg--base{background:transparent;border-style:dashed}
@media (min-width:900px){.pkg__body{grid-template-columns:7fr 5fr;gap:3rem}}

/* Bloque: Proceso */
.pipeline{list-style:none;margin:0;padding:0;display:grid;gap:0;position:relative}
.pipeline li{position:relative;padding:0 0 2rem 2.25rem;display:grid;gap:.4rem;align-content:start}
.pipeline li::before{content:"";position:absolute;left:.45rem;top:.4rem;bottom:-.4rem;width:1px;background:var(--line)}
.pipeline li:last-child::before{display:none}
.pipeline li::after{content:"";position:absolute;left:0;top:.3rem;width:.95rem;height:.95rem;border-radius:50%;background:var(--bg);border:2px solid var(--accent)}
.pipeline li:first-child::after{background:var(--accent)}
.pipeline p{color:var(--text-2);font-size:.9375rem}
.pipeline .out{font-size:.9375rem;font-weight:600;color:var(--text)}
.pipeline .out .arr{color:var(--accent);margin-right:.35rem}
@media (min-width:900px){
  .pipeline{grid-template-columns:repeat(4,1fr);grid-template-rows:auto auto auto;column-gap:2rem;row-gap:0}
  .pipeline li{padding:2.25rem 0 0;grid-row:span 3;grid-template-rows:subgrid}
  .pipeline li::before{left:1.25rem;right:-2rem;top:.45rem;bottom:auto;width:auto;height:1px}
  .pipeline li::after{top:0}
}

/* Bloque: Diferenciales */
.diff{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.diff li{display:grid;gap:.75rem;padding:1.5rem 0;border-bottom:1px solid var(--line)}
.diff__k{display:flex;align-items:center;gap:1rem}
.diff__k svg{width:56px;height:32px;flex:none}
.diff__k h3{font-size:clamp(1.125rem, 2vw, 1.375rem);font-weight:600;line-height:1.3}
.diff p{color:var(--text-2)}
.dev-box{fill:none;stroke:var(--accent);stroke-dasharray:4 3}
.dev-node{fill:var(--lit-fill);stroke:var(--accent)}
.dev-edge{stroke:var(--accent);stroke-width:2;stroke-dasharray:4 4}
@media (min-width:900px){.diff li{grid-template-columns:6fr 5fr;gap:3rem;align-items:center}}

/* Bloque: Casos */
.cases{display:grid;gap:1rem}
.case{border:1px solid var(--line);border-radius:10px;padding:1.5rem;display:grid;gap:.75rem;align-content:start}
.case h3{line-height:1.3}
.case p{color:var(--text-2);font-size:.9375rem}
.case p a{font-weight:600;text-decoration:none;white-space:nowrap}
.case .placeholder{justify-self:start}
@media (min-width:900px){.cases{grid-template-columns:repeat(3,1fr)}}
.logos{list-style:none;margin:1.5rem 0 0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.logos li{min-height:72px;display:grid;place-items:center;border:1px dashed var(--line);border-radius:8px;color:var(--text-2);font-size:.8125rem}
@media (min-width:700px){.logos{grid-template-columns:repeat(6,1fr)}}

/* Bloque: Testimonios (sólo tokens; sin sombras, separación por hairlines) */
.quotes{display:grid;gap:1rem}
.quote{margin:0;border:1px solid var(--line);border-radius:10px;padding:1.75rem 1.75rem 1.5rem;display:grid;gap:1.25rem;align-content:start}
.quote__text{margin:0}
.quote__text::before{content:"\201C";display:block;font-family:Georgia,"Times New Roman",serif;font-size:4.5rem;line-height:1;height:2.6rem;color:var(--accent)}
.quote__text p{margin:0;font-size:clamp(1.25rem, 2.2vw, 1.625rem);line-height:1.4;font-weight:500;color:var(--text);max-width:52ch}
.quote__by{display:flex;align-items:center;gap:.85rem;padding-top:1rem;border-top:1px solid var(--line)}
.quote__photo{width:48px;height:48px;border-radius:var(--radius);object-fit:cover;flex:none}
.quote__who{display:grid;gap:.1rem;min-width:0}
.quote__name{font-weight:600;font-size:.9375rem}
.quote__role{color:var(--text-2);font-size:.875rem}
.quote__logo{margin-left:auto;max-height:32px;width:auto;filter:grayscale(1) brightness(1.6);opacity:.85}
.quote__link{justify-self:start;display:inline-flex;align-items:center;gap:.4rem;font-weight:600;font-size:.9375rem;text-decoration:none}
.quote__link .arr{width:16px;height:16px}
@media (min-width:900px){.quotes{grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr))}}

/* Bloque: Quién lo hace */
.about{display:grid;gap:1.75rem;align-items:start;max-width:52rem}
.about__photo{width:180px;height:180px;border-radius:50%;object-fit:cover;flex:none}
.about__body{display:grid;gap:.85rem;align-content:start}
.about__name{font-size:1.25rem;font-weight:700;margin:0}
.about__text{color:var(--text-2);margin:0;max-width:60ch}
.about__stack{display:flex;flex-wrap:wrap;gap:.5rem}
.about__link{justify-self:start;display:inline-flex;align-items:center;gap:.4rem;font-weight:600;font-size:.9375rem;text-decoration:none}
.about__link .arr{width:16px;height:16px}
@media (min-width:640px){.about{grid-template-columns:180px 1fr}}

/* Página legal (texto largo, RichText editable) */
.legal{padding-block:var(--space-section)}
.legal__wrap{max-width:68ch}
.legal h1{font-size:clamp(1.75rem, 4vw, 2.5rem);font-weight:750;margin-bottom:.5rem}
.legal__updated{color:var(--text-2);font-size:.875rem;margin-bottom:2rem}
.legal__body{color:var(--text);line-height:1.65}
.legal__body h2{font-size:1.375rem;font-weight:700;margin:2rem 0 .75rem}
.legal__body h3{font-size:1.125rem;font-weight:700;margin:1.5rem 0 .5rem}
.legal__body p{margin:0 0 1rem}
.legal__body ul,.legal__body ol{margin:0 0 1rem;padding-left:1.5rem}
.legal__body li{margin-bottom:.4rem}
.legal__body a{color:var(--primary)}
.legal__body a:hover{color:var(--accent)}

/* Bloque: Tecnologías */
.stack{padding-block:2.5rem;border-block:1px solid var(--line)}
.stack__row{display:grid;gap:1rem}
.stack h2{font-size:.9375rem;font-weight:600;letter-spacing:0;color:var(--text-2)}
.stack ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem .9rem;font-family:var(--mono);font-size:.8125rem;color:var(--text-2)}
@media (min-width:900px){.stack__row{grid-template-columns:2fr 8fr;align-items:baseline}}

/* Bloque: CTA agenda */
.cta{display:grid;grid-template-columns:minmax(0,1fr);gap:2rem;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:clamp(1.5rem, 4vw, 3.5rem)}
.cta h2{font-size:clamp(2rem, 4.4vw, 3.25rem)}
.cta ul{list-style:none;margin:1.5rem 0 0;padding:0;display:grid;gap:.5rem;color:var(--text-2)}
.cta li{position:relative;padding-left:1.25rem}
.cta li::before{content:"";position:absolute;left:0;top:.62em;width:.5rem;height:.5rem;border:1.5px solid var(--accent);border-radius:2px}
.cal{min-height:420px;border:1px dashed var(--line);border-radius:10px;background:var(--bg);display:grid;place-items:center;text-align:center;padding:2rem}
.cal p{color:var(--text-2);max-width:32ch;margin:0 auto 1rem}
.cal .cal__note{margin:.75rem 0 0;overflow-wrap:anywhere}
@media (min-width:900px){.cta{grid-template-columns:minmax(0,5fr) minmax(0,6fr);align-items:start}}

/* Bloque: Footer */
.footer{padding-block:4rem 2.5rem;font-size:.9375rem}
.footer__grid{display:grid;gap:2rem}
.footer__about{margin-top:.75rem;color:var(--text-2);max-width:36ch}
.footer h2{font-size:.875rem;font-weight:600;color:var(--text-2);letter-spacing:0;margin-bottom:.6rem}
.footer ul{list-style:none;margin:0;padding:0;display:grid;gap:.35rem}
.footer a{color:var(--text);text-decoration:none}
.footer a:hover{color:var(--accent)}
.footer__base{margin-top:3rem;padding-top:1.5rem;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem 1.5rem;color:var(--text-2);font-size:.8125rem}
@media (min-width:900px){.footer__grid{grid-template-columns:2fr 1fr 1fr 1fr}}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .edge.is-lit{animation:none;stroke-dasharray:none}
  *{transition:none!important}
}

/* ===== Wagtail: secciones reordenables ===== */
/* Dos secciones seguidas sin fondo comparten el espacio (antes: .section--flush fijo). */
.section:not(.has-bg) + .section:not(.has-bg){padding-top:0}

/* ===== Fondo de sección (foto o video) ===== */
.has-bg{position:relative;isolation:isolate}
.hero.has-bg{padding-bottom:var(--space-section)}
.bg{position:absolute;inset:0;z-index:-1;overflow:hidden;--veil:85%}
.bg--veil-soft{--veil:55%}
.bg--veil-medium{--veil:72%}
.bg__media{width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}
.bg--top .bg__media{object-position:center top}
.bg--bottom .bg__media{object-position:center bottom}
/* El velo funde la imagen con el fondo arriba y abajo, así la sección no tiene bordes duros. */
.bg__veil{position:absolute;inset:0;background:linear-gradient(to bottom,
  var(--bg) 0%,
  color-mix(in srgb, var(--bg) var(--veil), transparent) 22%,
  color-mix(in srgb, var(--bg) var(--veil), transparent) 78%,
  var(--bg) 100%)}

/* ===== Bloque: banda de imagen o video ===== */
.band{position:relative;display:grid;align-items:end;padding-block:var(--space-section) clamp(2.5rem, 6vw, 4.5rem)}
.band--short{min-height:clamp(260px, 42vh, 420px)}
.band--medium{min-height:clamp(340px, 62vh, 640px)}
.band--tall{min-height:clamp(420px, 86vh, 900px)}
.band--center{align-items:center;text-align:center}
.band--center .band__body{justify-items:center}
.band__body{display:grid;gap:1rem;width:100%}
.band h2{font-size:clamp(2rem, 5vw, 3.75rem);font-weight:750;max-width:18ch}
.band .lede{color:var(--text);max-width:52ch}
.band:not(:has(.bg)){background:radial-gradient(circle at 1px 1px, var(--grid-dot) 1px, transparent 0) 0 0/22px 22px}

/* ===== Navegación: idioma, logo de cliente, botón corto ===== */
.nav__end{display:flex;align-items:center;gap:1rem}
.lang{display:flex;gap:.6rem;list-style:none;margin:0;padding:0;font-size:.8125rem;font-weight:600}
.lang a{color:var(--text-2);text-decoration:none}
.lang a:hover{color:var(--text)}
.lang [aria-current]{color:var(--text)}
.nav__full{display:none}
@media (min-width:480px){.nav__short{display:none}.nav__full{display:inline}}
.logo__img{height:44px;width:auto}
.logos__img{max-height:40px;width:auto;filter:grayscale(1) brightness(1.6);opacity:.85}
.cal__embed{width:100%;min-height:600px}
