/* Landing pública Digicore / DigiCore Live — /index.html */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #004d98;
  --green: #2d5a27;
  --slate: #1e293b;
  --accent: #38bdf8;
  --bg: #0f172a;
  --card-bg: #1e293b;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --radius: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 1rem 2rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.nav-logo {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--accent);
}

.nav-product {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 6px;
  padding: 0.2rem 0.45rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  list-style: none;
  justify-content: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  min-height: min(100vh, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem 3.5rem;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 800px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-metrics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 920px;
  margin: 1.25rem auto 1.5rem;
  padding: 0;
  text-align: left;
}

.hero-metric {
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.hero-metric:hover {
  border-color: rgba(56, 189, 248, 0.28);
  transform: translateY(-2px);
}

.hero-metric-icon {
  font-size: 1.1rem;
  line-height: 1;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.hero-metric-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.hero-metric-text {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}

.hero-copy {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.hero-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 28px rgba(56, 189, 248, 0.32);
}

.hero-actions .btn-primary:hover {
  box-shadow: 0 6px 32px rgba(56, 189, 248, 0.38);
}

.hero-actions .btn-ghost--hero {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
}

.hero-actions .btn-ghost--hero:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-primary {
  background: var(--accent);
  color: var(--slate);
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

button.btn-primary {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary--stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

.btn-primary-email {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.92;
  word-break: break-all;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--text);
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s;
}

button.btn-ghost {
  cursor: pointer;
  font-family: inherit;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 500;
  color: var(--muted);
  max-width: 28rem;
  margin: 0 auto 1.35rem;
  line-height: 1.45;
}

.hero-viz {
  position: relative;
  width: min(28rem, 100%);
  height: clamp(7.5rem, 18vw, 9.5rem);
  margin: 0 auto 1.75rem;
  pointer-events: none;
}

.hero-lottie {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-lottie svg {
  width: min(100%, 20rem) !important;
  height: auto !important;
  max-height: 9rem;
  filter: drop-shadow(0 8px 24px rgba(56, 189, 248, 0.15));
}

.hero-viz-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3rem;
  height: 3rem;
  margin: -1.5rem 0 0 -1.5rem;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(125, 211, 252, 0.55), rgba(56, 189, 248, 0.15) 45%, rgba(15, 23, 42, 0.95));
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.35),
    0 0 48px rgba(56, 189, 248, 0.35);
  animation: hero-core-pulse 3.2s ease-in-out infinite;
  z-index: 2;
}

.hero-viz:has(.hero-lottie svg) .hero-viz-core {
  opacity: 0.22;
}

.hero-viz-particle {
  position: absolute;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: rgba(125, 211, 252, 0.95);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.65);
  z-index: 1;
  animation: hero-particle-in 2.8s ease-in-out infinite;
}

.hero-viz > span.hero-viz-particle:nth-child(3) {
  left: 8%;
  top: 22%;
  animation-delay: 0s;
  --hx: 110px;
  --hy: 48px;
}
.hero-viz > span.hero-viz-particle:nth-child(4) {
  right: 6%;
  top: 18%;
  animation-delay: 0.35s;
  --hx: -100px;
  --hy: 52px;
}
.hero-viz > span.hero-viz-particle:nth-child(5) {
  left: 12%;
  bottom: 14%;
  animation-delay: 0.7s;
  --hx: 92px;
  --hy: -36px;
}
.hero-viz > span.hero-viz-particle:nth-child(6) {
  right: 10%;
  bottom: 20%;
  animation-delay: 1.05s;
  --hx: -88px;
  --hy: -40px;
}
.hero-viz > span.hero-viz-particle:nth-child(7) {
  left: 42%;
  top: 4%;
  animation-delay: 1.4s;
  --hx: 12px;
  --hy: 72px;
}
.hero-viz > span.hero-viz-particle:nth-child(8) {
  left: 48%;
  bottom: 6%;
  animation-delay: 1.75s;
  --hx: 4px;
  --hy: -76px;
}

.hero-viz-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.18);
  pointer-events: none;
  z-index: 0;
}

.hero-viz-ring--a {
  width: 7.5rem;
  height: 7.5rem;
  margin: -3.75rem 0 0 -3.75rem;
  animation: hero-ring-spin 22s linear infinite;
}

