/* ============================================================
   YUSTA SECTIONS EXTRA · v76e · 2026-05-23
   Estilos para SOLO las secciones recuperadas que NO están en v9 embedded:
   - pricing-teaser
   - rotator
   - offsw-section
   - process
   - manifesto (estructura propia del actual · grid 2 cols)
   Sin tocar nada del hero v9 (eso lo maneja el embedded CSS).
   ============================================================ */

/* === PRICING-TEASER · 2 anchors + divider + CTA + 4 bullets includes === */
.pricing-teaser {
  position: relative;
  padding: 64px 0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(199, 205, 212, 0.02) 50%,
    transparent 100%);
}
.pricing-teaser .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 48px);
}
.pricing-teaser-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.pricing-teaser-anchor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.pricing-teaser-anchor > span:first-child {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yl-silver-dim, #969FAB);
}
.pricing-teaser-anchor em {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 900;
  font-style: normal;
  color: var(--yl-copper-light, #C9F2F7);
  letter-spacing: -0.035em;
  line-height: 1;
}
.pricing-teaser-anchor > span:last-child {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--yl-silver-mirror, #C7CDD4);
  font-weight: 500;
}
.pricing-teaser-divider {
  font-family: 'JetBrains Mono', monospace;
  font-size: 32px;
  color: var(--yl-silver-shadow, #4A525C);
  font-weight: 300;
}
.pricing-teaser-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(159, 228, 238, 0.16);
  border: 1px solid var(--yl-copper-rim, #9FE4EE);
  color: var(--yl-copper-light, #C9F2F7);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: all 0.25s ease;
}
.pricing-teaser-cta:hover {
  background: rgba(159, 228, 238, 0.28);
  transform: translateY(-2px);
}
.pricing-teaser-includes {
  list-style: none;
  margin: 32px auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  max-width: 1040px;
}
.pricing-teaser-includes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--yl-silver-mirror, #C7CDD4);
}
.pricing-teaser-includes li strong {
  color: var(--yl-silver-light, #E8EAED);
  font-weight: 700;
}
.pricing-teaser-includes .pti-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yl-copper-rim, #9FE4EE);
  box-shadow: 0 0 8px rgba(159, 228, 238, 0.6);
  flex-shrink: 0;
}
.pricing-teaser-note {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yl-silver-dim, #969FAB);
  margin-top: 20px;
}

/* === ROTATOR · "Construimos / tu sistema" rotating === */
.rotator {
  padding: 80px 0;
  text-align: center;
  position: relative;
}
.rotator .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 48px);
}
.rotator-line {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--yl-silver-light, #E8EAED);
}
.rotator-static {
  color: var(--yl-silver-mirror, #C7CDD4);
}
.rotator-slot {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
}
.rotator-window {
  display: inline-block;
  overflow: hidden;
  height: 1.05em;
  vertical-align: bottom;
  position: relative;
}
.rotator-track {
  display: flex;
  flex-direction: column;
  animation: rotator-cycle 16s steps(8, end) infinite;
}
.rotator-track > span {
  display: block;
  height: 1.05em;
  white-space: nowrap;
  color: var(--yl-copper-light, #C9F2F7);
  font-weight: 900;
}
@keyframes rotator-cycle {
  0%, 11% { transform: translateY(0) }
  12.5%, 23.5% { transform: translateY(-1.05em) }
  25%, 36% { transform: translateY(-2.10em) }
  37.5%, 48.5% { transform: translateY(-3.15em) }
  50%, 61% { transform: translateY(-4.20em) }
  62.5%, 73.5% { transform: translateY(-5.25em) }
  75%, 86% { transform: translateY(-6.30em) }
  87.5%, 98.5% { transform: translateY(-7.35em) }
  100% { transform: translateY(-8.40em) }
}
.rotator-progress {
  margin-top: 24px;
  height: 2px;
  background: rgba(199, 205, 212, 0.08);
  border-radius: 1px;
  overflow: hidden;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.rotator-progress-fill {
  display: block;
  height: 100%;
  background: var(--yl-copper-rim, #9FE4EE);
  animation: rotator-progress 2s linear infinite;
  transform-origin: left;
}
@keyframes rotator-progress {
  0% { transform: scaleX(0) }
  100% { transform: scaleX(1) }
}

/* === OFFSW-SECTION · 4 ofertas con preview tabs === */
.offsw-section {
  padding: 96px 0;
  position: relative;
}
.offsw-section .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 48px);
}
.offsw-section .kicker-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yl-silver-dim, #969FAB);
  margin-bottom: 24px;
}
.offsw-section .kicker-row .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yl-copper-rim, #9FE4EE);
}
.offsw-section .kicker-row .spacer {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--yl-silver-shadow, #4A525C), transparent);
  max-width: 280px;
}
.offsw-section .section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--yl-silver-light, #E8EAED);
  margin-bottom: 48px;
}
.offsw-section .section-title em {
  font-style: normal;
  color: var(--yl-silver-mirror, #C7CDD4);
}
.offsw {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 100%;
}
/* FIX 2026-05-28: min-width:0 permite que la columna del mockup se comprima
   con zoom/pantallas chicas en vez de desbordar y cortar los tabs de la izq.
   El mockup clipea su contenido interno en vez de empujar el layout. */
.offsw > * { min-width: 0; }
.offsw-stage, .offsw-main { overflow: hidden; }
@media (max-width: 860px) {
  .offsw { grid-template-columns: 1fr }
}
.offsw-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.offsw-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid rgba(199, 205, 212, 0.08);
  border-radius: 10px;
  color: var(--yl-silver-mirror, #C7CDD4);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}
.offsw-tab:hover {
  background: rgba(199, 205, 212, 0.04);
  border-color: rgba(199, 205, 212, 0.18);
}
.offsw-tab.active {
  background: rgba(159, 228, 238, 0.10);
  border-color: var(--yl-copper-rim, #9FE4EE);
  color: var(--yl-silver-light, #E8EAED);
}
.offsw-tab-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--yl-silver-dim, #969FAB);
  font-weight: 500;
}
.offsw-tab-lbl { flex: 1 }
.offsw-tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c, var(--yl-copper-rim));
}
.offsw-main {
  background: rgba(199, 205, 212, 0.04);
  border: 1px solid rgba(199, 205, 212, 0.10);
  border-radius: 14px;
  padding: 32px;
  min-height: 420px;
  font-family: 'Inter', sans-serif;
  color: var(--yl-silver-mirror, #C7CDD4);
}

/* === PROCESS section === */
.process {
  padding: 96px 0;
  position: relative;
}
.process .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 48px);
}

