/* ============================================================
   TOKENS & THEME
   ============================================================ */
:root {
  --cyan: #00C8F0;
  --cyan-dim: rgba(0, 200, 240, 0.12);
  --cyan-glow: rgba(0, 200, 240, 0.28);
  --green-wa: #25D366;
  --email-color: #EA4335;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --trans: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg:        #F8FAFC;
  --bg-alt:    #FFFFFF;
  --bg-card:   #FFFFFF;
  --border:    rgba(0,0,0,0.08);
  --text:      #0F172A;
  --text-muted:#475569;
  --text-dim:  #94A3B8;
  --surface:   rgba(0,0,0,0.03);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
  --bg:        #080C10;
  --bg-alt:    #0E1318;
  --bg-card:   #121820;
  --border:    rgba(255,255,255,0.08);
  --text:      #EDF2F7;
  --text-muted:#7D8FA3;
  --text-dim:  #3D4F60;
  --surface:   rgba(255,255,255,0.04);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   OCULTAR SCROLLBAR LATERAL (MANTENIENDO EL SCROLL ACTIVO)
   ============================================================ */
::-webkit-scrollbar {
  display: none;
}

html, body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background var(--trans), color var(--trans);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--cyan);
  z-index: 1000;
  width: 0%;
  transition: width 0.1s ease-out;
}

.tech-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  transition: transform var(--trans), color var(--trans);
  vertical-align: middle;
}

.tech-icon.sm { font-size: 0.85rem; }
.tech-icon.md { font-size: 1.1rem; }
.tech-icon.lg { font-size: 1.35rem; }

/* ============================================================
   UTILITIES & BUTTONS
   ============================================================ */
.container {
  width: 90%;
  max-width: 1120px;
  margin-inline: auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--cyan);
  flex-shrink: 0;
}

h2.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.65;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans), opacity var(--trans);
  border: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-wa {
  background: var(--green-wa);
  color: #fff;
  box-shadow: 0 4px 24px rgba(37,211,102,0.25);
}
.btn-wa:hover { box-shadow: 0 6px 36px rgba(37,211,102,0.38); }

.btn-email {
  background: var(--email-color);
  color: #fff;
  box-shadow: 0 4px 24px rgba(234,67,53,0.25);
}
.btn-email:hover { box-shadow: 0 6px 36px rgba(234,67,53,0.38); }

.btn-pulse {
  animation: pulseGlow 2.5s infinite;
}
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================================
   ANIMACIONES AL SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: var(--green-wa);
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wa-float:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.48);
}

.wa-float .icon-wa-svg {
  width: 28px;
  height: 28px;
  fill: #FFF;
}

.wa-float::before {
  content: '¿Hablamos?';
  position: absolute;
  right: 68px;
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(6px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.wa-float:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 5%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--trans);
}

[data-theme="dark"] .navbar {
  background: rgba(8,12,16,0.82);
}

.nav-logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  color: var(--text);
}
.nav-logo span { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--trans);
}
.nav-links a:hover { color: var(--cyan); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: background var(--trans), border-color var(--trans), color var(--trans);
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--cyan); color: var(--cyan); }

.icon-sun, .icon-moon { display: none; }
[data-theme="dark"] .icon-moon { display: block; }
[data-theme="light"] .icon-sun { display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -180px; right: -220px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 74% 22%, black 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 65% at 74% 22%, black 25%, transparent 72%);
  pointer-events: none;
}

.hero-network {
  position: absolute;
  top: 0;
  right: 0;
  width: min(52vw, 640px);
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
}

.hero-circuit-traces path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-opacity: 0.3;
}