.hero-viz-ring--b {
  width: 11rem;
  height: 11rem;
  margin: -5.5rem 0 0 -5.5rem;
  border-color: rgba(56, 189, 248, 0.1);
  animation: hero-ring-spin 32s linear infinite reverse;
}

@keyframes hero-core-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(56, 189, 248, 0.35),
      0 0 36px rgba(56, 189, 248, 0.28);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(56, 189, 248, 0.5),
      0 0 52px rgba(56, 189, 248, 0.45);
    transform: scale(1.04);
  }
}

@keyframes hero-particle-in {
  0%,
  100% {
    opacity: 0.85;
    transform: translate(0, 0) scale(1);
  }
  55% {
    opacity: 0.25;
    transform: translate(var(--hx, 0), var(--hy, 0)) scale(0.65);
  }
}

@keyframes hero-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

.flow-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(30, 41, 59, 0.5) 50%,
    rgba(15, 23, 42, 0.95) 100%
  );
  padding: 2.75rem 1.5rem 3rem;
}

.flow-strip-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.flow-strip-head {
  text-align: center;
  margin-bottom: 2rem;
}

.flow-strip-head .section-label {
  margin-bottom: 0.5rem;
}

.flow-strip-head h2 {
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.flow-strip-head .flow-strip-lead {
  margin: 0.85rem auto 0;
  max-width: 42rem;
  font-size: clamp(0.95rem, 2.1vw, 1.05rem);
  line-height: 1.65;
  color: var(--muted);
}

.flow-stepper {
  max-width: 100%;
}

.flow-stepper-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.5rem 0.35rem;
  margin-bottom: 1.75rem;
}

.flow-stepper-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-height: 2.75rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(30, 41, 59, 0.55);
  color: var(--muted);
  font: inherit;
  font-size: clamp(0.78rem, 1.9vw, 0.92rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
}

.flow-stepper-tab:hover {
  border-color: rgba(56, 189, 248, 0.35);
  color: var(--text);
}

.flow-stepper-tab:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.65);
  outline-offset: 3px;
}

.flow-stepper-tab.is-active {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.12);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.15);
}

.flow-stepper-connector {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(56, 189, 248, 0.55);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  user-select: none;
  flex: 0 0 auto;
  align-self: stretch;
  min-width: 1.25rem;
}

.flow-stepper-panel {
  position: relative;
  min-height: 11.5rem;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}

.flow-stepper-panel-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  box-sizing: border-box;
  padding: 1.75rem 1.5rem 1.85rem;
  justify-content: center;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.flow-stepper-panel-inner.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
  pointer-events: auto;
}

/* Iconos landing (SVG) — Operativa, Beta validada, métricas, funcionalidades */
.landing-icon {
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.landing-icon svg {
  display: block;
}

.landing-icon--lg svg {
  width: clamp(2.75rem, 7vw, 3.75rem);
  height: clamp(2.75rem, 7vw, 3.75rem);
}

.landing-icon--stat {
  margin-bottom: 0.4rem;
}

.landing-icon--stat svg {
  width: clamp(2rem, 3.2vw, 2.85rem);
  height: clamp(2rem, 3.2vw, 2.85rem);
}

.landing-icon--feature {
  margin-bottom: 0.75rem;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.landing-icon--feature .feature-svg {
  width: clamp(2.45rem, 4.5vw, 3.25rem);
  height: clamp(2.45rem, 4.5vw, 3.25rem);
}

.landing-icon--origin svg {
  width: 1.25rem;
  height: 1.25rem;
}

@keyframes feature-hero-icon-bounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-6px) scale(1.12);
  }
  70% {
    transform: translateY(-2px) scale(1.04);
  }
}

.flow-stepper-text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 36rem;
  margin: 0;
}

.law-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(
    180deg,
    rgba(56, 189, 248, 0.06) 0%,
    rgba(15, 23, 42, 0.5) 100%
  );
  padding: 2.75rem 1.5rem;
}

.law-strip-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.law-strip-title {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.law-strip-text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.law-strip-text strong {
  color: var(--text);
}

.proof-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.65) 0%, rgba(30, 41, 59, 0.45) 50%, rgba(15, 23, 42, 0.65) 100%);
  padding: 3.25rem 1.5rem;
}

.proof-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.proof-strip-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.25rem;
}

.proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.proof-strip-intro h2 {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.proof-strip-tagline {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 0.85rem;
  line-height: 1.5;
}

.proof-strip-tagline strong {
  color: var(--accent);
  font-weight: 600;
}

.proof-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.proof-stat {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.35rem 1.1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  transition: border-color 0.2s, transform 0.2s;
}

.proof-stat:hover {
  border-color: rgba(56, 189, 248, 0.28);
  transform: translateY(-2px);
}

.proof-stat-icon {
  line-height: 1;
}

.proof-stat-value {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
}

.proof-stat-unit {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  opacity: 0.95;
}

.proof-stat-desc {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.35rem;
  max-width: 11rem;
  line-height: 1.35;
}

.section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section > p {
  color: var(--muted);
  margin-top: 0.75rem;
  max-width: 640px;
}

.section-market .subsection-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-top: 2.75rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.section-market .subsection-lead {
  margin-top: 0;
  margin-bottom: 1rem;
  max-width: 640px;
}

.market-list {
  margin-top: 1.5rem;
  padding-left: 1.35rem;
  color: var(--muted);
  max-width: 640px;
}

.market-list li {
  margin-bottom: 0.65rem;
  line-height: 1.55;
}

.market-list strong {
  color: var(--text);
}

.compare-list {
  margin-top: 1rem;
  padding-left: 1.35rem;
  max-width: 640px;
  color: var(--muted);
}

.compare-list li {
  margin-bottom: 0.75rem;
  line-height: 1.55;
}

.compare-list strong {
  color: var(--accent);
  font-weight: 600;
}

.section-proposal .proposal-intro {
  max-width: 640px;
  margin-top: 0.75rem;
  color: var(--muted);
  line-height: 1.65;
}

.section-proposal .proposal-intro strong {
  color: var(--text);
}

.proposal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.proposal-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.6rem;
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.proposal-card:hover {
  border-color: rgba(56, 189, 248, 0.28);
  transform: translateY(-2px);
}

.proposal-card--featured {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.12);
}

.proposal-card-icon {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.65rem;
  opacity: 0.95;
}

.proposal-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.proposal-card-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.proposal-card-list li {
  margin-bottom: 0.5rem;
}

.proposal-card-list li:last-child {
  margin-bottom: 0;
}

.proposal-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  background: var(--accent);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.section-proposal .proposal-footnote {
  margin-top: 2.75rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 520px;
}

.inline-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

.feature-card--highlight {
  border-color: rgba(56, 189, 248, 0.35);
  background: linear-gradient(165deg, rgba(56, 189, 248, 0.08) 0%, var(--card-bg) 55%);
}

.section-roadmap {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.feature-card--soon {
  position: relative;
  opacity: 0.92;
  border-style: dashed;
  border-color: rgba(56, 189, 248, 0.22);
}

.feature-card--soon:hover {
  border-color: rgba(56, 189, 248, 0.35);
}

.badge-soon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}

.features-grid--ops {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  list-style: none;
  padding: 0;
}

@media (min-width: 900px) {
  .features-grid--ops {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.features-grid--ops > li {
  margin: 0;
  min-width: 0;
}

.section-features .features-lead {
  color: var(--muted);
  margin-top: 0.75rem;
  max-width: 640px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.25s;
}

.feature-card--interactive {
  position: relative;
  overflow: hidden;
  background: rgba(30, 41, 59, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  min-height: 11.5rem;
  padding: 2rem 1.5rem 1.85rem;
}

.feature-card--interactive:hover {
  border-color: rgba(56, 189, 248, 0.32);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.38);
  transform: translateY(-4px);
}

button.feature-card--interactive {
  width: 100%;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  text-align: center;
}

.feature-card--interactive:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.65);
  outline-offset: 3px;
}

.feature-card--interactive:hover .landing-icon--feature {
  animation: feature-hero-icon-bounce 0.45s ease;
}

.feature-card--interactive:active .landing-icon--feature {
  animation: none;
  transform: scale(0.94);
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.58));
}

.feature-icon {
  margin-bottom: 1rem;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.feature-icon svg {
  width: 1.8rem;
  height: 1.8rem;
  display: block;
}

.feature-svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: var(--accent);
}

.feature-modal-viz-wrap {
  position: relative;
  z-index: 0;
  margin-bottom: 1rem;
}

.feature-modal-viz-wrap[hidden] {
  display: none !important;
}

