/* DSolutions — websites.css · página «Páginas web» (websites.html), 2026-09-25.
   Parte clara con los tokens del sitio + vitrina oscura (.wx) con los 14 efectos en vivo y los comerciales.
   Todo lleva prefijo wx- / wxd- para no chocar con styles.css (.tag, .title, .cap y .num ya existen ahí). */

.wx-acc { font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; letter-spacing: -0.005em; font-size: 1.1em; color: var(--signal-ink); }
.wx-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- portada: la aurora detrás del titular, texto centrado a todo lo ancho y visible entero en pantalla
   (David 09-26: «me gustó la idea del efecto, pero el texto debería verse completo y sin espacio vacío») ---------- */
.wx-hero { position: relative; isolation: isolate; overflow: hidden; max-width: none; margin: clamp(4px, 1.5vw, 20px) 0 56px; padding: clamp(40px, 5vw, 72px) clamp(20px, 5vw, 72px); min-height: min(540px, calc(100svh - 150px)); display: grid; place-items: center; text-align: center; border-radius: 28px; background: #0B1422; }
.wx-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -2; }
.wx-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 62% 58% at 50% 56%, rgba(8, 14, 26, 0.7), rgba(8, 14, 26, 0.28) 72%, rgba(8, 14, 26, 0.05) 100%); }
.wx-hero-in { width: 100%; max-width: 960px; margin: 0 auto; }
.wx-hero .eyebrow { color: #7FB0E6; }
.wx-hero .page-h1 { color: #F1ECE0; font-size: clamp(36px, 6vw, 76px); text-shadow: 0 2px 28px rgba(4, 9, 18, 0.6); text-wrap: balance; }
.wx-hero .wx-acc { color: #F3CF86; }
.wx-hero .page-lede { color: rgba(241, 236, 224, 0.84); max-width: 720px; margin: 0 auto; text-shadow: 0 1px 14px rgba(4, 9, 18, 0.7); }
.wx-hero .wx-hero-cta { justify-content: center; }
.wx-hero .btn-primary { background: #E3B45C; color: #0B1422; box-shadow: 0 8px 28px rgba(227, 180, 92, 0.28); }
.wx-hero .btn-primary:hover { background: #F0C878; color: #0B1422; }
.wx-hero .btn-ghost { background: rgba(241, 236, 224, 0.06); color: #F1ECE0; border-color: rgba(241, 236, 224, 0.35); box-shadow: none; }
.wx-hero .btn-ghost:hover { background: rgba(241, 236, 224, 0.14); border-color: #F1ECE0; color: #F1ECE0; }
.wx-hero :focus-visible { outline-color: #E3B45C; }
@media (max-width: 719px) { .wx-hero { border-radius: 22px; padding-top: 120px; place-items: end center; } }

/* ---------- dos caminos ---------- */
.wx-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
@media (max-width: 760px) { .wx-ways { grid-template-columns: 1fr; } }
.wx-way { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; background: var(--paper); box-shadow: var(--shadow-card); display: grid; gap: 10px; align-content: start; }
.wx-way h3 { margin: 0; font-size: 24px; letter-spacing: -0.01em; }
.wx-way p { margin: 0; color: var(--muted); }
.wx-way .wx-way-tag { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal-ink); }
.wx-way-link { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; margin-top: 6px; justify-self: start; }
.wx-way--dark { background: #0F1B2D; border-color: #0F1B2D; }
.wx-way--dark h3, .wx-way--dark .wx-way-link { color: #F1ECE0; }
.wx-way--dark p { color: rgba(241, 236, 224, 0.72); }
.wx-way--dark .wx-way-tag { color: #E3B45C; }

/* ---------- sitios que hicimos (rehecha 2026-09-26, David: «la sección de los websites, mejórala») ----------
   Cada sitio: marco de navegador con su dirección real + celular, rubro y ciudad, nombre y botón «Verlo en vivo».
   N&C Beauty va destacado en horizontal; los otros 4 en fila (4 columnas en pantalla ancha, 2 en mediana,
   carrusel deslizable en celular para no alargar la página). */
.wx-sites-lede { margin: 0 0 32px; }
.wx-sites-grid { display: grid; grid-template-columns: 1fr; gap: 40px 28px; }
.wx-site { margin: 0; min-width: 0; display: grid; gap: 22px; align-content: start; }
.wx-site-media { position: relative; display: block; padding: 0 7% 9% 0; text-decoration: none; }
.wx-site-frame { display: block; border-radius: 12px; overflow: hidden; background: #F6F2EA; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(15, 27, 45, 0.12); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s; }
.wx-site-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: #ECE6DA; border-bottom: 1px solid var(--line); }
.wx-site-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(15, 27, 45, 0.22); flex: none; }
.wx-site-url { margin-left: 8px; min-width: 0; flex: 0 1 auto; max-width: calc(100% - 44px); font: 500 11px/1 'JetBrains Mono', ui-monospace, Menlo, monospace; color: #3B4556; background: #F8F5EF; border-radius: 999px; padding: 5px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wx-site-d { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; max-width: none; }
.wx-site-m { position: absolute; right: 0; bottom: 0; width: 24%; height: auto; aspect-ratio: 300 / 585; object-fit: cover; object-position: top; max-width: none; border-radius: 12px; border: 4px solid #fff; box-shadow: 0 14px 30px rgba(15, 27, 45, 0.24); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.wx-site-media:hover .wx-site-frame { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(15, 27, 45, 0.18); }
.wx-site-media:hover .wx-site-m { transform: translateY(-8px); }
.wx-site figcaption { display: grid; gap: 8px; align-content: start; justify-items: start; }
.wx-site-tag { font: 500 11px/1.3 'JetBrains Mono', ui-monospace, Menlo, monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal-ink); }
.wx-site-name { margin: 0; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 700; color: var(--ink); }
.wx-site figcaption p { margin: 0; color: var(--carbon); font-size: 15px; line-height: 1.5; max-width: 52ch; }
.wx-site-go { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); transition: border-color 0.2s, background 0.2s, transform 0.2s; }
.wx-site-go:hover { border-color: var(--ink); background: #F7F8FA; transform: translateY(-1px); }
.wx-site--feature { margin-bottom: 48px; }
@media (min-width: 640px) { .wx-sites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .wx-site--feature { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 44px; align-items: center; }
  .wx-site--feature .wx-site-name { font-size: 28px; }
  .wx-site--feature figcaption p { font-size: 16px; }
}
@media (min-width: 1140px) {
  .wx-sites-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 24px; }
  .wx-site:not(.wx-site--feature) .wx-site-name { font-size: 19px; }
  .wx-site:not(.wx-site--feature) figcaption p { font-size: 14px; }
}
/* celular: los 4 sitios chicos en un carrusel que se desliza de lado */
@media (max-width: 639px) {
  .wx-sites-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; margin: 0 -20px; padding: 4px 20px 12px; scroll-padding: 0 20px; scrollbar-width: none; }
  .wx-sites-grid::-webkit-scrollbar { display: none; }
  .wx-site { scroll-snap-align: start; }
}

/* ---------- vitrina oscura ---------- */
.wx {
  --wx-bg: #0B1422; --wx-surface: #0F1B2D; --wx-line: rgba(241, 236, 224, 0.12); --wx-line-2: rgba(241, 236, 224, 0.22);
  --wx-text: #F1ECE0; --wx-muted: rgba(241, 236, 224, 0.68); --wx-blue: #7FB0E6; --wx-blue-2: #4A8AD8; --wx-gold: #E3B45C;
  --wx-light: #86CFA0; --wx-mid: #E9B25D; --wx-heavy: #E8826B;
  background: var(--wx-bg); color: var(--wx-text); padding-block: clamp(56px, 8vw, 104px); margin-block: clamp(24px, 4vw, 48px);
}
.wx .wx-acc { color: var(--wx-blue); }
.wx a { color: var(--wx-blue); }
.wx ::selection { background: rgba(127, 176, 230, 0.45); color: #fff; } /* la del sitio (#0F1B2D) se veía como un bloque negro en la parte oscura */
.wx-stage { -webkit-user-select: none; user-select: none; } /* arrastrar dentro de una demo no selecciona texto */
.wx :focus-visible { outline: 2px solid var(--wx-gold); outline-offset: 3px; border-radius: 6px; }
.wx-mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; margin: 0; }
.wx-blue { color: var(--wx-blue); }
.wx-gold { color: var(--wx-gold); }
.wx-intro { display: grid; gap: 12px; max-width: 72ch; }
.wx-intro h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 600; color: var(--wx-text); text-wrap: balance; }
.wx-intro p { margin: 0; color: var(--wx-muted); }

/* índice de niveles: pegado bajo el menú mientras se recorre el catálogo */
.wx-jump { position: sticky; top: var(--wx-navh, 64px); z-index: 30; display: flex; gap: 8px; margin: 28px -4px 0; padding: 10px 4px 14px; overflow-x: auto; scrollbar-width: none; background: linear-gradient(180deg, rgba(11, 20, 34, 0.97) 72%, rgba(11, 20, 34, 0)); }
.wx-jump::-webkit-scrollbar { display: none; }
.wx .wx-jump a { flex: none; font: 500 12px/1 'JetBrains Mono', ui-monospace, Menlo, monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wx-text); text-decoration: none; padding: 10px 14px; border: 1px solid var(--wx-line-2); border-radius: 999px; background: rgba(15, 27, 45, 0.92); transition: background 0.25s, color 0.25s, border-color 0.25s; }
.wx .wx-jump a:hover { border-color: var(--wx-gold); }
.wx .wx-jump a.is-on { background: var(--wx-gold); border-color: var(--wx-gold); color: var(--wx-bg); }
.wx-level, .wx-ads { scroll-margin-top: calc(var(--wx-navh, 64px) + 64px); }
.wx-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.wx-legend > span { display: inline-flex; align-items: center; gap: 8px; }

.wx-level { padding-top: clamp(44px, 6vw, 80px); }
.wx-level-head { display: grid; gap: 8px; margin-bottom: 24px; max-width: 70ch; }
.wx-level-head h3 { margin: 0; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; color: var(--wx-text); text-wrap: balance; }
.wx-level-head p { margin: 0; color: var(--wx-muted); }
.wx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 860px) { .wx-grid { grid-template-columns: 1fr; } }
@media (min-width: 861px) {
  .wx-grid > .wx-fx:last-child:nth-child(odd) { grid-column: 1 / -1; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto; }
  .wx-grid > .wx-fx:last-child:nth-child(odd) .wx-stage { border-bottom: 0; border-right: 1px solid var(--wx-line); }
  .wx-grid > .wx-fx:last-child:nth-child(odd) .wx-body { align-content: center; padding: 28px 30px; }
}

.wx-fx { background: var(--wx-surface); border: 1px solid var(--wx-line); border-radius: 20px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.wx-stage { position: relative; aspect-ratio: 16 / 10; max-width: 100%; background: #0A1220; overflow: hidden; border-bottom: 1px solid var(--wx-line); isolation: isolate; }
.wx-body { padding: 20px 22px 22px; display: grid; gap: 12px; align-content: start; }
.wx-id { color: var(--wx-muted); }
.wx-id b { color: var(--wx-text); font-weight: 500; }
.wx-name { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; color: var(--wx-text); }
.wx-promise { margin: 0; color: var(--wx-muted); }
.wx-meta { margin: 0; display: grid; gap: 8px; }
.wx-meta div { display: grid; grid-template-columns: 112px 1fr; gap: 10px; }
.wx-meta dt { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wx-muted); padding-top: 3px; }
.wx-meta dd { margin: 0; font-size: 15px; color: var(--wx-text); }
@media (max-width: 420px) { .wx-meta div { grid-template-columns: 1fr; gap: 2px; } }
.wx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.wx .wx-want { justify-self: start; margin-top: 2px; font-weight: 600; font-size: 15px; color: var(--wx-gold); text-decoration: none; border-bottom: 1px solid rgba(227, 180, 92, 0.45); padding-bottom: 2px; }
.wx .wx-want:hover { color: #F3CF86; border-bottom-color: #F3CF86; }
.wx-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 6px 11px; border: 1px solid var(--wx-line-2); border-radius: 999px; color: var(--wx-text); }
.wx-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wx-light); flex: none; display: inline-block; }
.wx-dot--mid { background: var(--wx-mid); }
.wx-dot--heavy { background: var(--wx-heavy); }
.wx-hint { position: absolute; left: 12px; bottom: 12px; z-index: 5; font: 500 11px/1 'JetBrains Mono', ui-monospace, Menlo, monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wx-text); background: rgba(11, 20, 34, 0.72); border: 1px solid var(--wx-line-2); padding: 7px 10px; border-radius: 999px; pointer-events: none; transition: opacity 0.4s; }
.wx-replay { position: absolute; right: 12px; bottom: 12px; z-index: 5; font: 500 12px/1 inherit; font-family: inherit; color: var(--wx-text); background: rgba(11, 20, 34, 0.72); border: 1px solid var(--wx-line-2); padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.wx-replay:hover { border-color: var(--wx-blue); }
.wx-exnote { position: absolute; right: 12px; top: 12px; z-index: 5; font-size: 10px; color: var(--wx-muted); }

/* 01 · palabras */
.wxd-words { position: absolute; inset: 0; display: grid; align-content: center; padding: 8% 9%; background: radial-gradient(ellipse at 80% 20%, rgba(74, 138, 216, 0.25), transparent 60%), #0A1220; }
.wxd-words p { margin: 0 0 10px; color: var(--wx-blue); }
.wxd-words h4 { margin: 0; font-size: clamp(26px, 3.3vw, 40px); line-height: 1.06; letter-spacing: -0.02em; font-weight: 600; color: var(--wx-text); }
.wxd-words .wxd-w { display: inline-block; }
.wxd-words.is-play .wxd-w { animation: wx-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i) * 80ms); }
@keyframes wx-rise { from { opacity: 0.01; transform: translateY(0.6em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* 02 · números */
.wxd-count { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; padding: 6% 5%; gap: 10px; background: linear-gradient(160deg, #0F1B2D, #0A1220); }
.wxd-count div { display: grid; gap: 6px; text-align: center; }
.wxd-count b { font: 500 clamp(26px, 3.4vw, 44px)/1 'JetBrains Mono', ui-monospace, Menlo, monospace; color: var(--wx-gold); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.wxd-count span { font-size: 13px; color: var(--wx-muted); }

/* 03 · antes y después */
.wxd-ba { position: absolute; inset: 0; --x: 50%; }
.wxd-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.wxd-ba .wxd-after { clip-path: inset(0 0 0 var(--x)); }
.wxd-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; background: var(--wx-text); transform: translateX(-1px); pointer-events: none; }
.wxd-knob { position: absolute; top: 50%; left: var(--x); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--wx-text); color: var(--wx-bg); display: grid; place-items: center; font-weight: 600; pointer-events: none; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4); }
.wxd-ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.wxd-tag { position: absolute; top: 12px; z-index: 2; font: 500 11px/1 'JetBrains Mono', ui-monospace, Menlo, monospace; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(11, 20, 34, 0.75); color: var(--wx-text); padding: 7px 10px; border-radius: 999px; }
.wxd-tag--l { left: 12px; }
.wxd-tag--r { right: 12px; color: var(--wx-gold); }

/* 04 · botón magnético */
.wxd-mag { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, rgba(227, 180, 92, 0.16), transparent 55%), #0A1220; }
.wxd-mag button { position: relative; overflow: hidden; font: 600 18px/1 inherit; font-family: inherit; color: var(--wx-bg); background: var(--wx-gold); border: 0; border-radius: 999px; padding: 20px 30px; cursor: pointer; transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1); box-shadow: 0 10px 40px rgba(227, 180, 92, 0.25); }
.wxd-mag button::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent); transform: skewX(-18deg); }
.wxd-mag.is-shine button::after { animation: wx-shine 1.1s ease; }
@keyframes wx-shine { to { left: 130%; } }

/* 05 · cinta infinita */
.wxd-marq { position: absolute; inset: 0; display: grid; align-content: center; gap: 16px; background: #0A1220; }
.wxd-row { display: flex; width: max-content; gap: 12px; padding-right: 12px; }
.wxd-marq.is-run .wxd-row { animation: wx-marq 26s linear infinite; }
.wxd-marq.is-run .wxd-row--rev { animation-direction: reverse; animation-duration: 32s; }
.wxd-marq:hover .wxd-row { animation-play-state: paused; }
.wxd-row span { white-space: nowrap; padding: 12px 18px; border: 1px solid var(--wx-line-2); border-radius: 999px; font-weight: 500; }
.wxd-row--rev span { border-color: rgba(227, 180, 92, 0.45); color: var(--wx-gold); }
@keyframes wx-marq { to { transform: translateX(-50%); } }

/* 06 · capas (paisaje al atardecer: estrellas, sol con halo, 3 cordones de cerros, ciudad con ventanas encendidas, primer plano) */
.wxd-par { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(180deg, #0C1830 0%, #1A2E57 42%, #3B4E7A 62%, #B9825A 84%, #D59A5E 100%); }
.wxd-par::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7%; background: #0A1220; z-index: 0; }
.wxd-par > * { will-change: transform; }
.wxd-par svg { position: absolute; left: -8%; width: 116%; max-width: none; bottom: -5%; height: auto; z-index: 1; }
.wxd-par svg.wxd-fg { left: -12%; width: 124%; bottom: -12%; z-index: 2; }
.wxd-par svg.wxd-stars { inset: -6% -4% auto -4%; width: 108%; height: 70%; bottom: auto; z-index: 0; }
.wxd-stars .wxd-tw { animation: wx-tw 3.2s ease-in-out infinite; }
.wxd-par .wxd-tw2 { animation: wx-tw2 6s steps(1, end) infinite; }
@keyframes wx-tw { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes wx-tw2 { 0%, 70% { opacity: 1; } 71%, 100% { opacity: 0.15; } }
.wxd-sun { position: absolute; z-index: 1; width: 13%; aspect-ratio: 1; border-radius: 50%; left: 63%; top: 30%; background: radial-gradient(circle at 42% 38%, #FFF3D1, #F6CD7B 55%, #E9A955); box-shadow: 0 0 36px 10px rgba(246, 205, 123, 0.45), 0 0 110px 44px rgba(233, 169, 85, 0.2); }
.wxd-haze { position: absolute; left: -10%; right: -10%; top: 50%; height: 30%; z-index: 1; background: linear-gradient(180deg, rgba(213, 154, 94, 0), rgba(213, 154, 94, 0.22) 55%, rgba(213, 154, 94, 0)); pointer-events: none; }
.wxd-title { position: absolute; z-index: 3; left: 7%; top: 12%; margin: 0; font-size: clamp(22px, 2.8vw, 34px); font-weight: 600; letter-spacing: -0.02em; color: var(--wx-text); text-shadow: 0 2px 24px rgba(12, 24, 48, 0.6); }
[data-demo="par"] .wx-hint { left: auto; right: 12px; bottom: auto; top: 12px; }

/* 07, 08, 12 · desplazamiento dentro de la ficha */
.wx-scroller { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(241, 236, 224, 0.3) transparent; }
.wx-sticky { position: sticky; top: 0; height: 100%; }
.wxd-steps .wx-sticky { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 0 6%; gap: 6%; }
.wxd-vis { aspect-ratio: 1; max-height: 78%; justify-self: center; width: 78%; border-radius: 24px; display: grid; place-items: center; font: 500 clamp(56px, 8vw, 96px)/1 'JetBrains Mono', ui-monospace, Menlo, monospace; color: var(--wx-bg); background: var(--wx-blue); transition: background 0.5s; }
.wxd-txt { position: relative; height: 70%; }
.wxd-txt p { position: absolute; inset: 0; margin: 0; display: grid; align-content: center; gap: 6px; opacity: 0; transform: translateY(14px); transition: opacity 0.45s, transform 0.45s; }
.wxd-txt p.is-on { opacity: 1; transform: none; }
.wxd-txt b { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.01em; color: var(--wx-text); }
.wxd-txt span { color: var(--wx-muted); font-size: 15px; }
.wxd-steps .wx-track { height: 300%; }
.wxd-open .wx-sticky { display: grid; place-items: center; }
.wxd-ph { width: 100%; height: 100%; object-fit: cover; max-width: none; will-change: clip-path, transform; }
.wxd-open .wxd-cap { position: absolute; left: 7%; bottom: 14%; margin: 0; font-size: clamp(20px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.02em; color: var(--wx-text); text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6); opacity: 0; transition: opacity 0.4s; }
.wxd-open .wx-track { height: 200%; }
.wxd-scrub canvas { width: 100%; height: 100%; display: block; }
.wxd-scrub .wx-track { height: 400%; }
.wxd-scrub .wx-sticky::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 55%; background: linear-gradient(180deg, rgba(11, 20, 34, 0.78), rgba(11, 20, 34, 0)); z-index: 1; pointer-events: none; }
.wxd-scrub .wxd-cap { z-index: 2; position: absolute; left: 6%; top: 10%; margin: 0; font-size: clamp(18px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.02em; color: var(--wx-text); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7); max-width: 60%; }
.wxd-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--wx-blue-2), var(--wx-gold)); transform-origin: left; transform: scaleX(0); z-index: 2; }

/* 09 · tarjeta 3D */
.wxd-tilt { position: absolute; inset: 0; display: grid; place-items: center; perspective: 900px; background: radial-gradient(circle at 50% 40%, #1A2E4E, #0A1220 70%); }
.wxd-card { position: relative; width: min(64%, 360px); aspect-ratio: 1.586; border-radius: 18px; background: linear-gradient(135deg, #1B3556, #0F1B2D 60%, #1A2A44); border: 1px solid rgba(227, 180, 92, 0.5); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); transform-style: preserve-3d; transition: transform 0.12s linear; overflow: hidden; }
.wxd-sheen { position: absolute; inset: 0; background: radial-gradient(circle at var(--sx, 30%) var(--sy, 20%), rgba(255, 255, 255, 0.35), transparent 45%); mix-blend-mode: soft-light; }
.wxd-top { position: absolute; left: 7%; top: 12%; font: 500 11px/1 'JetBrains Mono', ui-monospace, Menlo, monospace; letter-spacing: 0.16em; color: var(--wx-gold); }
.wxd-name { position: absolute; left: 7%; bottom: 26%; font-size: clamp(18px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.01em; color: var(--wx-text); }
.wxd-num { position: absolute; left: 7%; bottom: 11%; font: 500 13px/1 'JetBrains Mono', ui-monospace, Menlo, monospace; color: var(--wx-muted); letter-spacing: 0.14em; }
.wxd-chip3d { position: absolute; right: 8%; top: 14%; width: 16%; aspect-ratio: 1.3; border-radius: 6px; background: linear-gradient(135deg, #F3D48D, #B98A3A); }

/* 10 · luz */
.wxd-aur canvas { width: 100%; height: 100%; display: block; }
.wxd-over { position: absolute; left: 7%; bottom: 14%; max-width: 70%; }
.wxd-over p { margin: 0 0 6px; }
.wxd-over h4 { margin: 0; font-size: clamp(22px, 2.8vw, 34px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; color: var(--wx-text); text-shadow: 0 2px 18px rgba(4, 9, 18, 0.75), 0 0 2px rgba(4, 9, 18, 0.5); }
[data-demo="aur"] .wx-hint { left: auto; right: 12px; bottom: auto; top: 12px; }
.wxd-over .wx-acc { color: #F3CF86; }
.wxd-over p { text-shadow: 0 1px 12px rgba(4, 9, 18, 0.9); }

/* 11 · plano */
.wxd-map { position: absolute; inset: 0; display: grid; place-items: center; background: #0A1220; }
.wxd-box { position: relative; width: 100%; aspect-ratio: 16 / 9; max-width: 100%; }
.wxd-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.wxd-scan { position: absolute; top: 4%; bottom: 8%; width: 12%; left: -12%; background: linear-gradient(90deg, rgba(74, 138, 216, 0), rgba(74, 138, 216, 0.3) 80%, rgba(200, 225, 255, 0.95)); pointer-events: none; }
.wxd-map.is-run .wxd-scan { animation: wx-scan 4.2s cubic-bezier(0.45, 0, 0.3, 1) infinite; }
@keyframes wx-scan { 0% { left: -12%; } 70% { left: 100%; } 100% { left: 100%; } }
.wxd-pt { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 2px solid var(--wx-blue); background: rgba(15, 27, 45, 0.75); padding: 0; cursor: pointer; }
.wxd-pt::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--wx-blue); }
.wxd-pt.is-gold { border-color: var(--wx-gold); width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.wxd-pt.is-gold::after { background: var(--wx-gold); }
.wxd-map.is-run .wxd-pt.is-gold { animation: wx-ping 1.8s ease-out infinite; }
@keyframes wx-ping { 0% { box-shadow: 0 0 0 0 rgba(227, 180, 92, 0.6); } 100% { box-shadow: 0 0 0 16px rgba(227, 180, 92, 0); } }
.wxd-tip { position: absolute; transform: translate(-50%, calc(-100% - 20px)); white-space: nowrap; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 999px; background: var(--wx-text); color: var(--wx-bg); pointer-events: none; }
.wxd-tip.is-gold { background: var(--wx-gold); }

/* 13 y 14 · lienzo */
.wxd-canvas canvas { width: 100%; height: 100%; display: block; touch-action: pan-y; }

/* ---------- todo junto ---------- */
.wx-combo { margin-top: clamp(40px, 6vw, 72px); border: 1px solid rgba(227, 180, 92, 0.4); border-radius: 22px; background: linear-gradient(135deg, rgba(227, 180, 92, 0.08), rgba(74, 138, 216, 0.06)); padding: clamp(22px, 4vw, 40px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 860px) { .wx-combo { grid-template-columns: 1fr; } }
.wx-combo h3 { margin: 6px 0 10px; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; color: var(--wx-text); text-wrap: balance; }
.wx-combo p { margin: 0; color: var(--wx-muted); }
.wx .wx-go { display: inline-flex; margin-top: 18px; text-decoration: none; background: var(--wx-gold); color: var(--wx-bg); font-weight: 600; padding: 14px 20px; border-radius: 999px; }
.wx-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wx-stats div { border: 1px solid var(--wx-line); border-radius: 14px; padding: 14px 16px; background: rgba(11, 20, 34, 0.5); }
.wx-stats b { display: block; font: 500 26px/1.1 'JetBrains Mono', ui-monospace, Menlo, monospace; color: var(--wx-gold); font-variant-numeric: tabular-nums; }
.wx-stats span { font-size: 13px; color: var(--wx-muted); }

/* ---------- comerciales ---------- */
.wx-ads { padding-top: clamp(56px, 8vw, 96px); }
.wx-ads-sub { color: var(--wx-muted); margin: 8px 0 14px; }
.wx-ads-h { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 34px; }
@media (max-width: 900px) { .wx-ads-h { grid-template-columns: 1fr; } }
.wx-ads-v { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 18px; }
@media (max-width: 520px) { .wx-ads-v { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.wx-ad { margin: 0; display: grid; gap: 10px; align-content: start; }
.wx-ad-play, .wx-ad iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid var(--wx-line); background: #0A1220; padding: 0; cursor: pointer; }
.wx-ad--v .wx-ad-play, .wx-ad--v iframe { aspect-ratio: 9 / 16; }
.wx-ad-play img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; transition: transform 0.4s ease; }
.wx-ad-play:hover img { transform: scale(1.03); }
.wx-ad-btn { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(11, 20, 34, 0.72); border: 2px solid var(--wx-text); }
.wx-ad-btn::after { content: ""; position: absolute; left: 25px; top: 19px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--wx-text); }
.wx-ad-play:hover .wx-ad-btn { background: var(--wx-gold); border-color: var(--wx-gold); }
.wx-ad figcaption { display: grid; gap: 4px; }
.wx-ad figcaption b { font-weight: 600; color: var(--wx-text); }
.wx-ad figcaption span { font-size: 14px; color: var(--wx-muted); }
.wx-note { margin: 18px 0 0; font-size: 13px; color: var(--wx-muted); }
.wx-ads-cta { margin-top: 30px; }
.wx-ads-cta .wx-go { margin-top: 0; }

/* ---------- velocidad y cierre (parte clara) ---------- */
.wx-speed ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px 28px; }
@media (min-width: 560px) { .wx-speed ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .wx-speed ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } } /* 6 puntos = 2 filas de 3, sin huecos */
.wx-speed li { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 4px; }
.wx-speed li b { font-weight: 600; color: var(--ink); }
.wx-speed li span { color: var(--muted); font-size: 15px; }
.wx-final { text-align: left; }
.wx-final p { color: var(--muted); max-width: 60ch; }

@media (prefers-reduced-motion: reduce) {
  .wx *, .wx *::before, .wx *::after { animation: none !important; transition: none !important; }
}

/* =====================================================================
   11 efectos nuevos (2026-09-25 noche, David: «agrega todos los efectos»)
   ===================================================================== */
.wx-stage { container-type: inline-size; }
.wx-fx--tall .wx-stage { aspect-ratio: 16 / 10; }
@media (max-width: 600px) { .wx-fx--tall .wx-stage { aspect-ratio: 4 / 5; } }

/* WhatsApp flotante */
.wxd-wa { position: absolute; inset: 0; background: linear-gradient(180deg, #F6F2EA, #ECE6DA); overflow: hidden; }
.wxd-wa-page { position: absolute; inset: 9% 8% auto 8%; display: grid; gap: 9px; }
.wxd-wa-brand { margin: 0 0 4px; font-weight: 700; color: #0F1B2D; font-size: clamp(15px, 1.8vw, 20px); }
.wxd-wa-page i { display: block; height: 9px; border-radius: 6px; background: rgba(15, 27, 45, 0.12); }
.wxd-wa-page i:nth-of-type(2) { width: 82%; }
.wxd-wa-page i:nth-of-type(3) { width: 58%; }
.wxd-wa-page i.wxd-wa-blk { height: 64px; background: rgba(15, 27, 45, 0.07); margin-top: 6px; }
.wxd-wa-btn { position: absolute; right: 5%; bottom: 7%; width: 54px; height: 54px; border-radius: 50%; border: 0; background: #25D366; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45); z-index: 2; }
.wxd-wa-btn svg { width: 28px; height: 28px; fill: #fff; }
.wxd-wa.is-run .wxd-wa-btn { animation: wx-wa-pulse 2.2s ease-out infinite; }
@keyframes wx-wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 8px 24px rgba(37, 211, 102, 0.45); } 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), 0 8px 24px rgba(37, 211, 102, 0.45); } }
.wxd-wa-tip { position: absolute; right: calc(5% + 64px); bottom: calc(7% + 12px); background: #fff; color: #0F1B2D; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 999px; box-shadow: 0 6px 20px rgba(15, 27, 45, 0.15); transition: opacity 0.3s; }
.wxd-wa.is-open .wxd-wa-tip { opacity: 0; }
.wxd-wa-chat { position: absolute; right: 5%; bottom: calc(7% + 66px); width: min(78%, 300px); border-radius: 16px; overflow: hidden; background: #ECE5DD; box-shadow: 0 16px 40px rgba(15, 27, 45, 0.25); transform-origin: bottom right; transform: scale(0.6) translateY(20px); opacity: 0; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.25s; pointer-events: none; }
.wxd-wa.is-open .wxd-wa-chat { transform: none; opacity: 1; }
.wxd-wa-head { display: flex; align-items: center; gap: 8px; background: #075E54; color: #fff; padding: 10px 12px; font-size: 13px; }
.wxd-wa-av { width: 24px; height: 24px; border-radius: 50%; background: #F1ECE0; flex: none; }
.wxd-wa-body { padding: 12px; min-height: 64px; }
.wxd-wa-msg { margin: 0 0 0 auto; max-width: 92%; min-height: 1.35em; background: #DCF8C6; color: #0F1B2D; font-size: 13px; line-height: 1.35; padding: 8px 10px; border-radius: 10px 10px 2px 10px; }
.wxd-wa-send { background: #fff; padding: 8px 12px; font-size: 12px; font-weight: 700; color: #075E54; text-align: right; }

/* Texto que se descifra */
.wxd-scr { position: absolute; inset: 0; display: grid; align-content: center; padding: 8% 9%; background: radial-gradient(ellipse at 20% 80%, rgba(227, 180, 92, 0.14), transparent 60%), #0A1220; }
.wxd-scr p { margin: 0 0 12px; }
.wxd-scr-t { margin: 0; font: 500 clamp(24px, 3.1vw, 40px)/1.15 'JetBrains Mono', ui-monospace, Menlo, monospace; letter-spacing: -0.02em; color: var(--wx-text); }

/* Galería que se amplía */
.wxd-gal { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 8px; background: #0A1220; }
.wxd-gal-th { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: #111; }
.wxd-gal-th img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; transition: transform 0.35s; }
.wxd-gal-th:hover img { transform: scale(1.05); }
.wxd-gal-view { position: absolute; inset: 0; background: rgba(6, 11, 20, 0.92); display: none; z-index: 3; }
.wxd-gal-view.is-open { display: block; }
.wxd-gal-big { position: absolute; left: 12%; top: 7%; width: 76%; height: 86%; object-fit: contain; max-width: none; }
.wxd-gal-nav { position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; border: 1px solid var(--wx-line-2); background: rgba(11, 20, 34, 0.75); color: var(--wx-text); font-size: 18px; line-height: 1; cursor: pointer; }
.wxd-gal-prev { left: 2.5%; }
.wxd-gal-next { right: 2.5%; }
.wxd-gal-close { position: absolute; top: 10px; right: 10px; border: 1px solid var(--wx-line-2); background: rgba(11, 20, 34, 0.75); color: var(--wx-text); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 12px; cursor: pointer; z-index: 1; }

/* Tarjetas que se dan vuelta */
.wxd-flip { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 8% 6%; background: radial-gradient(circle at 50% 30%, #1A2E4E, #0A1220 70%); perspective: 900px; }
.wxd-fc { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; }
.wxd-fc-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.wxd-fc.is-flip .wxd-fc-in { transform: rotateY(180deg); }
.wxd-fc-f, .wxd-fc-b { position: absolute; inset: 0; border-radius: 14px; -webkit-backface-visibility: hidden; backface-visibility: hidden; display: grid; place-content: center; gap: 10px; padding: 12px; text-align: center; }
.wxd-fc-f { background: #13233A; border: 1px solid var(--wx-line-2); }
.wxd-fc-f svg { width: 34px; height: 34px; justify-self: center; stroke: var(--wx-blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wxd-fc-f b { font-size: clamp(14px, 1.6vw, 18px); color: var(--wx-text); }
.wxd-fc-b { background: var(--wx-gold); color: var(--wx-bg); transform: rotateY(180deg); font-weight: 600; font-size: clamp(12px, 1.35vw, 15px); line-height: 1.3; }

/* Luz que sigue al cursor */
.wxd-spot { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 7%; background: #0A1220; }
.wxd-sp { --mx: -999px; --my: -999px; padding: 1px; border-radius: 16px; background: radial-gradient(200px circle at var(--mx) var(--my), rgba(127, 176, 230, 0.95), rgba(227, 180, 92, 0.45) 35%, transparent 65%), linear-gradient(rgba(241, 236, 224, 0.12), rgba(241, 236, 224, 0.12)); }
.wxd-sp-in { height: 100%; border-radius: 15px; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(127, 176, 230, 0.14), transparent 55%), #0F1B2D; display: grid; align-content: space-between; padding: 14px 16px; }
.wxd-sp-in span { font: 500 11px/1 'JetBrains Mono', ui-monospace, Menlo, monospace; color: var(--wx-muted); letter-spacing: 0.12em; }
.wxd-sp-in b { font-size: clamp(15px, 1.7vw, 20px); color: var(--wx-text); font-weight: 600; }

/* Cotizador instantáneo */
.wxd-quote { position: absolute; inset: 0; background: #F6F2EA; color: #0F1B2D; display: grid; grid-template-columns: 1.35fr 1fr; gap: 4%; padding: 5%; align-items: center; }
.wxd-q-form { display: grid; gap: 10px; min-width: 0; }
.wxd-q-title { margin: 0; font-weight: 700; font-size: clamp(15px, 1.6vw, 19px); }
.wxd-q-row { display: grid; gap: 5px; min-width: 0; }
.wxd-q-lbl { font: 500 10.5px/1 'JetBrains Mono', ui-monospace, Menlo, monospace; letter-spacing: 0.12em; text-transform: uppercase; color: #5B6472; }
.wxd-seg { display: flex; gap: 4px; background: #E6E0D4; padding: 3px; border-radius: 10px; min-width: 0; }
.wxd-seg button { flex: 1; min-width: 0; border: 0; background: none; padding: 7px 4px; border-radius: 8px; font: inherit; font-size: 12.5px; font-weight: 600; color: #3B4556; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wxd-seg button[aria-pressed="true"] { background: #fff; color: #0F1B2D; box-shadow: 0 1px 3px rgba(15, 27, 45, 0.15); }
.wxd-q-ex { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; font-weight: 500; }
.wxd-q-ex label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.wxd-q-ex input { accent-color: #0F1B2D; width: 16px; height: 16px; margin: 0; }
.wxd-q-out { background: #0F1B2D; color: #F1ECE0; border-radius: 16px; padding: 16px; display: grid; gap: 6px; text-align: center; }
.wxd-q-out > span { font-size: 12px; color: rgba(241, 236, 224, 0.72); }
.wxd-q-price { font: 500 clamp(28px, 3.4vw, 42px)/1 'JetBrains Mono', ui-monospace, Menlo, monospace; color: #E3B45C; font-variant-numeric: tabular-nums; }
.wxd-q-out small { font-size: 11px; color: rgba(241, 236, 224, 0.58); }
.wx .wxd-q-cta { margin-top: 4px; background: #E3B45C; color: #0F1B2D; font-weight: 700; font-size: 12.5px; border-radius: 999px; padding: 9px 12px; text-decoration: none; }
@media (max-width: 600px) { .wxd-quote { grid-template-columns: 1fr; align-content: center; gap: 12px; } }

/* Mapa de zona de servicio */
.wxd-area { position: absolute; inset: 0; background: radial-gradient(circle at 30% 35%, #13233A, #0A1220 70%); }
.wxd-area svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.wxd-area .wxd-road { stroke: rgba(241, 236, 224, 0.14); stroke-width: 3; fill: none; stroke-linecap: round; }
.wxd-area .wxd-ring { fill: none; stroke: rgba(127, 176, 230, 0.55); stroke-width: 1.5; transform-box: view-box; transform-origin: 172px 113px; opacity: 0; }
.wxd-area.is-run .wxd-ring { animation: wx-ring 3.6s ease-out infinite; }
.wxd-area.is-run .wxd-ring--2 { animation-delay: 1.8s; }
@keyframes wx-ring { from { transform: scale(0.04); opacity: 0.85; } to { transform: scale(1); opacity: 0; } }
.wxd-area .wxd-city { cursor: pointer; outline: none; }
.wxd-area .wxd-city circle { fill: #13233A; stroke: rgba(241, 236, 224, 0.4); stroke-width: 1.5; transition: fill 0.4s, stroke 0.4s; }
.wxd-area .wxd-city.is-on circle { fill: var(--wx-blue); stroke: var(--wx-blue); }
.wxd-area .wxd-city text { font: 600 12px Inter, -apple-system, sans-serif; fill: rgba(241, 236, 224, 0.82); }
.wxd-area .wxd-city.wxd-base circle { fill: var(--wx-gold); stroke: var(--wx-gold); }
.wxd-area .wxd-city.wxd-base text { fill: var(--wx-gold); }
.wxd-area .wxd-city:focus-visible circle { stroke: #fff; stroke-width: 3; }
.wxd-area-reg { position: absolute; left: 12px; top: 12px; margin: 0; font: 500 10.5px/1 'JetBrains Mono', ui-monospace, Menlo, monospace; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wx-muted); }
.wxd-area .wxd-tip { opacity: 0; transition: opacity 0.3s; }

/* Reseñas en carrusel */
.wxd-rev { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(160deg, #F6F2EA, #ECE6DA); touch-action: pan-y; }
.wxd-rev-track { position: absolute; top: 13%; bottom: 20%; left: 0; display: flex; gap: 16px; padding-left: 8%; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.wxd-rev-card { margin: 0; flex: none; width: 62cqw; max-width: 330px; background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 10px 30px rgba(15, 27, 45, 0.12); display: grid; gap: 8px; align-content: start; color: #0F1B2D; }
.wxd-rev-stars { color: #E3A33B; letter-spacing: 2px; font-size: 15px; }
.wxd-rev-card p { margin: 0; font-size: clamp(13px, 1.5vw, 16px); line-height: 1.4; font-weight: 500; }
.wxd-rev-who { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #5B6472; }
.wxd-rev-who b { color: #0F1B2D; }
.wxd-rev-src { margin-left: auto; font: 500 10px/1 'JetBrains Mono', ui-monospace, Menlo, monospace; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid rgba(15, 27, 45, 0.18); border-radius: 999px; padding: 4px 7px; }
.wxd-rev-dots { position: absolute; left: 8%; bottom: 8%; display: flex; gap: 6px; }
.wxd-rev-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; background: rgba(15, 27, 45, 0.22); padding: 0; cursor: pointer; transition: width 0.3s, background 0.3s; }
.wxd-rev-dots button[aria-current="true"] { background: #0F1B2D; width: 22px; }
.wxd-rev ~ .wx-exnote, .wxd-quote ~ .wx-exnote { color: #5B6472; }

/* Trazo que se dibuja solo */
.wxd-draw { position: absolute; inset: 0; background: #0A1220; }
.wxd-draw svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.wxd-draw .wxd-street { stroke: rgba(241, 236, 224, 0.07); stroke-width: 12; fill: none; stroke-linecap: round; }
.wxd-draw .wxd-route { stroke: var(--wx-gold); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.wxd-draw .wxd-pin circle { fill: var(--wx-blue); stroke: #0A1220; stroke-width: 3; }
.wxd-draw .wxd-pin--end circle { fill: var(--wx-gold); }
.wxd-draw .wxd-pin text { font: 600 14px Inter, -apple-system, sans-serif; fill: var(--wx-text); }
.wxd-draw .wxd-truck { fill: #fff; }
.wxd-draw-eta { position: absolute; left: 5%; bottom: 8%; margin: 0; background: var(--wx-gold); color: var(--wx-bg); font-weight: 700; font-size: 13px; padding: 8px 12px; border-radius: 999px; opacity: 0; transition: opacity 0.4s; }
.wxd-draw.is-done .wxd-draw-eta { opacity: 1; }

/* Transiciones suaves entre páginas */
.wxd-vt { position: absolute; inset: 5% 6% 15%; border-radius: 12px; overflow: hidden; background: #F6F2EA; color: #0F1B2D; display: grid; grid-template-rows: auto minmax(0, 1fr); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.wxd-vt-bar { display: flex; align-items: center; gap: 6px; padding: 7px 12px; background: #E6E0D4; }
.wxd-vt-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(15, 27, 45, 0.25); }
.wxd-vt-tabs { margin-left: auto; display: flex; gap: 4px; }
.wxd-vt-tab { border: 0; background: none; font: inherit; font-size: 12px; font-weight: 600; color: #5B6472; padding: 4px 8px; border-radius: 6px; cursor: pointer; }
.wxd-vt-tab[aria-current="page"] { background: #fff; color: #0F1B2D; }
.wxd-vt-view { position: relative; padding: 12px 14px; overflow: hidden; min-height: 0; background: #F6F2EA; }
.wxd-vt-view.is-swap { animation: wx-vt-fade 0.35s ease; }
@keyframes wx-vt-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wxd-vt-a { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.wxd-vt-k { margin: 0 0 10px; font-weight: 700; font-size: clamp(14px, 1.6vw, 18px); }
/* minmax(0, 1fr): sin esto la tarjeta con foto quedaba de 0 px y la grilla se salía del marco (Safari y Chrome, 09-26) */
.wxd-vt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: start; }
.wxd-vt-card { min-width: 0; padding: 0; border: 0; background: #fff; border-radius: 10px; overflow: hidden; text-align: left; cursor: pointer; font: inherit; color: inherit; box-shadow: 0 2px 8px rgba(15, 27, 45, 0.1); transition: transform 0.2s, box-shadow 0.2s; }
.wxd-vt-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(15, 27, 45, 0.16); }
.wxd-vt-card .wxd-vt-img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; display: block; max-width: none; }
.wxd-vt-cap { display: block; padding: 6px 8px; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wxd-vt-b { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; }
.wxd-vt-back { justify-self: start; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 600; color: #1B4E85; padding: 0; margin-bottom: 8px; cursor: pointer; }
.wxd-vt-b .wxd-vt-img--big { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 10px; display: block; max-width: none; }
.wxd-vt-cap--big { margin: 8px 0 2px; padding: 0; font-size: clamp(16px, 2vw, 22px); font-weight: 700; white-space: normal; }
.wxd-vt-b p { margin: 0; font-size: 13px; line-height: 1.35; color: #3B4556; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
[data-demo="vt"] .wx-hint { bottom: 9px; }
@media (max-width: 600px) { .wx-stage[data-demo="vt"] { aspect-ratio: 4 / 3; } }

/* Globo 3D: etiquetas de ciudad que siguen a cada punto (websites.js las mueve cuadro a cuadro) */
[data-demo="globe"] { background: radial-gradient(circle at 50% 50%, #12233F 0%, #0A1220 62%); }
.wxd-gl-labs { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.wxd-gl-lab { position: absolute; left: 0; top: 0; font: 600 12px/1 Inter, -apple-system, sans-serif; color: var(--wx-text); white-space: nowrap; text-shadow: 0 1px 8px rgba(6, 11, 20, 0.95), 0 0 2px rgba(6, 11, 20, 0.9); transition: opacity 0.35s; will-change: transform; }
.wxd-gl-lab.is-base { color: var(--wx-gold); font-size: 13px; }

/* Fichas chicas (celular): todo un poco más compacto */
@container (max-width: 480px) {
  .wxd-wa-btn { width: 44px; height: 44px; }
  .wxd-wa-btn svg { width: 24px; height: 24px; }
  .wxd-wa-chat { bottom: calc(7% + 52px); width: 76%; }
  .wxd-wa-body { padding: 8px; min-height: 0; }
  .wxd-wa-msg, .wxd-wa-head { font-size: 11.5px; }
  .wxd-wa-head { padding: 6px 10px; }
  .wxd-wa-send { padding: 5px 10px; font-size: 11px; }
  .wxd-wa-tip { display: none; }
  .wxd-wa-page i.wxd-wa-blk { height: 34px; }
  .wxd-flip { gap: 8px; padding: 6% 4%; }
  .wxd-fc-f svg { width: 26px; height: 26px; }
  .wxd-fc-f, .wxd-fc-b { padding: 8px; gap: 6px; }
  .wxd-fc-b { font-size: 11.5px; }
  .wxd-spot { gap: 8px; padding: 5%; }
  .wxd-sp-in { padding: 10px 12px; }
  .wxd-rev-card { width: 74cqw; padding: 12px 14px; }
  .wxd-vt { inset: 4% 4% 15%; }
  .wxd-vt-view { padding: 8px 10px; }
  .wxd-vt-k { margin-bottom: 6px; }
  .wxd-vt-card .wxd-vt-cap { font-size: 11px; padding: 5px 6px; }
  .wxd-vt-grid { gap: 6px; }
  .wxd-gl-lab { font-size: 10.5px; }
  .wxd-gl-lab.is-base { font-size: 11.5px; }
  .wxd-area .wxd-city text { font-size: 17px; }
  .wxd-draw .wxd-pin text { font-size: 19px; }
  .wxd-gal-nav { width: 34px; height: 34px; margin-top: -17px; }
}

/* ajustes tras la revisión en celular (2026-09-25) */
[data-demo="area"] .wx-exnote { top: auto; bottom: 14px; }
@container (max-width: 480px) { .wxd-area-reg { display: none; } }
/* los avisos que hablan del mouse no aplican en pantallas táctiles: ahí esas demos se mueven solas */
@media (hover: none) { [data-demo="aur"] .wx-hint, [data-demo="spot"] .wx-hint, [data-demo="par"] .wx-hint, [data-demo="tilt"] .wx-hint, [data-demo="mag"] .wx-hint { display: none; } }

/* ---------- 26–31 · galerías y fondos (2026-09-26, código propio) ---------- */
/* 26 · rueda 3D: tamaños, radio y profundidad los pone websites.js según el ancho de la ficha. Cada foto lleva su
   propia perspectiva y su z-index (sin preserve-3d anidado: Safari aplanaba la rueda en una sola fila). */
.wxd-ring { background: radial-gradient(ellipse at 50% 62%, #16284A 0%, #0A1220 68%); }
.wxd-ring-view { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; outline-offset: -6px; border-radius: inherit; }
.wxd-ring-view.is-drag { cursor: grabbing; }
.wxd-ring-rot { position: absolute; inset: 0; perspective: 1000px; perspective-origin: 50% 34%; }
.wxd-ring-card { position: absolute; left: 50%; top: 47%; margin: 0; will-change: transform; border-radius: 9px; overflow: hidden; background: #0F1B2D; border: 1px solid rgba(241, 236, 224, 0.16); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); backface-visibility: visible; }
.wxd-ring-card::after { content: ''; position: absolute; inset: 0; background: #07101C; opacity: var(--dim, 0); pointer-events: none; }
.wxd-ring-card img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }

/* 27 · abanico de tarjetas */
.wxd-fan { background: radial-gradient(ellipse at 50% 115%, #1D3152 0%, #0A1220 62%); }
.wxd-fan-deck { position: absolute; inset: 0; touch-action: pan-y; outline-offset: -6px; border-radius: inherit; }
.wxd-fan-card { position: absolute; left: 50%; bottom: 18%; width: 25%; aspect-ratio: 3 / 4; margin: 0 0 0 -12.5%; border: 0; border-radius: 14px; padding: 14px 14px 15px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 6px; text-align: left; color: #F6F1E6; cursor: pointer; font: inherit; overflow: hidden; transform-origin: 50% 120%; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42); }
.wxd-fan-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 25% -5%, rgba(255, 255, 255, 0.3), transparent 55%), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 9px); pointer-events: none; }
.wxd-fan-card > * { position: relative; }
.wxd-fan-card span { font-size: clamp(14px, 2.5cqw, 21px); line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
.wxd-fan-card b { font-size: clamp(11px, 1.7cqw, 14px); font-weight: 500; letter-spacing: 0.02em; }
.wxd-fan-card small { font-size: clamp(10px, 1.5cqw, 12px); opacity: 0.8; line-height: 1.25; }
.wxd-fan-card.is-on { box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55), 0 0 0 1.5px rgba(243, 207, 134, 0.7); }
.wxd-fan-c1 { background: linear-gradient(160deg, #3470B8, #132A4C); }
.wxd-fan-c2 { background: linear-gradient(160deg, #CF8A40, #5B2D12); }
.wxd-fan-c3 { background: linear-gradient(160deg, #3F9290, #103436); }
.wxd-fan-c4 { background: linear-gradient(160deg, #C4503F, #4B1610); }
.wxd-fan-c5 { background: linear-gradient(160deg, #EBC173, #85591A); color: #0F1B2D; }
.wxd-fan-nav { position: absolute; top: 40%; z-index: 20; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--wx-line-2); background: rgba(11, 20, 34, 0.75); color: var(--wx-text); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; }
.wxd-fan-nav:hover { border-color: var(--wx-gold); }
.wxd-fan-prev { left: 12px; }
.wxd-fan-next { right: 12px; }
@container (max-width: 520px) { .wxd-fan-card { width: 31%; margin-left: -15.5%; bottom: 16%; padding: 10px 10px 11px; border-radius: 11px; gap: 4px; } .wxd-fan-nav { width: 32px; height: 32px; font-size: 19px; top: 34%; } }

/* 28 · fotos en profundidad */
.wxd-deep { background: linear-gradient(180deg, #0A1220 0%, #0F1D33 100%); }
.wxd-deep-view { position: absolute; inset: 0; perspective: 900px; perspective-origin: 50% 45%; touch-action: pan-y; cursor: grab; outline-offset: -6px; border-radius: inherit; }
.wxd-deep-view.is-drag { cursor: grabbing; }
.wxd-deep-card { position: absolute; left: 50%; top: 46%; width: 50%; aspect-ratio: 16 / 10; margin: 0; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #0F1B2D; cursor: pointer; will-change: transform, opacity; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }
.wxd-deep-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 18, 32, 0.9), rgba(10, 18, 32, 0.55)); opacity: var(--fog, 0); pointer-events: none; }
.wxd-deep-card img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }

/* 29–31 · fondos WebGL dentro de una portada de ejemplo: menú flotante, titular, bajada, 2 botones y una tarjeta.
   Todo es decorado (aria-hidden, sin enlaces); el único botón real de la ficha es «Lo quiero →». Sin backdrop-filter:
   es lo más caro en celulares de gama baja y el presupuesto ya se lo lleva el fondo. */
.wxd-gl { --mk-ink: #F6EBD9; --mk-soft: rgba(246, 235, 217, 0.78); --mk-surf: rgba(16, 9, 4, 0.66); --mk-line: rgba(246, 235, 217, 0.22); --mk-acc: #F0BE72; --mk-b1: #F6EBD9; --mk-b1fg: #1A0E06; }
.wxd-gl[data-demo="gold"] { --mk-ink: #FFF5E2; --mk-soft: rgba(255, 245, 226, 0.8); --mk-surf: rgba(14, 8, 2, 0.64); --mk-line: rgba(255, 229, 170, 0.28); --mk-acc: #F7D48E; --mk-b1: linear-gradient(180deg, #F9DE9E, #C9953F); --mk-b1fg: #1E1204; }
.wxd-gl--paper { background: #F3ECE0; --mk-ink: #0F1B2D; --mk-soft: rgba(15, 27, 45, 0.78); --mk-surf: rgba(243, 236, 224, 0.9); --mk-line: rgba(15, 27, 45, 0.18); --mk-acc: #C0512A; --mk-b1: #0F1B2D; --mk-b1fg: #F3ECE0; }
.wxd-mnav { position: absolute; z-index: 4; top: 12px; left: 12px; right: 12px; display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 14px; border-radius: 999px; background: var(--mk-surf); border: 1px solid var(--mk-line); color: var(--mk-ink); font-size: 12px; line-height: 1; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); }
.wxd-mnav-brand { font-weight: 700; letter-spacing: -0.01em; font-size: 13px; white-space: nowrap; }
.wxd-gl[data-demo="gold"] .wxd-mnav-brand { letter-spacing: 0.24em; font-weight: 600; }
.wxd-gl[data-demo="swirl"] .wxd-mnav-brand { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; font-size: 17px; }
.wxd-mnav-tag { font: 500 9px/1 'JetBrains Mono', ui-monospace, Menlo, monospace; letter-spacing: 0.12em; text-transform: uppercase; font-style: normal; padding: 4px 6px; border-radius: 5px; border: 1px solid var(--mk-line); color: var(--mk-soft); }
.wxd-mnav-links { display: flex; gap: 14px; margin-left: auto; color: var(--mk-soft); }
.wxd-mnav-links i { font-style: normal; white-space: nowrap; }
.wxd-mnav-cta { padding: 8px 12px; border-radius: 999px; background: var(--mk-b1); color: var(--mk-b1fg); font-weight: 600; white-space: nowrap; }
.wxd-hero { left: 6%; bottom: 11%; max-width: 66%; display: grid; gap: 7px; z-index: 3; }
.wxd-gl .wxd-over p { margin: 0; }
.wxd-gl .wxd-over p.wx-mono { color: var(--mk-acc); text-shadow: none; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.wxd-gl .wxd-over h4 { font-size: clamp(20px, 2.35vw, 30px); color: var(--mk-ink); }
.wxd-gl .wxd-over .wx-acc { color: var(--mk-acc); }
.wxd-hero-sub { font-size: 13px; line-height: 1.4; color: var(--mk-soft); max-width: 40ch; text-shadow: 0 1px 10px rgba(4, 9, 18, 0.6); }
.wxd-hero-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.wxd-hero-btns span { font-size: 12px; font-weight: 600; padding: 9px 14px; border-radius: 999px; white-space: nowrap; }
.wxd-b1 { background: var(--mk-b1); color: var(--mk-b1fg); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.wxd-b2 { color: var(--mk-ink); border: 1px solid var(--mk-line); background: var(--mk-surf); }
.wxd-mchip { position: absolute; z-index: 3; right: 5%; top: 36%; display: grid; gap: 3px; padding: 11px 14px; border-radius: 14px; background: var(--mk-surf); border: 1px solid var(--mk-line); color: var(--mk-ink); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28); transform: rotate(-3deg); }
.wxd-mchip small { font: 500 9.5px/1.2 'JetBrains Mono', ui-monospace, Menlo, monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mk-soft); }
.wxd-mchip b { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.wxd-gl--paper .wxd-over h4 { text-shadow: 0 0 22px rgba(243, 236, 224, 0.95), 0 0 6px rgba(243, 236, 224, 0.9); }
.wxd-gl--paper .wxd-hero-sub { text-shadow: 0 0 12px rgba(243, 236, 224, 0.95); }
.wxd-gl .wx-hint { left: auto; right: 12px; }
@media (max-width: 600px) { .wxd-gl { aspect-ratio: 4 / 5; } }
@container (max-width: 560px) { .wxd-mnav-links { display: none; } .wxd-mnav-cta { margin-left: auto; } .wxd-hero { max-width: 88%; bottom: 9%; } .wxd-mchip { top: 24%; } }
@container (max-width: 380px) { .wxd-mchip { display: none; } .wxd-hero-sub { font-size: 12px; } }
@media (hover: none) { [data-demo="dots"] .wx-hint, [data-demo="swirl"] .wx-hint, [data-demo="gold"] .wx-hint { display: none; } }
@media (prefers-reduced-motion: reduce) { .wxd-fan-card { transition: none; } }
.wxd-fan .wx-hint { z-index: 30; }
@media (max-width: 600px) { .wx-stage[data-demo="fan"] { aspect-ratio: 4 / 3; } }

/* subgrupos dentro de un nivel (Pro · Galerías de fotos, Pro · Fondos vivos), 2026-09-26 */
.wx-sub { padding-top: clamp(36px, 5vw, 60px); scroll-margin-top: calc(var(--wx-navh, 64px) + 64px); }
.wx-sub-head { display: grid; gap: 6px; margin-bottom: 20px; max-width: 70ch; padding-top: 22px; border-top: 1px solid var(--wx-line); }
.wx-sub-head h4 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; color: var(--wx-text); }
.wx-sub-head p { margin: 0; color: var(--wx-muted); }