.hero-circuit-nodes circle {
  fill: var(--cyan);
  filter: url(#heroGlow);
  animation: nodePulse 3.6s ease-in-out infinite;
}

.hero-circuit-nodes circle:nth-child(2n) { animation-delay: -1.2s; }
.hero-circuit-nodes circle:nth-child(3n) { animation-delay: -2.3s; }

.hero-chip {
  fill: url(#chipDots);
  stroke: var(--cyan);
  stroke-opacity: 0.25;
  stroke-width: 1;
}

.hero-chip-core {
  fill: var(--cyan);
  opacity: 0.55;
  filter: url(#heroGlow);
  animation: nodePulse 4.2s ease-in-out infinite;
}

@keyframes nodePulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,200,240,0.25);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 28px;
  font-family: 'JetBrains Mono', monospace;
}

.typewriter-cursor {
  display: inline-block;
  font-weight: 700;
  color: var(--cyan);
  animation: blink 0.75s infinite;
  margin-left: 2px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 24px;
}

/* ============================================================
   DIAGNÓSTICO
   ============================================================ */
.familiar {
  padding: 80px 5%;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.familiar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.familiar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}

.familiar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 200, 240, 0.3);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.familiar-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.familiar-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.servicios {
  padding: 96px 5%;
  background: var(--bg);
}

.servicios-header {
  margin-bottom: 56px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.servicio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
  position: relative;
  overflow: hidden;
}

.servicio-card:hover {
  border-color: rgba(0,200,240,0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.08);
}

.servicio-icon {
  width: 48px; height: 48px;
  background: var(--cyan-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.servicio-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.servicio-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   CÓMO TRABAJAMOS
   ============================================================ */
.proceso {
  padding: 96px 5%;
  background: var(--bg);
  overflow: hidden;
}

.proceso-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 64px;
}

.proceso-step {
  flex: 1 1 200px;
  position: relative;
  padding: 0 18px;
  text-align: center;
}

.proceso-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 62px;
  left: 50%;
  width: 100%;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--cyan) 0 8px, transparent 8px 14px);
  opacity: 0.35;
}

.proceso-node {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.proceso-tag {
  height: 20px;
  line-height: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--cyan);
  margin-bottom: 10px;
}

.proceso-chip {
  width: 64px;
  height: 64px;
  margin: 0 auto;
}

.proceso-chip svg {
  width: 100%;
  height: 100%;
  display: block;
}

.proceso-chip-body {
  fill: url(#procesoChipDots);
  stroke: var(--cyan);
  stroke-opacity: 0.3;
  stroke-width: 1;
}

.proceso-chip-core {
  fill: var(--cyan);
  opacity: 0.6;
  filter: url(#procesoGlow);
  animation: nodePulse 4s ease-in-out infinite;
}

.proceso-step:nth-child(2) .proceso-chip-core { animation-delay: -1s; }
.proceso-step:nth-child(3) .proceso-chip-core { animation-delay: -2s; }
.proceso-step:nth-child(4) .proceso-chip-core { animation-delay: -3s; }

.proceso-step h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.proceso-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 230px;
  margin-inline: auto;
}

/* ============================================================
   ¿POR QUÉ YOKETI?
   ============================================================ */
.sobre {
  padding: 96px 5%;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.sobre-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.why-yoketi-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.why-yoketi-box h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.why-yoketi-box .tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 28px;
}

.why-yoketi-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-yoketi-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.why-yoketi-list li .tech-icon {
  margin-top: 3px;
  flex-shrink: 0;
}

/* ============================================================
   EQUIPO
   ============================================================ */
.equipo {
  padding: 96px 5%;
  background: var(--bg);
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.equipo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}

.equipo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,200,240,0.3);
  box-shadow: 0 16px 36px rgba(0,0,0,0.08);
}

.equipo-avatar {
  width: 96px; height: 96px;
  background: var(--cyan-dim);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.equipo-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipo-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.equipo-card p {
  font-size: 0.88rem;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 16px;
}

.equipo-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 16px;
  transition: color var(--trans), border-color var(--trans);
}

.equipo-linkedin:hover {
  color: var(--cyan);
  border-color: rgba(0,200,240,0.3);
}

/* ============================================================
   CASOS DE ÉXITO
   ============================================================ */
.casos {
  padding: 80px 5%;
  background: var(--bg);
}

.casos-header {
  margin-bottom: 36px;
}

.trusted-logos-wrapper {
  margin-bottom: 48px;
  text-align: center;
}

.trusted-logos-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.trusted-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0.8;
}

.trusted-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform var(--trans), box-shadow var(--trans);
}

.trusted-logo-item img {
  display: block;
  height: 44px;
  width: auto;
}

.trusted-logo-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.caso-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.caso-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
}