/* === MANIFESTO INNER (estructura propia del actual · grid 2 cols) ===
   Solo aplica si NO está el .bay container del v9 (que tiene su propia regla) */
section.manifesto:not(.bay) {
  padding: 96px 0;
  position: relative;
  display: block;
}
section.manifesto:not(.bay) .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 48px);
}
section.manifesto:not(.bay) .manifesto-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 720px) {
  section.manifesto:not(.bay) .manifesto-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
section.manifesto:not(.bay) .manifesto-side .sect-num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(80px, 8vw, 120px);
  font-weight: 300;
  line-height: 1;
  color: var(--yl-silver-light, #E8EAED);
}
section.manifesto:not(.bay) .manifesto-side .mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yl-silver-dim, #969FAB);
  margin-top: 12px;
}
section.manifesto:not(.bay) .manifesto-body {
  font-family: 'Inter', sans-serif;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--yl-silver-mirror, #C7CDD4);
}
section.manifesto:not(.bay) .manifesto-body p {
  margin-bottom: 28px;
  max-width: 720px;
}
section.manifesto:not(.bay) .manifesto-body p:last-child { margin-bottom: 0 }
section.manifesto:not(.bay) .manifesto-body .accent {
  color: var(--yl-silver-light, #E8EAED);
  font-weight: 700;
}

/* === Section reveal animations · v76g · SIEMPRE VISIBLES ===
   Las secciones recuperadas (pricing-teaser, rotator, offsw, process) usan
   .reveal-up . El JS del v9 escucha solo .reveal (sin -up) entonces nunca
   les agrega .in → quedan invisibles SIEMPRE.
   Fix: .reveal-up empieza visible · sin necesidad de JS. */
.reveal-up,
.reveal-up.in,
.reveal-up.in-view {
  opacity: 1 !important;
  transform: none !important;
}

/* === Tokens base (por si yusta.css no se carga) === */
:root {
  --yl-ink-black: #050B17;
  --yl-ink-deep: #0A1426;
  --yl-silver-light: #E8EAED;
  --yl-silver-mirror: #C7CDD4;
  --yl-silver-dim: #969FAB;
  --yl-silver-shadow: #4A525C;
  --yl-copper-rim: #9FE4EE;
  --yl-copper-light: #C9F2F7;
}
