/* iter11: colores del ambiente registrados para que se interpolen (sin saltos de gradiente) */
@property --amb-c { syntax: '<color>'; inherits: true; initial-value: rgb(16, 20, 28); }
@property --acc-c { syntax: '<color>'; inherits: true; initial-value: rgb(255, 168, 20); }
@property --ambient-lift { syntax: '<number>'; inherits: true; initial-value: .28; }
/* EAdvice iter07 — tipografía y paleta de la iter03. Gate B sigue abierto.
   Fuentes locales para abrir por file://. */
@font-face{font-family:"Manrope";src:url("../fonts/Manrope-Variable.ttf") format("truetype");font-weight:200 800;font-display:swap;font-style:normal}
@font-face{font-family:"Newsreader";src:url("../fonts/Newsreader-Variable.ttf") format("truetype");font-weight:200 800;font-display:swap;font-style:normal}

    :root {
      --black: #040609;
      --coal: #0A0D12;
      --navy: #07182B;
      --blue: #102C4A;
      --orange: #FF6900;
      --paper: #F2EFE8;
      --paper2: #E8E5DE;
      --white: #FFFFFF;
      --ink: #0D1117;
      --muted: #3E454C;
      --hero-text: #F4EFE6;
      --hero-muted: #C8C2B8;
      --line: rgba(255,255,255,.12);
      --ambient-rgb: 16, 20, 28;
      --accent-rgb: 255, 168, 20;
      --ambient-lift: .28;
      /* Official lockup PNG (1672×941); opaque box 284,280,1422,627. Do not edit the file. */
      --logo-src-w: 1672;
      --logo-src-h: 941;
      --logo-vis-x: 284;
      --logo-vis-y: 280;
      --logo-vis-w: 1138;
      --logo-vis-h: 347;
      --logo-visible-w: 210px;
      --header-h: 120px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    html.reduced { scroll-behavior: auto; }
    body {
      margin: 0;
      font-family: Manrope, system-ui, sans-serif;
      color: var(--ink);
      background: var(--coal);
      -webkit-font-smoothing: antialiased;
    }
    img { max-width: 100%; height: auto; display: block; }
    a { color: inherit; }
    .skip-link {
      position: absolute; left: 16px; top: -40px; z-index: 200;
      background: var(--orange); color: var(--coal);
      padding: 8px 14px; font-weight: 600; text-decoration: none;
    }
    .skip-link:focus { top: 12px; }
    :focus-visible {
      outline: 2px solid var(--orange);
      outline-offset: 3px;
    }
    .sr-only {
      position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
      overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
    }

    /* ========== HEADER ========== */
    .site-header {
      position: fixed; inset: 0 0 auto 0; z-index: 80;
      display: flex; align-items: center; justify-content: space-between;
      gap: 24px;
      padding: 22px 48px 18px;
      min-height: var(--header-h);
      transition: background .45s ease, padding .45s ease, box-shadow .45s ease, border-color .45s ease, backdrop-filter .45s ease;
      border-bottom: 1px solid transparent;
    }
    .site-header.is-compact {
      padding: 8px 48px;
      min-height: 72px;
      background: #0A0D12 !important; overflow: hidden;
      border-bottom-color: rgba(255,105,0,.22);
      box-shadow: 0 10px 28px rgba(0,0,0,.38);
    }
    .brand { display: flex; align-items: center; flex: 0 0 auto; }
    /* Visible lockup window: crops the PNG's transparent padding in layout only. */
    .brand-mark {
      display: block;
      position: relative;
      width: var(--logo-visible-w);
      height: calc(var(--logo-visible-w) * var(--logo-vis-h) / var(--logo-vis-w));
      overflow: hidden;
      flex: 0 0 auto;
    }
    .brand-mark img,
    .brand img {
      position: absolute;
      left: 0; top: 0;
      max-width: none;
      width: calc(var(--logo-visible-w) * var(--logo-src-w) / var(--logo-vis-w));
      height: auto;
      margin: 0;
      transform: translate(
        calc(var(--logo-visible-w) * -1 * var(--logo-vis-x) / var(--logo-vis-w)),
        calc(var(--logo-visible-w) * -1 * var(--logo-vis-y) / var(--logo-vis-w))
      );
      transition: width .45s ease, transform .45s ease;
    }
    .site-header.is-compact {
      --logo-visible-w: 156px;
      --header-h: 80px;
    }
    .menu-btn {
      display: none;
      width: 48px; height: 48px;
      border: 0; background: transparent; color: var(--hero-text);
      cursor: pointer; border-radius: 8px;
    }
    .menu-btn svg { width: 26px; height: 26px; }
    .menu-btn .icon-close { display: none; }
    .menu-btn[aria-expanded="true"] .icon-open { display: none; }
    .menu-btn[aria-expanded="true"] .icon-close { display: block; }
    .site-nav { display: flex; align-items: center; gap: 8px 28px; }
    .site-nav a {
      text-decoration: none; color: var(--hero-muted);
      font-size: 13.5px; font-weight: 500; letter-spacing: .04em;
      transition: color .2s ease;
    }
    .site-nav a:hover { color: var(--hero-text); }
    .site-nav a.nav-cta,
    .btn-orange {
      display: inline-flex; align-items: center; justify-content: center;
      background: var(--orange); color: var(--coal);
      font-weight: 700; font-size: 13.5px; letter-spacing: .02em;
      text-decoration: none; border-radius: 999px;
      padding: 11px 18px; line-height: 1;
      transition: transform .2s ease, filter .2s ease;
    }
    .btn-orange:hover, .site-nav a.nav-cta:hover { filter: brightness(1.05); transform: translateY(-1px); }
    @media (max-width: 1180px) {
      .site-nav { gap: 8px 16px; }
      .site-nav a { font-size: 13px; }
    }
    .btn-orange.lg { padding: 16px 26px; font-size: 15px; }

    /* ========== HERO ========== */
    .hero {
      position: relative;
      min-height: 100svh;
      color: var(--hero-text);
      overflow: hidden;
      isolation: isolate;
      background: var(--coal);
      --amb-c: rgb(16, 20, 28);
      --acc-c: rgb(255, 168, 20);
      transition: --amb-c .7s cubic-bezier(.4,0,.2,1), --acc-c .7s cubic-bezier(.4,0,.2,1), --ambient-lift .7s cubic-bezier(.4,0,.2,1);
    }
    .ambient-stack, .ambient-layer, .ambient-color, .ambient-lift, .ambient-accent, .ambient-bloom, .copy-scrim, .hero-vignette {
      position: absolute; inset: 0; pointer-events: none;
    }
    .ambient-layer {
      background-size: cover; background-position: center;
      opacity: 0;
      transition: opacity .6s cubic-bezier(.4,0,.2,1);
      /* iter12: sin filtro CSS; la imagen ya viene desenfocada y normalizada (mucho más barato en equipos lentos) */
      transform: scale(1.28);
    }
    .ambient-layer.show { opacity: 1; }
    /* iter11: la capa nueva entra encima; la vieja sigue opaca debajo y se retira sin transición */
    /* (el orden lo da el DOM: la capa nueva se mueve justo detrás de la vieja,
       siempre por debajo de los lavados de color, acento y bloom) */
    .ambient-layer.under { transition: none; }
    .ambient-color {
      background: var(--amb-c);
      mix-blend-mode: color;
      opacity: .62;
      transition: opacity .5s cubic-bezier(.22,.7,.25,1);
    }
    .ambient-lift {
      background:
        radial-gradient(140% 100% at 80% 18%, color-mix(in srgb, var(--acc-c) calc(min(var(--ambient-lift) + .28, 1) * 100%), transparent) 0%, transparent 62%),
        radial-gradient(110% 90% at 20% 100%, color-mix(in srgb, var(--acc-c) calc(min(var(--ambient-lift) + .42, 1) * 100%), transparent) 0%, transparent 64%),
        radial-gradient(90% 80% at 50% 50%, color-mix(in srgb, var(--amb-c) 28%, transparent) 0%, transparent 70%),
        linear-gradient(180deg, rgba(4,6,9,.08), rgba(4,6,9,.42));
      transition: opacity .5s cubic-bezier(.22,.7,.25,1), background .5s cubic-bezier(.22,.7,.25,1);
    }
    .ambient-accent {
      mix-blend-mode: screen;
      opacity: 0;
      background:
        radial-gradient(120% 90% at 75% 35%, color-mix(in srgb, var(--acc-c) 95%, transparent) 0%, transparent 58%),
        radial-gradient(90% 80% at 15% 85%, color-mix(in srgb, var(--acc-c) 70%, transparent) 0%, transparent 62%),
        radial-gradient(80% 70% at 50% 50%, color-mix(in srgb, var(--acc-c) 35%, transparent) 0%, transparent 70%);
      transition: opacity .5s cubic-bezier(.22,.7,.25,1);
    }
    /* iter11: un solo bloom estable; su color se interpola con --acc-c.
       Antes: dos capas que se intercambiaban con un pulso de escala en cada corte. */
    .ambient-bloom {
      mix-blend-mode: screen;
      opacity: .62;
      transform: scale(1.3);
      filter: blur(10px);
      pointer-events: none;
      background: radial-gradient(closest-side at 68% 42%, color-mix(in srgb, var(--acc-c) 95%, transparent) 0%, color-mix(in srgb, var(--acc-c) 42%, transparent) 46%, transparent 74%);
    }
    #ambientBloomB { display: none; }
    html.reduced .ambient-bloom,
    html.reduced .ambient-bloom.show {
      transition: none;
      animation: none;
      opacity: .35;
      transform: scale(1.2);
    }
    .copy-scrim {
      background:
        linear-gradient(90deg,
          rgba(6,8,12,.94) 0%,
          rgba(6,8,12,.86) 32%,
          rgba(6,8,12,.45) 52%,
          rgba(6,8,12,.12) 68%,
          transparent 88%);
    }
    .hero-vignette {
      background:
        linear-gradient(180deg, rgba(4,6,9,.35) 0%, transparent 18%),
        linear-gradient(0deg, rgba(4,6,9,.55) 0%, transparent 22%);
    }
    .hero-inner {
      position: relative; z-index: 2;
      display: grid;
      grid-template-columns: minmax(320px, 1fr) minmax(420px, 1.05fr);
      gap: 48px;
      align-items: center;
      padding: calc(var(--header-h) + 12px) 48px 56px;
      min-height: 100svh;
    }
    .hero-copy h1 {
      font-family: Newsreader, Georgia, serif;
      font-weight: 400;
      font-size: clamp(40px, 4.6vw, 68px);
      line-height: 1.05;
      letter-spacing: -.02em;
      margin: 0 0 22px;
      color: var(--hero-text);
      max-width: 11ch;
      text-shadow: 0 2px 24px rgba(0,0,0,.35);
    }
    .hero-copy .sub, .hero-copy .synthesis {
      font-size: 17px; line-height: 1.55;
      color: var(--hero-muted);
      max-width: 42ch;
      margin: 0 0 14px;
    }
    .hero-copy .synthesis { font-style: italic; font-family: Newsreader, Georgia, serif; font-size: 19px; color: #DDD7CC; }
    .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
    .hero-note { font-size: 12px; color: #9A948A; }

    .media-col { position: relative; }
    .media-frame {
      position: relative;
      aspect-ratio: 16 / 10.4;
      border-radius: 6px;
      overflow: hidden;
      box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08);
      background: #111;
    }
    /* iter11: doble búfer. El saliente (.leaving) sigue opaco debajo; el entrante
       (.active) aparece encima con un fundido corto. Nunca bajan los dos a la vez. */
    .media-frame .slide {
      position: absolute; inset: 0;
      opacity: 0; z-index: 0; transition: none;
    }
    .media-frame .slide.leaving { opacity: 1; z-index: 1; }
    .media-frame .slide.active { opacity: 1; z-index: 2; transition: opacity .16s ease-out; }
    .media-frame .slide img {
      width: 100%; height: 100%; object-fit: cover;
    }
    .slide-shade {
      position: absolute; inset: 0;
      background:
        linear-gradient(180deg, rgba(6,8,12,.35) 0%, transparent 28%),
        linear-gradient(0deg, rgba(6,8,12,.88) 0%, rgba(6,8,12,.55) 38%, transparent 62%);
      z-index: 1;
    }
    .slide-copy {
      position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
      padding: 28px 88px 52px 24px;
      color: var(--hero-text);
    }
    .slide-copy .kicker {
      margin: 0 0 8px;
      font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
      color: #E8C9B0; font-weight: 600;
    }
    .slide-copy .statement {
      margin: 0;
      font-family: Newsreader, Georgia, serif;
      font-size: clamp(22px, 2vw, 30px);
      line-height: 1.2;
      max-width: 22ch;
      text-shadow: 0 2px 16px rgba(0,0,0,.55);
    }
    .slide-copy .small {
      margin: 8px 0 0;
      font-size: 13.5px; line-height: 1.4;
      color: #DDD7CC; max-width: 42ch;
    }
    .media-frame .media-controls,
    .media-controls {
      position: absolute; right: 14px; bottom: 14px; z-index: 3;
      display: flex; align-items: center; gap: 8px;
    }
    /* anclado al marco, no a la fila de pies */
    .media-col > .media-controls {
      right: 14px;
      bottom: calc(12px + 1.2em + 12px);
    }
    @media (max-width: 1000px) {
      .media-col > .media-controls { bottom: calc(10px + 1.2em + 10px); }
    }
    .dots { display: flex; gap: 6px; }
    .dots button, #pauseBtn {
      width: 9px; height: 9px; border-radius: 50%;
      border: 0; padding: 0;
      background: rgba(255,255,255,.4);
      cursor: pointer;
    }
    .dots button[aria-current="true"] { background: var(--orange); width: 18px; border-radius: 99px; }
    #pauseBtn {
      width: 32px; height: 32px; border-radius: 50%;
      background: rgba(8,10,14,.55);
      color: #fff; font-size: 11px;
      border: 1px solid rgba(255,255,255,.2);
    }
    .media-caption-row {
      display: flex; justify-content: space-between; gap: 16px;
      margin-top: 12px; font-size: 10.5px; letter-spacing: .14em;
      text-transform: uppercase; color: #9A948A;
    }
    .hero-story {
      margin-top: 18px;
      min-height: 7.2em;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity .45s ease, transform .45s ease;
    }
    .hero-story.is-in { opacity: 1; transform: none; }
    .hero-story-kicker {
      margin: 0 0 8px;
      font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
      color: #E8C9B0; font-weight: 600;
    }
    .hero-story-line {
      margin: 0;
      font-family: Newsreader, Georgia, serif;
      font-size: clamp(22px, 2.1vw, 32px);
      line-height: 1.2;
      max-width: 28ch;
      text-shadow: 0 2px 16px rgba(0,0,0,.45);
    }
    .hero-story-support {
      margin: 8px 0 0;
      font-size: 14px; line-height: 1.45;
      color: #DDD7CC; max-width: 46ch;
    }
    html.reduced .hero-story { transition: none; }
    .media-frame .slide-copy, .media-frame .slide-shade { display: none; }


    /* ========== SHARED SECTIONS ========== */
    .section { position: relative; scroll-margin-top: 88px; }
    .wrap {
      width: min(1180px, calc(100% - 80px));
      margin: 0 auto;
    }
    .eyebrow {
      font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
      font-weight: 600; color: var(--orange); margin: 0 0 16px;
    }
    .eyebrow.ink { color: #8A5A32; }
    .eyebrow.light { color: #E8A87A; }
    h2 {
      font-family: Newsreader, Georgia, serif;
      font-weight: 400;
      letter-spacing: -.02em;
      line-height: 1.08;
      margin: 0;
    }
    .lede { font-size: 19px; line-height: 1.6; margin: 20px 0 0; }
    .provisional-flag {
      display: inline-block;
      font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
      font-weight: 700; color: #8A5A32;
      border: 1px solid #C9B8A0; background: #F7F1E6;
      padding: 6px 10px; border-radius: 99px; margin-bottom: 18px;
    }

    /* reveal */
    .reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .85s cubic-bezier(.22,.82,.24,1); }
    .reveal:nth-child(2) { transition-delay: .08s; }
    .reveal:nth-child(3) { transition-delay: .14s; }
    .reveal.in { opacity: 1; transform: none; }
    html.reduced .reveal { opacity: 1; transform: none; transition: none; }

    /* Bloque 2 */
    .section-question {
      background:
        radial-gradient(90% 70% at 100% 0%, rgba(255,105,0,.08), transparent 50%),
        radial-gradient(70% 60% at 0% 100%, rgba(16,44,74,.1), transparent 55%),
        #EFE9DC;
      color: var(--ink);
      padding: 120px 0 80px;
    }
    .section-question h2 {
      font-size: clamp(40px, 6vw, 84px);
      max-width: 14ch;
    }
    .question-intro {
      font-size: 16px; letter-spacing: .04em; color: var(--muted); margin: 0 0 18px;
    }
    .question-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
      margin-top: 56px; align-items: start;
    }
    .question-grid .lede { margin-top: 0; color: #2C3136; }
    .examples { display: grid; gap: 28px; }
    .example { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
    .example-num {
      font-family: Newsreader, Georgia, serif;
      font-size: 36px; color: var(--orange); line-height: 1; padding-top: 2px;
    }
    .example p { margin: 0; font-size: 17px; line-height: 1.55; color: #2C3136; }
    .principle {
      margin-top: 96px; padding-top: 48px;
      border-top: 1px solid #D8D2C8;
      display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: start;
    }
    .principle .rule { width: 56px; height: 3px; background: var(--orange); margin-bottom: 14px; }
    .principle-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #8A5A32; font-weight: 600; }
    .principle p {
      font-family: Newsreader, Georgia, serif;
      font-size: clamp(28px, 3.2vw, 44px);
      line-height: 1.18; margin: 0 0 8px;
    }

    /* Situaciones */
    .section-situations {
      background: var(--navy);
      color: var(--paper);
      padding: 110px 0 90px;
    }
    .section-situations h2 { font-size: clamp(36px, 4.4vw, 60px); max-width: 16ch; }
    .sit-list { margin-top: 64px; display: grid; gap: 0; }
    .sit {
      display: grid; grid-template-columns: 80px 1fr 1.1fr;
      gap: 28px; align-items: start;
      padding: 36px 0;
      border-top: 1px solid rgba(242,239,232,.12);
    }
    .sit:last-child { border-bottom: 1px solid rgba(242,239,232,.12); }
    .sit-idx { font-family: Newsreader, Georgia, serif; font-size: 28px; color: var(--orange); }
    .sit h3 {
      font-family: Newsreader, Georgia, serif;
      font-weight: 400; font-size: clamp(24px, 2.2vw, 32px);
      line-height: 1.2; margin: 0;
    }
    .sit p { margin: 0; color: #C9C3B8; font-size: 16.5px; line-height: 1.55; }

    /* Antes / durante / después */
    .section-cycle {
      background: var(--coal);
      color: var(--paper);
      padding: 120px 0 110px;
    }
    .section-cycle .head { max-width: 18ch; }
    .section-cycle h2 { font-size: clamp(40px, 5vw, 72px); }
    .cycle-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 28px; margin-top: 72px;
    }
    .cycle-card {
      padding: 32px 28px 36px;
      background: linear-gradient(180deg, rgba(16,44,74,.45), rgba(10,13,18,.4));
      border: 1px solid rgba(255,255,255,.07);
      border-radius: 6px;
      min-height: 100%;
    }
    .cycle-card .when {
      font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
      color: var(--orange); font-weight: 700; margin: 0 0 14px;
    }
    .cycle-card h3 {
      font-family: Newsreader, Georgia, serif;
      font-weight: 400; font-size: 28px; line-height: 1.2; margin: 0 0 16px;
    }
    .cycle-card p { margin: 0; color: #C9C3B8; font-size: 16px; line-height: 1.55; }
    .cycle-synthesis {
      margin-top: 56px;
      font-family: Newsreader, Georgia, serif;
      font-style: italic;
      font-size: clamp(24px, 2.6vw, 34px);
      line-height: 1.3;
      max-width: 22ch;
    }

    /* Método / opinión */
    .section-method {
      background:
        radial-gradient(90% 80% at 90% 8%, rgba(255,105,0,.11), transparent 48%),
        radial-gradient(70% 60% at 0% 100%, rgba(16,44,74,.07), transparent 52%),
        linear-gradient(180deg, #F4F0E6 0%, #E8E2D6 100%);
      color: var(--ink);
      padding: 120px 0;
    }
    .method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
    .section-method h2 { font-size: clamp(36px, 4vw, 56px); }
    .section-method p { font-size: 17.5px; line-height: 1.6; color: #2C3136; }
    .section-method .eyebrow.ink { color: #8A5A32; }
    .pull {
      margin: 28px 0 0;
      padding: 8px 0 8px 22px;
      border-left: 3px solid var(--orange);
      font-family: Newsreader, Georgia, serif;
      font-size: 26px; line-height: 1.3;
    }
    .pair {
      display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
      margin-top: 72px;
    }
    .pair article {
      background: linear-gradient(180deg, #FFFcf8, #F3EEE4);
      padding: 36px 32px;
      border-radius: 8px;
      border: 1px solid rgba(10,13,18,.08);
      border-top: 3px solid var(--orange);
      box-shadow: 0 16px 44px rgba(13,17,23,.09);
    }
    .pair h3 {
      font-family: Newsreader, Georgia, serif;
      font-weight: 400; font-size: 28px; line-height: 1.2; margin: 0 0 14px;
    }

    /* Visión integral (provisional) */
    .section-context {
      background:
        radial-gradient(80% 70% at 80% 20%, rgba(255,105,0,.1), transparent 50%),
        linear-gradient(180deg, #151A22 0%, #0C1118 100%);
      color: var(--paper);
      padding: 110px 0 120px;
    }
    .section-context h2 { font-size: clamp(36px, 4vw, 56px); max-width: 16ch; }
    .context-copy { max-width: 60ch; font-size: 18px; line-height: 1.6; color: #D4CFC6; }
    .section-context .eyebrow.ink { color: #E8A87A; }
    .context-map {
      margin-top: 64px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }
    .node {
      background: var(--paper);
      border: 1px solid #D8D2C8;
      padding: 22px 18px;
      text-align: center;
      font-size: 14.5px; letter-spacing: .06em; text-transform: uppercase;
      font-weight: 600; color: #2C3136;
      border-radius: 4px;
    }
    .node.core {
      background: var(--navy); color: var(--paper);
      border-color: var(--navy);
      font-family: Newsreader, Georgia, serif;
      font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 20px;
    }
    .context-note { margin-top: 28px; color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 62ch; }

    /* Cierre */
    .section-close {
      background: var(--navy);
      color: var(--paper);
      padding: 120px 0 100px;
    }
    .section-close h2 { font-size: clamp(36px, 4.4vw, 60px); max-width: 16ch; }
    .close-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; margin-top: 20px; }
    .section-close p { font-size: 18px; line-height: 1.6; color: #C9C3B8; max-width: 46ch; }
    .close-def {
      font-family: Newsreader, Georgia, serif;
      font-size: 26px; line-height: 1.35; color: var(--paper); margin-top: 22px;
    }

    footer.site-footer {
      background: var(--black);
      color: #A8A298;
      padding: 36px 0 42px;
      font-size: 13.5px;
    }
    .footer-row {
      display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
      align-items: center;
    }
    .footer-row strong { color: var(--paper); font-weight: 600; }
    .footer-row a { color: #C9C3B8; text-decoration: none; }
    .footer-row a:hover { color: var(--paper); }

    /* ========== MOBILE ========== */
    @media (max-width: 1000px) {
      .site-header, .site-header.is-compact { padding-left: 20px; padding-right: 20px; }
      .site-header { min-height: 96px; padding-top: 14px; padding-bottom: 12px; }
      .site-header { --logo-visible-w: 168px; --header-h: 104px; }
      .site-header.is-compact { min-height: 72px; --logo-visible-w: 140px; --header-h: 76px; }
      .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
      .site-nav {
        display: none;
        position: absolute; top: 100%; left: 16px; right: 16px;
        background: rgba(10,13,18,.96);
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 12px;
        padding: 16px;
        flex-direction: column; align-items: stretch; gap: 0;
        box-shadow: 0 20px 50px rgba(0,0,0,.4);
      }
      .site-nav.is-open { display: flex; }
      .site-nav a { padding: 12px 10px; color: var(--hero-text); }
      .site-nav a.nav-cta { margin-top: 8px; justify-content: center; }
      .hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 118px 20px 40px;
        min-height: auto;
      }
      .copy-scrim {
        background: linear-gradient(180deg, rgba(6,8,12,.88) 0%, rgba(6,8,12,.72) 42%, rgba(6,8,12,.4) 70%, rgba(6,8,12,.55) 100%);
      }
      .hero-copy h1 { max-width: none; font-size: clamp(34px, 10vw, 46px); }
      .wrap { width: calc(100% - 40px); }
      .question-grid, .method-grid, .pair, .cycle-grid, .close-grid, .principle, .sit, .context-map {
        grid-template-columns: 1fr;
        gap: 22px;
      }
      .sit { grid-template-columns: 48px 1fr; }
      .sit p { grid-column: 1 / -1; }
      .section-question, .section-situations, .section-cycle, .section-method, .section-context, .section-close {
        padding: 80px 0;
      }
      .context-map { grid-template-columns: 1fr 1fr; }
      .context-map .node.core { grid-column: 1 / -1; }
      .slide-copy { padding: 22px 16px 18px; }
      .slide-copy .statement { font-size: 22px; }
      .media-col > .media-controls {
        position: relative;
        right: auto; bottom: auto;
        justify-content: flex-end;
        margin: 10px 0 0;
      }
      .site-header.is-compact { background: #0A0D12 !important; overflow: hidden; }
    }
    @media (prefers-reduced-motion: reduce) {
      .ambient-layer, .media-frame .slide, .reveal, .site-header, .brand img,
      .hero-story, .caps article, .cycle-card, .ambient-color, .ambient-accent, .ambient-lift,
      .ambient-bloom, .chess-piece, .chess-jaque, .chess-square.is-to, .chess-square.is-from {
        transition: none !important;
        animation: none !important;
      }
      .caps article:hover, .cycle-card:hover { transform: none; }
    }

    /* ===== iter05: video inside the iter03 media frame ===== */
    .media-frame .slide video {
      position: absolute; inset: 0;
      width: 100%; height: 100%; object-fit: cover;
      background: transparent; /* iter11: antes #111, se veía como flash oscuro */
      z-index: 1;
    }
    .media-frame .slide img.poster {
      position: absolute; inset: 0;
      width: 100%; height: 100%; object-fit: cover;
      z-index: 0;
    }
    /* iter11: el póster ya no se oculta; queda debajo del video como red de seguridad */
    .media-frame .slide.is-poster-fallback video { visibility: hidden; z-index: 0; }
    .media-frame .slide.is-poster-fallback img.poster { opacity: 1; z-index: 1; }
    .media-stock {
      margin: 6px 0 0;
      font-size: 11px; letter-spacing: 0; text-transform: none;
      color: #7A746A; line-height: 1.4; max-width: 52ch;
    }

    /* Solid header on inner pages (no hero behind the lockup) */
    body.is-inner .site-header {
      background: #0A0D12 !important;
      min-height: 72px;
      padding: 8px 48px;
      border-bottom-color: rgba(255,105,0,.22);
      box-shadow: 0 10px 28px rgba(0,0,0,.38);
    }
    body.is-inner .site-header { --logo-visible-w: 156px; --header-h: 80px; }
    body.is-inner .page-main { padding-top: 100px; }
    @media (max-width: 1000px) {
      body.is-inner .site-header, body.is-inner .site-header.is-compact { padding-left: 20px; padding-right: 20px; min-height: 72px; --logo-visible-w: 140px; --header-h: 76px; }
    }
    /* Don't clip the compact-header dropdown menu */
    .site-header:has(#siteNav.is-open) { overflow: visible !important; }
    .menu-btn, .brand { position: relative; z-index: 90; }

    /* Capabilities inside "De la decisión a la acción", iter03 card language */
    .caps {
      display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
      margin-top: 28px;
    }
    .caps article {
      background: linear-gradient(180deg, #FFFcf8, #F6F1E8);
      padding: 26px 24px 26px 22px;
      border-radius: 8px;
      border: 1px solid rgba(10,13,18,.08);
      border-left: 3px solid rgba(255,105,0,.75);
      box-shadow: 0 12px 32px rgba(13,17,23,.08);
      transition: transform .45s ease, border-color .45s ease, box-shadow .45s ease;
    }
    .caps article:hover { transform: translateY(-4px); border-color: rgba(255,105,0,.45); }
    .caps h3 {
      font-family: Newsreader, Georgia, serif;
      font-weight: 400; font-size: 22px; line-height: 1.2; margin: 0 0 8px;
    }
    .caps p { margin: 0; font-size: 15.5px; line-height: 1.55; color: #2C3136; }
    .cap-note { color: #5C574F !important; }
    .cap-note { margin: 22px 0 0; font-size: 15px; line-height: 1.55; color: #5C574F; }
    @media (max-width: 1000px) { .caps { grid-template-columns: 1fr; } }

    /* Radial on the light iter03 context section */
    .radial-layout {
      display: grid;
      grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
      gap: 28px 40px;
      align-items: center;
      margin-top: 48px;
    }
    .radial-field { position: relative; min-height: 520px; }
    .radial-orbit {
      position: absolute; left: 50%; top: 50%;
      width: min(480px, 70%);
      aspect-ratio: 1;
      transform: translate(-50%,-50%);
      border: 1px solid rgba(13,17,23,.1);
      border-radius: 50%;
      box-shadow: 0 0 0 40px rgba(13,17,23,.03), 0 0 0 80px rgba(13,17,23,.02);
    }
    .radial-orbit::before, .radial-orbit::after {
      content: ""; position: absolute; inset: 18%;
      border: 1px solid rgba(13,17,23,.08); border-radius: 50%;
    }
    .radial-orbit::after { inset: 36%; }
    .radial-core {
      position: absolute; left: 50%; top: 50%;
      width: 140px; height: 140px;
      transform: translate(-50%,-50%);
      border-radius: 50%;
      display: grid; place-items: center; text-align: center;
      background: var(--navy); color: var(--paper);
      font-family: Newsreader, Georgia, serif;
      font-size: 22px; line-height: 1.1; letter-spacing: -.02em;
    }
    .radial-line {
      position: absolute; left: 50%; top: 50%;
      height: 1px; width: 28%;
      transform-origin: left center;
      background: linear-gradient(90deg, rgba(13,17,23,.2), transparent);
      pointer-events: none;
    }
    .radial-line.is-on { background: linear-gradient(90deg, rgba(255,105,0,.85), transparent); height: 2px; }
    .radial-line.l1{transform:rotate(-158deg)}
    .radial-line.l2{transform:rotate(-118deg)}
    .radial-line.l3{transform:rotate(-72deg)}
    .radial-line.l4{transform:rotate(-27deg)}
    .radial-line.l5{transform:rotate(20deg)}
    .radial-line.l6{transform:rotate(66deg)}
    .radial-line.l7{transform:rotate(112deg)}
    .radial-line.l8{transform:rotate(156deg)}
    .radial-node {
      position: absolute; display: flex; align-items: center; gap: 8px;
      background: none; border: 0; cursor: pointer;
      font-weight: 650; font-size: 14px; color: #2C3136;
      font-family: Manrope, system-ui, sans-serif;
      padding: 4px;
    }
    .radial-node::before {
      content: ""; width: 9px; height: 9px; border-radius: 50%;
      border: 1px solid rgba(13,17,23,.35); background: var(--paper);
    }
    .radial-node.is-on, .radial-node:hover, .radial-node:focus-visible { color: var(--orange); }
    .radial-node.is-on::before, .radial-node:hover::before {
      background: var(--orange); border-color: var(--orange);
      box-shadow: 0 0 0 5px rgba(255,105,0,.14);
    }
    .radial-node.n1{left:4%;top:22%}
    .radial-node.n2{left:6%;top:62%}
    .radial-node.n3{left:26%;top:88%}
    .radial-node.n4{right:24%;top:88%}
    .radial-node.n5{right:4%;top:62%}
    .radial-node.n6{right:4%;top:22%}
    .radial-node.n7{right:24%;top:4%}
    .radial-node.n8{left:26%;top:4%}
    .radial-panel {
      margin: 18px 0 0;
      min-height: 3.6em;
      color: #2C3136;
      font-size: 16.5px; line-height: 1.55;
      max-width: 42ch;
    }
    @media (max-width: 1000px) {
      .radial-layout { grid-template-columns: 1fr; }
      .radial-field { min-height: 560px; }
      .radial-core { width: 120px; height: 120px; font-size: 18px; }
      .radial-node { font-size: 12px; }
    }

    /* Inner pages: services, forms, flags */
    .svc { border-top: 1px solid #D8D2C8; padding: 28px 0; }
    .svc h3 {
      margin: 0 0 10px;
      font-family: Newsreader, Georgia, serif;
      font-weight: 400; font-size: 30px;
    }
    .svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 10px; }
    .svc-grid h4 {
      margin: 0 0 6px; font-size: 11px; letter-spacing: .14em;
      text-transform: uppercase; color: #8A5A32;
    }
    .svc-grid p { margin: 0; font-size: 15.5px; line-height: 1.55; color: #2C3136; }
    .form { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
    .form label { font-size: 13px; font-weight: 650; }
    .form input, .form textarea {
      background: #fff; border: 1px solid #D8D2C8; border-radius: 8px;
      padding: 12px 14px; color: var(--ink); font: inherit;
    }
    .form-note { font-size: 13px; color: var(--muted); }
    .section-paper-page { background: var(--paper); color: var(--ink); padding: 48px 0 100px; }
    .section-navy-page { background: var(--navy); color: var(--paper); padding: 80px 0; }
    .section-navy-page .lede, .section-navy-page p { color: #C9C3B8; }
    @media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr; } }

    .media-frame > .media-controls {
      position: absolute;
      right: 14px;
      bottom: 14px;
      z-index: 5;
    }

    /* On mobile, sit the dots/play under the frame (iter03), not over the slide copy */
    @media (max-width: 1000px) {
      .media-frame > .media-controls {
        position: absolute;
        left: 0; right: 0;
        top: calc(100% + 10px);
        bottom: auto;
        justify-content: flex-end;
      }
      .media-caption-row { margin-top: 54px; }
    }

    .media-stage { position: relative; }
    .media-stage > .media-controls {
      position: absolute;
      right: 14px;
      bottom: 14px;
      z-index: 5;
    }
    @media (max-width: 1000px) {
      .media-stage > .media-controls {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        top: auto;
        justify-content: flex-end;
        margin: 10px 0 0;
      }
      .media-caption-row { margin-top: 12px; }
    }

    .section-context .radial-orbit {
      border-color: rgba(242,239,232,.14);
      box-shadow: 0 0 0 40px rgba(242,239,232,.03), 0 0 0 80px rgba(242,239,232,.02);
    }
    .section-context .radial-orbit::before, .section-context .radial-orbit::after {
      border-color: rgba(242,239,232,.1);
    }
    .section-context .radial-core {
      background: #0A0D12;
      color: var(--paper);
      border: 1px solid rgba(255,105,0,.45);
    }
    .section-context .radial-node { color: #D4CFC6; }
    .section-context .radial-panel, .section-context .radial-intro p { color: #D4CFC6; }
    .section-context .provisional-flag {
      color: #E8C9B0; border-color: rgba(232,168,122,.4); background: rgba(255,105,0,.08);
    }

    details.more { margin-top: 10px; }
    details.more summary {
      cursor: pointer;
      font-size: 13px; font-weight: 600; letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--orange);
      list-style: none;
      width: fit-content;
    }
    details.more summary::-webkit-details-marker { display: none; }
    details.more summary::after { content: " +"; }
    details.more[open] summary::after { content: " –"; }
    details.more p { margin: 10px 0 0; }
    html.reduced .caps article { transition: none; }
    html.reduced .caps article:hover { transform: none; }
    .cycle-card { transition: transform .45s ease, border-color .45s ease; }
    .cycle-card:hover { transform: translateY(-4px); border-color: rgba(255,105,0,.4); }
    .example, .sit { transition: transform .45s ease; }

    @media (max-width: 1000px) {
      .hero-story { margin-top: 14px; min-height: 0; }
      .hero-story-line { font-size: clamp(20px, 6vw, 28px); max-width: none; }
      .hero-story-support { font-size: 13.5px; max-width: none; }
    }


    /* Tablero holográfico de contexto (iter09) */
    .section-context {
      background:
        radial-gradient(60% 55% at 30% 60%, rgba(0,170,255,.16), transparent 60%),
        radial-gradient(50% 50% at 85% 15%, rgba(255,105,0,.14), transparent 60%),
        linear-gradient(180deg, #070A10 0%, #04060A 100%);
    }
    .holo-layout {
      margin-top: 48px;
      display: grid;
      grid-template-columns: minmax(300px, 620px) minmax(220px, 1fr);
      gap: 32px 56px; align-items: center;
    }
    .holo-stage { position: relative; perspective: 1100px; padding: 6% 2% 10%; }
    .holo-board {
      position: relative; width: 84%; margin: 0 auto; aspect-ratio: 1;
      transform: rotateX(48deg) rotateZ(-8deg);
      transform-style: preserve-3d;
      transition: transform 1.6s cubic-bezier(.2,.7,.2,1);
      border-radius: 14px;
      background: linear-gradient(140deg, rgba(20,40,70,.55), rgba(8,12,20,.8));
      box-shadow: 0 0 0 1px rgba(80,200,255,.45), 0 0 40px rgba(0,160,255,.35), inset 0 0 60px rgba(0,140,255,.18);
    }
    .holo-layout.is-playing .holo-board { transform: rotateX(42deg) rotateZ(-3deg); }
    .holo-layout.is-jaque .holo-board { box-shadow: 0 0 0 1px rgba(255,120,60,.6), 0 0 60px rgba(255,90,40,.4), inset 0 0 70px rgba(255,90,40,.15); }
    .holo-grid {
      position: absolute; inset: 0; display: grid;
      grid-template-columns: repeat(8,1fr); grid-template-rows: repeat(8,1fr);
      border-radius: inherit; overflow: hidden;
    }
    .holo-cell { border: 1px solid rgba(90,200,255,.13); background: rgba(255,255,255,.012); transition: background .5s ease, box-shadow .5s ease; }
    .holo-cell.alt { background: rgba(90,200,255,.06); }
    .holo-cell.is-from { background: rgba(0,180,255,.18); }
    .holo-cell.is-to { background: rgba(255,120,30,.28); box-shadow: inset 0 0 18px rgba(255,140,40,.7); }
    .holo-cell.is-check { background: rgba(255,70,70,.32); box-shadow: inset 0 0 22px rgba(255,80,60,.9); }
    .holo-trails { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
    .holo-trail {
      stroke: #6fe0ff; stroke-width: .9; stroke-linecap: round;
      filter: drop-shadow(0 0 2px #2cc4ff);
      stroke-dasharray: 60; stroke-dashoffset: 60;
      animation: holoTrail 1.5s cubic-bezier(.2,.7,.2,1) forwards;
    }
    @keyframes holoTrail { 0% { stroke-dashoffset: 60; opacity: 1; } 45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
    .holo-pieces { position: absolute; inset: 0; transform-style: preserve-3d; }
    .holo-piece {
      position: absolute; width: 12.5%; height: 12.5%;
      transform: translate(-50%,-50%);
      border: 0; padding: 0; background: none; cursor: pointer;
      transition: left .75s cubic-bezier(.22,.8,.2,1), top .75s cubic-bezier(.22,.8,.2,1);
      transform-style: preserve-3d;
    }
    .holo-glyph {
      position: absolute; left: 50%; bottom: 30%; width: 70%;
      transform: translateX(-50%) rotateZ(8deg) rotateX(-48deg); transform-origin: 50% 100%;
      display: block;
    }
    .holo-glyph svg { width: 100%; height: auto; display: block; overflow: visible;
      fill: rgba(120,220,255,.12); stroke: #9fe9ff; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round;
      filter: drop-shadow(0 0 3px rgba(60,200,255,.9)) drop-shadow(0 0 10px rgba(0,150,255,.5)); }
    .holo-piece.is-dark .holo-glyph svg { stroke: #ffb27a; fill: rgba(255,120,40,.12);
      filter: drop-shadow(0 0 3px rgba(255,140,60,.9)) drop-shadow(0 0 10px rgba(255,90,30,.5)); }
    .holo-piece.is-on .holo-glyph svg { stroke: #fff; filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 14px rgba(0,190,255,.95)); }
    .holo-piece.is-check .holo-glyph svg { stroke: #ff6a5a; animation: holoPulse 1.4s ease-in-out infinite; }
    @keyframes holoPulse { 50% { filter: drop-shadow(0 0 6px #ff6a5a) drop-shadow(0 0 22px rgba(255,60,40,.9)); } }
    .holo-name {
      position: absolute; left: 50%; top: 62%;
      transform: translateX(-50%) rotateZ(8deg) rotateX(-48deg);
      font: 600 10px/1 Manrope, system-ui, sans-serif; letter-spacing: .06em;
      color: #dff7ff; white-space: nowrap; text-shadow: 0 0 6px rgba(0,170,255,.9);
      pointer-events: none;
    }
    .holo-piece.is-dark .holo-name { color: #ffe0cc; text-shadow: 0 0 6px rgba(255,110,40,.9); }
    .holo-spark {
      position: absolute; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%;
      background: #ffd2a0; box-shadow: 0 0 8px #ff8a3a, 0 0 16px #ff5a20;
      animation: holoSpark 1.2s ease-out forwards; pointer-events: none;
    }
    @keyframes holoSpark { to { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
    .holo-jaque {
      position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 14px);
      padding: 12px 22px; border-radius: 999px;
      font: 400 clamp(18px,2.2vw,26px)/1.1 Newsreader, Georgia, serif; color: #fff; white-space: nowrap;
      background: rgba(8,12,20,.72); backdrop-filter: blur(8px);
      border: 1px solid rgba(255,130,60,.75);
      box-shadow: 0 0 30px rgba(255,100,40,.45), inset 0 0 20px rgba(255,100,40,.15);
      opacity: 0; transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1);
    }
    .holo-jaque em { color: #ffb27a; font-style: italic; }
    .holo-jaque.is-in { opacity: 1; transform: translate(-50%, 0); }
    .holo-panel { margin: 0 0 22px; font-size: 16.5px; line-height: 1.55; color: #C9D4DE; min-height: 5em; }
    .holo-panel strong { display: block; margin-bottom: 6px; font: 400 28px/1.1 Newsreader, Georgia, serif; color: #fff; }
    .holo-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
    .holo-legend button {
      border: 1px solid rgba(90,200,255,.3); background: rgba(10,30,50,.4); color: #CFEFFF;
      padding: 8px 14px; border-radius: 999px; font: 600 13px/1 Manrope, system-ui, sans-serif; cursor: pointer;
      transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
    }
    .holo-legend button:hover, .holo-legend button:focus-visible, .holo-legend button.is-on {
      border-color: #6fe0ff; background: rgba(0,150,255,.18); box-shadow: 0 0 14px rgba(0,170,255,.45);
    }
    @media (max-width: 1000px) {
      .holo-layout { grid-template-columns: 1fr; }
      .holo-board { transform: rotateX(38deg) rotateZ(-4deg); }
      .holo-layout.is-playing .holo-board { transform: rotateX(34deg) rotateZ(-2deg); }
      .holo-glyph, .holo-name { transform: translateX(-50%) rotateZ(4deg) rotateX(-38deg); }
      .holo-panel { min-height: 0; }
    }
    @media (max-width: 430px) {
      .holo-name { font-size: 7.5px; letter-spacing: .02em; }
      .holo-jaque { white-space: normal; text-align: center; width: 92%; font-size: 17px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .holo-board, .holo-piece, .holo-cell, .holo-jaque { transition: none !important; }
      .holo-trail, .holo-spark, .holo-piece.is-check .holo-glyph svg { animation: none !important; }
    }

    /* Bloque «¿Qué necesita realmente tu empresa?» (iter10) */
    .section-question {
      position: relative; overflow: hidden;
      background:
        radial-gradient(55% 60% at 88% 18%, rgba(255,120,30,.20), transparent 62%),
        radial-gradient(45% 50% at 6% 92%, rgba(255,170,90,.16), transparent 60%),
        linear-gradient(rgba(13,17,23,.035) 1px, transparent 1px) 0 0 / 56px 56px,
        linear-gradient(90deg, rgba(13,17,23,.035) 1px, transparent 1px) 0 0 / 56px 56px,
        linear-gradient(180deg, #F3EDE1 0%, #EADFCC 100%);
    }
    .question-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
    .question-visual svg { width: 100%; height: auto; display: block; }
    .qv-lines path { stroke-dasharray: 320; stroke-dashoffset: 320; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1); }
    .question-visual.in .qv-lines path { stroke-dashoffset: 0; }
    .question-visual.in .qv-lines path:nth-child(2) { transition-delay: .12s; }
    .question-visual.in .qv-lines path:nth-child(3) { transition-delay: .24s; }
    .question-visual.in .qv-lines path:nth-child(4) { transition-delay: .36s; }
    .question-visual.in .qv-lines path:nth-child(5) { transition-delay: .48s; }
    .qv-ring { transform-origin: 300px 150px; animation: qvPulse 3.2s ease-in-out infinite; }
    @keyframes qvPulse { 50% { transform: scale(1.25); stroke-opacity: .15; } }
    .examples { gap: 16px; }
    .example {
      position: relative; padding: 22px 24px 22px 22px;
      background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,250,242,.42));
      backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,.75); border-left: 3px solid var(--orange);
      border-radius: 14px;
      box-shadow: 0 10px 30px rgba(120,70,20,.08), inset 0 1px 0 rgba(255,255,255,.9);
      transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease, border-color .45s ease;
    }
    .example:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(255,105,0,.16), inset 0 1px 0 #fff; }
    .example-num {
      font-family: Newsreader, Georgia, serif; font-size: 44px !important; line-height: .9 !important;
      background: linear-gradient(160deg, #FF8A2A 0%, #C2410C 60%, #7A2E0A 100%);
      -webkit-background-clip: text; background-clip: text; color: transparent !important;
    }
    .examples .example.reveal:nth-child(2) { transition-delay: .12s; }
    .examples .example.reveal:nth-child(3) { transition-delay: .24s; }
    .principle {
      margin-top: 64px; padding: 34px 40px; border-radius: 18px;
      background: radial-gradient(60% 120% at 100% 0%, rgba(255,105,0,.28), transparent 60%), #14110E;
      color: #F7F1E4; border: 1px solid rgba(255,105,0,.35);
      box-shadow: 0 24px 60px rgba(60,30,10,.25);
    }
    .principle .principle-label { color: #FFB27A; }
    .principle p { color: #F7F1E4 !important; font-size: clamp(24px, 2.6vw, 36px) !important; }
    .principle p + p { color: #FFB27A !important; }
    @media (max-width: 1000px) {
      .question-head { grid-template-columns: 1fr; gap: 8px; }
      .question-visual { max-width: 340px; }
      .principle { padding: 26px 22px; }
      .example-num { font-size: 36px !important; }
    }
    @media (prefers-reduced-motion: reduce) {
      .qv-lines path { transition: none; stroke-dashoffset: 0; }
      .qv-ring { animation: none; }
      .example { transition: none; }
      .example:hover { transform: none; }
    }

/* iter12: clip que no llegó a tiempo -> se muestra su póster toda la pasada (sin salto póster->video a media escena) */
.media-frame .slide.poster-hold video { visibility: hidden; }

/* =================== iter12 =================== */
/* Anclas bajo el header fijo: altura real del header (JS) + aire. Antes 88px fijos con header de 120px. */
html { scroll-padding-top: calc(var(--hdr-live, 120px) + 16px); }
.section, main section[id], [id="metodo"] { scroll-margin-top: 0; } /* el margen lo da scroll-padding del html (una sola vez) */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* Pantallas bajas (TV con escalado, laptops 720p): header compacto y hero sin forzar 100% de alto */
@media (max-height: 640px) and (min-width: 801px) {
  .site-header, .site-header.is-compact { --header-h: 72px; min-height: 72px; --logo-visible-w: 132px; padding-top: 6px; padding-bottom: 6px; }
  .hero, .hero-inner { min-height: auto; }
  .hero-inner { padding-top: calc(var(--header-h) + 20px); padding-bottom: 32px; gap: 32px; }
  .hero-copy h1 { font-size: clamp(32px, 7.2svh, 52px); }
  .section-question, .section-situations, .section-cycle, .section-method, .section-context, .section-close { padding-top: 64px; padding-bottom: 64px; }
}
h1, h2, h3 { overflow-wrap: normal; word-break: normal; hyphens: manual; text-wrap: balance; } /* iter14: nunca partir palabras con guion */
h2 { font-size: clamp(28px, 3.4vw + .4rem, 56px); }

/* Desplegables «leer más» con animación (Chrome 131+: ::details-content; resto: abre sin animar) */
:root { interpolate-size: allow-keywords; }
details.more::details-content { block-size: 0; overflow: hidden; opacity: 0;
  transition: block-size .38s cubic-bezier(.2,.8,.2,1), opacity .3s ease, content-visibility .38s allow-discrete; }
details.more[open]::details-content { block-size: auto; opacity: 1; }
details.more summary { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; padding: 4px 2px; transition: color .2s, gap .2s; }
details.more summary:hover { gap: 10px; }
details.more summary:focus-visible, .ask-q:focus-visible, .cap-q:focus-visible { outline: 2px solid #FF6900; outline-offset: 3px; }

/* Pieza estrella: preguntas interactivas */
.ask-hint { color: #A9B4C2; margin: -6px 0 26px; font-size: 15px; }
.ask { display: grid; gap: 14px; }
.ask-item { border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12);
  transition: border-color .25s, background-color .25s, transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.ask-item:hover { transform: translateY(-2px); border-color: rgba(255,105,0,.5); box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.ask-item.is-open { border-color: rgba(255,105,0,.75); background-color: rgba(255,105,0,.06); }
.ask-q, .cap-q { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 22px 24px; border-radius: 18px; position: relative; isolation: isolate;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255,105,0,.16), transparent 70%) no-repeat; }
.ask-idx { font-family: Newsreader, Georgia, serif; font-size: 30px; line-height: 1; background: linear-gradient(135deg,#FFB070,#FF6900); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ask-text { font-family: Newsreader, Georgia, serif; font-size: clamp(19px, 1.2vw + 12px, 27px); line-height: 1.25; color: #F2EFE8; }
.ask-icon { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); position: relative; transition: transform .35s cubic-bezier(.2,.8,.2,1), background-color .25s, border-color .25s; }
.ask-icon::before, .ask-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; color: #F2EFE8; transform: translate(-50%,-50%); }
.ask-icon::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .35s; }
.is-open > button .ask-icon { background: #FF6900; border-color: #FF6900; transform: rotate(180deg); }
.is-open > button .ask-icon::after { transform: translate(-50%,-50%) rotate(0deg); }
.ask-a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s cubic-bezier(.2,.8,.2,1), opacity .3s ease; }
.is-open > .ask-a { grid-template-rows: 1fr; opacity: 1; }
.ask-a-inner { overflow: hidden; min-height: 0; padding: 0 24px 0 calc(24px + 30px + 18px); }
.is-open > .ask-a .ask-a-inner { padding-bottom: 22px; }
.ask-a-inner p { margin: 0 0 16px; color: #D9D4CA; font-size: 16.5px; line-height: 1.55; max-width: 60ch; }
/* Línea de tiempo simple */
.tl-wrap { margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12); }
.tl { list-style: none; margin: 18px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, #FF6900, rgba(255,105,0,.15)); transform-origin: left; }
.tl li { position: relative; padding: 26px 16px 0 0; display: grid; gap: 4px; }
.tl li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #0A0D12; border: 2px solid #FF6900; transition: transform .25s, background-color .25s; }
.tl li:hover::before { transform: scale(1.25); background: #FF6900; }
.tl-when { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #E8A87A; font-weight: 600; }
.tl-what { font-family: Newsreader, Georgia, serif; font-size: clamp(18px, 1vw + 12px, 24px); color: #F2EFE8; }
.tl-detail dt { margin-top: 14px; color: #E8C9B0; font-weight: 600; }
.tl-detail dd { margin: 6px 0 0; color: #D9D4CA; line-height: 1.55; max-width: 70ch; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tl::before { animation: tlGrow linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
    @keyframes tlGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}
/* Servicios como tarjetas explorables */
.caps-head { margin-top: 56px; }
.caps { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
.cap { border-radius: 16px; border: 1px solid rgba(13,17,23,.12); background: rgba(255,255,255,.55); transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s; }
.cap:hover { transform: translateY(-3px); border-color: rgba(255,105,0,.5); box-shadow: 0 16px 34px rgba(13,17,23,.10); }
.cap.is-open { border-color: rgba(255,105,0,.8); }
.cap-q { grid-template-columns: 1fr auto; padding: 20px; background: radial-gradient(200px circle at var(--mx,50%) var(--my,50%), rgba(255,105,0,.12), transparent 70%) no-repeat; }
.cap-title { font-family: Newsreader, Georgia, serif; font-size: 21px; color: #0D1117; }
.cap .ask-icon { border-color: rgba(13,17,23,.25); }
.cap .ask-icon::before, .cap .ask-icon::after { background: #0D1117; }
.cap.is-open .ask-icon::before, .cap.is-open .ask-icon::after { background: #fff; }
.cap .ask-a-inner { padding: 0 20px; }
.cap.is-open .ask-a-inner { padding-bottom: 18px; }
.cap .ask-a-inner p { color: #2C3136; font-size: 15px; margin: 0; }
/* barra de progreso de lectura (scroll-driven, en el compositor) */
.read-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 60; background: linear-gradient(90deg,#FF6900,#FFB070); transform: scaleX(0); transform-origin: left; pointer-events: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .read-progress { animation: rp linear both; animation-timeline: scroll(root); }
    @keyframes rp { to { transform: scaleX(1); } }
  }
}
@supports not (animation-timeline: scroll()) { .read-progress { display: none; } }
@media (max-width: 1000px) { .caps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) {
  .caps { grid-template-columns: 1fr; }
  .ask-q { grid-template-columns: auto 1fr auto; gap: 12px; padding: 18px 16px; }
  .ask-idx { font-size: 22px; }
  .ask-a-inner { padding: 0 16px; }
  .tl { grid-template-columns: 1fr; gap: 18px; }
  .tl::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg,#FF6900,rgba(255,105,0,.15)); }
  .tl li { padding: 0 0 0 30px; }
  .tl-wrap { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .ask-a, .ask-item, .cap, .ask-icon, .ask-icon::after, details.more::details-content, .tl li::before { transition: none !important; }
  .ask-item:hover, .cap:hover { transform: none; }
}

/* iter12: reservar el alto del texto de historia (se inserta por JS) -> sin salto de layout */
.hero-story { min-height: 8.6em; }
@media (max-width: 800px) { .hero-story { min-height: 10.5em; } }

/* =================== iter13: tablero «cámara y ficha» =================== */
.cx { margin-top: 40px; display: grid; grid-template-columns: minmax(280px, 600px) minmax(260px, 1fr); gap: 32px 56px; align-items: center; }
.cx-stage { position: relative; perspective: 1200px; padding: 4% 4% 12%; }
.cx-cam { --rz: 0deg; transform-style: preserve-3d; transform: rotateX(52deg) rotateZ(var(--rz)); transition: transform 1s cubic-bezier(.2,.75,.2,1); will-change: transform; }
.cx-board { position: relative; aspect-ratio: 1; border-radius: 12px; transform-style: preserve-3d;
  background: linear-gradient(145deg, #1B222C, #0D1117); box-shadow: 0 0 0 1px rgba(255,255,255,.10), 0 30px 60px rgba(0,0,0,.35); }
.cx-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8,1fr); grid-template-rows: repeat(8,1fr); border-radius: inherit; overflow: hidden; }
.cx-cell { background: rgba(247,241,228,.05); transition: background-color .4s ease; }
.cx-cell.d { background: rgba(247,241,228,.12); }
.cx-cell.is-from { background: rgba(255,105,0,.18); }
.cx-cell.is-to { background: rgba(255,105,0,.42); }
.cx-cell.is-check { background: rgba(255,80,40,.55); }
.cx-pieces { position: absolute; inset: 0; transform-style: preserve-3d; }
.cx-piece { position: absolute; left: 0; top: 0; width: 12.5%; height: 12.5%; transform-style: preserve-3d;
  transform: translate(calc(var(--x) * 100%), calc(var(--y) * 100%)); transition: transform .8s cubic-bezier(.3,.7,.2,1); }
.cx-token { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d;
  transform: rotateZ(calc(-1 * var(--rz))) rotateX(-52deg) translateY(-30%); transform-origin: 50% 100%; transition: transform 1s cubic-bezier(.2,.75,.2,1); }
.cx-base { position: absolute; bottom: 4%; width: 70%; height: 20%; border-radius: 50%; background: rgba(0,0,0,.35); }
.cx-body { position: absolute; bottom: 12%; width: 46%; height: 78%; border-radius: 40% 40% 18% 18%;
  background: linear-gradient(180deg, #F7F1E4, #D9CDB6); box-shadow: inset 0 -6px 10px rgba(0,0,0,.18); transition: transform .35s ease, box-shadow .35s ease; }
.cx-num { position: relative; top: 4%; font: 600 clamp(9px, 1vw, 13px)/1 Manrope, sans-serif; color: #0D1117; }
.cx-piece.is-hoy .cx-body { background: linear-gradient(180deg, #3A414C, #151A22); box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.cx-tag { position: absolute; bottom: 104%; left: 50%; transform: translateX(-50%) translateY(6px); white-space: nowrap; padding: 5px 10px; border-radius: 99px;
  background: #FF6900; color: #0D1117; font: 600 13px/1.1 Manrope, sans-serif; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.cx-piece.is-sel { z-index: 3; }
.cx-piece.is-sel .cx-body { transform: translateY(-14%); box-shadow: 0 0 0 2px #FF6900, 0 0 26px rgba(255,105,0,.75); }
.cx-piece.is-sel .cx-tag, .cx-piece.is-hoy .cx-tag { opacity: 1; transform: translateX(-50%) translateY(0); }
.cx-piece.is-hoy .cx-tag { background: #F2EFE8; }
.cx-piece.is-check .cx-body { box-shadow: 0 0 0 2px #FF5028, 0 0 26px rgba(255,80,40,.8); }
.cx-check { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; text-align: center; font-family: Newsreader, Georgia, serif;
  font-size: clamp(20px, 1.6vw + 10px, 30px); color: #0D1117; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.cx.is-jaque .cx-check { opacity: 1; transform: none; }
.cx-areas { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.cx-area { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(13,17,23,.14); background: rgba(255,255,255,.6); font: 500 16px/1.2 Manrope, sans-serif; color: #0D1117;
  transition: border-color .2s, background-color .2s, transform .2s; }
.cx-area:hover { border-color: rgba(255,105,0,.6); transform: translateY(-1px); }
.cx-area:focus-visible { outline: 3px solid #FF6900; outline-offset: 2px; }
.cx-area[aria-pressed="true"] { background: #0D1117; color: #F7F1E4; border-color: #0D1117; }
.cx-area-n { font: 600 12px/1 Manrope, sans-serif; color: #B4531A; }
.cx-area[aria-pressed="true"] .cx-area-n { color: #FF9A4D; }
.cx-card { margin-top: 18px; padding: 20px 22px; border-radius: 16px; background: #0D1117; color: #E9E4DA; min-height: 9.5em; view-transition-name: cx-card; }
.cx-card h3 { margin: 4px 0 8px; font-family: Newsreader, Georgia, serif; font-size: 26px; color: #F7F1E4; }
.cx-card p { margin: 0; line-height: 1.5; }
.cx-card-n { font-size: 12px; letter-spacing: .14em; color: #FF9A4D; }
.cx-replay { all: unset; cursor: pointer; margin-top: 14px; display: inline-block; padding: 10px 16px; border-radius: 99px; border: 1px solid rgba(13,17,23,.3); font: 600 14px Manrope, sans-serif; color: #0D1117; }
.cx-replay:hover { border-color: #FF6900; }
.cx-replay:focus-visible { outline: 3px solid #FF6900; outline-offset: 2px; }
.cx-compare { margin: 14px 0 0; font-size: 14px; }
.cx-compare a { color: #8A4A1A; }
::view-transition-old(cx-card), ::view-transition-new(cx-card) { animation-duration: .28s; }
@media (max-width: 900px) {
  .cx { grid-template-columns: 1fr; }
  .cx-stage { max-width: 520px; width: 100%; margin: 0 auto; }
  .cx-tag { font-size: 12px; padding: 4px 8px; }
}
@media (max-width: 420px) { .cx-area { font-size: 15px; padding: 11px 12px; } }
@media (prefers-reduced-motion: reduce) {
  .cx-cam, .cx-token, .cx-piece, .cx-body, .cx-tag, .cx-check, .cx-cell, .cx-area { transition: none !important; }
  .cx-cam { --rz: 0deg !important; }
}
/* la sección de contexto es oscura: colores del tablero nuevo para fondo oscuro */
.section-context .context-copy { color: #D4CFC6; }
.section-context .cx-board { background: linear-gradient(145deg, #1A212B, #0B0F15); box-shadow: 0 0 0 1px rgba(247,241,228,.16), 0 30px 70px rgba(0,0,0,.55); }
.section-context .cx-check { color: #F7F1E4; }
.section-context .cx-area { background: rgba(255,255,255,.05); border-color: rgba(247,241,228,.18); color: #F2EFE8; }
.section-context .cx-area-n { color: #FF9A4D; }
.section-context .cx-area[aria-pressed="true"] { background: #F7F1E4; color: #0D1117; border-color: #F7F1E4; }
.section-context .cx-area[aria-pressed="true"] .cx-area-n { color: #B4531A; }
.section-context .cx-card { background: rgba(255,255,255,.06); border: 1px solid rgba(247,241,228,.14); }
.section-context .cx-replay { color: #F2EFE8; border-color: rgba(247,241,228,.35); }
.section-context .cx-compare a { color: #E8A87A; }
.cx-stage { padding: 2% 0 64px; }
.cx-cam { width: 74%; margin: 0 auto; transform: rotateX(50deg) rotateZ(var(--rz)) scale(.96); }
.section-context { overflow-x: clip; }
@media (max-width: 900px) { .cx-cam { width: 70%; } }

/* =================== iter14: título del Hero sin palabras partidas =================== */
/* El tamaño se calcula con el ancho real de la columna (unidades cqi), así la frase más larga
   «Toma decisiones inteligentes.» cabe en una línea en pantallas medianas y grandes, y en móvil
   se reparte equilibrada sin cortar ninguna palabra. */
.hero-copy { container-type: inline-size; min-width: 0; }
.hero-copy h1 { max-width: none; font-size: clamp(30px, 7.3cqi, 76px); hyphens: manual; overflow-wrap: normal; word-break: normal; }
.hero-copy h1 .h1-l { display: block; text-wrap: balance; }
@media (max-height: 640px) and (min-width: 801px) {
  .hero-copy h1 { font-size: clamp(30px, min(7.3cqi, 8svh), 60px); }
}

/* iter14: «Lo que implementamos» — títulos sin cortes feos y botones de alto parejo */
.cap-title { text-wrap: balance; hyphens: manual; overflow-wrap: normal; line-height: 1.2; }
.cap-q { min-height: calc(2 * 1.2em * 21 / 16 + 40px); min-height: calc(2.4 * 21px + 40px); }
@media (max-width: 1240px) and (min-width: 641px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cap-q { min-height: 0; } }

/* =================== iter14: tablero v2 — piezas reconocibles, blancas vs negras =================== */
.section-context .cx-board { padding: 3.2%; border-radius: 16px;
  background: linear-gradient(150deg, #2A2F37 0%, #15191F 55%, #0E1116 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -2px 0 rgba(0,0,0,.5), 0 0 0 1px rgba(232,168,122,.22), 0 40px 80px rgba(0,0,0,.55), 0 0 90px rgba(255,105,0,.10); }
.section-context .cx-grid { position: relative; inset: auto; width: 100%; height: 100%; border-radius: 6px; box-shadow: 0 0 0 1px rgba(232,168,122,.35); }
.section-context .cx-pieces { inset: 3.2%; }
.cx-cell.l { background: linear-gradient(135deg, #D9CDB6, #C4B79D); }
.cx-cell.d { background: linear-gradient(135deg, #4A5260, #363C47); }
.cx-cell { box-shadow: inset 0 0 0 .5px rgba(0,0,0,.18); }
.cx-cell.is-from { background: linear-gradient(135deg, #B98A5E, #9B6F48); }
.cx-cell.is-to { background: linear-gradient(135deg, #FF8A3D, #E8661A); }
.cx-cell.is-check { background: radial-gradient(circle, #FF6A3D 0%, #C8341A 100%); box-shadow: inset 0 0 18px rgba(255,220,180,.6); }
.cx-body, .cx-num { display: none; }
.cx-token { transform: rotateZ(calc(-1 * var(--rz))) rotateX(-50deg) translateY(-34%); }
.cx-piece { z-index: var(--z); transition: transform .9s cubic-bezier(.3,.7,.2,1), opacity .5s ease; }
.cx-svg { position: absolute; bottom: 8%; width: 92%; height: 150%; overflow: visible; transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s ease; }
.cx-shadow { position: absolute; bottom: 4%; width: 66%; height: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); }
.cx-piece.is-w .cx-svg { fill: url(#cxIvory); fill: #F4EDE0; stroke: #8E7D62; stroke-width: 2.2; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)) drop-shadow(0 0 1px rgba(255,255,255,.6)); }
.cx-piece.is-b .cx-svg { fill: #1A1E25; stroke: #6E7684; stroke-width: 2.2; filter: drop-shadow(0 2px 2px rgba(0,0,0,.5)) drop-shadow(0 0 3px rgba(140,170,210,.25)); }
.cx-piece.is-w .cx-svg .eye { fill: #8E7D62; stroke: none; }
.cx-piece.is-b .cx-svg .eye { fill: #6E7684; stroke: none; }
.cx-piece.is-king .cx-svg { stroke: #C9A15A; }
.cx-piece.is-sel { z-index: 20; }
.cx-piece.is-sel .cx-svg { transform: translateY(-10%) scale(1.06); }
.cx-piece.is-w.is-sel .cx-svg { filter: drop-shadow(0 0 10px rgba(255,140,60,.9)) drop-shadow(0 2px 2px rgba(0,0,0,.35)); stroke: #FF6900; }
.cx-piece.is-b.is-sel .cx-svg { filter: drop-shadow(0 0 10px rgba(140,180,255,.55)) drop-shadow(0 2px 2px rgba(0,0,0,.5)); stroke: #C9D6EA; }
.cx-piece.is-check .cx-svg { stroke: #FF5A2E; filter: drop-shadow(0 0 14px rgba(255,80,40,.95)); }
.cx-piece.is-giver .cx-svg { stroke: #FF6900; }
.cx-piece.is-out { opacity: 0; }
.cx-piece.is-out .cx-svg { transform: translateY(-40%) scale(.6); }
.cx-tag { bottom: 168%; }
.cx-piece.is-hoy .cx-tag { opacity: 0; }
.cx-piece.is-sel .cx-tag { opacity: 1; transform: translateX(-50%); }
.cx-piece.is-b .cx-tag { background: #F2EFE8; color: #0D1117; }
.cx-side-h { margin: 18px 0 8px; font: 600 12px/1 Manrope, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #E8A87A; }
.cx-side-h:first-child { margin-top: 0; }
.cx-probs { display: flex; flex-wrap: wrap; gap: 8px; }
.section-context .cx-area.is-b { background: rgba(10,12,16,.6); border-color: rgba(160,175,200,.25); padding: 9px 14px; font-size: 15px; }
.cx-dot { width: 9px; height: 9px; border-radius: 50%; background: #0D1117; box-shadow: 0 0 0 1.5px #8C96A6; }
.section-context .cx-area.is-b[aria-pressed="true"] { background: #E4E9F1; color: #0D1117; }
.section-context .cx-card.is-b { background: rgba(10,12,16,.55); border-color: rgba(160,175,200,.25); }
.section-context .cx-card.is-b .cx-card-n { color: #A9B8D0; }
@media (max-width: 520px) { .cx-tag { font-size: 11px; padding: 3px 7px; } .cx-side-h { margin-top: 14px; } }
@media (prefers-reduced-motion: reduce) { .cx-svg { transition: none !important; } }
.cx-svg { height: 172%; width: 100%; }

/* =================== iter14: páginas interiores con profundidad (Servicios, Nosotros, Contacto) =================== */
/* Fondo: la imagen de ambiente del clip azul C03 (ya desenfocada y normalizada) amplificada, como en el Hero. */
.deep-page { position: relative; isolation: isolate; color: #E9E4DA; background: #070A10; min-height: 100svh; }
.deep-page::before { content: ""; position: fixed; inset: 0; z-index: -2;
  background: url("../ambient/ambient-C03-norm.jpg") center / cover no-repeat; opacity: .55; }
.deep-page::after { content: ""; position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(70% 60% at 85% 10%, rgba(0,150,255,.22), transparent 60%),
              radial-gradient(60% 50% at 10% 90%, rgba(255,105,0,.14), transparent 60%),
              linear-gradient(180deg, rgba(7,10,16,.55), rgba(7,10,16,.92)); }
.deep-section { padding: calc(var(--header-h, 96px) + 48px) 0 72px; }
.deep-section + .deep-section { padding-top: 0; }
.deep-page h1, .deep-page h2, .deep-page h3 { color: #F7F1E4; }
.deep-h1 { font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(36px, 4.6vw + 8px, 72px); line-height: 1.05; letter-spacing: -.02em; margin: 6px 0 16px; text-wrap: balance; }
.deep-lede, .deep-page .lede { font-size: clamp(17px, .5vw + 14px, 21px); line-height: 1.55; color: #D4CFC6; max-width: 62ch; }
.deep-page .deep-more summary, .deep-page details.more summary { color: #E8A87A; }
.deep-page details.more p { color: #D4CFC6; max-width: 70ch; }
.deep-glass { background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border: 1px solid rgba(247,241,228,.14);
  border-radius: 24px; padding: clamp(24px, 4vw, 56px); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.deep-page .form label { color: #E9E4DA; }
.deep-page .form input, .deep-page .form textarea { background: rgba(255,255,255,.07); border: 1px solid rgba(247,241,228,.22); color: #F7F1E4; border-radius: 12px; }
.deep-page .form input:focus, .deep-page .form textarea:focus { outline: 2px solid #FF6900; outline-offset: 1px; }
.deep-page .form-note { color: #A9B4C2; }
.deep-page .form-note a { color: #E8A87A; }
/* Servicios */
.svc2-group { margin: 56px 0 18px; font: 600 12px/1 Manrope, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #E8A87A; }
.svc2-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: start; }
.svc2-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc2 { border-radius: 20px; overflow: hidden; background: linear-gradient(165deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid rgba(247,241,228,.14);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s; }
.svc2:hover { transform: translateY(-4px); border-color: rgba(255,105,0,.55); box-shadow: 0 24px 50px rgba(0,0,0,.4), 0 0 40px rgba(255,105,0,.12); }
.svc2-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.svc2-grid.two .svc2-media { aspect-ratio: 21 / 9; }
.svc2-media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform .8s cubic-bezier(.2,.8,.2,1); filter: saturate(1.05); }
.svc2-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,10,16,.75)); }
.svc2:hover .svc2-media img { transform: scale(1.08); }
.svc2-n { position: absolute; left: 16px; bottom: 10px; z-index: 1; font-family: Newsreader, Georgia, serif; font-size: 34px; line-height: 1; background: linear-gradient(135deg,#FFB070,#FF6900); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc2-body { padding: 18px 20px 20px; }
.svc2-head { display: flex; align-items: flex-start; gap: 12px; }
.svc-ic { flex: none; width: 28px; height: 28px; color: #FF8A3D; margin-top: 2px; }
.svc2 h3 { margin: 0; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(21px, .6vw + 16px, 26px); line-height: 1.2; text-wrap: balance; hyphens: manual; min-height: 2.4em; }
.svc2-res { margin: 10px 0 8px; color: #D4CFC6; font-size: 15.5px; line-height: 1.5; }
.svc2-rows { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.svc2-rows li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.svc2-ri { width: 20px; height: 20px; color: #E8A87A; margin-top: 2px; }
.svc2-rows strong { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #E8A87A; margin-bottom: 2px; }
.svc2-rows span { color: #D9D4CA; font-size: 15px; line-height: 1.5; }
.deep-cta { margin-top: 56px; padding: clamp(24px, 4vw, 44px); border-radius: 24px; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between;
  background: linear-gradient(120deg, rgba(255,105,0,.22), rgba(255,105,0,.06) 60%, rgba(0,150,255,.10)); border: 1px solid rgba(255,105,0,.45); }
.deep-cta p { margin: 0; font-family: Newsreader, Georgia, serif; font-size: clamp(22px, 1.4vw + 12px, 32px); color: #F7F1E4; max-width: 30ch; text-wrap: balance; }
.deep-credit { margin-top: 18px; font-size: 12.5px; color: #8E98A6; }
@media (max-width: 1200px) { .svc2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .svc2-grid, .svc2-grid.two { grid-template-columns: 1fr; }
  .svc2-grid.two .svc2-media { aspect-ratio: 16 / 9; }
  .svc2 h3 { min-height: 0; }
  .deep-section { padding-top: calc(var(--header-h, 72px) + 28px); }
}
@media (prefers-reduced-motion: reduce) { .svc2, .svc2-media img { transition: none !important; } .svc2:hover, .svc2:hover .svc2-media img { transform: none; } }
.svc2-grid { align-items: stretch; } .svc2 h3 { min-height: 3.6em; } @media (max-width: 1200px) { .svc2 h3 { min-height: 2.4em; } } @media (max-width: 640px) { .svc2 h3 { min-height: 0; } }
.deep-page .close-grid { align-items: start; }

/* =================== iter15: logo más grande para que se lea «ARQUITECTURA ESTRATÉGICA EMPRESARIAL» =================== */
/* Sólo tamaño de render; el PNG original no se toca. El subtítulo ocupa ~1,9 % del ancho visible del logo. */
.site-header { --logo-visible-w: 280px; --header-h: 128px; }
.site-header.is-compact { --logo-visible-w: 232px; --header-h: 96px; min-height: 96px; }
body.is-inner .site-header, body.is-inner .site-header.is-compact { --logo-visible-w: 240px; --header-h: 100px; min-height: 100px; }
body.is-inner .page-main { padding-top: 112px; }
@media (max-width: 1180px) and (min-width: 1001px) { .site-header { --logo-visible-w: 240px; } .site-nav a { font-size: 14px; } }
@media (max-width: 1000px) {
  .site-header, .site-header.is-compact, body.is-inner .site-header, body.is-inner .site-header.is-compact {
    --logo-visible-w: min(236px, calc(100vw - 116px)); --header-h: 96px; min-height: 96px; padding-top: 10px; padding-bottom: 10px; }
}
@media (max-height: 640px) and (min-width: 801px) {
  .site-header, .site-header.is-compact, body.is-inner .site-header, body.is-inner .site-header.is-compact {
    --logo-visible-w: 220px; --header-h: 84px; min-height: 84px; padding-top: 6px; padding-bottom: 6px; }
}

/* =================== iter15: los 3 puntos clave, protagonistas justo después del Hero =================== */
/* El texto rotativo bajo el video se retira: los puntos viven aquí, fijos. */
.hero-story { display: none; }
.section-claves { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 128px) 0;
  background: radial-gradient(60% 70% at 85% 20%, rgba(255,105,0,.16), transparent 60%), radial-gradient(50% 60% at 10% 90%, rgba(0,150,255,.12), transparent 60%), #080B11; color: #F2EFE8; }
.claves-h { font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(34px, 4vw + 10px, 72px); line-height: 1.05; margin: 8px 0 clamp(28px, 4vw, 56px); color: #F7F1E4; text-wrap: balance; }
.claves { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 40px); }
.clave { position: relative; padding: clamp(22px, 2.4vw, 36px) clamp(20px, 2vw, 32px); border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(247,241,228,.14); }
.clave::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #FF6900, transparent); background-size: 200% 100%; opacity: .85; }
.clave-n { display: block; font-family: Newsreader, Georgia, serif; font-size: clamp(30px, 2.2vw + 14px, 48px); line-height: 1; margin-bottom: 14px;
  background: linear-gradient(135deg,#FFB070,#FF6900); -webkit-background-clip: text; background-clip: text; color: transparent; }
.clave p { margin: 0; font-family: Newsreader, Georgia, serif; font-size: clamp(22px, 1.2vw + 14px, 34px); line-height: 1.25; color: #F7F1E4; text-wrap: balance; hyphens: manual; }
@media (prefers-reduced-motion: no-preference) {
  .section-claves .clave.reveal { transition-duration: 1.2s; }
  .section-claves .clave.reveal:nth-child(2) { transition-delay: .35s; }
  .section-claves .clave.reveal:nth-child(3) { transition-delay: .7s; }
  .clave::before { animation: claveSheen 9s ease-in-out infinite; }
  .clave:nth-child(2)::before { animation-delay: 3s; }
  .clave:nth-child(3)::before { animation-delay: 6s; }
  @keyframes claveSheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
}
@media (max-width: 900px) {
  .claves { grid-template-columns: 1fr; }
  .clave { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: baseline; }
  .clave-n { margin: 0; }
}
.cx-area { white-space: nowrap; min-width: 0; } .cx-area { font-size: clamp(14px, .4vw + 12px, 16px); } @media (max-width: 359px) { .cx-areas { grid-template-columns: 1fr; } }
/* iter15 (ajuste): más grande donde hay espacio */
@media (min-width: 1300px) {
  .site-header { --logo-visible-w: 340px; --header-h: 140px; }
  .site-header.is-compact { --logo-visible-w: 280px; --header-h: 108px; min-height: 108px; }
  body.is-inner .site-header, body.is-inner .site-header.is-compact { --logo-visible-w: 300px; --header-h: 112px; min-height: 112px; }
  body.is-inner .page-main { padding-top: 124px; }
}
@media (max-width: 1000px) {
  .site-header, .site-header.is-compact, body.is-inner .site-header, body.is-inner .site-header.is-compact {
    --logo-visible-w: min(300px, calc(100vw - 112px)); --header-h: 104px; min-height: 104px; }
}
@media (max-height: 640px) and (min-width: 801px) {
  .site-header, .site-header.is-compact, body.is-inner .site-header, body.is-inner .site-header.is-compact { --logo-visible-w: 240px; --header-h: 88px; min-height: 88px; }
}
@media (min-width: 901px) and (max-width: 1180px) { .cx { grid-template-columns: minmax(260px, 1fr) minmax(330px, 1fr); gap: 28px 32px; } .cx-area { padding: 11px 12px; gap: 8px; } }

/* =================== iter16: los 3 puntos vuelven al Hero (bajo el video), lentos y con punch =================== */
/* Se retira la banda de tarjetas de iter15. */
.hero-story { display: block; min-height: 7.4em; }
.hero-story-kicker { letter-spacing: .16em; }
.story-count { margin-left: .6em; color: #FF9A4D; letter-spacing: .1em; }
.hero-story-line { font-size: clamp(24px, 1.5vw + 12px, 38px) !important; line-height: 1.18; max-width: 24ch; text-wrap: balance; hyphens: manual; position: relative; }
.hero-story-line::after { content: ""; display: block; height: 3px; width: 72px; margin-top: 14px; border-radius: 3px; background: linear-gradient(90deg, #FF6900, #FFB070); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
  .hero-story.is-in .hero-story-line { animation: storyPunch .95s cubic-bezier(.16,.9,.2,1.15) both; }
  .hero-story.is-in .hero-story-line::after { animation: storyBar 1.1s .25s cubic-bezier(.2,.8,.2,1) both; }
  .hero-story.is-in .hero-story-kicker { animation: storyKick .6s ease-out both; }
  @keyframes storyPunch { 0% { opacity: 0; transform: translateY(26px) scale(.96); filter: blur(10px); letter-spacing: .04em; } 60% { opacity: 1; filter: blur(0); } 100% { opacity: 1; transform: none; filter: none; letter-spacing: normal; } }
  @keyframes storyBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes storyKick { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
}
.story-static { display: grid; gap: 10px; font-size: clamp(19px, 1vw + 12px, 26px); }
.story-static b { color: #FF9A4D; font-weight: 400; margin-right: .3em; }
.hero-story.is-static .hero-story-line::after { display: none; }
.media-caption-row { justify-content: flex-end; }
@media (max-width: 800px) { .hero-story { min-height: 8.8em; } .hero-story-line { max-width: none; } }

/* =================== iter16: logo ~23 % más chico y subtítulo como texto HTML =================== */
/* Imagen: copia derivada LOCKUP_DARK_SIN_SUBTITULO_DERIVADO_iter16.png (subtítulo borrado); el PNG original no se toca. */
.brand { display: grid; justify-items: start; align-content: center; text-decoration: none; }
.brand-sub { display: block; margin-left: calc(var(--logo-visible-w) * .293); margin-top: calc(var(--logo-visible-w) * -.03);
  font-family: Newsreader, Georgia, serif; font-weight: 500; text-transform: uppercase; color: #FEF8F1; opacity: .94;
  font-size: var(--brand-sub-fs, 12.5px); letter-spacing: var(--brand-sub-ls, .17em); line-height: 1.3; white-space: nowrap; }
.brand-sub > span { display: block; }
.site-header { --logo-visible-w: 220px; --header-h: 120px; --brand-sub-fs: 12px; }
.site-header.is-compact { --logo-visible-w: 200px; --header-h: 104px; min-height: 104px; --brand-sub-fs: 11px; }
body.is-inner .site-header, body.is-inner .site-header.is-compact { --logo-visible-w: 210px; --header-h: 108px; min-height: 108px; --brand-sub-fs: 11.5px; }
@media (min-width: 1300px) {
  .site-header { --logo-visible-w: 260px; --header-h: 128px; --brand-sub-fs: 13px; }
  .site-header.is-compact { --logo-visible-w: 216px; --header-h: 108px; min-height: 108px; --brand-sub-fs: 11.5px; }
  body.is-inner .site-header, body.is-inner .site-header.is-compact { --logo-visible-w: 236px; --header-h: 116px; min-height: 116px; --brand-sub-fs: 12px; }
  body.is-inner .page-main { padding-top: 124px; }
}
@media (max-width: 1000px) {
  .site-header, .site-header.is-compact, body.is-inner .site-header, body.is-inner .site-header.is-compact {
    --logo-visible-w: min(210px, calc(100vw - 150px)); --header-h: 104px; min-height: 104px; --brand-sub-fs: 10.5px; --brand-sub-ls: .11em; padding-top: 8px; padding-bottom: 8px; }
}
@media (max-height: 640px) and (min-width: 801px) {
  .site-header, .site-header.is-compact, body.is-inner .site-header, body.is-inner .site-header.is-compact {
    --logo-visible-w: 190px; --header-h: 92px; min-height: 92px; --brand-sub-fs: 11px; padding-top: 6px; padding-bottom: 6px; }
}
.brand-sub { margin-top: calc(var(--logo-visible-w) * -.012); }
.story-count { white-space: nowrap; display: inline-block; }


/* Contacto: canales y botones (iter17 / producción candidata) */
.contact-channels {
  list-style: none;
  padding: 0;
  margin: 8px 0 22px;
}
.contact-channels li {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.45;
}
.contact-channels a { color: #E8A87A; text-underline-offset: 3px; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 26px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: .02em;
  border-radius: 999px;
  border: 1px solid rgba(247,241,228,.35);
  color: #F7F1E4;
  background: transparent;
  text-decoration: none;
}
.btn-ghost:hover { background: rgba(247,241,228,.08); }

/* Floating WhatsApp button: always visible while scrolling, hidden in print
   and when the mobile nav is open so it never covers the menu or its CTA. */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 50; /* below .site-header (80) and .menu-btn (90); above page content */
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}
.wa-float svg { width: 28px; height: 28px; display: block; }
.wa-float:hover,
.wa-float:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .34);
}
.wa-float:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
@media (max-width: 1000px) {
  .wa-float {
    width: 52px;
    height: 52px;
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
  }
  .wa-float svg { width: 26px; height: 26px; }
}
body:has(#siteNav.is-open) .wa-float {
  visibility: hidden;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: none; }
  .wa-float:hover,
  .wa-float:focus-visible { transform: none; }
}
@media print {
  .wa-float { display: none !important; }
}

/* =================== logo móvil 2026-11-24: más chico, más ligero, barra compacta al scroll =================== */
/* Sólo aplica a <=768px. Desktop no cambia. El PNG del lockup no se toca. */
@media (max-width: 768px) {
  .brand-sub { display: none; }
  .site-header {
    --logo-visible-w: 122px; /* alto visible ≈ 37px (122 × 347 / 1138) */
    --header-h: 64px;
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  /* Header fijo al hacer scroll, y páginas internas: barra delgada 56px */
  .site-header.is-compact,
  body.is-inner .site-header,
  body.is-inner .site-header.is-compact {
    --logo-visible-w: 118px; /* alto visible ≈ 36px */
    --header-h: 56px;
    min-height: 56px;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .brand { min-height: 44px; align-content: center; }
  body.is-inner .page-main { padding-top: 72px; }
  .hero-inner { padding-top: calc(var(--header-h) + 24px); }
}

/* =================== hero 2026-11-24: fundido largo, sin puntos ni pausa =================== */
/* El saliente (.leaving) se queda opaco debajo; el entrante (.active) aparece encima.
   Así no se ve el fondo #111 a media transición. */
.media-controls,
#dots,
#pauseBtn { display: none !important; }
.media-frame { --hero-crossfade: 0.7s; }
.media-frame .slide { transition: none; }
.media-frame .slide.leaving { opacity: 1; z-index: 1; transition: none; }
.media-frame .slide.active {
  opacity: 1;
  z-index: 2;
  transition: opacity var(--hero-crossfade, 0.7s) ease-in-out;
}
.ambient-layer { transition: opacity 0.7s cubic-bezier(.4,0,.2,1); }
@media (prefers-reduced-motion: reduce) {
  .media-frame .slide,
  .media-frame .slide.active,
  .media-frame .slide.leaving,
  .ambient-layer { transition: none !important; }
}
@media (max-width: 1000px) {
  .media-caption-row { margin-top: 10px; }
}