.feature-modal-viz .fv {
  position: relative;
  height: 6.75rem;
  border-radius: 12px;
  overflow: hidden;
}

/* --- Micro-visualizaciones (modal al abrir tarjeta) --- */

.fv-tpv {
  position: relative;
  height: 100%;
  width: 100%;
}

.fv-tpv-cloud {
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: 52px;
  height: 30px;
  margin-left: -26px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.38);
  border-radius: 14px 14px 8px 8px;
}

.fv-tpv-queue {
  position: absolute;
  left: 18%;
  bottom: 28%;
  width: 4px;
  height: 14px;
  background: var(--accent);
  border-radius: 2px;
  animation: fv-tpv-blink 1.2s ease-in-out infinite;
}

.fv-tpv-queue--2 {
  left: 24%;
  animation-delay: 0.15s;
}

.fv-tpv-queue--3 {
  left: 30%;
  animation-delay: 0.3s;
}

.fv-tpv-sync {
  position: absolute;
  right: 18%;
  top: 26%;
  width: 22px;
  height: 22px;
  border: 2px dashed rgba(125, 211, 252, 0.55);
  border-radius: 50%;
  animation: fv-tpv-spin 2.5s linear infinite;
}

@keyframes fv-tpv-blink {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.65);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes fv-tpv-spin {
  to {
    transform: rotate(360deg);
  }
}

.fv-movil {
  position: relative;
  height: 100%;
  width: 100%;
}

.fv-movil-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 72px;
  margin: -36px 0 0 -22px;
  border-radius: 8px;
  border: 2px solid rgba(56, 189, 248, 0.45);
  background: rgba(15, 23, 42, 0.65);
}

.fv-movil-qr {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.28) 1px, transparent 1px);
  background-size: 7px 7px;
}

.fv-movil-scan {
  position: absolute;
  left: 50%;
  top: 28%;
  width: 34px;
  height: 2px;
  margin-left: -17px;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.95), transparent);
  animation: fv-movil-scan 2s ease-in-out infinite;
}

@keyframes fv-movil-scan {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateY(38px);
    opacity: 1;
  }
}

.fv-live {
  position: relative;
  height: 100%;
  padding: 0.35rem 0.5rem 0.25rem;
}

.fv-live-svg {
  width: 100%;
  height: calc(100% - 4px);
  display: block;
  color: var(--accent);
}

.fv-live-path {
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  animation: fv-live-draw 2.8s ease-in-out infinite;
}

.fv-live-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  right: 10%;
  top: 24%;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: fv-live-pulse 1.1s ease-in-out infinite;
}

