/* ══ Colorway v2 · capa de identidad (oct. 2026) ═══════════════════════════
   Va después de styles.css y portada.css. Redefine las variables del tema de
   Divigram con la paleta oficial de las apps Color y añade lo propio de
   Colorway: hero de marca, programas propios, reels y barra de aplicación en
   el móvil. Todo el movimiento respeta prefers-reduced-motion.
   ═════════════════════════════════════════════════════════════════════════ */

/* ── Tipografías de la marca, autoalojadas (subconjunto latino) ─────────── */
@font-face { font-family: "Bricolage Grotesque"; src: url(fuentes/bricolage-grotesque.woff2) format("woff2");
  font-weight: 500 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(fuentes/instrument-sans.woff2) format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(fuentes/ibm-plex-mono.woff2) format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }

/* ── Paleta ──────────────────────────────────────────────────────────────
   Violeta profundo #24104F, violeta #7A2AAE, naranja #FF7A45, fucsia #E81F8C.
   La firma es el degradado naranja → fucsia. Botones con versión oscura del
   mismo degradado para que el texto blanco pase AA (4,7:1 o más). */
:root {
  --cw-profundo: #24104F;
  --cw-violeta:  #7A2AAE;
  --cw-naranja:  #FF7A45;
  --cw-fucsia:   #E81F8C;
  --cw-firma:    linear-gradient(100deg, #FF7A45 0%, #F2476A 48%, #E81F8C 100%);
  --cw-boton:    linear-gradient(100deg, #D9361F 0%, #C2185B 100%);
  --cw-escenario: #150A31;

  /* Oscuro: violeta, no negro neutro (el de Divigram) */
  --bg:        #0E0A18;
  --bg-2:      #140E24;
  --surface:   #1A1330;
  --surface-2: #231A3E;
  --line:      #33285A;
  --line-soft: #261D44;
  --ink:       #F6F2FB;
  --ink-2:     #CFC4E2;
  --ink-3:     #9D90B8;
  --brand:     #E81F8C;
  --brand-hi:  #FF7A45;
  --brand-deep:#B5157A;
  --brand-tint: rgba(232, 31, 140, .14);
  --marca:     #E81F8C;
  --marca-deep:#B5157A;
  --cw-texto:  linear-gradient(100deg, #FF8A5B 0%, #FF5FA2 100%);
  --shadow:    0 18px 50px -24px rgba(5, 0, 20, .9);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg:#FBF9FE; --bg-2:#F4EFFA; --surface:#FFFFFF; --surface-2:#F7F3FC;
    --line:#E6DDF1; --line-soft:#EFE9F6;
    --ink:#170F2B; --ink-2:#4A3F62; --ink-3:#6F6488;
    --brand:#C2185B; --brand-hi:#C2361A; --brand-deep:#8E1043; --brand-tint:rgba(194,24,91,.08);
    --marca:#C2185B; --marca-deep:#8E1043;
    --cw-texto: linear-gradient(100deg, #C2361A 0%, #C2185B 100%);
    --shadow: 0 18px 50px -28px rgba(36, 16, 79, .35);
  }
}
:root[data-theme="light"] {
  --bg:#FBF9FE; --bg-2:#F4EFFA; --surface:#FFFFFF; --surface-2:#F7F3FC;
  --line:#E6DDF1; --line-soft:#EFE9F6;
  --ink:#170F2B; --ink-2:#4A3F62; --ink-3:#6F6488;
  --brand:#C2185B; --brand-hi:#C2361A; --brand-deep:#8E1043; --brand-tint:rgba(194,24,91,.08);
  --marca:#C2185B; --marca-deep:#8E1043;
  --cw-texto: linear-gradient(100deg, #C2361A 0%, #C2185B 100%);
  --shadow: 0 18px 50px -28px rgba(36, 16, 79, .35);
}

/* Escenario: hero y reels son violeta profundo en los dos temas. Se fijan
   aquí sus variables para que botones, líneas y textos se adapten solos. */
.portada--cw, .reels--cw {
  color-scheme: dark;
  --ink: #F6F2FB; --ink-2: #D4C9EA; --ink-3: #A797C6;
  --line: rgba(255, 255, 255, .14); --line-soft: rgba(255, 255, 255, .08);
  --surface: rgba(255, 255, 255, .06); --surface-2: rgba(255, 255, 255, .1);
  --brand-hi: #FF8A5B;
  --cw-texto: linear-gradient(100deg, #FF8A5B 0%, #FF5FA2 100%);
  color: var(--ink);
}

/* ── Base tipográfica ─────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; }
h2 em, h1 em, .cta2__titulo em, .trabajos h2 em {
  font-style: normal; color: var(--brand-hi);
  background: var(--cw-texto); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; }
::selection { background: color-mix(in srgb, var(--cw-fucsia) 30%, transparent); }

/* ── Botones ───────────────────────────────────────────────────────────── */
.btn--primary, .hdr .btn--primary, .ftr .btn--primary {
  background: var(--cw-boton); background-size: 140% 100%; background-position: 0 0; color: #fff;
  box-shadow: 0 12px 30px -14px rgba(194, 24, 91, .75);
  transition: background-position .5s ease, box-shadow .25s ease, transform .25s ease; }
.btn--primary:hover, .hdr .btn--primary:hover, .ftr .btn--primary:hover {
  background: var(--cw-boton); background-size: 140% 100%; background-position: 100% 0;
  box-shadow: 0 16px 36px -14px rgba(232, 31, 140, .85); transform: translateY(-1px); }
.btn--ghost:hover { border-color: var(--cw-fucsia); color: var(--ink); }

/* ── Cabecera y logo ───────────────────────────────────────────────────── */
.logo__img { height: 34px; width: auto; }
.logo__img--oscuro { display: none; }
:root[data-theme="dark"] .logo__img--claro { display: none; }
:root[data-theme="dark"] .logo__img--oscuro { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .logo__img--claro { display: none; }
  :root:not([data-theme]) .logo__img--oscuro { display: block; }
}
.hdr { background: color-mix(in srgb, var(--bg) 86%, transparent); }
.hdr[data-scrolled="true"] { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(36, 16, 79, .5); }
/* Línea de firma bajo la cabecera: aparece al bajar, como un hilo de color. */
.hdr::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--cw-firma);
  transform: scaleX(var(--avance, 0)); transform-origin: left; opacity: .9; pointer-events: none; }
.nav__list a { position: relative; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--cw-firma); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav__list a:hover::after, .nav__list a[aria-current]::after { transform: scaleX(1); }
@media (max-width: 1080px) { .nav__list a::after { display: none; } }

/* ── Hero de marca ─────────────────────────────────────────────────────── */
.portada--cw { background: var(--cw-escenario); isolation: isolate; padding-block: clamp(2.6rem, 6vw, 5rem) 0; }
.portada__fondo { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.mancha { position: absolute; border-radius: 50%; will-change: transform; }
.mancha--1 { width: 70vw; max-width: 980px; aspect-ratio: 1; right: -18%; top: -38%;
  background: radial-gradient(closest-side, rgba(232, 31, 140, .55), rgba(232, 31, 140, 0)); animation: deriva1 22s ease-in-out infinite alternate; }
.mancha--2 { width: 60vw; max-width: 820px; aspect-ratio: 1; left: -20%; bottom: -45%;
  background: radial-gradient(closest-side, rgba(255, 122, 69, .45), rgba(255, 122, 69, 0)); animation: deriva2 26s ease-in-out infinite alternate; }
.mancha--3 { width: 46vw; max-width: 640px; aspect-ratio: 1; left: 34%; top: 10%;
  background: radial-gradient(closest-side, rgba(122, 42, 174, .7), rgba(122, 42, 174, 0)); animation: deriva3 30s ease-in-out infinite alternate; }
@keyframes deriva1 { to { transform: translate(-12%, 14%) scale(1.08); } }
@keyframes deriva2 { to { transform: translate(16%, -10%) scale(1.12); } }
@keyframes deriva3 { to { transform: translate(-18%, 12%) scale(.92); } }
.portada__rejilla { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); }

.portada--cw .portada__grid { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); }
.portada--cw .portada__sello { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: var(--ink-2); backdrop-filter: blur(6px); }
.portada--cw .portada__pulso { background: var(--cw-naranja); }
.portada--cw .portada__titulo { font-size: clamp(2.6rem, 1.4rem + 4vw, 4.9rem); line-height: .98; letter-spacing: -.04em; font-weight: 800; }
.portada--cw .portada__titulo em { display: inline; white-space: normal; }
.portada--cw .portada__lede { max-width: 34ch; font-size: clamp(1.1rem, .95rem + .55vw, 1.4rem); line-height: 1.45; }
.portada--cw .btn--ghost { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); }
.portada--cw .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* Los seis frentes, como accesos directos */
.portada__frentes { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 0; padding: 0; list-style: none; max-width: 640px; }
.portada__frentes a { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .85rem .5rem .6rem; border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: var(--ink-2); font-size: .88rem; text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease; }
.portada__frentes a:hover { color: #fff; border-color: rgba(255,138,91,.7); background: rgba(255,255,255,.1); transform: translateY(-2px); }
.portada__frente-ico { width: 18px; height: 18px; color: var(--cw-naranja); flex: none; }
[data-js="on"] .portada__frentes a { animation: entra .7s cubic-bezier(.2,.7,.3,1) backwards; animation-delay: calc(var(--i, 0) * 70ms + 650ms); }
.portada__frentes li { list-style: none; }

/* Escena: el isotipo reemplaza al disco de Divigram */
.portada--cw .portada__escena::before { content: none; }
.portada--cw .portada__escena { padding: 4% 3% 9% 0; }
.portada__iso { position: absolute; z-index: -1; right: -16%; top: -24%; width: 50%; aspect-ratio: 392 / 512; }
.portada__iso::before { content: ""; position: absolute; inset: -18%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 122, 69, .35), rgba(232, 31, 140, .12) 55%, transparent 75%);
  animation: respira 6s ease-in-out infinite; }
