/* ============================================================
   ESTILOS ESPECÍFICOS DE SUSCRIPCIONES (PÁGINA OCULTA)
   LESSSO
   ============================================================ */

/* Hero compacto y contenedor responsivo */
.hero--compact {
  min-height: auto;
  padding: 6rem 2rem 4rem;
  overflow-x: clip;
  box-sizing: border-box;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero--compact .hero-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 2rem;
  align-items: center;
  max-width: 1600px;
  width: 100%;
}

/* ============ HERO — SIMULACIÓN DE ATAQUE CIBERNÉTICO 3D (COMPACTA) ============ */
.hero-cyber-3d {
  position: relative;
  perspective: 900px;
  perspective-origin: 50% 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cyber-scene {
  position: relative;
  width: 100%;
  max-width: 310px;
  height: 250px;
  transform-style: preserve-3d;
  transform: rotateX(20deg) rotateY(-14deg) rotateZ(1deg);
  animation: cyberFloat 6s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes cyberFloat {
  0% {
    transform: rotateX(20deg) rotateY(-14deg) rotateZ(1deg) translateY(0);
  }
  100% {
    transform: rotateX(17deg) rotateY(-10deg) rotateZ(0deg) translateY(-8px);
  }
}

/* Base de rejilla isométrica defensiva */
.cyber-grid-plane {
  position: absolute;
  inset: 5px;
  border-radius: 14px;
  background: 
    radial-gradient(circle at center, rgba(45, 212, 191, 0.12) 0%, transparent 70%),
    linear-gradient(rgba(45, 212, 191, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 191, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 22px 22px, 22px 22px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  transform: translateZ(-20px);
  box-shadow: 0 10px 24px var(--shadow);
  pointer-events: none;
}

/* Anillo radar defensivo */
.cyber-radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  margin-top: -90px;
  margin-left: -90px;
  border-radius: 50%;
  border: 1px dashed rgba(45, 212, 191, 0.4);
  transform: translateZ(-10px);
  animation: radarPulse 4s linear infinite;
  pointer-events: none;
}

@keyframes radarPulse {
  0% {
    transform: translateZ(-10px) scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: translateZ(-10px) scale(1.3);
    opacity: 0;
  }
}

/* Núcleo central endurecido (LESSSO Hardened Core - Compacto) */
.cyber-core-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(28px);
  width: 195px;
  padding: 0.75rem 0.85rem;
  background: var(--paper);
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  box-shadow: 0 12px 28px var(--shadow), 0 0 16px rgba(45, 212, 191, 0.2);
  text-align: center;
  z-index: 5;
}

.cyber-core-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.cyber-core-title {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.cyber-core-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
}

.status-dot-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: dotGlow 1.8s infinite;
}

@keyframes dotGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.cyber-core-shield-icon {
  width: 32px;
  height: 32px;
  margin: 0.2rem auto 0.35rem;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(45, 212, 191, 0.25);
}

.cyber-core-shield-icon svg {
  width: 18px;
  height: 18px;
}

.cyber-core-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.15rem;
  line-height: 1.2;
}

.cyber-core-specs {
  font-size: 0.64rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  line-height: 1.2;
}

/* Vectores de ataque simulados en 3D (Posicionados estrictamente ADENTRO) */
.attack-vector {
  position: absolute;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-family: var(--font-body);
  pointer-events: none;
  max-width: 140px;
}

/* Vector 1: DDoS */
.vector-ddos {
  top: 8px;
  right: 8px;
  transform: translateZ(42px);
  border-left: 2.5px solid #f43f5e;
  animation: vectorPulse1 3.6s ease-in-out infinite;
}

/* Vector 2: SQL Injection */
.vector-sqli {
  bottom: 42px;
  left: 8px;
  transform: translateZ(46px);
  border-left: 2.5px solid #f59e0b;
  animation: vectorPulse2 4.2s ease-in-out infinite 0.8s;
}

/* Vector 3: Bot Scraping */
.vector-bot {
  bottom: 10px;
  right: 10px;
  transform: translateZ(38px);
  border-left: 2.5px solid #8b5cf6;
  animation: vectorPulse3 3.8s ease-in-out infinite 1.5s;
}

@keyframes vectorPulse1 {
  0%, 100% { transform: translateZ(42px) translateY(0); }
  50% { transform: translateZ(46px) translateY(-4px); }
}

@keyframes vectorPulse2 {
  0%, 100% { transform: translateZ(46px) translateY(0); }
  50% { transform: translateZ(50px) translateY(-4px); }
}

@keyframes vectorPulse3 {
  0%, 100% { transform: translateZ(38px) translateY(0); }
  50% { transform: translateZ(42px) translateY(-3px); }
}

