  :root {
    --black: #0b0c0c;
    --ink: #101112;
    --paper: #fafbfa;
    --white: #ffffff;
    --mute-d: #8b8f8e;      /* texto secundario sobre oscuro */
    --mute-l: #6b6f6e;      /* texto secundario sobre claro */
    --line-d: #222526;
    --line-l: #e6e8e6;
    --blue: #6fb6ff;
    --green: #17a673;
    --max: 1180px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0; background: var(--black); color: var(--white);
    font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
  h1, h2, h3 { font-weight: 500; margin: 0; }
  h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.08; letter-spacing: -.035em; }

  /* ---------- Botones ---------- */
  .btn {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px;
    border-radius: 999px; font-size: .875rem; font-weight: 500; border: 1px solid transparent;
    transition: transform .2s, background .2s, color .2s, border-color .2s; white-space: nowrap;
  }
  .btn:hover { transform: translateY(-1px); }
  .btn.solid { background: var(--white); color: var(--ink); }
  .btn.line { border-color: #3a3d3e; color: var(--white); }
  .btn.line:hover { border-color: var(--white); }
  .btn.dark { background: var(--ink); color: var(--white); }
  .btn.line-l { border-color: #cfd2d0; color: var(--ink); }
  .btn .arr { transition: transform .2s; }
  .btn:hover .arr { transform: translateX(3px); }

  /* ---------- Nav ---------- */
  nav.top {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    transition: background .3s, color .3s, border-color .3s;
    border-bottom: 1px solid transparent; color: var(--white);
  }
  nav.top.scrolled { background: rgba(11,12,12,.82); backdrop-filter: blur(12px); border-color: var(--line-d); }
  nav.top.light { color: var(--ink); }
  nav.top.light.scrolled { background: rgba(250,251,250,.86); border-color: var(--line-l); }
  nav.top .bar { height: 56px; display: flex; align-items: center; gap: 30px; }
  .logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em; }
  .logo svg { width: 20px; height: 20px; }
  .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; font-size: .875rem; }
  .menu button {
    all: unset; cursor: pointer; display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-radius: 8px;
    opacity: .8; transition: opacity .2s, background .2s;
  }
  .menu button:hover, .menu button[aria-expanded="true"] { opacity: 1; }
  .menu button[aria-expanded="true"] { background: rgba(255,255,255,.07); }
  .menu .chev { width: 9px; height: 9px; transition: transform .25s; }
  .menu button[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .bar-end { margin-left: auto; display: flex; align-items: center; gap: 18px; }
  .bar-end .lnk { font-size: .875rem; opacity: .8; transition: opacity .2s; }
  .bar-end .lnk:hover { opacity: 1; }
  nav.top .btn { height: 34px; }
  nav.top.light .btn.solid { background: var(--ink); color: var(--white); }
  .burger { all: unset; cursor: pointer; display: none; width: 34px; height: 34px; place-items: center; border-radius: 8px; }
  .burger span, .burger span::before, .burger span::after { content: ""; display: block; width: 18px; height: 1.6px; background: currentColor; position: relative; transition: transform .3s, background .3s; }
  .burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }
  nav.top.mob .burger span { background: transparent; }
  nav.top.mob .burger span::before { transform: translateY(6px) rotate(45deg); }
  nav.top.mob .burger span::after { transform: translateY(-6px) rotate(-45deg); }

  /* Menú abierto: el header pasa a oscuro siempre, como en el panel */
  nav.top.open, nav.top.mob { background: var(--black) !important; color: var(--white) !important; border-color: var(--line-d) !important; }
  nav.top.open .btn.solid, nav.top.mob .btn.solid { background: var(--white) !important; color: var(--ink) !important; }

  .mega {
    overflow: hidden; height: 0; background: var(--black); color: var(--white);
    transition: height .38s cubic-bezier(.2,.8,.2,1);
  }
  nav.top.open .mega { border-bottom: 1px solid var(--line-d); }
  .panel { display: none; padding: 6px 0 0; }
  .panel.on { display: block; animation: pIn .35s cubic-bezier(.2,.8,.2,1); }
  @keyframes pIn { from { opacity: 0; transform: translateY(-6px); } }
  .mstrip { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line-d); margin-top: 22px; padding: 16px 0 18px; font-size: .78rem; color: var(--mute-d); }
  .mstrip a { color: var(--white); font-weight: 500; display: flex; gap: 6px; align-items: center; }
  .mstrip a:hover .arr { transform: translateX(3px); }
  .mstrip .arr { transition: transform .2s; }
  .scrim { position: fixed; inset: 0; z-index: 45; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .35s; }
  .scrim.on { opacity: 1; pointer-events: auto; }

  /* Tarjetas de soluciones dentro del menú */
  .mcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .mcard { display: flex; flex-direction: column; background: #131516; border: 1px solid #1d2021; border-radius: 10px; padding: 14px 16px 16px; transition: border-color .25s, background .25s, transform .25s; }
  .mcard:hover { border-color: #34383a; background: #16191a; transform: translateY(-2px); }
  .mcard .eyb { font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: #6c7171; }
  .mcard .vis { height: 82px; margin: 10px 0 12px; display: flex; align-items: center; justify-content: center; font-size: .66rem; color: #9aa09f; }
  .mcard .hd { display: flex; justify-content: space-between; align-items: center; }
  .mcard h4 { margin: 0; font-size: .98rem; font-weight: 500; letter-spacing: -.01em; }
  .mcard .go { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #3a3e40; display: grid; place-items: center; font-size: .7rem; transition: background .25s, color .25s; }
  .mcard:hover .go { background: var(--white); color: var(--ink); }
  .mcard p { margin: 6px 0 0; font-size: .76rem; color: var(--mute-d); line-height: 1.45; }
  /* mini gráficos */
  .v-slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; width: 100%; }
  .v-slots i { height: 20px; border-radius: 4px; background: #1d2122; display: grid; place-items: center; font-style: normal; font-size: .58rem; color: #6c7171; }
  .v-slots i.b { background: #1b3a5c; color: #a9d2ff; } .v-slots i.ok { background: #14402c; color: #7fe0b0; }
  .v-tick { width: 100%; font-family: ui-monospace, Menlo, monospace; }
  .v-tick div { display: flex; justify-content: space-between; padding: 2px 0; border-bottom: 1px dashed #2a2e2f; }
  .v-tick div:last-child { border: 0; color: #7fe0b0; }
  .v-pay { width: 100%; }
  .v-pay .tr2 { height: 8px; border-radius: 99px; background: #2a1d1d; overflow: hidden; margin: 8px 0; }
  .v-pay .tr2 b { display: block; height: 100%; width: 84%; background: linear-gradient(90deg, #1c5fb3, #6fb6ff); border-radius: 99px; }
  .v-pay .lg { display: flex; justify-content: space-between; }
  .v-radar { display: flex; gap: 14px; align-items: center; width: 100%; }
  .v-radar ul { list-style: none; margin: 0; padding: 0; flex: 1; }
  .v-radar li { display: flex; align-items: center; gap: 6px; padding: 2px 0; }
  .v-radar li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #7fe0b0; }
  .v-radar li.bad::before { background: #ff7a6e; }
  .radar { width: 70px; height: 70px; border-radius: 50%; border: 1px solid #2a2e2f; position: relative; flex: none;
    background: repeating-radial-gradient(circle, transparent 0 11px, #222627 11px 12px); }
  .radar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(111,182,255,.45), transparent 25%); animation: spin 3s linear infinite; }
  .radar i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #ff7a6e; left: 44px; top: 18px; box-shadow: 0 0 6px #ff7a6e; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .v-sync { display: flex; align-items: center; gap: 6px; }
  .v-sync span { border: 1px solid #2a2e2f; border-radius: 6px; padding: 6px 8px; text-align: center; line-height: 1.3; }
  .v-sync span b { display: block; color: var(--white); font-weight: 500; font-size: .74rem; }
  .v-sync em { font-style: normal; color: #6fb6ff; }
  .v-quote { width: 100%; }
  .v-quote div { padding: 5px 8px; border-radius: 7px; margin-bottom: 5px; max-width: 85%; }
  .v-quote .o { background: #14402c; color: #c9f3dc; margin-left: auto; }
  .v-quote .i { background: #1d2122; color: #d7d9d8; }

  /* Columnas (rubros, empresa) */
  .mcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 10px; }
  .mcol h5 { margin: 0 0 12px; font-size: .62rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #6c7171; }
  .mcol a { display: block; padding: 5px 0; font-size: .88rem; color: #d7d9d8; transition: color .2s, transform .2s; }
  .mcol a:hover { color: var(--white); transform: translateX(3px); }
  .mcol a small { display: block; font-size: .72rem; color: #6c7171; }
  .mcol a[hidden] { display: none; }

  /* Panel "Cómo trabajamos" */
  .mrec { display: grid; grid-template-columns: 1.7fr 1fr; gap: 8px; }
  .mbig { background: #131516; border: 1px solid #1d2021; border-radius: 10px; padding: 16px 18px; }
  .mbig .top2 { display: flex; justify-content: space-between; align-items: baseline; }
  .mbig h4 { margin: 4px 0 14px; font-size: 1.1rem; font-weight: 500; }
  .mbig .top2 a { font-size: .74rem; color: #d7d9d8; }
  .msteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .msteps div { border: 1px solid #23272a; border-radius: 8px; padding: 12px; background: radial-gradient(120% 120% at 0 0, #15263a 0%, #111314 60%); }
  .msteps b { display: block; font-size: .62rem; color: #6fb6ff; letter-spacing: .1em; }
  .msteps h6 { margin: 6px 0 4px; font-size: .88rem; font-weight: 500; }
  .msteps p { margin: 0; font-size: .72rem; color: var(--mute-d); line-height: 1.4; }
  .mside { display: grid; gap: 8px; }
  .mside a { display: block; background: #131516; border: 1px solid #1d2021; border-radius: 10px; padding: 14px 16px; transition: border-color .25s; position: relative; }
  .mside a:hover { border-color: #34383a; }
  .mside a::after { content: "↗"; position: absolute; right: 14px; top: 14px; font-size: .75rem; color: #8b8f8e; }
  .mside h4 { margin: 4px 0 4px; font-size: .95rem; font-weight: 500; }
  .mside p { margin: 0; font-size: .74rem; color: var(--mute-d); }

  [id^="sol-"], [id^="rub-"] { scroll-margin-top: 130px; }
  .tr:target { animation: flash 2.2s ease-out; }
  .cell:target { animation: flash2 2.2s ease-out; }
  @keyframes flash { from { background: #e3f0ff; } to { background: transparent; } }
  @keyframes flash2 { from { box-shadow: inset 0 0 0 2px #6fb6ff; } to { box-shadow: inset 0 0 0 2px transparent; } }

  @media (max-width: 900px) {
    .menu, .bar-end .lnk { display: none; }
    .burger { display: grid; }
    nav.top.mob .mega { height: calc(100vh - 56px) !important; overflow-y: auto; }
    nav.top.mob .panel { display: block; animation: none; padding: 18px 0 4px; border-bottom: 1px solid var(--line-d); }
    nav.top.mob .panel::before { content: attr(data-title); display: block; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: #6c7171; margin-bottom: 12px; }
    nav.top.mob .mstrip { display: none; }
    .mcards, .mcols, .mrec, .msteps { grid-template-columns: 1fr; }
    .mcard .vis { display: none; }
  }

  /* ---------- Hero ---------- */
  .hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
  .hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero .wrap { position: relative; width: 100%; }
  .hero-copy { margin-left: 50%; max-width: 560px; }
  .hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); line-height: 1.06; letter-spacing: -.035em; }
  .axis { position: relative; height: 1px; margin: 34px 0 30px; width: 100vw; background: linear-gradient(90deg, rgba(255,255,255,.75), rgba(255,255,255,.12) 55%); transform-origin: left; animation: grow 1.6s .3s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes grow { from { transform: scaleX(0); } }
  .axis span { position: absolute; top: -26px; font-size: .78rem; font-weight: 500; transform: translateX(-50%); opacity: 0; animation: tick .6s both; }
  .axis span::after { content: ""; position: absolute; left: 50%; top: 24px; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: var(--white); box-shadow: 0 0 8px 2px rgba(255,255,255,.6); }
  .axis span:nth-child(1) { left: 110px; animation-delay: .7s; }
  .axis span:nth-child(2) { left: 250px; animation-delay: .9s; }
  .axis span:nth-child(3) { left: 390px; animation-delay: 1.1s; }
  .axis span:nth-child(4) { left: 530px; animation-delay: 1.3s; }
  @keyframes tick { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }
  .hero p { color: var(--mute-d); max-width: 46ch; margin: 0 0 26px; }
  .hero p b { color: var(--white); font-weight: 500; }
  .row { display: flex; gap: 10px; flex-wrap: wrap; }
  @media (max-width: 900px) {
    .hero { align-items: flex-end; padding: 340px 0 70px; min-height: 0; }
    .hero-copy { margin-left: 0; }
    .axis span:nth-child(1) { left: 34px; } .axis span:nth-child(2) { left: 108px; }
    .axis span:nth-child(3) { left: 182px; } .axis span:nth-child(4) { left: 252px; }
  }

  /* ---------- Datos ---------- */
  .stats { border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); display: grid; grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 30px 24px 26px; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .stat + .stat { border-left: 1px solid var(--line-d); }
  .stat b { font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
  .stat small { color: var(--mute-d); font-size: .78rem; max-width: 30ch; margin-top: 6px; }
  .src { text-align: center; color: #5d6160; font-size: .7rem; padding: 12px 24px 0; }
  @media (max-width: 760px) { .stats { grid-template-columns: 1fr; } .stat + .stat { border-left: 0; border-top: 1px solid var(--line-d); } }

  /* ---------- Marquee ---------- */
  .uses { padding: 54px 0 70px; text-align: center; }
  .uses > p { color: var(--mute-d); font-size: .82rem; margin: 0 0 26px; }
  .uses > p b { color: var(--white); font-weight: 500; }
  .marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .track { display: flex; gap: 64px; width: max-content; animation: slide 38s linear infinite; }
  .track span { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; color: #6f7372; white-space: nowrap; }
  @keyframes slide { to { transform: translateX(-50%); } }

  /* ---------- Secciones claras ---------- */
  .light { background: var(--paper); color: var(--ink); }
  .sec { padding: 96px 0; }
  .sec .lead { color: var(--mute-l); max-width: 44ch; margin: 18px 0 0; }

  .bento { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #eef0ee; padding: 6px; }
  .cell { background: var(--white); padding: 22px 22px 0; display: flex; flex-direction: column; min-height: 400px; overflow: hidden; }
  .tag { align-self: flex-start; font-size: .68rem; color: var(--mute-l); background: #f1f2f1; padding: 3px 9px; border-radius: 999px; margin-bottom: 16px; }
  .cell h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.02em; max-width: 24ch; }
  .cell > p { color: var(--mute-l); font-size: .82rem; margin: 8px 0 22px; max-width: 42ch; }
  .mock { margin-top: auto; border: 1px solid var(--line-l); border-bottom: 0; border-radius: 10px 10px 0 0; background: #fcfcfc; padding: 14px; font-size: .74rem; min-height: 190px; box-shadow: 0 -8px 30px rgba(16,17,18,.04); }
  .mock .bar { display: flex; justify-content: space-between; color: var(--mute-l); margin-bottom: 12px; font-size: .7rem; }
  .mock .bar b { color: var(--ink); font-weight: 500; }
  @media (max-width: 820px) { .bento { grid-template-columns: 1fr; } .cell { min-height: 0; } }

  /* piezas de las maquetas */
  .bub { max-width: 78%; padding: 7px 10px; border-radius: 10px; margin-bottom: 7px; line-height: 1.35; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
  .bub.in { background: #f1f2f1; border-top-left-radius: 2px; }
  .bub.out { background: #dcf7e6; margin-left: auto; border-top-right-radius: 2px; }
  .on .bub { opacity: 1; transform: none; }
  .on .bub:nth-child(2) { transition-delay: .5s; } .on .bub:nth-child(3) { transition-delay: 1.1s; }
  .on .bub:nth-child(4) { transition-delay: 1.7s; } .on .bub:nth-child(5) { transition-delay: 2.3s; }
  .li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-l); opacity: 0; transition: opacity .5s; }
  .on .li { opacity: 1; }
  .on .li:nth-of-type(2) { transition-delay: .25s; } .on .li:nth-of-type(3) { transition-delay: .5s; } .on .li:nth-of-type(4) { transition-delay: .75s; }
  .li span { color: var(--mute-l); }
  .pill { font-size: .66rem; padding: 2px 8px; border-radius: 999px; font-weight: 500; }
  .pill.ok { background: #e2f6ec; color: #0c7a52; }
  .pill.warn { background: #fdf0d9; color: #96610a; }
  .pill.bad { background: #fde6e4; color: #b3261e; }
  .pill.dark { background: var(--ink); color: var(--white); }
  .total { display: flex; justify-content: space-between; border-top: 1px solid var(--ink); margin-top: 6px; padding-top: 8px; font-weight: 600; }

  /* ---------- Capítulos (palabra punteada) ---------- */
  .chapter { position: relative; padding: 110px 0 100px; overflow: hidden; }
  .chapter.blue { background: radial-gradient(120% 90% at 50% 100%, #123a6b 0%, #0a1d38 45%, #070d18 100%); }
  .stars { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.55) 1px, transparent 1.4px), radial-gradient(rgba(111,182,255,.18) 1px, transparent 1.4px); background-size: 220px 170px, 22px 22px; background-position: 30px 40px, 0 0; opacity: .7; pointer-events: none; }
  .ch-head { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
  .dotword {
    font-size: clamp(4.2rem, 13.5vw, 10.5rem); font-weight: 600; letter-spacing: -.05em; line-height: .95;
    background-image: radial-gradient(circle, #fff 1.15px, transparent 1.6px); background-size: 5px 5px;
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .blue .dotword { background-image: radial-gradient(circle, #a9d2ff 1.15px, transparent 1.6px); }
  .ch-head p { font-size: 1.12rem; line-height: 1.45; max-width: 34ch; margin: 0; }
  .kicker { display: inline-block; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); border: 1px solid rgba(111,182,255,.35); padding: 3px 8px; border-radius: 5px; margin-bottom: 14px; }
  .feats { position: relative; margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .feat { border: 1px solid var(--line-d); background: rgba(255,255,255,.025); border-radius: 12px; padding: 22px; transition: border-color .3s, transform .3s; }
  .feat:hover { border-color: #4a4e4f; transform: translateY(-3px); }
  .blue .feat { border-color: rgba(111,182,255,.18); background: rgba(8,20,40,.5); }
  .feat svg { width: 20px; height: 20px; color: var(--blue); margin-bottom: 16px; }
  .feat h3 { font-size: 1rem; letter-spacing: -.01em; margin-bottom: 6px; }
  .feat p { margin: 0; color: var(--mute-d); font-size: .84rem; }
  .blue .feat p { color: #9db4cf; }

  /* Palabra punteada dibujada en canvas (nodo.js): el texto queda para lectores de pantalla */
  .dotword.dw-on { position: relative; background: none; color: transparent; -webkit-text-fill-color: transparent; }
  .dotword canvas { position: absolute; left: -24px; top: -24px; width: calc(100% + 48px); height: calc(100% + 48px); pointer-events: none; }

  /* ---------- Sección con fotos (estilo "mostrador") ---------- */
  .split-sec { padding: 110px 0; }
  .split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
  .eyebrow { display: inline-block; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-l); margin-bottom: 14px; }
  .split-txt h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
  .split-txt p { color: var(--mute-l); margin: 18px 0 28px; max-width: 42ch; }
  .collage { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: 470px; }
  .ph { position: relative; margin: 0; overflow: hidden; border-radius: 14px; background: #ddd; }
  .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
  .rv.on .ph img, .ph:hover img { transform: scale(1); }
  .ph-big { grid-row: 1 / 3; }
  .ph-big img { object-position: 60% 50%; }
  .ph-sm img { object-position: 50% 25%; }
  .glass { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px 16px; border-radius: 12px; color: var(--white);
    background: rgba(16,17,18,.52); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border: 1px solid rgba(255,255,255,.16);
    transform: translateY(16px); opacity: 0; transition: transform .8s .35s cubic-bezier(.2,.8,.2,1), opacity .8s .35s; }
  .rv.on .glass { transform: none; opacity: 1; }
  .glass .g-row { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; color: #dfe3e2; }
  .glass b { display: block; font-size: 1.6rem; font-weight: 500; letter-spacing: -.02em; margin: 4px 0 2px; }
  .glass small { font-size: .7rem; color: #c3c8c7; }
  .g-bar { display: block; height: 3px; border-radius: 9px; background: rgba(255,255,255,.18); margin-top: 10px; overflow: hidden; font-style: normal; }
  .g-bar em { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #6fb6ff, #fff); transition: width 1.6s .9s cubic-bezier(.2,.8,.2,1); }
  .rv.on .g-bar em { width: 100%; }
  .ph-card { background: var(--ink); color: var(--white); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; }
  .eyb2 { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: #8b8f8e; }
  .ph-card ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; font-size: .84rem; }
  .ph-card li { display: flex; align-items: center; gap: 9px; opacity: 0; transform: translateX(-8px); transition: opacity .5s, transform .5s; }
  .ph-card li::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; background: #fff; color: var(--ink); font-size: .62rem; display: grid; place-items: center; flex: none; }
  .rv.on .ph-card li { opacity: 1; transform: none; }
  .rv.on .ph-card li:nth-child(1) { transition-delay: .6s; } .rv.on .ph-card li:nth-child(2) { transition-delay: .9s; } .rv.on .ph-card li:nth-child(3) { transition-delay: 1.2s; }
  .ph-card .all { margin-top: auto; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: #6fb6ff; }
  @media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: 40px; }
    .collage { height: 420px; }
  }
  @media (max-width: 560px) {
    .collage { grid-template-columns: 1fr; grid-template-rows: 300px auto; height: auto; }
    .ph-big { grid-row: auto; }
    .ph-sm { display: none; }
  }

  /* ---------- Historias con foto dentro de los capítulos ---------- */
  .story { position: relative; margin-top: 90px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
  .story.rev { grid-template-columns: .9fr 1.1fr; }
  .ph-story { height: 400px; border: 1px solid rgba(255,255,255,.08); }
  .story-txt h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.08; letter-spacing: -.03em; margin: 4px 0 16px; }
  .story-txt p { color: var(--mute-d); margin: 0 0 20px; max-width: 44ch; }
  .blue .story-txt p { color: #9db4cf; }
  .ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .9rem; }
  .ticks li { display: flex; gap: 10px; align-items: center; }
  .ticks li::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(111,182,255,.4); color: var(--blue); font-size: .6rem; display: grid; place-items: center; flex: none; }
  .chip { position: absolute; left: 14px; top: 14px; font-size: .68rem; padding: 4px 10px; border-radius: 999px; background: rgba(16,17,18,.6); color: #7fe0b0; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14); }
  .glass.dark { background: rgba(7,16,30,.62); }
  .notif { position: absolute; left: 50%; top: 18px; width: min(86%, 380px); display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px;
    background: rgba(250,251,250,.86); color: var(--ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px rgba(0,0,0,.25);
    transform: translate(-50%, -30px); opacity: 0; transition: transform .7s .4s cubic-bezier(.2,.9,.25,1.25), opacity .5s .4s; }
  .rv.on .notif { transform: translate(-50%, 0); opacity: 1; }
  .notif .n-ic { width: 30px; height: 30px; border-radius: 8px; flex: none; background: var(--black); position: relative; }
  .notif .n-ic::before, .notif .n-ic::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
  .notif .n-ic::before { width: 18px; height: 18px; border: 2px solid #fff; box-sizing: border-box; }
  .notif .n-ic::after { width: 6px; height: 6px; background: #fff; }
  .notif b { display: block; font-size: .72rem; font-weight: 600; }
  .notif span { font-size: .8rem; line-height: 1.35; }
  @media (max-width: 900px) {
    .story, .story.rev { grid-template-columns: 1fr; gap: 30px; margin-top: 60px; }
    .story.rev .ph-story { order: -1; }
    .ph-story { height: 320px; }
  }

  /* ---------- Banda de rayas (transición) ---------- */
  .stripes { position: relative; height: 170px; display: flex; flex-direction: column; justify-content: space-between; background: var(--paper); overflow: hidden; }
  .stripes i { display: block; background: var(--black); flex: none; }
  .stripes span { position: absolute; top: 0; bottom: 0; width: 30%; left: -30%;
    background: linear-gradient(90deg, transparent, rgba(111,182,255,.55), transparent); mix-blend-mode: screen; animation: sweep 5s linear infinite; }
  @keyframes sweep { to { left: 100%; } }
  @media (max-width: 820px) { .ch-head { grid-template-columns: 1fr; } .feats { grid-template-columns: 1fr; } }

  /* ---------- Tabla por rubro ---------- */
  .tbl { margin-top: 44px; border: 1px solid var(--line-l); background: var(--white); }
  .tr { display: grid; grid-template-columns: 1fr 1.3fr 1.6fr; gap: 20px; padding: 15px 22px; font-size: .86rem; align-items: baseline; }
  .tr + .tr { border-top: 1px solid var(--line-l); }
  .tr.h { font-size: .68rem; color: var(--mute-l); letter-spacing: .04em; }
  .tr > :nth-child(2) { color: var(--mute-l); }
  .tr b { font-weight: 500; }
  @media (max-width: 760px) { .tr { grid-template-columns: 1fr; gap: 3px; } .tr.h { display: none; } }

  .steps { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
  .step { padding: 24px 24px 0 0; }
  .step i { font-style: normal; font-size: .72rem; color: var(--mute-l); }
  .step h3 { font-size: 1.25rem; letter-spacing: -.02em; margin: 8px 0; }
  .step p { margin: 0; color: var(--mute-l); font-size: .88rem; max-width: 34ch; }
  @media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

  /* ---------- Contacto + pie ---------- */
  .end { position: relative; overflow: hidden; background: linear-gradient(180deg, #0b0c0c 0%, #0a1626 100%); }
  .end .cta { position: relative; padding: 110px 0 60px; text-align: center; }
  .end .cta p { color: var(--mute-d); max-width: 46ch; margin: 18px auto 28px; }
  .end .cta .row { justify-content: center; }
  .note { font-size: .78rem; color: #6f7372; margin-top: 16px; }
  .end canvas { display: block; width: 100%; height: 420px; }
  .foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .7rem; color: #6f7372; }

  /* ---------- Píldora flotante ---------- */
  .dock { position: fixed; left: 50%; bottom: 18px; z-index: 40; transform: translate(-50%, 90px); transition: transform .5s cubic-bezier(.2,.8,.2,1); display: flex; align-items: center; gap: 12px; background: var(--ink); border: 1px solid #2c2f30; border-radius: 999px; padding: 5px 5px 5px 8px; box-shadow: 0 12px 40px rgba(0,0,0,.35); }
  .dock.show { transform: translate(-50%, 0); }
  .dock .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: transparent; border: 2px solid #fff; box-sizing: border-box; }
  .dock .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
  .dock a.t { font-size: .8rem; color: #d7d9d8; }
  .dock .btn { height: 32px; font-size: .8rem; }

  /* ---------- Aparición al scrollear ---------- */
  .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
  .rv.on { opacity: 1; transform: none; }

/* ---------- Pie con columnas (todas las páginas) ---------- */
.fcols { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-d); margin-top: 20px; }
.fcols > div { padding: 26px 20px 10px 0; }
.fcols > div + div { border-left: 1px solid var(--line-d); padding-left: 20px; }
.fcols h5 { margin: 0 0 12px; font-size: .66rem; font-weight: 500; color: #6f7372; letter-spacing: .02em; }
.fcols a { display: block; padding: 3px 0; font-size: .8rem; color: #d7d9d8; transition: color .2s; }
.fcols a:hover { color: var(--white); }
.fcols a[hidden] { display: none; }
@media (max-width: 820px) { .fcols { grid-template-columns: 1fr 1fr; } .fcols > div + div { border-left: 0; padding-left: 0; } }

/* ---------- Página de contacto ---------- */
.c-hero { position: relative; padding: 130px 0 90px; overflow: hidden; background: radial-gradient(90% 70% at 20% 0%, #15181a 0%, var(--black) 60%); }
.c-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.3px); background-size: 6px 6px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.c-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.c-kick { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-d); }
.c-hero h1 { font-size: clamp(2.2rem, 4vw, 3.1rem); letter-spacing: -.035em; line-height: 1.05; margin: 10px 0 16px; }
.c-hero .sub { color: #a5aaa9; max-width: 44ch; margin: 0 0 30px; }
.c-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.c-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.c-list .ck { width: 18px; height: 18px; border-radius: 50%; border: 1px solid #2c4f78; background: #0f2238; color: #6fb6ff; display: grid; place-items: center; font-size: .6rem; margin-top: 2px; }
.c-list b { display: block; font-weight: 500; font-size: .92rem; }
.c-list span { color: var(--mute-d); font-size: .82rem; }
.c-art { width: 100%; height: 280px; display: block; margin-top: 10px; }
.c-side [data-for] { display: none; }
.c-side [data-for].on { display: block; animation: pIn .4s cubic-bezier(.2,.8,.2,1); }

.fcard { background: var(--white); color: var(--ink); border-radius: 14px; padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: #f1f2f1; border-radius: 10px; padding: 4px; margin-bottom: 20px; position: relative; }
.tabs button { all: unset; cursor: pointer; text-align: center; font-size: .82rem; padding: 9px 0; border-radius: 8px; color: var(--mute-l); position: relative; z-index: 1; transition: color .25s; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs .slider { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--white); border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.tabs.sup .slider { transform: translateX(100%); }
.fcard form { display: none; }
.fcard form.on { display: grid; gap: 14px; animation: pIn .35s cubic-bezier(.2,.8,.2,1); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld { display: grid; gap: 6px; }
.fld > span { font-size: .74rem; font-weight: 500; }
.fld > span i { color: #c0392b; font-style: normal; }
.fld input, .fld select, .fld textarea { font: inherit; font-size: .84rem; color: var(--ink); background: var(--white); border: 1px solid #dfe2e0; border-radius: 8px; padding: 10px 11px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.fld textarea { min-height: 96px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(16,17,18,.08); }
.fld input::placeholder, .fld textarea::placeholder { color: #a3a7a6; }
.radios { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radios label { display: flex; align-items: center; gap: 9px; border: 1px solid #dfe2e0; border-radius: 8px; padding: 10px 12px; font-size: .84rem; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.fld .radios input { accent-color: var(--ink); margin: 0; width: auto; flex: none; padding: 0; border: 0; box-shadow: none; }
.radios label:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.phone { display: grid; grid-template-columns: auto 1fr; border: 1px solid #dfe2e0; border-radius: 8px; overflow: hidden; }
.phone span { display: flex; align-items: center; gap: 6px; padding: 0 10px; font-size: .82rem; border-right: 1px solid #eceeed; background: #fafbfa; }
.fld .phone input { border: 0; border-radius: 0; box-shadow: none; }
.send { all: unset; cursor: pointer; text-align: center; background: var(--ink); color: var(--white); border-radius: 999px; padding: 12px 0; font-size: .86rem; font-weight: 500; transition: transform .2s, background .2s; }
.send:hover { transform: translateY(-1px); background: #000; }
.fine { font-size: .7rem; color: var(--mute-l); margin: 0; }
.fmsg { display: none; border-radius: 8px; padding: 12px 14px; font-size: .8rem; background: #eef6ff; color: #174a80; }
.fmsg.on { display: block; animation: pIn .35s; }

.c-rub { padding: 80px 0 90px; }
.c-rub .hd2 { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.c-rub h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.c-rub .hd2 p { color: var(--mute-l); font-size: .84rem; max-width: 34ch; margin: 0; }
.rgrid { margin-top: 30px; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line-l); border-radius: 12px; overflow: hidden; background: var(--white); }
.rgrid a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 110px; font-size: .8rem; color: var(--mute-l); border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); transition: color .2s, background .2s; text-align: center; padding: 0 8px; }
.rgrid a:nth-child(5n) { border-right: 0; }
.rgrid a:nth-last-child(-n+5) { border-bottom: 0; }
.rgrid a:hover { color: var(--ink); background: #f7f8f7; }
.rgrid svg { width: 26px; height: 26px; color: #8b8f8e; transition: color .2s; }
.rgrid a:hover svg { color: var(--ink); }
@media (max-width: 900px) {
  .c-grid { grid-template-columns: 1fr; gap: 40px; }
  .c-art { display: none; }
  .rgrid { grid-template-columns: repeat(2, 1fr); }
  .rgrid a, .rgrid a:nth-child(5n), .rgrid a:nth-last-child(-n+5) { border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); }
  .rgrid a:nth-child(2n) { border-right: 0; }
}
@media (max-width: 520px) { .f2, .radios { grid-template-columns: 1fr; } }

/* ---------- Desplegable propio (ui.js) ---------- */
.csel { position: relative; }
.csel-native { position: absolute !important; opacity: 0; pointer-events: none; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; left: 0; bottom: 0; }
.csel-btn { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer;
  font-size: .84rem; color: var(--ink); background: var(--white); border: 1px solid #dfe2e0; border-radius: 8px; padding: 10px 11px; transition: border-color .2s, box-shadow .2s; }
.csel-btn:hover { border-color: #c4c8c6; }
.csel-btn:focus-visible, .csel.open .csel-btn { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(16,17,18,.08); }
.csel-btn.ph .csel-val { color: #a3a7a6; }
.csel-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.csel-chev { width: 12px; height: 12px; flex: none; color: #6b6f6e; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.csel.open .csel-chev { transform: rotate(180deg); }
.csel.err .csel-btn { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.12); }
.csel-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 5px; list-style: none; max-height: 264px; overflow-y: auto;
  background: var(--white); border: 1px solid #e3e5e4; border-radius: 10px; box-shadow: 0 18px 40px rgba(16,17,18,.14), 0 2px 6px rgba(16,17,18,.06);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top center; pointer-events: none; transition: opacity .18s, transform .22s cubic-bezier(.2,.8,.2,1); }
.csel.up .csel-list { top: auto; bottom: calc(100% + 6px); transform-origin: bottom center; transform: translateY(6px) scale(.98); }
.csel.open .csel-list { opacity: 1; transform: none; pointer-events: auto; }
.csel-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 7px; font-size: .84rem; color: #2a2d2e; cursor: pointer; }
.csel-list li svg { width: 13px; height: 13px; color: var(--ink); opacity: 0; flex: none; }
.csel-list li[aria-selected="true"] { font-weight: 500; color: var(--ink); }
.csel-list li[aria-selected="true"] svg { opacity: 1; }
.csel-list li.act { background: #f1f2f1; }
.csel-list::-webkit-scrollbar { width: 8px; }
.csel-list::-webkit-scrollbar-thumb { background: #dcdfdd; border-radius: 8px; border: 2px solid #fff; }

/* ---------- Botón flotante de WhatsApp (ui.js) ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.wa.show { opacity: 1; transform: none; }
.wa.show .wa-btn { pointer-events: auto; }
.wa-btn { all: unset; cursor: pointer; position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: var(--ink); border: 1px solid #2c2f30; box-shadow: 0 12px 34px rgba(0,0,0,.35), 0 2px 6px rgba(0,0,0,.2); transition: transform .25s, border-color .25s; }
.wa-btn:hover { border-color: #4a4e4f; }
.wa-btn:hover { transform: scale(1.06); }
.wa-btn svg { width: 28px; height: 28px; }
.wa-dot { position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #ff5a4f; border: 2px solid #fff; transform: scale(0); transition: transform .3s cubic-bezier(.2,.9,.3,1.4); }
.wa.ping .wa-dot { transform: scale(1); }
.wa.ping .wa-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); animation: waRing 1.8s ease-out 3; }
@keyframes waRing { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.wa.open .wa-dot { transform: scale(0); }
.wa-pop { width: min(330px, calc(100vw - 40px)); border-radius: 16px; overflow: hidden; background: #efeae2; box-shadow: 0 24px 60px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(12px) scale(.96); transform-origin: bottom right; pointer-events: none; transition: opacity .25s, transform .3s cubic-bezier(.2,.8,.2,1); }
.wa.open .wa-pop { opacity: 1; transform: none; pointer-events: auto; }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #0b0c0c; color: #fff; }
.wa-av { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.wa-av i { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #0b0c0c; position: relative; box-sizing: border-box; }
.wa-av i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: #0b0c0c; transform: translate(-50%, -50%); }
.wa-head b { display: block; font-size: .9rem; font-weight: 600; }
.wa-head small { font-size: .7rem; color: #a5aaa9; display: flex; align-items: center; gap: 5px; }
.wa-on { width: 7px; height: 7px; border-radius: 50%; background: #3ee07a; }
.wa-x { all: unset; cursor: pointer; margin-left: auto; font-size: 1.3rem; line-height: 1; color: #a5aaa9; padding: 2px 6px; }
.wa-x:hover { color: #fff; }
.wa-body { padding: 14px; background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1.4px); background-size: 10px 10px; }
.wa-msg { background: #fff; color: #1d1f20; font-size: .82rem; line-height: 1.45; padding: 9px 11px; border-radius: 10px; border-top-left-radius: 3px; max-width: 92%; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.wa-chips { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; margin-top: 12px; }
.wa-chip { background: #d9fdd3; color: #0b3d1c; font-size: .8rem; padding: 7px 11px; border-radius: 10px; border-top-right-radius: 3px; transition: background .2s, transform .2s; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.wa-chip:hover { background: #c4f6bb; transform: translateX(-2px); }
.wa-alt { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .8rem; color: #1e8d47; font-weight: 500; }
.wa-alt svg { width: 16px; height: 16px; }
.wa-alt:hover { text-decoration: underline; }
/* que la píldora "Soluciones / Hablemos" no choque con el botón de WhatsApp en celular */
@media (max-width: 560px) { .dock { left: 20px; transform: translate(0, 90px); } .dock.show { transform: translate(0, 0); } }

/* botón "Probar la demo" en las tarjetas de soluciones */
.try { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin: -6px 0 20px; padding: 6px 16px 6px 6px; border-radius: 999px;
  background: var(--ink); color: var(--white); font-size: .82rem; font-weight: 500; overflow: hidden; isolation: isolate;
  box-shadow: 0 8px 22px rgba(16,17,18,.18); transition: transform .25s, box-shadow .25s; }
.try::before { content: ""; width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.35); animation: tryPulse 2.4s ease-out infinite;
  -webkit-mask: none; }
.try::after { content: ""; position: absolute; left: 17px; top: 50%; width: 0; height: 0; transform: translateY(-50%); border-left: 7px solid var(--ink); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.try .arr { transition: transform .25s; }
.try:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(16,17,18,.28); }
.try:hover .arr { transform: translateX(4px); }
.try span.shine { position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); transform: translateX(-100%); animation: tryShine 3.6s ease-in-out infinite; }
@keyframes tryPulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.35); } 70%, 100% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } }
@keyframes tryShine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
/* la maqueta también lleva a la demo */
.cell .mock { transition: box-shadow .3s, transform .3s; }
.cell a.mock-link { display: contents; }
.cell:hover .mock { box-shadow: 0 -10px 40px rgba(28,95,179,.10); }
.fcols { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 820px) { .fcols { grid-template-columns: 1fr 1fr; } }

/* ---------- Plantillas (páginas web y paneles) ---------- */
.menu-link { display: block; padding: 8px 10px; border-radius: 8px; opacity: .8; transition: opacity .2s; }
.menu-link:hover { opacity: 1; }
.pl { position: relative; padding: 110px 0 100px; background: var(--black); overflow: hidden; }
.pl::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.3px); background-size: 6px 6px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); pointer-events: none; }
.pl .wrap { position: relative; }
.pl-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.pl-head p { color: var(--mute-d); margin: 0 0 22px; max-width: 44ch; }
.pl-tabs { display: flex; gap: 4px; padding: 4px; margin: 46px 0 20px; width: max-content; background: #131516; border: 1px solid #1d2021; border-radius: 999px; }
.pl-tabs button { all: unset; cursor: pointer; font-size: .8rem; padding: 7px 14px; border-radius: 999px; color: #a5aaa9; transition: color .2s, background .2s; }
.pl-tabs button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.pl-card { display: flex; flex-direction: column; border: 1px solid #1d2021; background: #111314; border-radius: 14px; overflow: hidden; transition: border-color .3s, transform .3s; }
.pl-card[hidden] { display: none; }
.pl-card:hover { border-color: #3a3e40; transform: translateY(-4px); }
.pl-shot { position: relative; aspect-ratio: 800 / 460; overflow: hidden; background: #0e1011; border-bottom: 1px solid #1d2021; }
.pl-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.pl-card:hover .pl-shot img { transform: scale(1.04); }
.pl-open { position: absolute; right: 12px; top: 12px; font-size: .72rem; font-weight: 500; padding: 6px 11px; border-radius: 999px; background: #fff; color: var(--ink); opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; }
.pl-card:hover .pl-open { opacity: 1; transform: none; }
.pl-meta { display: grid; gap: 3px; padding: 14px 16px 16px; }
.pl-meta small { font-size: .68rem; color: var(--mute-d); }
.pl-meta b { font-size: 1.02rem; font-weight: 500; letter-spacing: -.01em; }
.pl-meta em { font-style: normal; font-size: .8rem; color: #a5aaa9; }
@media (max-width: 820px) { .pl-head { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 900px) { .menu-link { display: none; } }

.tr-ej { display: inline-block; margin-left: 8px; font-size: .74rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid currentColor; white-space: nowrap; transition: color .2s; }
.tr-ej:hover { color: #1c5fb3; }

.pl-shot iframe { position: absolute; left: 0; top: 0; width: 1440px; height: 828px; border: 0; transform-origin: 0 0; pointer-events: none; opacity: 0; transition: opacity .7s; background: transparent; }
.pl-shot iframe.ready { opacity: 1; }
.pl-open { z-index: 2; }

/* sin el recuadro de color al tocar en el celular; las palabras punteadas no se seleccionan */
html { -webkit-tap-highlight-color: transparent; }
.dotword, .dotword * { -webkit-user-select: none; user-select: none; }
.btn:focus:not(:focus-visible) { outline: none; }
