/* ==========================================================================
   CREATIVE WEB 2.0 · secciones nuevas del hub y páginas de servicio
   Reutiliza tokens de styles.css (--accent-blue, --font-primary, --page-padding…)
   ========================================================================== */
.cw2 {
  --cw2-bg: #07090D;
  --cw2-panel: rgba(255, 255, 255, 0.035);
  --cw2-line: rgba(255, 255, 255, 0.10);
  --cw2-line-strong: rgba(255, 255, 255, 0.18);
  --cw2-text: #F5F5F7;
  --cw2-muted: #A1A1A6;
  --cw2-blue: var(--accent-blue, #0071E3);
  --cw2-blue-soft: #4FB3E8;
  --cw2-radius: 18px;
}

/* --- Lienzo WebGL (hero) ------------------------------------------------- */
.cw-gl {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1.4s var(--ease-smooth, ease);
  pointer-events: none;
}
.cw-gl.is-ready { opacity: 1; }
.cw-ambient-stage .cw-gl { z-index: 1; mix-blend-mode: screen; }
#creativewebHero { overflow-x: clip; }
.cw2-subhero .cw-gl.is-ready { opacity: .75; }
@media (prefers-reduced-motion: reduce) { .cw-gl { transition: none; } }

/* --- Sección genérica ---------------------------------------------------- */
.cw2-section {
  position: relative;
  padding: clamp(64px, 8vw, 112px) var(--page-padding, 24px);
  color: var(--cw2-text);
}
.cw2-wrap { max-width: var(--max-width, 1440px); margin: 0 auto; }
.cw2-head {
  display: grid; gap: 20px 64px; align-items: end;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.cw2-tag {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--cw2-blue-soft); margin-bottom: 18px;
}
.cw2-h2 {
  font-size: clamp(32px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.035em;
  font-weight: 600; margin: 0; color: var(--cw2-text);
}
.cw2-h2 em { font-style: normal; color: var(--cw2-muted); }
.cw2-lead { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--cw2-muted); margin: 0; max-width: 60ch; }
.cw2-lead + .cw2-lead { margin-top: 16px; }
@media (max-width: 900px) { .cw2-head { grid-template-columns: 1fr; } }

/* --- Enfoque (manifiesto de la división) ---------------------------------- */
.cw2-intro { border-top: 1px solid var(--cw2-line); }
.cw2-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.cw2-intro .cw2-h2 { font-size: clamp(30px, 3.8vw, 54px); }
.cw2-proof { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--cw2-line); }
.cw2-proof li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--cw2-line); font-size: 15px; line-height: 1.5; color: var(--cw2-text); }
.cw2-proof b { color: var(--cw2-blue-soft); font-weight: 600; min-width: 28px; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .cw2-intro-grid { grid-template-columns: 1fr; } }

/* --- Seis áreas ------------------------------------------------------------ */
.cw2-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--cw2-line); border: 1px solid var(--cw2-line); border-radius: var(--cw2-radius); overflow: hidden; }
.cw2-area {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  background: var(--cw2-bg); padding: clamp(28px, 3vw, 44px); min-height: 380px;
  transition: background .5s var(--ease-smooth, ease);
}
.cw2-area::before {
  content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 0% 0%, rgba(0, 113, 227, .16), transparent 60%);
  transition: opacity .5s var(--ease-smooth, ease);
}
.cw2-area:hover::before, .cw2-area:focus-within::before { opacity: 1; }
.cw2-area-num { font-size: 12px; letter-spacing: .14em; color: var(--cw2-muted); font-variant-numeric: tabular-nums; }
.cw2-area h3 { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.12; letter-spacing: -.02em; font-weight: 600; margin: 0; color: var(--cw2-text); }
.cw2-area h3 small { display: block; font-size: 13px; letter-spacing: .02em; font-weight: 400; color: var(--cw2-muted); margin-top: 8px; }
.cw2-area p { margin: 0; color: var(--cw2-muted); font-size: 15px; line-height: 1.6; }
.cw2-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; }
.cw2-chips li { font-size: 12px; line-height: 1; padding: 7px 10px; border: 1px solid var(--cw2-line); border-radius: 999px; color: #D2D2D7; }
.cw2-area-link {
  margin-top: auto; padding-top: 8px; align-self: flex-start;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--cw2-text); text-decoration: none; border-bottom: 1px solid var(--cw2-line-strong); padding-bottom: 4px;
  transition: color .3s, border-color .3s;
}
.cw2-area-link:hover, .cw2-area-link:focus-visible { color: var(--cw2-blue-soft); border-color: var(--cw2-blue-soft); }
.cw2-area-link::after { content: " ↗"; }
@media (max-width: 1100px) { .cw2-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .cw2-areas { grid-template-columns: 1fr; } .cw2-area { min-height: 0; } }

/* --- Proceso ----------------------------------------------------------------- */
.cw2-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); counter-reset: s; }
.cw2-step { border-top: 1px solid var(--cw2-line-strong); padding-top: 24px; }
.cw2-step::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 12px; letter-spacing: .14em; color: var(--cw2-blue-soft); margin-bottom: 18px; }
.cw2-step h3 { margin: 0 0 10px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: var(--cw2-text); }
.cw2-step p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--cw2-muted); }
@media (max-width: 900px) { .cw2-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 560px) { .cw2-steps { grid-template-columns: 1fr; } }