@keyframes fv-live-draw {
  0% {
    stroke-dashoffset: 140;
  }
  40% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes fv-live-pulse {
  50% {
    transform: scale(1.2);
    opacity: 0.85;
  }
}

.fv-cost {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: min-content 1fr;
  align-items: center;
  gap: 0.35rem 0.65rem;
  padding: 0.55rem 0.75rem 0.6rem;
}

.fv-cost-label {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.fv-cost-bar {
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.fv-cost-bar--plan::after,
.fv-cost-bar--real::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  border-radius: 4px;
  transform-origin: left center;
}

.fv-cost-bar--plan::after {
  background: rgba(56, 189, 248, 0.5);
  animation: fv-cost-w1 2.4s ease-in-out infinite;
}

.fv-cost-bar--real::after {
  background: rgba(125, 211, 252, 0.85);
  animation: fv-cost-w2 2.4s ease-in-out infinite;
}

@keyframes fv-cost-w1 {
  0%,
  100% {
    transform: scaleX(0.64);
  }
  50% {
    transform: scaleX(0.74);
  }
}

@keyframes fv-cost-w2 {
  0%,
  100% {
    transform: scaleX(0.76);
  }
  50% {
    transform: scaleX(0.7);
  }
}

.fv-xls {
  position: relative;
  height: 100%;
}

.fv-xls-sheet {
  position: absolute;
  left: 18%;
  top: 20%;
  width: 48px;
  height: 52px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.32), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.fv-xls-rows {
  position: absolute;
  left: 24%;
  top: 30%;
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 8px 0 rgba(255, 255, 255, 0.12),
    0 16px 0 rgba(255, 255, 255, 0.08);
}

.fv-xls-arrow {
  position: absolute;
  right: 16%;
  bottom: 22%;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid var(--accent);
  animation: fv-xls-bounce 1.2s ease-in-out infinite;
}

@keyframes fv-xls-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.fv-rbac {
  position: relative;
  height: 100%;
}

.fv-rbac-node {
  position: absolute;
  width: 24px;
  height: 17px;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.12);
}

.fv-rbac-node--root {
  left: 50%;
  top: 14%;
  margin-left: -12px;
  animation: fv-rbac-glow 2s ease-in-out infinite;
}

.fv-rbac-node--a {
  left: 18%;
  bottom: 16%;
}

.fv-rbac-node--b {
  right: 18%;
  bottom: 16%;
  animation: fv-rbac-glow 2s ease-in-out 0.45s infinite;
}

.fv-rbac-line {
  position: absolute;
  top: 38%;
  height: 2px;
  background: rgba(56, 189, 248, 0.4);
  border-radius: 1px;
}

.fv-rbac-line--l {
  left: 26%;
  width: 26%;
  transform: rotate(32deg);
  transform-origin: right center;
}

.fv-rbac-line--r {
  right: 26%;
  width: 26%;
  transform: rotate(-32deg);
  transform-origin: left center;
}

@keyframes fv-rbac-glow {
  50% {
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
  }
}

.fv-cloudmap {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.fv-cloudmap-eu {
  position: absolute;
  inset: 16% 10% 20%;
  border-radius: 42% 58% 52% 48% / 48% 45% 55% 52%;
  background: rgba(56, 189, 248, 0.07);
  border: 1px solid rgba(56, 189, 248, 0.14);
}

.fv-cloudmap-node {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  animation: fv-node-pulse 2s ease-in-out infinite;
}

.fv-cloudmap-node--1 {
  left: 22%;
  top: 38%;
}

.fv-cloudmap-node--2 {
  right: 28%;
  top: 32%;
  animation-delay: 0.4s;
}

.fv-cloudmap-node--3 {
  left: 44%;
  bottom: 24%;
  animation-delay: 0.8s;
}

.fv-cloudmap-edge {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent);
  animation: fv-edge-flow 2.5s ease-in-out infinite;
}

.fv-cloudmap-edge--a {
  left: 22%;
  top: 44%;
  width: 38%;
  transform: rotate(6deg);
}

.fv-cloudmap-edge--b {
  left: 34%;
  top: 50%;
  width: 34%;
  transform: rotate(-14deg);
  animation-delay: 0.5s;
}

@keyframes fv-node-pulse {
  50% {
    transform: scale(1.18);
  }
}

@keyframes fv-edge-flow {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

.fv-multi {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.fv-multi-cell {
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.55);
}

.fv-multi-cell--on {
  border-color: rgba(56, 189, 248, 0.42);
  box-shadow: inset 0 0 12px rgba(56, 189, 248, 0.12);
  animation: fv-multi-pulse 2.4s ease-in-out infinite;
}

@keyframes fv-multi-pulse {
  50% {
    border-color: rgba(125, 211, 252, 0.55);
  }
}

.fv-alerta {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fv-alerta-bell {
  width: 28px;
  height: 24px;
  border-radius: 12px 12px 4px 4px;
  border: 2px solid rgba(56, 189, 248, 0.48);
  background: rgba(56, 189, 248, 0.1);
  position: relative;
  z-index: 1;
  animation: fv-bell-swing 2.2s ease-in-out infinite;
}

.fv-alerta-bell::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 8px;
  height: 6px;
  margin-left: -4px;
  border-radius: 0 0 4px 4px;
  background: rgba(56, 189, 248, 0.45);
}

.fv-alerta-ping {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.4);
  animation: fv-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes fv-bell-swing {
  0%,
  100% {
    transform: rotate(0);
  }
  30% {
    transform: rotate(-7deg);
  }
  60% {
    transform: rotate(7deg);
  }
}

@keyframes fv-ping {
  0% {
    transform: scale(0.55);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.fv-rgpd {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0.5rem;
}

.fv-rgpd-layer {
  width: 72%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: fv-rgpd-flash 3s ease-in-out infinite;
}

.fv-rgpd-layer--1 {
  animation-delay: 0s;
}

.fv-rgpd-layer--2 {
  width: 64%;
  animation-delay: 0.45s;
}

.fv-rgpd-layer--3 {
  width: 56%;
  animation-delay: 0.9s;
}

.fv-rgpd-flow {
  position: absolute;
  left: 12%;
  top: 22%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(125, 211, 252, 0.95);
  box-shadow: 0 0 8px rgba(125, 211, 252, 0.75);
  animation: fv-rgpd-move 3.2s ease-in-out infinite;
}

@keyframes fv-rgpd-flash {
  0%,
  45%,
  100% {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }
  22% {
    border-color: rgba(56, 189, 248, 0.55);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.22);
  }
}

@keyframes fv-rgpd-move {
  0% {
    top: 22%;
    left: 12%;
    opacity: 1;
  }
  35% {
    top: 48%;
    left: 48%;
    opacity: 0.9;
  }
  70% {
    top: 72%;
    left: 78%;
    opacity: 0.75;
  }
  100% {
    top: 22%;
    left: 12%;
    opacity: 1;
  }
}

.fv-hw {
  position: relative;
  height: 100%;
}

.fv-hw-die {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.38);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.96));
  z-index: 1;
}

