/* ═══════════════════════════════════════════════
   APP LANDING — estilos compartidos Silabea + CronoGuía
   Carga después de main.css. No redefine variables del sistema.
═══════════════════════════════════════════════ */
:root {
  --amber: #F59E0B;        /* badge "en desarrollo" */
  --amber-dim: #D97706;
  --amber-pale: #FEF3C7;
  --amber-bg: #FFFBEB;
}

/* ══ Variantes claras para fondos oscuros ══ */
.sec-label-light { color: rgba(18,227,188,.6); }
.sec-title-light { color: var(--white); }
.sec-title-light em { color: var(--mint); }
.sec-lead-light { color: rgba(255,255,255,.55); }

/* ══ HERO ══ */
.app-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  padding: 170px 0 120px;
  overflow: hidden;
}
.app-hero .wrap { position: relative; z-index: 1; width: 100%; }
/* Vídeo de fondo opcional del hero (solo se activa si existe el <video>) */
.app-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.app-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(9,16,14,.97) 0%, rgba(9,16,14,.9) 50%, rgba(9,16,14,.78) 100%),
    linear-gradient(180deg, rgba(9,16,14,.4) 0%, rgba(9,16,14,.15) 40%, rgba(9,16,14,.5) 100%);
}
.app-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
.app-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mint);
  border: 1px solid rgba(18,227,188,.35);
  background: rgba(18,227,188,.07);
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.app-hero h1 {
  font-size: clamp(3.6rem, 9vw, 8.5rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.04em;
  color: var(--white);
  margin-bottom: 22px;
}
.app-hero-tagline {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--mint);
  margin-bottom: 22px;
}
.app-hero-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,.6);
  max-width: 480px;
  margin-bottom: 36px;
}
.app-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}
.app-feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.app-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 7px 14px;
  border-radius: 50px;
}
.app-feature-badge svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Hero centrado (CronoGuía) */
.app-hero.hero-centered { padding-bottom: 80px; }
.app-hero.hero-centered .app-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.app-hero.hero-centered h1 { font-size: clamp(2.8rem, 6.5vw, 5.2rem); line-height: 1.04; }
.app-hero.hero-centered .app-hero-desc { margin-left: auto; margin-right: auto; max-width: 540px; }
.app-hero.hero-centered .app-hero-ctas { justify-content: center; }

/* Textura nazarí — rombos + estrellas tenues en mint */
.hero-nazari::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, var(--mint) 0, var(--mint) 1px, transparent 1px, transparent 46px),
    repeating-linear-gradient(-45deg, var(--mint) 0, var(--mint) 1px, transparent 1px, transparent 46px);
  opacity: .03;
  pointer-events: none;
}
.hero-nazari::after {
  content: '✦ \2002 ✦ \2002 ✦ \2002 ✦ \2002 ✦ \2002 ✦ \2002 ✦ \2002 ✦ \2002 ✦ \2002 ✦ \2002 ✦ \2002 ✦';
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: .8rem;
  color: var(--mint);
  opacity: .06;
  pointer-events: none;
}

/* Fila de datos bajo el hero (CronoGuía) */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 760px;
  margin: 64px auto 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.hero-stat {
  background: rgba(255,255,255,.04);
  padding: 24px 16px;
  text-align: center;
}
.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--mint);
  margin-bottom: 4px;
}
.hero-stat span {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.5);
}