/* --- Tecnología ------------------------------------------------------------- */
.cw2-stack { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--cw2-line); border: 1px solid var(--cw2-line); border-radius: var(--cw2-radius); overflow: hidden; }
.cw2-stack div { background: var(--cw2-bg); padding: 26px; }
.cw2-stack h3 { margin: 0 0 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cw2-muted); font-weight: 600; }
.cw2-stack p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--cw2-text); }
@media (max-width: 900px) { .cw2-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cw2-stack { grid-template-columns: 1fr; } }

/* --- Casos ------------------------------------------------------------------ */
.cw2-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.cw2-case { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.cw2-case-media { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #111; border: 1px solid var(--cw2-line); }
.cw2-case-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease-smooth, ease); }
.cw2-case:hover .cw2-case-media img { transform: scale(1.04); }
.cw2-case-cat { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--cw2-blue-soft); }
.cw2-case h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: var(--cw2-text); }
.cw2-case p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--cw2-muted); }
@media (max-width: 900px) { .cw2-cases { grid-template-columns: 1fr; } }

/* --- Etiqueta de concepto ---------------------------------------------------- */
.cw2-concept-note { margin: 18px 0 0; font-size: 13px; color: var(--cw2-muted); }
.cw2-concept-badge {
  position: absolute; z-index: 5; top: 46px; left: 14px;
  font: 600 10px/1 var(--font-primary, sans-serif); letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 999px; color: #fff; background: rgba(10, 12, 16, .72);
  border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); pointer-events: none;
}

/* --- FAQ ----------------------------------------------------------------- */
.cw2-faq { border-top: 1px solid var(--cw2-line); }
.cw2-faq details { border-bottom: 1px solid var(--cw2-line); }
.cw2-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 24px 0; font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; color: var(--cw2-text);
}
.cw2-faq summary::-webkit-details-marker { display: none; }
.cw2-faq summary::after { content: "+"; font-weight: 300; font-size: 26px; line-height: 1; color: var(--cw2-muted); transition: transform .3s; }
.cw2-faq details[open] summary::after { transform: rotate(45deg); }
.cw2-faq summary:focus-visible { outline: 2px solid var(--cw2-blue-soft); outline-offset: 4px; border-radius: 4px; }
.cw2-faq details p { margin: 0 0 24px; max-width: 72ch; font-size: 16px; line-height: 1.65; color: var(--cw2-muted); }