.vector-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.vector-badge svg {
  flex-shrink: 0;
}

.vector-status {
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  letter-spacing: 0.03em;
}

.vector-status--blocked {
  background: rgba(244, 63, 94, 0.14);
  color: #f43f5e;
}

.vector-status--neutralized {
  background: rgba(45, 212, 191, 0.16);
  color: #0f766e;
}

html[data-theme="dark"] .vector-status--neutralized {
  color: #2dd4bf;
}

.vector-status--denied {
  background: rgba(139, 92, 246, 0.14);
  color: #7c3aed;
}

html[data-theme="dark"] .vector-status--denied {
  color: #a78bfa;
}

/* Barra de telemetría inferior en 3D (Compacta y sin emojis) */
.cyber-telemetry-pill {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%) translateZ(48px);
  background: rgba(11, 40, 44, 0.94);
  color: #2dd4bf;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-family: monospace;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(45, 212, 191, 0.3);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cyber-telemetry-pill svg {
  color: #2dd4bf;
  flex-shrink: 0;
}

/* Responsividad para tabletas y móviles: ocultar animación 3D de ciberataque en pantallas reducidas */
@media (max-width: 960px) {
  .hero--compact .hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .hero--compact .hero-content {
    margin: 0 auto;
    max-width: 680px;
  }
  .hero--compact .hero-actions {
    justify-content: center;
  }
  .hero-cyber-3d {
    display: none !important;
  }
}

/* Grilla de precios — align-items: start asegura que solo la tarjeta clicada se expanda */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2.25rem 2rem 2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.pricing-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 24px var(--shadow);
  transform: translateY(-4px);
}

.pricing-card--featured {
  border: 2px solid var(--accent);
  box-shadow: 0 12px 28px var(--shadow);
}

.pricing-badge {
  position: absolute;
  top: -0.95rem;
  left: 2rem;
  padding: 0.25rem 1.15rem;
  background: #2dd4bf;
  color: #071315;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(45, 212, 191, 0.45);
  border: 1px solid rgba(7, 19, 21, 0.15);
  display: inline-flex;
  align-items: center;
  z-index: 2;
}

/* Características adicionales: ocultas por defecto, solo visibles en la tarjeta expandida */
.pricing-feature-extra {
  display: none !important;
}

.pricing-card.is-expanded .pricing-feature-extra {
  display: list-item !important;
  animation: featureSlideDown 0.25s var(--ease) forwards;
}

@keyframes featureSlideDown {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-toggle-features {
  background: none;
  border: 1px dashed var(--line);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  margin: 0.75rem 0 1rem;
  width: 100%;
  text-align: center;
  transition: all 0.2s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.btn-toggle-features:hover {
  background: var(--accent-soft);
  border-style: solid;
}

@media (max-width: 960px) {
  .pricing-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1.5rem;
    padding: 1.5rem 1rem 2rem 1rem;
    margin-inline: -1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pricing-grid::-webkit-scrollbar {
    display: none;
  }

  .pricing-card {
    flex: 0 0 min(86vw, 360px);
    scroll-snap-align: center;
  }
}

.pricing-legal-notes {
  margin-top: 2rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
  line-height: 1.5;
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.pricing-legal-notes p {
  margin-bottom: 0.4rem;
}

/* ============ ¿TIENES DUDAS? — CANALES ORDENADOS & ANIMACIÓN 2D (COMPACTA) ============ */
.contact-section {
  padding: 4rem 1.5rem;
  overflow-x: clip;
  box-sizing: border-box;
}

.dudas-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.75rem;
  align-items: center;
  margin-top: 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.dudas-channels {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  min-width: 0;
}

.dudas-channel-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: all 0.2s var(--ease);
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  min-width: 0;
}

.dudas-channel-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px var(--shadow);
  transform: translateY(-2px);
}

.channel-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.dudas-channel-card:hover .channel-icon-box {
  background: var(--accent);
  color: var(--paper);
}

.channel-icon-box svg {
  width: 18px;
  height: 18px;
}

.channel-content {
  flex: 1;
  min-width: 0;
}

.channel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.15rem;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.channel-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.channel-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.channel-link-text {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.2rem;
  display: inline-block;
}

.channel-desc {
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.4;
  margin: 0;
}

/* Micro-barra de garantías discreta (Cero emojis) */
.dudas-guarantee-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.85rem;
  background: var(--accent-soft);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 6px;
  font-size: 0.74rem;
  color: var(--ink);
  font-weight: 500;
}