/* ══ MOCKUP MÓVIL (Silabea) ══ */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 272px;
  height: 560px;
  border-radius: 42px;
  border: 3px solid rgba(255,255,255,.14);
  background: linear-gradient(160deg, #0d1a15 0%, #09100e 100%);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(18,227,188,.08);
  padding: 12px;
}
/* Captura real dentro del marco del móvil */
.phone-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 30px;
  display: block;
}
.phone-notch {
  width: 110px;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: rgba(255,255,255,.08);
  margin: -18px auto 14px;
}
.phone-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: calc(100% - 18px);
  padding-top: 22px;
}
.phone-phase {
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(18,227,188,.55);
  margin-bottom: 26px;
}
.phone-syllable {
  font-size: 4.4rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--mint);
  line-height: 1;
  margin-bottom: 8px;
}
.phone-hint {
  font-size: .68rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 30px;
}
.phone-stars {
  display: flex;
  gap: 10px;
  font-size: 1.3rem;
  margin-bottom: auto;
}
.phone-stars span { animation: starTwinkle 2.6s ease-in-out infinite alternate; }
.phone-stars span:nth-child(2) { animation-delay: .4s; }
.phone-stars span:nth-child(3) { animation-delay: .8s; }
.phone-mic {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  animation: micSonar 2.4s ease-out infinite;
}
.phone-mic svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes micSonar {
  0% { box-shadow: 0 0 0 0 rgba(18,227,188,.5); }
  70% { box-shadow: 0 0 0 22px rgba(18,227,188,0); }
  100% { box-shadow: 0 0 0 0 rgba(18,227,188,0); }
}
@keyframes starTwinkle {
  from { opacity: .35; transform: scale(.85); }
  to { opacity: 1; transform: scale(1.1); }
}

/* ══ SECCIONES BASE ══ */
.app-sec { padding: 110px 0; position: relative; }
.app-sec-off { background: var(--off); }
.app-sec-ink { background: var(--ink); }
.app-sec-white { background: var(--white); }
.app-sec-head { margin-bottom: 56px; }
.clip-top {
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
  margin-top: -60px;
  padding-top: 170px;
}

/* ══ HISTORIA / PROBLEMA — 2 columnas ══ */
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.story-text p {
  font-size: .95rem;
  line-height: 1.85;
  color: var(--mid);
  margin-bottom: 18px;
}
.story-text p strong { color: var(--ink); }
.story-quote {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: 44px 40px;
}
/* Detalle decorativo de líneas diagonales en la franja derecha */
.story-quote::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: repeating-linear-gradient(135deg, rgba(18,227,188,.28) 0, rgba(18,227,188,.28) 1.5px, transparent 1.5px, transparent 13px);
  -webkit-mask-image: radial-gradient(circle at top right, #000 10%, transparent 72%);
  mask-image: radial-gradient(circle at top right, #000 10%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.story-quote blockquote,
.story-quote cite { position: relative; z-index: 1; }
.story-quote blockquote {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -.01em;
  color: var(--white);
  margin: 0 0 22px;
}
.story-quote blockquote::before { content: '“'; color: var(--mint); }
.story-quote blockquote::after { content: '”'; color: var(--mint); }
.story-quote cite {
  display: block;
  font-style: normal;
  font-size: .78rem;
  font-weight: 700;
  color: var(--mint);
}
.story-quote cite span {
  display: block;
  font-weight: 500;
  color: rgba(255,255,255,.45);
  margin-top: 2px;
}

/* Stat grande (CronoGuía — el problema) */
.big-stat { text-align: center; }
.big-stat strong {
  display: block;
  font-size: clamp(3.6rem, 7.5vw, 6rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--mint-dim);
  margin-bottom: 12px;
}
.big-stat span {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ══ VÍDEO ══ */
.video-shell { max-width: 860px; margin: 0 auto; }
.video-frame {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ══ PASOS NUMERADOS ══ */
.app-steps { margin-top: 56px; }
.steps-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.step-card {
  background: var(--off);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 36px 32px;
  position: relative;
  transition: all .3s var(--ease);
}
.step-card:hover {
  border-color: var(--mint);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(18,227,188,.08);
}
.step-num {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--mint);
  margin-bottom: 16px;
  display: block;
}
.step-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 10px;
}
.step-card p {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--mid);
  margin: 0;
}

/* Pasos grandes con línea conectora (CronoGuía) */
.steps-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps-line::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 12%;
  right: 12%;
  border-top: 2px dashed var(--line);
}
.step-big { position: relative; }
.step-big .step-num {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--mint-pale);
  color: var(--mint-dim);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1.5px var(--line);
}
.step-big h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 10px;
}
.step-big p {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--mid);
  margin: 0;
}

/* ══ CAPTURAS ══ */
.captures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.capture-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(9,16,14,.07);
}
.capture-card img { width: 100%; height: auto; display: block; }
.capture-placeholder {
  position: relative;
  padding-bottom: 130%;
  background: linear-gradient(160deg, var(--mint-bg) 0%, var(--mint-pale) 100%);
  border: 1.5px dashed rgba(13,196,162,.35);
  border-radius: var(--r-md);
}
.capture-placeholder span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mint-dim);
}