.portada__iso .iso { position: relative; width: 100%; height: 100%; overflow: visible; animation: flota 10s ease-in-out infinite; }
.iso path { stroke: rgba(255, 255, 255, .85); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
[data-js="on"] .portada__iso .iso path { fill-opacity: 0; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: dibuja 1.8s .35s cubic-bezier(.6,.1,.3,1) forwards, rellena .9s 1.7s ease forwards; }
[data-js="on"] .portada__iso .iso path + path { animation-delay: .75s, 2s; }
@keyframes dibuja { to { stroke-dashoffset: 0; } }
@keyframes rellena { to { fill-opacity: 1; stroke-opacity: 0; } }
@keyframes respira { 0%, 100% { opacity: .65; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
.portada--cw .laptop__pantalla { border-color: #1c1530; background: #0b0717; }
.portada--cw .laptop__base { background: linear-gradient(180deg, #4a4160, #1d1630 70%); }
.portada--cw .laptop__base i { background: #120c22; }
.portada--cw .telefono { background: #0e0920; border-color: #3a3157; }
.portada--cw .portada__dominio { background: rgba(21, 10, 49, .72); border-color: rgba(255,255,255,.16); color: #e9e2f6; }

/* Cifras del pie del hero */
.portada__datos.wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(2rem, 4vw, 3.2rem);
  padding: 1.4rem 0 1.8rem; border-top: 1px solid rgba(255,255,255,.12); list-style: none; }
.portada__datos.wrap li { display: flex; flex-direction: column; gap: .3rem; padding: 0 1.4rem; border-left: 1px solid rgba(255,255,255,.12); font-size: .88rem; color: var(--ink-3); line-height: 1.35; }
.portada__datos.wrap li:first-child { padding-left: 0; border-left: 0; }
.portada__datos.wrap b { font: 800 clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem)/1 var(--f-display); letter-spacing: -.03em;
  background: var(--cw-texto); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--brand-hi); }
@media (max-width: 980px) {
  .portada--cw .portada__grid { grid-template-columns: 1fr; }
  .portada--cw .portada__escena { max-width: 620px; margin-inline: auto; width: 100%; }
  .portada__datos.wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.2rem; }
  .portada__datos.wrap li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 720px) {
  .portada--cw { padding-top: 1.6rem; }
  .portada--cw .portada__titulo { font-size: clamp(2.2rem, 1.2rem + 6.4vw, 3rem); }
  .portada--cw .portada__cta .btn--lg { padding: .9rem 1.4rem; font-size: 1.02rem; }
  /* En el teléfono los frentes son una tira deslizable, no seis renglones */
  .portada__frentes { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: -1.25rem; padding: 0 1.25rem .3rem;
    scrollbar-width: none; max-width: none; }
  .portada__frentes::-webkit-scrollbar { display: none; }
  .portada__frentes li { flex: none; scroll-snap-align: start; }
  .portada__frentes a { white-space: nowrap; }
}

/* ── Prueba social ─────────────────────────────────────────────────────── */
.proof { background: var(--bg-2); }

/* ── Servicios en bento: icono con la firma y borde de color al pasar ──── */
.servicios h2 { max-width: 22ch; }
.bento__ico { background: var(--cw-firma); color: #fff; box-shadow: 0 10px 22px -12px rgba(232, 31, 140, .7); }
.bento__card { background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, var(--line), var(--line)) border-box; border: 1px solid transparent; }
.bento__card:hover, .bento__card:focus-visible { background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, #FF7A45, #E81F8C 60%, #7A2AAE) border-box; }
.bento__card:hover .bento__mas { background: var(--cw-boton); border-color: transparent; }
.bento__medidor .valor { stroke: var(--cw-naranja); }

/* Visual de redes: una publicación patrocinada y sus métricas */
.bento__social { display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 12px; align-items: end; width: 100%; max-width: 280px; }
.bento__post { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); font-size: .7rem; }
.bento__post-cab { display: flex; align-items: center; gap: 6px; padding: 7px 9px; }
.bento__post-cab i { width: 18px; height: 18px; border-radius: 50%; background: var(--cw-firma); }
.bento__post-cab em { margin-left: auto; font-style: normal; color: var(--ink-3); font-size: .62rem; }
.bento__post-img { display: block; aspect-ratio: 4 / 3; background:
  radial-gradient(60% 70% at 30% 35%, rgba(255,122,69,.85), transparent 70%),
  radial-gradient(60% 70% at 75% 70%, rgba(232,31,140,.85), transparent 70%), #2a1458; }
.bento__post-pie { display: block; padding: 7px 9px; color: var(--ink-2); }
.bento__barras { display: flex; align-items: flex-end; gap: 4px; height: 96px; margin: 0; padding: 0; list-style: none; }
.bento__barras li { flex: 1; height: 8%; border-radius: 3px 3px 1px 1px; background: var(--cw-firma);
  transition: height 1s cubic-bezier(.2,.8,.2,1); }
.bento__card[data-shown="true"] .bento__barras li { height: var(--h); }
.bento__barras li:nth-child(2) { transition-delay: .08s; } .bento__barras li:nth-child(3) { transition-delay: .16s; }
.bento__barras li:nth-child(4) { transition-delay: .24s; } .bento__barras li:nth-child(5) { transition-delay: .32s; }

/* Visual de reels: un teléfono con un reel real */
.bento__reel { position: relative; width: min(100%, 150px); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
  border: 5px solid #120b26; box-shadow: 0 26px 50px -26px rgba(36,16,79,.8); transform: rotate(3deg); transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.bento__card:hover .bento__reel { transform: rotate(0deg) translateY(-4px); }
.bento__reel img { width: 100%; height: 100%; object-fit: cover; }
.bento__reel-play { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.9);
  -webkit-mask: radial-gradient(circle, #000 98%, transparent); }
.bento__reel-play::after { content: ""; position: absolute; left: 17px; top: 13px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #C2185B; }
.bento__reel-barra { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.bento__reel-barra i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; animation: avanceReel 6s linear infinite; }
@keyframes avanceReel { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ── Software propio ───────────────────────────────────────────────────── */
.software--cw { position: relative; isolation: isolate; overflow: hidden; }
.software__fondo { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 8% 10%, color-mix(in srgb, var(--cw-violeta) 14%, transparent), transparent 70%),
    radial-gradient(36% 40% at 95% 60%, color-mix(in srgb, var(--cw-fucsia) 12%, transparent), transparent 70%); }
.apps--cw { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.apps--cw .app { padding: 0; gap: 0; overflow: hidden; border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .3s ease, box-shadow .3s ease; }
.apps--cw .app:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--acento) 55%, var(--line));
  box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--acento) 70%, transparent); }
.apps--cw .app__ventana { display: block; height: auto; min-height: 0; margin: 0; border-radius: 0; border: 0; background: #0f0a1f; }
.app__barra { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #1b1333; border-bottom: 1px solid rgba(255,255,255,.06); }
.app__barra i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.app__barra i:nth-child(2) { background: #febc2e; } .app__barra i:nth-child(3) { background: #28c840; }
.app__barra span { margin-left: 10px; font: 500 .72rem/1 var(--f-mono); color: #b9add3; letter-spacing: .02em; }
.app__cuerpo { display: grid; grid-template-columns: 132px minmax(0, 1fr); }
.apps--cw .app__lateral { display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; background: #160f2c; border-right: 1px solid rgba(255,255,255,.06);
  font-size: .72rem; color: #a99dc6; }
.apps--cw .app__marca { display: flex; align-items: center; gap: 7px; margin: 0 4px 10px; font: 700 .8rem/1.1 var(--f-display); color: #fff; }
.apps--cw .app__marca i { width: 16px; height: 16px; flex: none; border-radius: 5px; background: linear-gradient(140deg, var(--acento), #24104F); }
.apps--cw .app__item { display: block; width: 100%; padding: 6px 8px; border: 0; border-radius: 7px; background: none; color: inherit; font: inherit;
  text-align: left; line-height: 1.25; position: relative; transition: background-color .25s ease, color .25s ease; }
.apps--cw button.app__item { cursor: pointer; color: #d6cceb; }
.apps--cw button.app__item:hover { background: rgba(255,255,255,.06); }
.apps--cw .app__item.on { background: color-mix(in srgb, var(--acento) 26%, transparent); color: #fff; font-weight: 600; }
.apps--cw .app__item.on::before { content: ""; position: absolute; left: -8px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--acento); }
.apps--cw .app__pantalla { position: relative; height: auto; aspect-ratio: 1200 / 780; overflow: hidden; background: #0f0a1f; }
.apps--cw .app__pantalla img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transform: none; }
.apps--cw .app:hover .app__pantalla img { transform: none; }
.app__captura { opacity: 0; transition: opacity .7s ease; }
.app__captura[data-activa="true"] { opacity: 1; }
[data-js="on"] .app__captura[data-activa="true"] { animation: acerca 7s ease-out both; }
@keyframes acerca { from { transform: scale(1.04); } to { transform: scale(1); } }
/* Cursor simulado: viaja al módulo que se va a abrir y «hace clic» */
.app__cursor { position: absolute; left: 0; top: 0; width: 18px; height: 22px; z-index: 3; pointer-events: none; opacity: 0;
  transform: translate(var(--cx, 60%), var(--cy, 60%)); transition: transform .9s cubic-bezier(.5,0,.2,1), opacity .3s ease;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 22'%3E%3Cpath d='M1 1v17l4.6-4.3 3 6.8 3-1.3-3-6.6H15z' fill='%23fff' stroke='%23150A31' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.app[data-cursor="true"] .app__cursor { opacity: 1; }
.app__cursor::after { content: ""; position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #fff; opacity: 0; transform: scale(.3); }
.app[data-clic="true"] .app__cursor::after { animation: clic .45s ease-out; }
@keyframes clic { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.6); } }
/* Antes y después (Color Design) */
.app__pantalla--comparar .app__antes { clip-path: inset(0 calc(100% - var(--corte, 62%)) 0 0); }
.app__corte { position: absolute; top: 0; bottom: 0; left: var(--corte, 62%); width: 2px; margin-left: -1px; background: #fff; z-index: 2;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 0 24px rgba(255,122,69,.8); pointer-events: none; }
.app__corte i { position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.app__corte i::before, .app__corte i::after { content: ""; position: absolute; top: 10px; border-style: solid; border-width: 5px; }
.app__corte i::before { left: 4px; border-color: transparent #C2185B transparent transparent; }
.app__corte i::after { right: 4px; border-color: transparent transparent transparent #C2185B; }
.app__etiqueta { position: absolute; top: 10px; z-index: 2; padding: 4px 9px; border-radius: 999px; font: 600 .66rem/1.2 var(--f-mono);
  letter-spacing: .04em; background: rgba(15,10,31,.75); color: #fff; backdrop-filter: blur(6px); pointer-events: none; }
.app__etiqueta--antes { left: 10px; } .app__etiqueta--despues { right: 10px; background: rgba(194,24,91,.85); }
.app__rango { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.app__rango:focus-visible { opacity: .01; }
.app__pantalla--comparar:has(.app__rango:focus-visible) { outline: 2px solid var(--cw-naranja); outline-offset: -2px; }
.app__ficha { display: flex; flex-direction: column; gap: .45rem; padding: 1.2rem 1.4rem 1.4rem; }
.apps--cw .app__rotulo { color: color-mix(in srgb, var(--acento) 70%, var(--ink)); }
.apps--cw .app__titulo { margin: 0; }
.apps--cw .app__texto { margin: 0; font-size: .97rem; }
.apps--cw .app__pie { justify-content: flex-start; gap: .4rem; margin-top: .6rem; padding-top: .9rem; }
.app__chip { display: inline-flex; align-items: center; padding: .25rem .65rem; border-radius: 999px; font: 500 .74rem/1.3 var(--f-mono);
  border: 1px solid var(--line); color: var(--ink-2); }
.app__chip--ensayo { margin-left: auto; border-style: dashed; color: var(--ink-3); }
.software__cierre { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.2rem; margin-top: clamp(1.6rem, 3vw, 2.4rem);
  padding: clamp(1.2rem, 2.4vw, 1.8rem); border-radius: 22px;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--cw-firma) border-box; border: 1.5px solid transparent; }
.software__cierre p { flex: 1 1 420px; margin: 0; color: var(--ink-2); max-width: 70ch; }
.software__cierre p b { color: var(--ink); }
@media (max-width: 1000px) { .apps--cw { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; } }
@media (max-width: 720px) {
  /* Tarjetas deslizables, una por pantalla con la siguiente asomando */
  .apps--cw { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; gap: .9rem; max-width: none;
    overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -1.25rem; padding: .3rem 1.25rem 1rem; scrollbar-width: none; }
  .apps--cw::-webkit-scrollbar { display: none; }
  .apps--cw .app { scroll-snap-align: center; }
  .app__cuerpo { grid-template-columns: 1fr; }
  .apps--cw .app__lateral { flex-direction: row; gap: 4px; overflow-x: auto; padding: 8px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); scrollbar-width: none; }
  .apps--cw .app__lateral::-webkit-scrollbar { display: none; }
  .apps--cw .app__marca { display: none; }
  .apps--cw .app__item { flex: none; width: auto; white-space: nowrap; }
  .apps--cw .app__item.on::before { display: none; }
  .apps--cw span.app__item { display: none; }
  .app__chip--ensayo { margin-left: 0; }
  .software__cierre .btn { flex: 1 1 auto; }
}

/* ── Reels ─────────────────────────────────────────────────────────────── */
.reels--cw { position: relative; isolation: isolate; overflow: hidden; background: var(--cw-escenario); }
.reels__fondo { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 60% at 0% 0%, rgba(255,122,69,.28), transparent 70%),
    radial-gradient(40% 55% at 100% 100%, rgba(232,31,140,.32), transparent 70%),
    radial-gradient(50% 50% at 60% 30%, rgba(122,42,174,.35), transparent 70%); }
.reels__cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.reels__cab .lede { margin-bottom: 0; }
.reels__flechas { display: flex; gap: .5rem; flex: none; }
.reels__flecha { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.05); color: #fff; transition: background-color .2s ease, border-color .2s ease; }
.reels__flecha:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.reels__flecha:disabled { opacity: .35; cursor: default; }
.reels__flecha-ico { width: 20px; height: 20px; }
.reels__riel { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(190px, 16vw, 228px); gap: clamp(.9rem, 1.6vw, 1.3rem);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: 1rem 2px 1.2rem; scrollbar-width: none; outline: none; }
.reels__riel::-webkit-scrollbar { display: none; }
.reels__riel:focus-visible { outline: 2px solid var(--cw-naranja); outline-offset: 4px; border-radius: 12px; }
.reel { margin: 0; scroll-snap-align: start; }
.reel__marco { position: relative; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #0a0616;
  border: 6px solid #0b0718; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px -30px rgba(0,0,0,.9);
  transition: transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .45s ease; }
.reel:hover .reel__marco, .reel[data-reproduciendo="true"] .reel__marco { transform: translateY(-6px);
  box-shadow: 0 0 0 1.5px rgba(255,138,91,.8), 0 40px 70px -30px rgba(232,31,140,.55); }
.reel__video { display: block; width: 100%; height: 100%; object-fit: cover; background: #0a0616; }
.reel__play { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  border: 0; color: #fff; background: rgba(21,10,49,.45); backdrop-filter: blur(6px); box-shadow: 0 0 0 1.5px rgba(255,255,255,.6);
  transition: transform .2s ease, opacity .25s ease, background-color .2s ease; }
.reel__play svg { width: 26px; height: 26px; margin-left: 3px; }
.reel__play:hover { transform: scale(1.08); background: rgba(194,24,91,.75); }
.reel[data-con-sonido="true"] .reel__play { opacity: 0; pointer-events: none; }
.reel__sonido { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  border: 0; cursor: pointer; color: #fff; background: rgba(10,6,22,.6); backdrop-filter: blur(6px); }
.reel__sonido svg { width: 17px; height: 17px; }
.reel__voz { display: none; }
.reel__sonido[aria-pressed="true"] .reel__voz { display: block; }
.reel__sonido[aria-pressed="true"] .reel__mudo { display: none; }
.reel__barra { position: absolute; left: 12px; right: 12px; bottom: 10px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; opacity: 0; transition: opacity .3s ease; }
.reel__barra i { display: block; height: 100%; width: 100%; background: var(--cw-firma); transform: scaleX(var(--p, 0)); transform-origin: left; }
.reel[data-reproduciendo="true"] .reel__barra { opacity: 1; }
.reel figcaption { display: flex; flex-direction: column; gap: .1rem; padding: .8rem .2rem 0; font-size: .86rem; color: var(--ink-3); }
.reel figcaption b { color: var(--ink); font: 700 1rem/1.2 var(--f-display); }
.reels__puntos { display: none; }
.reels__cierre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-top: 1.2rem;
  padding: 1.1rem 1.2rem 1.1rem 1.5rem; border-radius: 20px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); backdrop-filter: blur(8px); }
.reels__cierre p { margin: 0; color: var(--ink-2); max-width: 64ch; }
.reels__precio { display: inline-flex; align-items: baseline; gap: .4rem; margin-right: .6rem; padding: .25rem .7rem; border-radius: 999px;
  background: rgba(255,255,255,.08); color: #fff; font-weight: 600; }
.reels__precio b { background: var(--cw-texto); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@media (max-width: 720px) {
  .reels__cab { display: block; }
  .reels__flechas { display: none; }
  /* Carrusel tipo reels: un video al centro y los vecinos asomando */
  .reels__riel { grid-auto-columns: 62%; margin-inline: -1.25rem; padding: .8rem 19% 1rem; scroll-padding-inline: 19%; gap: .8rem; }
  .reel { scroll-snap-align: center; transition: transform .35s ease, opacity .35s ease; }
  [data-js="on"] .reels__riel .reel:not([data-centro="true"]) { transform: scale(.9); opacity: .55; }
  .reels__puntos { display: flex; justify-content: center; gap: 6px; margin: .2rem 0 0; }
  .reels__puntos i { width: 6px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.3); transition: width .3s ease, background-color .3s ease; }
  .reels__puntos i.on { width: 20px; background: var(--cw-naranja); }
  .reels__cierre { padding: 1rem; }
  .reels__cierre .btn { width: 100%; }
}

/* Página /reels/ */
.reels-hero { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.reels-hero .portada__titulo b { font-weight: inherit; }
.reels-hero__chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.reels-hero__chips li { padding: .35rem .8rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05);
  font: 500 .8rem/1.3 var(--f-mono); color: var(--ink-2); }
.reels-hero__escena { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 0;
  max-width: 560px; margin-inline: auto; padding: 1rem 0; }
.reel--hero { margin: 0; }
.reel--hero figcaption { display: none; }
.reel--pos0 { transform: translateX(14%) rotate(-7deg) scale(.86); z-index: 1; }
.reel--pos1 { z-index: 2; }
.reel--pos2 { transform: translateX(-14%) rotate(7deg) scale(.86); z-index: 1; }
.reel--hero .reel__marco { border-radius: 30px; }
.reel--hero .reel__play { width: 52px; height: 52px; }
.pasos-reels__lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.pasos-reels__lista li { padding: 1.6rem; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.pasos-reels__lista h3 { margin: .9rem 0 .4rem; }
.pasos-reels__lista p { margin: 0; color: var(--ink-2); }
.pasos-reels__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--cw-firma); color: #fff;
  font: 800 1.4rem/1 var(--f-display); box-shadow: 0 12px 24px -12px rgba(232,31,140,.7); }
.planes-reels__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; align-items: stretch; }
.plan-reel { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.8rem 1.6rem; border-radius: 24px;
  border: 1px solid var(--line); background: var(--surface); }
.plan-reel h3 { margin: 0; font-size: 1.5rem; }
.plan-reel__para { margin: 0; color: var(--ink-2); font-size: .95rem; }
.plan-reel__precio { display: flex; align-items: baseline; gap: .5rem; margin: .6rem 0 0; }
.plan-reel__precio b { font: 800 clamp(2rem, 1.6rem + 1.2vw, 2.6rem)/1 var(--f-display); letter-spacing: -.03em; }
.plan-reel__precio span, .plan-reel__cantidad { color: var(--ink-3); font-size: .92rem; margin: 0; }
.plan-reel__cantidad b { color: var(--ink); }
.plan-reel ul { display: grid; gap: .5rem; margin: .8rem 0 1.4rem; padding: 0; list-style: none; font-size: .93rem; color: var(--ink-2); }
.plan-reel li { display: flex; gap: .5rem; align-items: flex-start; line-height: 1.4; }
.plan-reel li svg { width: 18px; height: 18px; flex: none; margin-top: 1px; padding: 3px; border-radius: 50%; color: #fff; background: var(--cw-firma); }
.plan-reel .btn { margin-top: auto; }
.plan-reel--destacado { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--cw-firma) border-box; border: 2px solid transparent;
  box-shadow: 0 30px 60px -36px rgba(232,31,140,.6); }
.plan-reel__sello { position: absolute; top: -13px; left: 1.6rem; padding: .3rem .8rem; border-radius: 999px; background: var(--cw-boton); color: #fff;
  font: 600 .74rem/1.2 var(--f-mono); letter-spacing: .04em; }
@media (max-width: 900px) {
  .pasos-reels__lista, .planes-reels__grid { grid-template-columns: 1fr; }
  .planes-reels__grid { max-width: 520px; margin-inline: auto; gap: 1.6rem; }
  .reels-hero__escena { max-width: 420px; }
}

/* ── Contacto de cierre: la firma en lugar del disco rosa ──────────────── */
.cta2::before { background: var(--cw-firma); }
.cta2::after { background: radial-gradient(circle at 30% 30%, #FF7A45, #E81F8C 55%, #7A2AAE 100%); }

/* ── Barra inferior del móvil: navegación de aplicación ────────────────── */
@media (max-width: 720px) {
  .tabbar.tabbar--cw { justify-content: space-between; align-items: flex-end; padding: .35rem .5rem calc(.35rem + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 94%, transparent); }
  .tabbar--cw a, .tabbar--cw button { flex: 1 1 0; width: auto; height: 52px; flex-direction: column; gap: 3px; border-radius: 12px; color: var(--ink-3); }
  .tabbar--cw .tabbar__ico { width: 22px; height: 22px; }
  .tabbar__txt { font: 600 .66rem/1 var(--f-body); letter-spacing: .01em; }
  .tabbar--cw a[aria-current="true"] { color: var(--ink); }
  .tabbar--cw a[aria-current="true"] .tabbar__ico { color: var(--brand); }
  .tabbar--cw a.tabbar__wa { color: var(--ink-2); height: 60px; justify-content: flex-end; }
  .tabbar__wa-disco { display: grid; place-items: center; width: 50px; height: 50px; margin-top: -18px; border-radius: 50%;
    background: #25D366; color: #fff; box-shadow: 0 10px 22px -8px rgba(37,211,102,.7), 0 0 0 4px var(--bg); }
  .tabbar__wa-disco .tabbar__ico { width: 26px; height: 26px; }
  .tabbar--cw a.tabbar__cta { background: none; color: var(--ink-3); }
  .tabbar--cw a.tabbar__cta .tabbar__ico { color: var(--brand); }
  body { padding-bottom: 70px; }
  .flotantes { display: none; }
  /* Cabecera compacta: logo, moneda, tema y menú en una sola línea de 60 px */
  .hdr__in { padding-block: .6rem; }
  .logo__img { height: 28px; }
  .section { padding-block: clamp(2.6rem, 8vw, 3.4rem); }
}

/* WhatsApp directo cuando no hay asistente (escritorio) */
.flotantes--directo .flotantes__burbuja--wa { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7); transition: transform .2s ease; }
.flotantes--directo .flotantes__burbuja--wa:hover { transform: scale(1.06); }
.flotantes--directo .flotantes__burbuja--wa svg { width: 28px; height: 28px; }

/* ── Movimiento reducido: todo quieto y visible ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .mancha, .portada__iso::before, .portada__iso .iso, .bento__reel-barra i { animation: none !important; }
  [data-js="on"] .portada__iso .iso path { animation: none !important; fill-opacity: 1; stroke-opacity: 0; stroke-dashoffset: 0; }
  [data-js="on"] .app__captura[data-activa="true"] { animation: none; }
  .app__cursor { display: none; }
  [data-js="on"] .reels__riel .reel:not([data-centro="true"]) { transform: none; opacity: 1; }
}
.app__cuerpo { position: relative; }

/* En escritorio ancho entran los seis reels: sin flechas ni recorte. */
@media (min-width: 1100px) {
  .reels__riel { grid-auto-columns: calc((100% - 5 * clamp(.9rem, 1.6vw, 1.3rem)) / 6); overflow: visible; }
  .reels__flechas { display: none; }
}

/* Móvil: los nueve servicios son tarjetas deslizables, no nueve pantallas de
   alto. Se ve una entera y asoma la siguiente; el orden de peso se mantiene. */
@media (max-width: 720px) {
  .bento { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; gap: .8rem;
    overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -1.25rem; padding: .3rem 1.25rem 1rem; scrollbar-width: none; }
  .bento::-webkit-scrollbar { display: none; }
  .bento__card, .bento__card--xl, .bento__card--l, .bento__card--s, .bento__card--s:last-child {
    grid-column: auto; min-width: 0; scroll-snap-align: center; grid-template-rows: auto 1fr auto; align-content: start; }
  .bento__visual { min-height: 170px; max-height: 210px; overflow: hidden; }
  .bento__laptop { max-width: 260px; }
  .bento__movil { width: 120px; }
  .bento__reel { width: 110px; }
  .bento__app { font-size: .62rem; }
  .bento__desc { font-size: .92rem; }
}
/* Indicador «desliza» bajo los carruseles del móvil */
.desliza { display: none; }
@media (max-width: 720px) {
  .desliza { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: .2rem 0 0; font: 500 .75rem/1 var(--f-mono); color: var(--ink-3); }
  .desliza::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--cw-firma); animation: desliza 1.8s ease-in-out infinite; }
  @keyframes desliza { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(6px); } }
}

/* Móvil: el texto del hero nunca ensancha la rejilla */
.portada--cw .portada__grid > * { min-width: 0; }
@media (max-width: 720px) {
  /* Planes y pasos: deslizables, una tarjeta por pantalla (secciones cortas) */
  .dvg-comp__cartas, .pasos4 { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; gap: .8rem;
    overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -1.25rem; padding: 1rem 1.25rem; scrollbar-width: none; }
  .dvg-comp__cartas::-webkit-scrollbar, .pasos4::-webkit-scrollbar { display: none; }
  .dvg-comp__carta, .paso4 { scroll-snap-align: center; min-width: 0; }
  .pasos4::before, .pasos4::after { display: none; }
}
@media (max-width: 720px) {
  .portada--cw .portada__cta { flex-wrap: nowrap; gap: .6rem; }
  .portada--cw .portada__cta .btn--lg { flex: 1 1 auto; padding: .85rem .9rem; font-size: .98rem; }
  .portada--cw .portada__cta .btn--lg svg { display: none; }
}
.reel__sonido[hidden] { display: none; }
.reels-hero .portada__titulo { font-size: clamp(2.3rem, 1.2rem + 3vw, 3.9rem); }
.reels-hero .portada__grid { grid-template-columns: minmax(0, 52fr) minmax(0, 48fr); }
@media (max-width: 980px) { .reels-hero .portada__grid { grid-template-columns: 1fr; } }
.tourify-landing .features-content > * { min-width: 0; }
/* /turismo/ usa la clase .hero, igual que el tema base: heredaba sus dos
   resplandores (inset -25 %) y el documento quedaba 99 px más ancho que el
   teléfono (también pasa hoy en producción). */
.tourify-landing .hero::before, .tourify-landing .hero::after { content: none; }