/* --- Cotizador ------------------------------------------------------------- */
.cw2-quote-card {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px);
  border: 1px solid var(--cw2-line); border-radius: 24px; padding: clamp(24px, 4vw, 56px);
  background: radial-gradient(120% 100% at 0% 0%, rgba(0, 113, 227, .14), transparent 55%), var(--cw2-bg);
}
.cw2-quote-aside .cw2-lead { margin-top: 20px; }
.cw2-quote-contact { margin-top: 32px; display: grid; gap: 8px; font-size: 14px; color: var(--cw2-muted); }
.cw2-quote-contact a { color: var(--cw2-text); text-decoration: none; border-bottom: 1px solid var(--cw2-line-strong); }
.cwq { display: grid; gap: 22px; }
.cwq fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.cwq legend, .cwq label.cwq-label { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cw2-muted); margin-bottom: 10px; font-weight: 600; }
.cwq-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cwq-type { position: relative; }
.cwq-type input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cwq-type span {
  display: block; padding: 13px 14px; border: 1px solid var(--cw2-line); border-radius: 12px;
  font-size: 14px; color: #D2D2D7; transition: border-color .2s, background .2s, color .2s;
}
.cwq-type input:hover + span { border-color: var(--cw2-line-strong); }
.cwq-type input:checked + span { border-color: var(--cw2-blue); background: rgba(0, 113, 227, .16); color: #fff; }
.cwq-type input:focus-visible + span { outline: 2px solid var(--cw2-blue-soft); outline-offset: 2px; }
.cwq-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cwq-row.cwq-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cwq input[type="text"], .cwq input[type="email"], .cwq input[type="tel"], .cwq select, .cwq textarea {
  width: 100%; box-sizing: border-box; font: 400 16px/1.4 var(--font-primary, sans-serif); color: #fff;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--cw2-line); border-radius: 12px; padding: 13px 14px;
  transition: border-color .2s, background .2s;
}
.cwq select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #A1A1A6 50%), linear-gradient(135deg, #A1A1A6 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.cwq select option { color: #111; }
.cwq textarea { min-height: 128px; resize: vertical; }
.cwq input:focus, .cwq select:focus, .cwq textarea:focus { outline: none; border-color: var(--cw2-blue); background: rgba(255, 255, 255, .06); }
.cwq [aria-invalid="true"] { border-color: #FF6B6B; }
.cwq-error { display: block; min-height: 0; font-size: 13px; color: #FF8A8A; margin-top: 6px; }
.cwq-error:empty { display: none; }
.cwq-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--cw2-muted); }
.cwq-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--cw2-blue); flex: none; }
.cwq-consent a { color: var(--cw2-text); }
.cwq-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cwq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.cwq-submit {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; border: 0;
  font: 600 13px/1 var(--font-primary, sans-serif); letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--cw2-blue); padding: 18px 28px; border-radius: 999px;
  transition: background .25s, transform .25s;
}
.cwq-submit:hover { background: var(--accent-blue-hover, #0077ED); transform: translateY(-1px); }
.cwq-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.cwq-submit:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.cwq-note { font-size: 13px; color: var(--cw2-muted); }
.cwq-status { font-size: 14px; }
.cwq-status.is-error { color: #FF8A8A; }
.cwq-success { padding: 18px 20px; border-radius: 12px; border: 1px solid rgba(79, 179, 232, .5); background: rgba(0, 113, 227, .12); color: #fff; font-size: 15px; line-height: 1.5; }
.cwq-success:focus { outline: none; }
.cwq.is-sent .cwq-fields { display: none; }
@media (max-width: 960px) { .cw2-quote-card { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cwq-row, .cwq-row.cwq-row-3, .cwq-types { grid-template-columns: 1fr; } }

/* --- Hero de páginas de servicio ------------------------------------------- */
.cw2-subhero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(88vh, 860px); display: flex; align-items: flex-end;
  padding: clamp(140px, 18vh, 200px) var(--page-padding, 24px) clamp(56px, 8vw, 104px);
  background: radial-gradient(90% 70% at 70% 30%, rgba(0, 113, 227, .22), transparent 60%), #05070B;
  color: var(--cw2-text);
}
.cw2-subhero .cw-gl { z-index: -1; }
.cw2-subhero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: -1; background: linear-gradient(to top, #05070B, transparent); pointer-events: none; }
.cw2-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cw2-muted); margin-bottom: 28px; }
.cw2-crumbs a { color: var(--cw2-muted); text-decoration: none; }
.cw2-crumbs a:hover { color: #fff; }
.cw2-subhero h1 { margin: 0; font-size: clamp(40px, 7vw, 104px); line-height: .98; letter-spacing: -.045em; font-weight: 600; max-width: 14ch; }
.cw2-subhero h1 span { color: var(--cw2-blue-soft); }
.cw2-subhero .cw2-lead { margin-top: 28px; font-size: clamp(17px, 1.4vw, 21px); color: #C7C7CC; }
.cw2-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.cw2-btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font: 600 12px/1 var(--font-primary, sans-serif); letter-spacing: .14em; text-transform: uppercase;
  padding: 17px 24px; border-radius: 999px; transition: background .25s, border-color .25s, color .25s;
}
.cw2-btn-primary { background: var(--cw2-blue); color: #fff; }
.cw2-btn-primary:hover { background: var(--accent-blue-hover, #0077ED); }
.cw2-btn-ghost { border: 1px solid var(--cw2-line-strong); color: #fff; }
.cw2-btn-ghost:hover { border-color: #fff; }
.cw2-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Lista de entregables */
.cw2-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--cw2-line); }
.cw2-list li { padding: 20px 0; border-bottom: 1px solid var(--cw2-line); display: grid; gap: 6px; }
.cw2-list strong { font-size: 17px; font-weight: 600; color: var(--cw2-text); }
.cw2-list span { font-size: 15px; line-height: 1.55; color: var(--cw2-muted); }
@media (max-width: 760px) { .cw2-list { grid-template-columns: 1fr; } }

/* Para quién */
.cw2-fit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.cw2-fit div { border: 1px solid var(--cw2-line); border-radius: var(--cw2-radius); padding: 28px; background: var(--cw2-panel); }
.cw2-fit h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; color: var(--cw2-text); }
.cw2-fit p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--cw2-muted); }
@media (max-width: 900px) { .cw2-fit { grid-template-columns: 1fr; } }

/* Otros servicios Creative Web */
.cw2-related { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--cw2-line); border: 1px solid var(--cw2-line); border-radius: var(--cw2-radius); overflow: hidden; }
.cw2-related a { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--cw2-bg); color: var(--cw2-text); text-decoration: none; min-height: 132px; transition: background .3s; }
.cw2-related a:hover, .cw2-related a:focus-visible { background: #0C1220; }
.cw2-related a[aria-current="page"] { background: #0C1220; box-shadow: inset 0 2px 0 var(--cw2-blue); }
.cw2-related small { font-size: 11px; letter-spacing: .14em; color: var(--cw2-muted); }
.cw2-related span { font-size: 16px; font-weight: 600; line-height: 1.25; }
@media (max-width: 1100px) { .cw2-related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cw2-related { grid-template-columns: 1fr; } }

/* Banda CTA */
.cw2-band { text-align: center; border-top: 1px solid var(--cw2-line); }
.cw2-band .cw2-h2 { max-width: 18ch; margin: 0 auto; }
.cw2-band .cw2-lead { margin: 24px auto 0; }
.cw2-band .cw2-ctas { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .cw2-area, .cw2-case-media img, .cw2-area::before { transition: none; }
  .cw2-case:hover .cw2-case-media img { transform: none; }
}

/* ==========================================================================
   v2 · Hero centrado (referencia de estructura pedida por Danny, 2026-11-12)
   ========================================================================== */
#creativewebHero .cw-hero-top-row { grid-template-columns: 1fr; gap: 44px; min-height: 0; }
#creativewebHero .cw-editorial-col { align-items: center; text-align: center; max-width: 960px; margin: 0 auto; }
#creativewebHero .cw-kicker {
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 8px 14px;
  background: rgba(255,255,255,.03); backdrop-filter: blur(6px); margin-bottom: 28px;
}
#creativewebHero .cw-hero-title { font-size: clamp(2.4rem, 6vw, 5.2rem); line-height: 1.0; letter-spacing: -.045em; margin-bottom: 22px; }
#creativewebHero .cw-hero-subtitle { letter-spacing: .14em; color: #A9B2C3; }
#creativewebHero .cw-hero-description { max-width: 640px; font-size: 16px; margin: 0 auto 32px; }
#creativewebHero .cw-hero-cta-group { justify-content: center; }
#creativewebHero .cw-deck-col { height: 520px; }
@media (max-width: 1200px) { #creativewebHero .cw-deck-col { height: 420px; } }
@media (max-width: 768px) { #creativewebHero .cw-deck-col { height: 330px; } #creativewebHero .cw-hero-description { font-size: 15px; } }

.cw2-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; }
.cw2-quick a {
  font-size: 13px; color: #C7CCD6; text-decoration: none; padding-bottom: 3px;
  border-bottom: 1px solid rgba(255,255,255,.18); transition: color .25s, border-color .25s;
}
.cw2-quick a::after { content: " ↗"; color: var(--accent-blue, #0071E3); }
.cw2-quick a:hover, .cw2-quick a:focus-visible { color: #fff; border-color: #4FB3E8; }

/* Franja de marcas */
.cw2-brands { padding: 40px 0 8px; border-top: 1px solid var(--cw2-line); overflow: hidden; }
.cw2-brands-title { margin: 0 0 22px; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cw2-muted); }
.cw2-marquee { display: flex; width: max-content; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.cw2-brands { -webkit-mask-image: none; }
.cw2-marquee { width: 100%; }
.cw2-marquee-track { list-style: none; margin: 0; padding: 0; display: flex; flex: none; gap: clamp(40px, 6vw, 96px); padding-right: clamp(40px, 6vw, 96px); animation: cw2-marquee 110s linear infinite; }
.cw2-marquee-track li { font-size: clamp(20px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.02em; color: #D2D2D7; white-space: nowrap; opacity: .82; }
.cw2-marquee:hover .cw2-marquee-track { animation-play-state: paused; }
@keyframes cw2-marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .cw2-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .cw2-marquee-track[aria-hidden="true"], .cw2-marquee-track .cw2-dup { display: none; }
  .cw2-marquee { width: 100%; justify-content: center; -webkit-mask-image: none; mask-image: none; }
}

/* Cifras */
.cw2-stats-section { padding-top: 48px; padding-bottom: 48px; }
.cw2-stats { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--cw2-line); border: 1px solid var(--cw2-line); border-radius: var(--cw2-radius); overflow: hidden; }
.cw2-stats div { background: var(--cw2-bg); padding: clamp(22px, 3vw, 40px); }
.cw2-stats dt { font-size: clamp(40px, 5vw, 72px); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: #fff; }
.cw2-stats dd { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--cw2-muted); }
@media (max-width: 860px) { .cw2-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Proceso de 5 pasos */
.cw2-steps.cw2-steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .cw2-steps.cw2-steps-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 640px) { .cw2-steps.cw2-steps-5 { grid-template-columns: 1fr; } }

/* ==========================================================================
   v2 · Movimiento: reveal, contadores y proceso con panel visual
   ========================================================================== */
.cw2-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-smooth, ease), transform .9s var(--ease-smooth, ease); }
.cw2-reveal.is-in { opacity: 1; transform: none; }

.cw2-proc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.cw2-proc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cw2-line); }
.cw2-proc-item { border-bottom: 1px solid var(--cw2-line); }
.cw2-proc-btn {
  width: 100%; display: flex; align-items: center; gap: 18px; padding: 22px 0; cursor: pointer;
  background: none; border: 0; color: var(--cw2-muted); text-align: left; font: inherit;
  transition: color .3s;
}
.cw2-proc-btn:hover, .cw2-proc-item.is-active .cw2-proc-btn { color: #fff; }
.cw2-proc-btn:focus-visible { outline: 2px solid #4FB3E8; outline-offset: 4px; border-radius: 4px; }
.cw2-proc-num { font-size: 12px; letter-spacing: .14em; color: #4FB3E8; font-variant-numeric: tabular-nums; }
.cw2-proc-title { flex: 1; font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; letter-spacing: -.01em; }
.cw2-proc-icon { position: relative; width: 14px; height: 14px; }
.cw2-proc-icon::before, .cw2-proc-icon::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease-smooth, ease); }
.cw2-proc-icon::after { transform: rotate(90deg); }
.cw2-proc-item.is-active .cw2-proc-icon::after { transform: rotate(0deg); }
.cw2-proc-body { padding: 0 0 24px 46px; animation: cw2-panel-in .5s var(--ease-smooth, ease); }
.cw2-proc-body p { margin: 0; color: var(--cw2-muted); font-size: 15px; line-height: 1.6; max-width: 48ch; }
.cw2-proc-bar { display: block; height: 2px; margin-top: 18px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; border-radius: 2px; }
.cw2-proc-bar::after { content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: var(--cw2-blue); }
.cw2-proc-bar.is-run::after { animation: cw2-bar var(--cw2-proc-dur, 5s) linear forwards; }
.cw2-proc.is-manual .cw2-proc-bar { display: none; }
@keyframes cw2-bar { to { transform: scaleX(1); } }
@keyframes cw2-panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.cw2-proc-stage { position: sticky; top: 110px; }
.cw2-win { border: 1px solid var(--cw2-line-strong); border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #0D1220, #080B12); box-shadow: 0 40px 80px -30px rgba(0, 113, 227, .35); }
.cw2-win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--cw2-line); }
.cw2-win-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.cw2-win-bar i:first-child { background: #FF5F57; } .cw2-win-bar i:nth-child(2) { background: #FEBC2E; } .cw2-win-bar i:nth-child(3) { background: #28C840; }
.cw2-win-url { margin-left: 12px; font-size: 11px; color: var(--cw2-muted); padding: 4px 10px; border-radius: 6px; background: rgba(255,255,255,.05); }
.cw2-win-body { position: relative; aspect-ratio: 16 / 10; }
.cw2-pane { position: absolute; inset: 0; display: grid; place-items: center; padding: 8%; opacity: 0; transform: scale(.98); transition: opacity .6s var(--ease-smooth, ease), transform .6s var(--ease-smooth, ease); pointer-events: none; }
.cw2-pane.is-active { opacity: 1; transform: none; }

/* 01 brief */
.pz-brief { width: 100%; max-width: 380px; display: grid; gap: 12px; padding: 22px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--cw2-line); }
.pz-brief b { font-size: 13px; color: #fff; }
.pz-line { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.1); width: 0; }
.is-active .pz-line { animation: pz-grow 1s var(--ease-smooth, ease) forwards; }
.is-active .pz-line:nth-of-type(2) { animation-delay: .2s; } .is-active .pz-line:nth-of-type(3) { animation-delay: .4s; }
@keyframes pz-grow { to { width: var(--w); } }
.pz-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.pz-chips em { font-style: normal; font-size: 11px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(79,179,232,.5); color: #BFE3F7; opacity: 0; }
.is-active .pz-chips em { animation: cw2-panel-in .5s forwards; }
.is-active .pz-chips em:nth-child(1) { animation-delay: .6s; } .is-active .pz-chips em:nth-child(2) { animation-delay: .75s; } .is-active .pz-chips em:nth-child(3) { animation-delay: .9s; }
/* 02 árbol */
.pz-tree { display: grid; justify-items: center; gap: 34px; width: 100%; }
.pz-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; position: relative; }
.pz-row::before { content: ""; position: absolute; left: 10%; right: 10%; top: -18px; height: 1px; background: rgba(255,255,255,.18); }
.pz-node { font-size: 12px; padding: 9px 14px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--cw2-line-strong); color: #E5E5EA; opacity: 0; }
.pz-root { background: var(--cw2-blue); border-color: var(--cw2-blue); color: #fff; }
.is-active .pz-node { animation: cw2-panel-in .5s forwards; }
.is-active .pz-row .pz-node:nth-child(1) { animation-delay: .25s; } .is-active .pz-row .pz-node:nth-child(2) { animation-delay: .35s; } .is-active .pz-row .pz-node:nth-child(3) { animation-delay: .45s; } .is-active .pz-row .pz-node:nth-child(4) { animation-delay: .55s; }
/* 03 build */
.pz-build { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pz-wire { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.pz-wire span { height: 46px; border-radius: 8px; border: 1px dashed rgba(255,255,255,.25); transition: background .6s, border-color .6s; }
.pz-wire span:first-child { grid-column: 1 / -1; height: 70px; }
.is-active .pz-wire span { animation: pz-fill .6s forwards; }
.is-active .pz-wire span:nth-child(2) { animation-delay: .25s; } .is-active .pz-wire span:nth-child(3) { animation-delay: .4s; } .is-active .pz-wire span:nth-child(4) { animation-delay: .55s; }
@keyframes pz-fill { to { background: linear-gradient(135deg, rgba(0,113,227,.55), rgba(79,179,232,.25)); border-color: transparent; } }
.pz-code { display: grid; gap: 9px; align-content: center; padding: 16px; border-radius: 10px; background: rgba(0,0,0,.35); border: 1px solid var(--cw2-line); }
.pz-code i { display: block; height: 6px; border-radius: 3px; background: rgba(79,179,232,.55); width: 0; }
.pz-code i:nth-child(even) { background: rgba(255,255,255,.22); }
.is-active .pz-code i { animation: pz-grow .7s var(--ease-smooth, ease) forwards; }
.is-active .pz-code i:nth-child(2) { animation-delay: .15s; } .is-active .pz-code i:nth-child(3) { animation-delay: .3s; } .is-active .pz-code i:nth-child(4) { animation-delay: .45s; } .is-active .pz-code i:nth-child(5) { animation-delay: .6s; }
/* 04 checks */
.pz-checks { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 360px; display: grid; gap: 10px; }
.pz-checks li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--cw2-line); font-size: 14px; color: #E5E5EA; opacity: 0; }
.pz-checks li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #28C840; color: #04210C; font-size: 12px; font-weight: 700; }
.is-active .pz-checks li { animation: cw2-panel-in .45s forwards; }
.is-active .pz-checks li:nth-child(2) { animation-delay: .25s; } .is-active .pz-checks li:nth-child(3) { animation-delay: .5s; } .is-active .pz-checks li:nth-child(4) { animation-delay: .75s; }
/* 05 lanzamiento */
.pz-launch { position: relative; width: 100%; max-width: 420px; padding: 22px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--cw2-line); }
.pz-launch svg { width: 100%; height: 120px; display: block; margin-top: 14px; }
.pz-launch path { fill: none; stroke: #4FB3E8; stroke-width: 2.5; stroke-dasharray: 420; stroke-dashoffset: 420; }
.is-active .pz-launch path { animation: pz-draw 1.6s var(--ease-smooth, ease) forwards .2s; }
@keyframes pz-draw { to { stroke-dashoffset: 0; } }
.pz-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #fff; }
.pz-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #28C840; box-shadow: 0 0 0 0 rgba(40,200,64,.6); animation: pz-pulse 1.8s infinite; }
@keyframes pz-pulse { 70% { box-shadow: 0 0 0 10px rgba(40,200,64,0); } 100% { box-shadow: 0 0 0 0 rgba(40,200,64,0); } }
.pz-launch small { position: absolute; right: 14px; top: 20px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--cw2-muted); }

@media (max-width: 900px) {
  .cw2-proc { grid-template-columns: 1fr; }
  .cw2-proc-stage { position: relative; top: 0; order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .cw2-reveal { opacity: 1; transform: none; transition: none; }
  .cw2-pane, .cw2-proc-body { transition: none; animation: none; }
  .cw2-pane * { animation: none !important; opacity: 1 !important; }
  .pz-line, .pz-code i { width: var(--w); }
  .pz-wire span { background: rgba(0,113,227,.35); }
  .pz-launch path { stroke-dashoffset: 0; }
  .cw2-proc-bar { display: none; }
}

/* v2 · cifras de mercado (estilo grande, centrado) */
.cw2-stats-title { margin: 0 auto clamp(28px, 4vw, 48px); max-width: 26ch; text-align: center; font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.02em; color: #fff; }
.cw2-stats { background: transparent; border: 0; gap: clamp(20px, 3vw, 40px); }
.cw2-stats div { background: transparent; padding: 0; text-align: center; }
.cw2-stats dt { font-size: clamp(52px, 6.5vw, 96px); font-weight: 400; font-variant-numeric: tabular-nums; }
.cw2-stats dd { max-width: 26ch; margin: 16px auto 0; font-size: 15px; }
.cw2-stats-src { margin: clamp(28px, 4vw, 44px) auto 0; text-align: center; font-size: 12px; color: var(--cw2-muted); opacity: .8; }
@media (max-width: 860px) { .cw2-stats { row-gap: 40px; } }

/* v2 · Recorrido inmersivo con scroll (experiencias-web-inmersivas) */
.cw2-scrolly { position: relative; height: 420vh; background: #000; }
.cw2-sc-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.cw2-scrolly .cw-gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s; }
.cw2-scrolly .cw-gl.is-ready { opacity: 1; }
.cw2-sc-stick::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.55) 100%); }
.cw2-sc-text { position: relative; z-index: 2; width: min(920px, calc(100% - 32px)); display: grid; text-align: center; }
.cw2-sc-frame { grid-area: 1 / 1; margin: 0; font-size: clamp(28px, 4.6vw, 64px); line-height: 1.08; font-weight: 500; letter-spacing: -.03em; color: #fff; text-wrap: balance;
  opacity: 0; transform: translateY(40px) scale(.98); filter: blur(8px); transition: opacity .8s var(--ease-smooth, ease), transform .8s var(--ease-smooth, ease), filter .8s; }
.cw2-sc-frame.is-on { opacity: 1; transform: none; filter: none; }
.cw2-sc-frame.is-past { transform: translateY(-40px) scale(1.02); }
.cw2-sc-hint { position: absolute; z-index: 2; bottom: 34px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--cw2-muted); transition: opacity .5s; }
.cw2-sc-hint i { width: 1px; height: 38px; background: linear-gradient(#4FB3E8, transparent); animation: cw2-hint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cw2-hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.cw2-scrolly.is-started .cw2-sc-hint { opacity: 0; }
.cw2-sc-progress { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.06); }
.cw2-sc-progress i { display: block; height: 100%; background: var(--cw2-blue); transform: scaleX(0); transform-origin: left; }
/* Sin movimiento: textos uno tras otro, sin sticky */
.cw2-scrolly.is-static { height: auto; }
.cw2-scrolly.is-static .cw2-sc-stick { position: relative; height: auto; padding: clamp(64px, 10vw, 140px) 0; }
.cw2-scrolly.is-static .cw2-sc-text { gap: 36px; }
.cw2-scrolly.is-static .cw2-sc-frame { grid-area: auto; opacity: 1; transform: none; filter: none; font-size: clamp(24px, 3.4vw, 44px); }
.cw2-scrolly.is-static .cw2-sc-hint, .cw2-scrolly.is-static .cw2-sc-progress { display: none; }

.cw2-pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--cw2-line); border: 1px solid var(--cw2-line); border-radius: var(--cw2-radius); overflow: hidden; }
.cw2-pillars-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cw2-pillars li { background: var(--cw2-bg); padding: clamp(22px, 2.4vw, 32px); }
.cw2-pillars b { font-size: 12px; letter-spacing: .14em; color: #4FB3E8; font-weight: 500; }
.cw2-pillars h3 { margin: 18px 0 10px; font-size: 18px; font-weight: 500; color: #fff; letter-spacing: -.01em; }
.cw2-pillars p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--cw2-muted); }
.cw2-yesno { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.cw2-yesno > div { padding: clamp(24px, 3vw, 40px); border-radius: var(--cw2-radius); border: 1px solid var(--cw2-line-strong); background: linear-gradient(180deg, rgba(0,113,227,.12), transparent 60%); }
.cw2-yesno > div.is-no { background: rgba(255,255,255,.02); border-color: var(--cw2-line); }
.cw2-yesno h3 { margin: 0 0 18px; font-size: 20px; font-weight: 500; color: #fff; }
.cw2-yesno ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cw2-yesno li { position: relative; padding-left: 28px; color: #D2D2D7; font-size: 15px; line-height: 1.5; }
.cw2-yesno li::before { content: "✓"; position: absolute; left: 0; color: #4FB3E8; }
.cw2-yesno .is-no li { color: var(--cw2-muted); }
.cw2-yesno .is-no li::before { content: "–"; color: var(--cw2-muted); }
@media (max-width: 1000px) { .cw2-pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .cw2-pillars, .cw2-pillars-3, .cw2-yesno { grid-template-columns: 1fr; } .cw2-scrolly { height: 360vh; } }
@media (prefers-reduced-motion: reduce) { .cw2-sc-frame { transition: none; } .cw2-sc-hint i { animation: none; } }

/* v2 · Línea de especialidades bajo el encabezado del sitio */
.cw2-topline { position: relative; z-index: 3; margin: 0 auto clamp(18px, 3vw, 36px); padding: 0 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: .1em .55em; font-size: clamp(26px, 4.4vw, 64px); font-weight: 900; line-height: 1.02; letter-spacing: -.035em; text-align: center; }
.cw2-topline a { color: #fff; text-decoration: none; opacity: 0; transform: translateY(18px); animation: cw2-panel-in .8s var(--ease-smooth, ease) forwards; transition: color .3s; }
.cw2-topline a:nth-child(2) { animation-delay: .12s; } .cw2-topline a:nth-child(3) { animation-delay: .24s; }
.cw2-topline a:hover { color: #4FB3E8; }
@media (prefers-reduced-motion: reduce) { .cw2-topline a { opacity: 1; transform: none; animation: none; } }

/* v2 · Laboratorio: ventanas de vidrio + edición en vivo (cw-lab-fx.js) */
#digitalLab .digital-stage { --lp: 1; --mx: 0; --my: 0; }
#digitalLab.cwx-on .digital-site { transform: perspective(1400px) rotateX(calc((1 - var(--lp)) * 16deg)) rotateY(calc(var(--mx) * 4deg)) scale(calc(.9 + var(--lp) * .1)); transition: transform .25s linear; transform-origin: 50% 80%; }
/* Mini página con foto real */
.cwx-hero { background: #1b1410; color: #fff; }
.cwx-media { position: absolute; inset: 0; overflow: hidden; }
.cwx-img { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; opacity: 0; transform: scale(1.12) translate(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -10px)); transition: opacity 1.1s ease, transform 6s cubic-bezier(.2,.7,.2,1); }
.cwx-img.is-on { opacity: 1; transform: scale(1.02) translate(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -10px)); }
.cwx-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,10,8,.82) 0%, rgba(14,10,8,.45) 45%, rgba(14,10,8,0) 75%); pointer-events: none; }
.cwx-copy { position: relative; z-index: 2; }
.cwx-hero .cwx-k { color: #E9DCCB; transition: opacity .25s, transform .25s; }
.cwx-hero .cwx-title { color: #fff; margin: 20px 0; }
.cwx-hero .editorial-copy { color: rgba(255,255,255,.82); transition: opacity .25s, transform .25s; }
.cwx-k.is-swap, .cwx-c.is-swap { opacity: 0; transform: translateY(6px); }
.cwx-sel { position: relative; display: inline-block; padding: 2px 6px; margin: -2px -6px; border-radius: 4px; outline: 1.5px solid transparent; transition: outline-color .25s, background .25s; }
.cwx-sel.is-sel { outline-color: #4FB3E8; background: rgba(79,179,232,.12); }
.cwx-tag { position: absolute; left: -1px; top: -20px; font: 600 9px/1 Inter, system-ui, sans-serif; font-style: normal; letter-spacing: .08em; padding: 4px 6px; border-radius: 3px; background: #4FB3E8; color: #04121D; opacity: 0; transition: opacity .25s; }
.cwx-sel.is-sel .cwx-tag { opacity: 1; }
.cwx-caret { display: none; width: 3px; height: .8em; margin-left: 4px; background: #4FB3E8; vertical-align: -.05em; animation: cwx-blink .8s steps(1) infinite; }
.cwx-ed.is-editing .cwx-caret { display: inline-block; }
@keyframes cwx-blink { 50% { opacity: 0; } }
.cwx-cursor { position: absolute; left: 0; top: 0; z-index: 5; display: flex; align-items: flex-start; gap: 4px; opacity: 0; transform: translate(70%, 80%); transition: transform 1s cubic-bezier(.65,0,.35,1), opacity .4s; pointer-events: none; filter: drop-shadow(0 4px 8px rgba(0,0,0,.4)); }
.cwx-cursor.is-on { opacity: 1; }
.cwx-cursor b { margin-top: 16px; font: 600 9px/1 Inter, system-ui, sans-serif; letter-spacing: .06em; padding: 4px 7px; border-radius: 999px; background: #0071E3; color: #fff; }
.cwx-ed .site-bottom { color: #fff; border-top-color: rgba(255,255,255,.18); z-index: 2; background: rgba(10,8,6,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cwx-bar { flex: 0 1 30%; height: 2px; background: rgba(255,255,255,.2); overflow: hidden; }
.cwx-bar i { display: block; height: 100%; background: #fff; transform: scaleX(.25); transform-origin: left; transition: transform .8s ease; }
.cwx-ed .site-top { position: relative; z-index: 3; }
/* Ventanas de vidrio */
.cwx-glass { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; color: #fff; font-size: 13px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 18px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.12); pointer-events: none;
  transform: translate(calc(var(--gx, 0px) * (1 - var(--lp, 1)) + var(--mx, 0) * var(--gd, 20px)), calc(var(--my, 0) * var(--gd, 20px))); transition: transform .3s ease-out, opacity .5s, background .4s; }
.cwx-g-ai { left: -14%; top: -4%; --gx: -80px; --gd: 26px; max-width: 300px; flex-wrap: wrap; opacity: .9; }
.cwx-g-ai.is-on { background: rgba(0,113,227,.22); opacity: 1; }
.cwx-spark { color: #8FD0FF; }
.cwx-prompt { flex: 1 1 160px; font-size: 12.5px; line-height: 1.35; }
.cwx-models { display: flex; gap: 5px; flex-basis: 100%; }
.cwx-models i { font-style: normal; font-size: 10px; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.cwx-g-status { right: -6%; top: 22%; --gx: 90px; --gd: -18px; min-width: 150px; }
.cwx-dot { width: 14px; height: 14px; border-radius: 4px; background: #28C840; transition: background .3s; }
.cwx-g-status.is-edit { background: rgba(0,113,227,.25); } .cwx-g-status.is-edit .cwx-dot { background: #4FB3E8; }
.cwx-g-status.is-pub { background: rgba(214,184,0,.55); } .cwx-g-status.is-pub .cwx-dot { background: #FFD60A; animation: cwx-blink .5s steps(1) infinite; }
.cwx-g-all { left: -9%; bottom: 20%; --gx: -110px; --gd: 14px; min-width: 250px; justify-content: space-between; background: rgba(40,40,44,.55); }
.cwx-ico { width: 26px; height: 26px; border-radius: 50%; background: repeating-linear-gradient(180deg, rgba(255,255,255,.75) 0 2px, transparent 2px 6px), rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.4); }
.cwx-g-order { right: -5%; bottom: 12%; --gx: 70px; --gd: -24px; flex-direction: column; align-items: flex-start; gap: 3px; opacity: 0; }
.cwx-g-order.is-on { opacity: 1; }
.cwx-g-order small { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.cwx-g-order b { font-size: 13px; font-weight: 500; }
@media (max-width: 900px) { .cwx-g-ai { left: 0; top: -6%; } .cwx-g-status { right: 0; top: 14%; } .cwx-g-all { left: 0; bottom: 8%; min-width: 0; } .cwx-g-order { right: 0; bottom: 18%; } }
@media (max-width: 560px) { .cwx-glass { font-size: 11px; padding: 9px 12px; } .cwx-g-ai { max-width: 230px; } .cwx-prompt { font-size: 11px; } .cwx-g-all { display: none; } }
#digitalLab.cwx-static .digital-site, #digitalLab.cwx-static .cwx-glass { transform: none; transition: none; }
#digitalLab.cwx-static .cwx-img { transition: none; }

/* v2 · Píldora "Con Inteligencia Artificial" bajo el laboratorio */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cwx-aipill { grid-column: 2; justify-self: center; display: inline-flex; align-items: center; gap: 14px; margin-top: 8px; padding: 8px 20px 8px 10px; border-radius: 999px; color: #E5E5EA; font-size: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transform: translateY(14px); animation: cw2-panel-in .8s .3s var(--ease-smooth, ease) forwards; }
.cwx-ai-icons { display: inline-flex; }
.cwx-ai-icons i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #0B0D12; margin-left: -6px; transition: transform .3s; }
.cwx-ai-icons i:first-child { margin-left: 0; }
.cwx-ai-icons svg { width: 16px; height: 16px; }
.ai-claude { background: #D97757; } .ai-gemini { background: #fff; } .ai-chatgpt { background: #10A37F; }
.cwx-aipill:hover .cwx-ai-icons i { transform: translateY(-2px); }
.cwx-aipill:hover .cwx-ai-icons i:nth-child(2) { transition-delay: .05s; } .cwx-aipill:hover .cwx-ai-icons i:nth-child(3) { transition-delay: .1s; }
@media (max-width: 900px) { .cwx-aipill { grid-column: 1; } }
@media (prefers-reduced-motion: reduce) { .cwx-aipill { opacity: 1; transform: none; animation: none; } }
/* Recorrido automático por las pestañas del laboratorio */
#digitalLab .digital-lab-tab { position: relative; }
#digitalLab .digital-lab-tab.cwx-touring::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #0071E3; transform-origin: left; animation: cw2-bar var(--tour-ms, 6s) linear forwards; transform: scaleX(0); }
/* Tarjeta de proyecto con enlace (Nanish) */
a.cw2-card-link { display: block; color: inherit; text-decoration: none; }
a.cw2-card-link:focus-visible { outline: 2px solid #4FB3E8; outline-offset: 4px; }
a.cw2-card-link .sp-showcase-title span { color: #4FB3E8; }

/* v2 · Videos centrados bajo el carrusel (el hero ya va centrado) */
#creativewebHero .cw-videos-row { grid-template-columns: 1fr; justify-items: center; }
#creativewebHero .cw-videos-spacer { display: none; }