/* ══ DIFERENCIADORES (fondo ink) ══ */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.diff-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  padding: 34px 32px;
  transition: all .3s var(--ease);
}
.diff-card:hover {
  border-color: rgba(18,227,188,.35);
  background: rgba(255,255,255,.06);
}
.diff-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(18,227,188,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.diff-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.diff-card h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--white);
  margin-bottom: 10px;
}
.diff-card p {
  font-size: .86rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  margin: 0;
}

/* ══ ARQUITECTURA / FLUJO TÉCNICO (Silabea) ══ */
.tech-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 56px 0 40px;
}
.tech-node {
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--off);
  border: 1.5px solid var(--line);
  padding: 14px 22px;
  border-radius: 50px;
  white-space: nowrap;
}
.tech-node.node-final {
  background: var(--mint-pale);
  border-color: rgba(13,196,162,.4);
  color: var(--mint-dim);
}
.tech-arrow {
  color: var(--mint);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.tech-note {
  font-size: .92rem;
  line-height: 1.8;
  color: var(--mid);
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.tech-note strong { color: var(--ink); }

/* ══ GRID DE TECNOLOGÍAS (CronoGuía) ══ */
.app-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.tech-item {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px 28px;
  transition: all .3s var(--ease);
}
.tech-item:hover {
  border-color: var(--mint);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(18,227,188,.08);
}
.tech-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--mint-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--mint-dim);
  margin-bottom: 18px;
}
.tech-item h3 {
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 8px;
}
.tech-item p {
  font-size: .84rem;
  line-height: 1.7;
  color: var(--mid);
  margin: 0;
}
.tech-foot {
  margin-top: 44px;
  text-align: center;
  font-size: .9rem;
  font-style: italic;
  color: var(--mid);
}

/* ══ PERSONAJE YUSUF (CronoGuía) ══ */
.yusuf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
  margin-top: 56px;
}
.yusuf-text p {
  font-size: .95rem;
  line-height: 1.85;
  color: rgba(255,255,255,.6);
  margin-bottom: 26px;
}
.yusuf-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.yusuf-badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--mint);
  background: rgba(18,227,188,.07);
  border: 1px solid rgba(18,227,188,.3);
  padding: 7px 15px;
  border-radius: 50px;
}
.yusuf-quote {
  background: rgba(18,227,188,.08);
  border-left: 3px solid var(--mint);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 24px 28px;
  font-size: .98rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
}
.yusuf-figure { display: flex; }
.yusuf-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;   /* mantiene la cara de Yusuf al recortar */
  border-radius: var(--r-lg);
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
  border: 1px solid rgba(18,227,188,.12);
  display: block;
}
.yusuf-placeholder {
  width: 280px;
  height: 340px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--mint) 0%, var(--mint-dim) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  font-weight: 800;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(18,227,188,.18);
}