.guarantee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.guarantee-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Animación 2D de conversación interactiva (Compacta) */
.dudas-anim-2d {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 26px var(--shadow);
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow: hidden;
  box-sizing: border-box;
  min-width: 0;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.chat-header-user {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0b282c;
  color: #2dd4bf;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.76rem;
}

.chat-info h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.chat-online-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  color: #10b981;
  font-weight: 600;
}

.chat-sla-badge {
  font-size: 0.68rem;
  font-family: monospace;
  color: var(--ink-soft);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-msg {
  max-width: 88%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.45;
  position: relative;
}

.chat-msg--client {
  align-self: flex-end;
  background: var(--accent);
  color: var(--paper);
  border-bottom-right-radius: 2px;
}

.chat-msg--lessso {
  align-self: flex-start;
  background: var(--accent-soft);
  color: var(--ink);
  border-bottom-left-radius: 2px;
  border: 1px solid rgba(45, 212, 191, 0.22);
}

.chat-msg-time {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.65rem;
  margin-top: 0.25rem;
  opacity: 0.75;
}

.chat-typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  align-self: flex-start;
}

.typing-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: typingBounce 1.4s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-3px); opacity: 1; }
}

.chat-action-bar {
  display: flex;
  gap: 0.6rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
}

.chat-action-bar a {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s var(--ease);
}

.chat-btn-wa {
  background: #25d366;
  color: #ffffff;
}

.chat-btn-wa:hover {
  background: #128c7e;
  transform: translateY(-1px);
}

.chat-btn-mail {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.chat-btn-mail:hover {
  background: var(--accent);
  color: var(--paper);
  transform: translateY(-1px);
}

/* Responsividad para tabletas y móviles: ocultar animación 2D de conversación y centrar canales */
@media (max-width: 960px) {
  .dudas-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 620px;
    margin-inline: auto;
  }
  .dudas-anim-2d {
    display: none !important;
  }
}

.pricing-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
}

.pricing-desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-display);
}

.pricing-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.pricing-amount {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--ink);
}

.pricing-period {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.pricing-features li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 6px;
  width: 5px;
  height: 9px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cta--block {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.cta--ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.cta--ghost:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.pricing-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ============ CÓMO FUNCIONA — LÍNEA DE TIEMPO EN SERPIENTE ============ */
.snake-timeline-wrapper {
  margin-top: 2.5rem;
  position: relative;
  width: 100%;
}

.snake-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  align-items: stretch;
}

.snake-step {
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s var(--ease);
}

.snake-step:hover {
  transform: translateY(-4px);
}

/* Conectores tipo serpiente de izquierda a derecha */
.snake-track-head {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 1.25rem;
}

.snake-node {
  width: 48px;
  height: 48px;
  border-radius: 15%;
  background: var(--paper);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--shadow);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  position: relative;
  z-index: 2;
}

.snake-step:hover .snake-node {
  background: var(--accent);
  color: var(--paper);
}

/* Brazo conector horizontal entre pasos (sin degradados agresivos) */
.snake-connector {
  flex: 1;
  height: 2px;
  background: var(--line);
  position: relative;
  margin-left: 0.5rem;
  z-index: 1;
}

.snake-connector::after {
  content: '';
  position: absolute;
  right: -2px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: rotate(45deg);
}

/* Tarjeta con contenido conciso */
.snake-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.snake-step:hover .snake-card {
  border-color: var(--accent);
  box-shadow: 0 8px 24px var(--shadow);
}

.snake-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}

.snake-card h3 {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.snake-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* Variación sinuosa / serpenteante en pantallas medianas y grandes */
@media (min-width: 900px) {
  .snake-step:nth-child(even) {
    transform: translateY(14px);
  }
  .snake-step:nth-child(even):hover {
    transform: translateY(10px);
  }
  .snake-step:nth-child(odd):hover {
    transform: translateY(-4px);
  }
}

/* Responsivo para tablets y móviles */
@media (max-width: 899px) {
  .snake-timeline {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    position: relative;
    padding-left: 1.75rem;
  }

  .snake-timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 23px;
    width: 2px;
    background: var(--line);
    z-index: 1;
  }

  .snake-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }

  .snake-track-head {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .snake-connector {
    display: none;
  }

  .snake-node {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
    margin-left: -1.75rem;
  }

  .snake-card {
    margin-left: 0.25rem;
  }
}

/* FAQs */
.faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 780px;
  margin: 3rem auto 0;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  transition: border-color 0.3s;
}

.faq-item[open] { border-color: var(--accent); }

.faq-item summary {
  position: relative;
  padding: 1.25rem 3rem 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}

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

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .hero--compact { padding: 7rem 1.5rem 3rem; }
}