.fv-hw-pin {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: rgba(148, 163, 184, 0.55);
}

.fv-hw-pin--tl {
  left: calc(50% - 24px);
  top: calc(50% - 24px);
}

.fv-hw-pin--tr {
  left: calc(50% + 20px);
  top: calc(50% - 24px);
}

.fv-hw-pin--bl {
  left: calc(50% - 24px);
  top: calc(50% + 20px);
}

.fv-hw-pin--br {
  left: calc(50% + 20px);
  top: calc(50% + 20px);
}

.fv-hw-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 5px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  animation: fv-hw-pulse 1.85s ease-in-out infinite;
}

@keyframes fv-hw-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.feature-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 100%;
  text-wrap: balance;
}

.feature-card-sub {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-card-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 3px;
}

.feature-card-link:hover {
  text-decoration: underline;
}

.section-origin {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 4.5rem;
}

.section-origin > p {
  line-height: 1.65;
}

.section-origin > p strong {
  color: var(--text);
}

.origin-venues {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  max-width: 720px;
}

.origin-venues li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.origin-venues li:hover {
  border-color: rgba(56, 189, 248, 0.28);
  transform: translateY(-2px);
}

.origin-venue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: var(--accent);
}

.origin-footnote {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.6;
}

.origin-footnote strong {
  color: var(--text);
}

.cta-section {
  padding: 4rem 2rem 4.5rem;
  text-align: center;
  background: radial-gradient(
    ellipse 60% 50% at 50% 100%,
    rgba(56, 189, 248, 0.1) 0%,
    transparent 70%
  );
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-section .cta-intro {
  color: var(--muted);
  margin: 1rem auto 1.5rem;
  max-width: 560px;
  line-height: 1.65;
}

.cta-highlights {
  list-style: none;
  margin: 0 auto 2rem;
  padding: 0;
  max-width: 520px;
  text-align: left;
}

.cta-highlights li {
  position: relative;
  padding-left: 1.45rem;
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.cta-highlights li:last-child {
  margin-bottom: 0;
}

.cta-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25);
}

.cta-highlights strong {
  color: var(--text);
  font-weight: 600;
}

.cta-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.cta-links > .btn-primary--stack,
.cta-links > .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-links > .btn-primary--stack {
  flex-direction: column;
}

.contact-dialog {
  border: none;
  padding: 0;
  max-width: 520px;
  width: calc(100% - 2rem);
  background: transparent;
  color: var(--text);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  max-height: min(90vh, 100vh - 2rem);
  overflow: auto;
}

.contact-dialog::backdrop {
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(4px);
}

.contact-dialog-panel {
  position: relative;
  isolation: isolate;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

#feature-modal[open] .feature-dialog-panel {
  animation: feature-dialog-enter 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes feature-dialog-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#feature-modal.contact-dialog {
  max-width: 480px;
}

.feature-modal-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
}

.feature-modal-icon-wrap .feature-svg {
  width: 1.75rem;
  height: 1.75rem;
}

#feature-modal:has(.feature-modal-viz-wrap:not([hidden])) .feature-modal-icon-wrap {
  display: none;
}

.feature-modal-heading {
  margin-bottom: 0.25rem;
}

.feature-modal-sub {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1rem;
  line-height: 1.35;
}

.feature-modal-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.contact-dialog h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  padding-right: 3.35rem;
}