/* ══ MAPA / ESCALABILIDAD (CronoGuía) ══ */
.map-route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 56px 0 40px;
}
.map-city {
  font-size: .82rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(18,227,188,.35);
  padding: 12px 22px;
  border-radius: 50px;
  position: relative;
  white-space: nowrap;
}
.map-city.city-origin {
  background: var(--mint);
  color: var(--ink);
  border-color: var(--mint);
}
.map-link {
  width: 52px;
  border-top: 2px dotted rgba(18,227,188,.5);
  flex-shrink: 0;
}
.map-text {
  font-size: .92rem;
  line-height: 1.8;
  color: rgba(255,255,255,.55);
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

/* ══ EQUIPO (CronoGuía) ══ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.team-card {
  background: var(--off);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 36px 30px;
  text-align: center;
  transition: all .3s var(--ease);
}
.team-card:hover {
  border-color: var(--mint);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(18,227,188,.08);
}
.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(160deg, var(--mint) 0%, var(--mint-dim) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ink);
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 6px;
}
.team-card p {
  font-size: .8rem;
  color: var(--mid);
  margin: 0;
}
.team-note {
  margin-top: 44px;
  text-align: center;
  font-size: .9rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--mid);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ══ CTA FINAL ══ */
.app-cta-final {
  background: var(--mint);
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  margin-top: -60px;
  padding: 170px 0 110px;
  text-align: center;
}
.app-cta-final h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 20px;
}
.app-cta-final p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(9,16,14,.65);
  max-width: 520px;
  margin: 0 auto 36px;
}
.app-cta-final .cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* CTA final oscuro (CronoGuía — ink → ámbar profundo) */
.app-cta-final.cta-dark {
  background: linear-gradient(135deg, var(--ink) 0%, #1a0f00 100%);
}
.app-cta-final.cta-dark h2 { color: var(--white); }
.app-cta-final.cta-dark p { color: rgba(255,255,255,.55); }

/* ══ CronoGuía — hero centrado sobre vídeo (overlay legible + badges centrados) ══ */
.app-hero.hero-centered .app-hero-overlay {
  background:
    linear-gradient(180deg, rgba(9,16,14,.72) 0%, rgba(9,16,14,.58) 45%, rgba(9,16,14,.88) 100%),
    linear-gradient(90deg, rgba(9,16,14,.35) 0%, rgba(9,16,14,0) 50%, rgba(9,16,14,.35) 100%);
}
.app-hero.hero-centered .app-feature-badges { justify-content: center; }

/* ══ CronoGuía — capturas a 2 (conversación + mapa) ══ */
.captures-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.capture-block { display: flex; flex-direction: column; }
.capture-cap {
  margin-top: 16px;
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  color: var(--mid);
}

/* ══ CronoGuía — chips de idioma ══ */
.lang-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 48px 0 30px;
}
.lang-chip {
  display: inline-flex;
  align-items: center;
  font-size: .84rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  padding: 11px 22px;
  border-radius: 50px;
}
.lang-chip.featured {
  background: var(--mint-pale);
  border-color: rgba(13,196,162,.4);
  color: var(--mint-dim);
}
.lang-note {
  text-align: center;
  font-size: .92rem;
  line-height: 1.8;
  color: var(--mid);
  max-width: 640px;
  margin: 0 auto;
}
.lang-note strong { color: var(--ink); }

/* ══ CronoGuía — hero centrado con el vídeo del episodio como protagonista ══ */
.app-hero.hero-centered .app-hero-inner { max-width: 940px; }
.app-hero.hero-centered h1 { max-width: 760px; margin: 0 auto 16px; font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.05; }
.app-hero.hero-centered .app-hero-tagline { color: var(--mint); margin-bottom: 0; }
.hero-video-main { width: 100%; margin: 38px auto 30px; }
.hero-video-main .video-frame { box-shadow: 0 30px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(18,227,188,.14); }
.app-hero.hero-centered .app-hero-ctas { justify-content: center; margin-bottom: 26px; }
.app-hero.hero-centered .app-feature-badges { justify-content: center; margin-bottom: 22px; }
.hero-legend { font-size: .84rem; line-height: 1.75; color: rgba(255,255,255,.55); max-width: 620px; margin: 0 auto; text-align: center; }
.hero-legend strong { color: rgba(255,255,255,.85); font-weight: 700; }

/* ══ CronoGuía — experiencia: 2x2 de pasos + carrusel de la app (misma altura) ══ */
.exp-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: stretch; margin-top: 56px; }
.exp-grid .steps-2x2 { margin: 0; align-content: center; }