.media-container-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.media-switcher {
  display: flex;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: var(--radius-sm);
  width: fit-content;
  gap: 4px;
}

.media-tab {
  background: transparent;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--trans);
  white-space: nowrap;
}

.media-tab.active {
  background: var(--bg-card);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}

.media-view {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0d1117;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}

.media-view video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-view img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}

.media-view.hidden-view {
  display: none !important;
}

.media-view.media-view--phone {
  aspect-ratio: auto;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 0;
}

.phone-carousel {
  position: relative;
  width: 100%;
  max-width: 230px;
  aspect-ratio: 9 / 18.5;
  background: #0d1117;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.phone-carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  cursor: zoom-in;
  transition: opacity 0.35s ease;
}

.phone-carousel-img.active {
  opacity: 1;
  pointer-events: auto;
}

.phone-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  transition: background var(--trans);
  z-index: 2;
}

.phone-carousel-arrow:hover {
  background: rgba(0,0,0,0.8);
}

.phone-carousel-prev { left: 8px; }
.phone-carousel-next { right: 8px; }

.phone-carousel-dots {
  display: flex;
  gap: 8px;
}

.phone-carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background var(--trans), transform var(--trans);
}

.phone-carousel-dots .dot.active {
  background: var(--cyan);
  transform: scale(1.25);
}

.phone-carousel-caption {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

.media-view.media-view--wide-carousel {
  aspect-ratio: auto;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-carousel.phone-carousel--wide {
  max-width: 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  background: #0d1117;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.phone-carousel--wide .phone-carousel-img {
  object-fit: contain;
}

.media-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  pointer-events: none;
  z-index: 3;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 32px;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  cursor: default;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--trans);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.22);
}

.caso-info-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.caso-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,200,240,0.2);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  width: fit-content;
}

.caso-info-right h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.caso-info-right p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.cliente-comentario {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 4px;
}

.cliente-stars {
  color: #FFB800;
  font-size: 0.75rem;
  display: flex;
  gap: 4px;
  margin-bottom: 6px;
}

.cliente-comentario blockquote {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
}

.cliente-comentario .author {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
  margin-top: 6px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 96px 5%;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 40px;
  max-width: 760px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--trans);
}

.faq-item[open] {
  border-color: rgba(0,200,240,0.3);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--cyan);
  transition: transform var(--trans);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding-bottom: 20px;
}

/* ============================================================
   CTA FINAL & FOOTER
   ============================================================ */
.cta-final {
  padding: 96px 5%;
  background: var(--bg-alt);
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-final-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.cta-final-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--cyan);
  flex-shrink: 0;
}

.cta-final h2 {
  font-size: clamp(2rem, 4.2vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.cta-final p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 600px;
  margin-inline: auto;
}

.cta-buttons-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

footer {
  padding: 48px 5% 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-content {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text);
  line-height: 1;
}
.footer-logo span { color: var(--cyan); }

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 6px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color var(--trans), color var(--trans), transform var(--trans);
}

.footer-socials a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal-links a:hover {
  color: var(--cyan);
}

.icon-wa-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ============================================================
   PÁGINA LEGAL (Política de Privacidad)
   ============================================================ */
.legal-page {
  padding: 140px 5% 96px;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-content ul {
  margin: 12px 0;
  padding-left: 4px;
}

.legal-content li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.legal-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.legal-content a {
  color: var(--cyan);
  font-weight: 600;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 32px;
}

@media (max-width: 850px) {
  .sobre-inner { grid-template-columns: 1fr; gap: 40px; }
  .caso-layout { grid-template-columns: 1fr; gap: 24px; }
  .nav-links { display: none; }
  .footer-brand-row { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
  .wa-float::before { display: none; }
  .hero-network { display: none; }

  .proceso-grid { flex-direction: column; align-items: center; }
  .proceso-step { width: 100%; max-width: 280px; padding: 0 0 40px; }
  .proceso-step:not(:last-child)::after {
    top: 94px;
    left: 50%;
    width: 2px;
    height: 32px;
    background-image: repeating-linear-gradient(180deg, var(--cyan) 0 8px, transparent 8px 14px);
  }

  .media-switcher {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .media-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 6px;
    font-size: 0.78rem;
    text-align: center;
  }
}