.contact-dialog-lead {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.contact-dialog-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  width: auto;
  height: auto;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.contact-dialog-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.contact-field {
  margin-bottom: 1rem;
}

.contact-field label,
.contact-fieldset legend {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.contact-field .req {
  color: var(--accent);
}

.contact-field input:not([type="checkbox"]):not([type="radio"]),
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.65);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-field input:not([type="checkbox"]):not([type="radio"]):focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.contact-field textarea {
  resize: vertical;
  min-height: 5rem;
}

.contact-fieldset {
  border: none;
  margin: 0 0 1rem;
  padding: 0;
}

.contact-checks {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.contact-checks label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  margin: 0;
}

.contact-checks input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.contact-field.contact-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.contact-consent-field {
  margin-bottom: 0.75rem;
}

.contact-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.contact-consent-label {
  flex: 1;
  min-width: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 500;
  cursor: pointer;
  margin: 0;
}

.contact-consent-row input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.contact-consent-label a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-consent-label a:hover {
  color: #7dd3fc;
}

.contact-form-error {
  color: #f87171;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}

.contact-form-success {
  color: #4ade80;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.contact-form-actions .btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-product {
  color: var(--accent);
  font-weight: 600;
}

.footer-links {
  margin-top: 0.85rem;
  font-size: 0.82rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

#flujo,
#compliance,
#origen,
#features,
#market,
#propuesta,
#roadmap,
#contact,
#validation {
  scroll-margin-top: 5rem;
}

@media (max-width: 1100px) {
  .proof-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .proof-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proposal-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .flow-stepper-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
  }

  .flow-stepper-connector {
    align-self: center;
    min-height: 0;
    min-width: 0;
    padding: 0.1rem 0;
    transform: rotate(90deg);
  }

  .flow-stepper-panel {
    min-height: 12.5rem;
  }
}

@media (max-width: 640px) {
  nav {
    padding: 0.85rem 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .nav-brand {
    align-self: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 0.5rem 0.85rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links a {
    font-size: 0.78rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .proof-strip {
    padding: 2.5rem 1rem;
  }

  .proof-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .proof-stat {
    padding: 1.1rem 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  #feature-modal[open] .feature-dialog-panel {
    animation: none;
  }

  .btn-primary:hover,
  .feature-card--interactive:hover,
  .proof-stat:hover,
  .origin-venues li:hover,
  .hero-metric:hover,
  .flow-stepper-tab:hover {
    transform: none;
  }

  .flow-stepper-panel-inner {
    transition: none;
  }

  .feature-card--interactive:hover .landing-icon--feature,
  .feature-card--interactive:active .landing-icon--feature {
    animation: none;
    transform: none;
    filter: none;
  }

  .landing-icon--feature {
    transition: none;
  }

  .hero-lottie {
    display: none !important;
  }

  .hero-viz-core,
  .hero-viz-particle,
  .hero-viz-ring--a,
  .hero-viz-ring--b,
  .fv-tpv-queue,
  .fv-tpv-sync,
  .fv-movil-scan,
  .fv-live-path,
  .fv-live-dot,
  .fv-cost-bar--plan::after,
  .fv-cost-bar--real::after,
  .fv-xls-arrow,
  .fv-rbac-node--root,
  .fv-rbac-node--b,
  .fv-cloudmap-node,
  .fv-cloudmap-edge,
  .fv-multi-cell--on,
  .fv-alerta-bell,
  .fv-alerta-ping,
  .fv-rgpd-layer,
  .fv-rgpd-flow,
  .fv-hw-pulse {
    animation: none !important;
  }

  .fv-live-path {
    stroke-dashoffset: 0 !important;
  }
}

/* Páginas legales estáticas (/privacidad.html, /aviso-legal.html) */
body.legal-page {
  min-height: 100vh;
  padding: 5.25rem 1.5rem 3rem;
}

.legal-page-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.legal-page-back {
  display: inline-block;
  font-size: 0.88rem;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 1.75rem;
}

.legal-page-back:hover {
  text-decoration: underline;
}

.legal-doc h1 {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.legal-doc .legal-updated {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.legal-doc h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
}

.legal-doc p,
.legal-doc li {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  line-height: 1.65;
}

.legal-doc ul {
  margin: 0 0 0.75rem;
  padding-left: 1.35rem;
}

.legal-doc a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-doc a:hover {
  color: #7dd3fc;
}