/* Carrusel de capturas (automático, en bucle) — la altura la marcan las cards */
.app-carousel { display: flex; flex-direction: column; align-items: center; gap: 16px; height: 100%; }
.app-carousel-viewport { position: relative; flex: 1; min-height: 0; width: 100%; }
.app-slide {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  max-width: 100%;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 70px rgba(9,16,14,.16), 0 0 0 1px rgba(9,16,14,.05);
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.app-slide.is-active { opacity: 1; }
.app-carousel-dots { display: flex; gap: 9px; }
.app-carousel-dots .dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(9,16,14,.18);
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.app-carousel-dots .dot.is-active { background: var(--mint-dim); transform: scale(1.15); }

/* ══ CronoGuía — ondas de conversación de fondo (Por qué es distinta) ══ */
.diff-section { position: relative; overflow: hidden; }
.diff-section .wrap { position: relative; z-index: 1; }
.diff-waves { position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.diff-waves .wave {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1.5px solid rgba(18,227,188,.5);
  border-radius: 50%;
  opacity: 0;
  animation: diffWave 7.5s ease-out infinite;
}
.diff-waves .wave:nth-child(2) { animation-delay: 1.5s; }
.diff-waves .wave:nth-child(3) { animation-delay: 3s; }
.diff-waves .wave:nth-child(4) { animation-delay: 4.5s; }
.diff-waves .wave:nth-child(5) { animation-delay: 6s; }
@keyframes diffWave {
  0% { transform: scale(.15); opacity: .32; }
  70% { opacity: .05; }
  100% { transform: scale(3.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .diff-waves { display: none; } }

/* ══ CronoGuía — icono en el título de cada paso ══ */
.step-card h3 svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ══ CronoGuía — saludos animados de fondo (sección idioma) ══ */
.lang-section { overflow: hidden; }
.lang-section .wrap { position: relative; z-index: 1; }
.lang-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(6px, 3vw, 28px);
  pointer-events: none;
  user-select: none;
}
.lang-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  font-size: clamp(2.2rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--mint-dim);
  will-change: transform;
}
.lang-track span { padding-right: .35em; }
.lang-track--1 { opacity: .09; animation: langScroll 42s linear infinite; }
.lang-track--2 { opacity: .06; animation: langScrollRev 55s linear infinite; }
.lang-track--3 { opacity: .075; animation: langScroll 48s linear infinite; }
@keyframes langScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes langScrollRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .lang-track { animation: none; }
}

/* ══ CronoGuía — esferas con captura cuadrada ══ */
.sphere-card {
  background: var(--off);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all .3s var(--ease);
}
.sphere-card:hover {
  border-color: var(--mint);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(18,227,188,.08);
}
.sphere-media {
  position: relative;
  padding-bottom: 100%;      /* cuadrado fiable (evita aspect-ratio) */
  background: linear-gradient(160deg, var(--mint-bg) 0%, var(--mint-pale) 100%);
  border-bottom: 1.5px dashed rgba(13,196,162,.35);
  overflow: hidden;
}
.sphere-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sphere-media span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 18px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mint-dim);
}
.sphere-body { padding: 26px 26px 30px; }
.sphere-body h3 {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 8px;
}
.sphere-body p {
  font-size: .86rem;
  line-height: 1.7;
  color: var(--mid);
  margin: 0;
}

/* ══ RESPONSIVE ══ */
@media (max-width: 960px) {
  .app-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .app-hero h1 { font-size: clamp(3.2rem, 13vw, 5.5rem); }
  .app-hero.hero-centered h1 { font-size: clamp(2rem, 7.5vw, 3rem); }
  .exp-grid { grid-template-columns: 1fr; gap: 40px; }
  .app-carousel { height: auto; margin-top: 8px; }
  .app-carousel-viewport { flex: none; max-width: 280px; height: 0; padding-bottom: 219%; }
  .app-slide { top: 0; left: 0; transform: none; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
  .yusuf-photo { height: auto; }
  .story-grid,
  .yusuf-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-2x2,
  .diff-grid { grid-template-columns: 1fr; }
  .steps-line { grid-template-columns: 1fr; gap: 32px; }
  .steps-line::before { display: none; }
  .captures-grid,
  .app-tech-grid,
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .yusuf-figure { order: -1; }
}
@media (max-width: 640px) {
  .app-hero { padding: 140px 0 90px; }
  .hero-stats { grid-template-columns: 1fr; }
  .captures-grid,
  .app-tech-grid,
  .team-grid { grid-template-columns: 1fr; }
  .phone { width: 240px; height: 500px; }
  .tech-flow { flex-direction: column; }
  .tech-arrow { transform: rotate(90deg); }
  .map-route { flex-direction: column; gap: 0; }
  .map-link { width: 0; height: 28px; border-top: none; border-left: 2px dotted rgba(18,227,188,.5); }
  .story-quote { padding: 32px 26px; }
}
