:root {
  --bg: #060d1a;
  --surface: #0d1628;
  --surface-soft: #eaf1ff;
  --text: #e8eefc;
  --text-dark: #172037;
  --muted: #9fb0d4;
  --primary: #4f8cff;
  --primary-strong: #2f73f2;
  --line: #223050;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(8, 20, 52, 0.25);
  --glow: rgba(79, 140, 255, 0.35);
}

#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  background-image:
    radial-gradient(
      ellipse 80% 60% at 20% 0%,
      rgba(47, 115, 242, 0.12) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 50% at 80% 100%,
      rgba(79, 140, 255, 0.08) 0%,
      transparent 55%
    );
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 0 1rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11, 18, 32, 0.82);
  border-bottom: 1px solid rgba(159, 176, 212, 0.2);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(11, 18, 32, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 400px;
  height: auto;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu a {
  font-weight: 500;
  color: #d5def4;
}

.menu a:hover {
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: #d5def4;
}

.hero {
  padding: 80px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 8px;
  color: #9db8ff;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h1 span,
.text-gradient {
  background: linear-gradient(90deg, #7eb3ff 0%, #a78bfa 50%, #7eb3ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

.hero-text {
  color: #cedaf7;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f8cff 0%, #7b5cf0 100%);
  color: var(--white);
  font-weight: 700;
  padding: 12px 22px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(79, 140, 255, 0.45),
    0 0 0 3px rgba(79, 140, 255, 0.2);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f8cff 0%, #7b5cf0 100%);
  color: #fff;
  font-weight: 700;
  padding: 12px 22px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(79, 140, 255, 0.45),
    0 0 0 3px rgba(79, 140, 255, 0.2);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid #4d6598;
  border-radius: 10px;
  color: #d4e0fc;
  font-weight: 600;
  padding: 12px 22px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
  text-decoration: none;
  font-size: 1rem;
}

.btn-ghost:hover {
  background: #1a2744;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: 12px;
}

.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.hero-badges li {
  padding: 8px 14px;
  border: 1px solid rgba(159, 176, 212, 0.3);
  border-radius: 999px;
  color: #d4e0fc;
  font-size: 0.92rem;
  background: rgba(79, 140, 255, 0.05);
  backdrop-filter: blur(6px);
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.25s;
  cursor: default;
}

.hero-badges li:hover {
  border-color: rgba(79, 140, 255, 0.6);
  background: rgba(79, 140, 255, 0.12);
  transform: translateY(-2px);
}

.hero-card {
  background: linear-gradient(
    160deg,
    rgba(18, 30, 56, 0.85) 0%,
    rgba(26, 42, 75, 0.85) 100%
  );
  backdrop-filter: blur(16px);
  border: 1px solid rgba(79, 140, 255, 0.3);
  border-radius: 20px;
  padding: 28px;
  box-shadow:
    0 0 0 1px rgba(79, 140, 255, 0.08),
    0 20px 50px rgba(8, 20, 52, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.glow-card {
  position: relative;
  background: linear-gradient(145deg, #0f1a30 0%, #121c32 100%);
  border: 1px solid #27385d;
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  overflow: hidden;
}
.glow-card h3 {
  font-size: 1.1rem;
  margin: 0;
}
.glow-card p {
  color: #9fb0d4;
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
}
.glow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  border-color: rgba(79, 140, 255, 0.45);
}

.glow-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(
    135deg,
    rgba(79, 140, 255, 0.5),
    rgba(167, 139, 250, 0.4),
    rgba(79, 140, 255, 0.1)
  );
  z-index: -1;
  animation: borderGlow 3s ease-in-out infinite;
}

.hero-card p {
  color: #d8e3ff;
}

.stats {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.stats div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-top: 1px solid rgba(159, 176, 212, 0.2);
  padding-top: 10px;
}

.stats strong {
  font-size: 1.35rem;
  color: #9db8ff;
}

.section {
  padding: 74px 0;
}

.section h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
}

.section-alt {
  background: rgba(13, 22, 46, 0.55);
}

.section-alt .eyebrow {
  color: #9db8ff;
}

.cards-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: linear-gradient(145deg, #0f1a30 0%, #121c32 100%);
  border: 1px solid #27385d;
  border-radius: 16px;
  padding: 24px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  opacity: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(79, 140, 255, 0.12) 0%,
    transparent 70%
  );
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px rgba(10, 30, 80, 0.5),
    0 0 0 1px rgba(79, 140, 255, 0.4);
  border-color: rgba(79, 140, 255, 0.5);
}

.card:hover::after {
  opacity: 1;
}

.card p {
  color: #d7e2fb;
  margin: 0;
}

/* .section-alt .card hereda estilos del tema oscuro */

.card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(79, 140, 255, 0.15),
    rgba(167, 139, 250, 0.1)
  );
  border: 1px solid rgba(79, 140, 255, 0.2);
  transition: transform 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.12) rotate(-4deg);
}

.card-feature {
  border-top: 3px solid transparent;
  background-clip: padding-box;
  background-image: linear-gradient(145deg, #0f1a30, #121c32);
  position: relative;
}

.card-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, #4f8cff, #a78bfa);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.checklist li {
  background: linear-gradient(135deg, #0e1929 0%, #111a30 100%);
  border: 1px solid #2a3c63;
  border-radius: 12px;
  padding: 14px 14px 14px 44px;
  position: relative;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.checklist li:hover {
  transform: translateX(5px);
  border-color: rgba(79, 140, 255, 0.5);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 12px;
  color: #8db4ff;
  font-weight: 700;
  font-size: 1rem;
}

.pricing {
  text-align: center;
  max-width: 760px;
}

.pricing .btn {
  margin-top: 8px;
}

.contact-box {
  background: #0f182c;
  border: 1px solid #2a3a5f;
  border-radius: 16px;
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #33486f;
  background: #0a1325;
  color: #edf3ff;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(79, 140, 255, 0.5);
  border-color: #4f8cff;
}

.footer {
  border-top: 1px solid rgba(159, 176, 212, 0.25);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 20px 0 30px;
  color: #b7c7ea;
  font-size: 0.92rem;
}

/* ── Toggle ES/EN ──────────────────────────────────────── */
.lang-toggle {
  background: rgba(79, 140, 255, 0.12);
  border: 1px solid rgba(79, 140, 255, 0.4);
  color: #9db8ff;
  border-radius: 8px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  font-family: inherit;
}

.lang-toggle:hover,
.lang-toggle.active {
  background: rgba(79, 140, 255, 0.25);
  color: #fff;
  border-color: rgba(79, 140, 255, 0.7);
}

/* ── Grupos del menú ───────────────────────────────────── */
.menu-group {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 14px;
  border-right: 1px solid rgba(159, 176, 212, 0.15);
}

.menu-group:last-of-type {
  border-right: none;
}

.menu-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b82ad;
  pointer-events: none;
}

.menu-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 14px;
}

/* ── Divisores de mercado ──────────────────────────────── */
.market-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  margin: 0;
}

.market-divider::before,
.market-divider::after {
  content: "";
  flex: 1;
  height: 1px;
}

.market-divider span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.local-divider::before,
.local-divider::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 190, 90, 0.35),
    transparent
  );
}

.local-divider span {
  background: rgba(0, 190, 90, 0.1);
  border: 1px solid rgba(0, 190, 90, 0.3);
  color: #4cde88;
}

.global-divider::before,
.global-divider::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(79, 140, 255, 0.4),
    transparent
  );
}

.global-divider span {
  background: rgba(79, 140, 255, 0.1);
  border: 1px solid rgba(79, 140, 255, 0.3);
  color: #8db4ff;
}

/* ── We work globally ──────────────────────────────────── */
.global-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.global-perks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.global-perks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: linear-gradient(135deg, #0e1929, #111a30);
  border: 1px solid #2a3c63;
  border-radius: 12px;
  padding: 14px 16px;
  transition:
    border-color 0.25s,
    transform 0.25s;
}

.global-perks li:hover {
  border-color: rgba(79, 140, 255, 0.45);
  transform: translateX(4px);
}

.perk-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.global-perks strong {
  display: block;
  color: #e8eefc;
  font-size: 0.95rem;
}

.global-perks span {
  color: #9fb0d4;
  font-size: 0.88rem;
}

.global-cta-card {
  background: linear-gradient(
    160deg,
    rgba(18, 30, 56, 0.9) 0%,
    rgba(26, 42, 75, 0.9) 100%
  );
  backdrop-filter: blur(14px);
  border: 1px solid rgba(79, 140, 255, 0.3);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  box-shadow:
    0 20px 50px rgba(8, 20, 52, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.global-cta-card h3 {
  font-size: 1.35rem;
}

.global-cta-card > p {
  color: #d8e3ff;
  margin-bottom: 20px;
}

.global-cta-card .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-badges span {
  color: #9fb0d4;
  font-size: 0.88rem;
}

/* ── Tech Stack ────────────────────────────────────────── */
.tech-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tech-item {
  background: rgba(79, 140, 255, 0.08);
  border: 1px solid rgba(79, 140, 255, 0.18);
  border-radius: 14px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #d4e0fc;
  font-size: 0.9rem;
  text-align: center;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
  cursor: default;
}

.tech-item:hover {
  background: rgba(79, 140, 255, 0.18);
  transform: translateY(-5px);
}

.tech-emoji {
  font-size: 2rem;
}

.tech-icon {
  font-size: 1.8rem;
  line-height: 1;
  display: block;
}

.tech-item i[class^="devicon"],
.tech-item i[class*=" devicon"] {
  font-size: 2.2rem;
  line-height: 1;
}

/* ── Proceso 4 pasos ───────────────────────────────────── */
.process-steps {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  display: none;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 14px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f8cff, #7b5cf0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  box-shadow:
    0 0 0 5px rgba(79, 140, 255, 0.12),
    0 6px 18px rgba(79, 140, 255, 0.3);
  margin-bottom: 20px;
  flex-shrink: 0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.step:hover .step-number {
  transform: scale(1.1);
  box-shadow:
    0 0 0 8px rgba(79, 140, 255, 0.18),
    0 10px 26px rgba(79, 140, 255, 0.4);
}

.step-content h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.step-content p {
  color: #9fb0d4;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ── Tabla comparativa ─────────────────────────────────── */
.compare-table {
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #243352;
}

.compare-header,
.compare-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 0;
}

.compare-header {
  background: linear-gradient(135deg, #0f1e3a, #162444);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 20px;
  color: #e8eefc;
}

.compare-header .col-us {
  color: #6fcf97;
}
.compare-header .col-other {
  color: #eb5757;
}

.compare-row {
  padding: 13px 20px;
  border-top: 1px solid #1e2f4d;
  background: #0a1220;
  transition: background 0.2s;
  align-items: center;
  font-size: 0.95rem;
}

.compare-row:hover {
  background: #0e1a2e;
}
.compare-row .yes {
  color: #6fcf97;
  font-weight: 600;
}
.compare-row .no {
  color: #eb5757;
  font-weight: 600;
}

/* ── Testimonios ───────────────────────────────────────── */
.testimonials-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #d8e4f6;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(13, 41, 91, 0.07);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  left: 18px;
  font-size: 4rem;
  color: rgba(79, 140, 255, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(13, 41, 91, 0.14);
}

.testimonial-text {
  color: #3b4a68;
  font-style: italic;
  margin: 0;
  padding-top: 10px;
  line-height: 1.65;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #e8eef8;
  padding-top: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f0ff, #d0e2ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  color: #172037;
  font-size: 0.95rem;
}

.testimonial-author span {
  color: #6b82ad;
  font-size: 0.82rem;
}

/* ── FAQ acordeón ──────────────────────────────────────── */
.faq-container {
  max-width: 780px;
}

.faq-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: linear-gradient(145deg, #0f1a30, #121c32);
  border: 1px solid #27385d;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq-item[open] {
  border-color: rgba(79, 140, 255, 0.5);
}

.faq-item summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  color: #e8eefc;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: #4f8cff;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

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

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: #9fb0d4;
  line-height: 1.7;
  animation: fadeUp 0.3s ease;
}

/* ── WhatsApp flotante ─────────────────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: pulseRing 1.8s ease-out infinite;
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #1a2744;
  color: #e8eefc;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ── CTA sticky mobile ─────────────────────────────────── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 16px 18px;
  background: linear-gradient(
    to top,
    rgba(6, 13, 26, 0.98) 0%,
    rgba(6, 13, 26, 0.85) 100%
  );
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(79, 140, 255, 0.2);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.mobile-cta.visible {
  transform: translateY(0);
}

.mobile-cta .btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 1rem;
}

/* ── Modal de demo ─────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 10, 22, 0.85);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal-box {
  background: linear-gradient(160deg, #0d1628, #101e35);
  border: 1px solid rgba(79, 140, 255, 0.3);
  border-radius: 20px;
  padding: 32px 28px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(79, 140, 255, 0.1);
  animation: fadeUp 0.3s ease;
}

.modal-box h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.modal-box > p {
  color: #9fb0d4;
  margin-bottom: 20px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9fb0d4;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s;
}

.modal-close:hover {
  background: rgba(79, 140, 255, 0.2);
  color: #fff;
}

.modal-box select {
  width: 100%;
  border: 1px solid #33486f;
  background: #0a1325;
  color: #edf3ff;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.modal-box select:focus {
  outline: 2px solid rgba(79, 140, 255, 0.5);
  border-color: #4f8cff;
}

@media (max-width: 960px) {
  .hero-grid,
  .cards-grid,
  .split,
  .contact-box,
  .testimonials-grid,
  .global-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .process-steps::before {
    display: none;
  }

  .menu-group {
    border-right: none;
    border-bottom: 1px solid rgba(159, 176, 212, 0.12);
    padding: 8px 0;
    flex-wrap: wrap;
  }

  .menu-actions {
    padding: 8px 0 0;
    border-top: 1px solid rgba(159, 176, 212, 0.12);
  }

  .compare-header,
  .compare-row {
    grid-template-columns: 1fr 1fr;
  }

  .compare-header > div:first-child,
  .compare-row > span:first-child {
    grid-column: 1 / -1;
    font-weight: 700;
    margin-bottom: 4px;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: 68px;
    right: 4%;
    background: #0f1a2f;
    border: 1px solid #2a3d62;
    border-radius: 12px;
    padding: 12px;
    min-width: 220px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .menu.open {
    display: flex;
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 62px;
  }

  .section {
    padding: 60px 0;
  }

  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .mobile-cta {
    display: block;
  }

  .whatsapp-btn {
    bottom: 90px;
  }
}

/* ── Animaciones scroll-reveal ──────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes shimmer {
  0% {
    background-position: -400px 0;
  }
  100% {
    background-position: 400px 0;
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-8px) rotate(0.5deg);
  }
  66% {
    transform: translateY(-4px) rotate(-0.5deg);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

@keyframes borderGlow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 {
  transition-delay: 0.15s;
}
.animate-delay-2 {
  transition-delay: 0.3s;
}
.animate-delay-3 {
  transition-delay: 0.45s;
}

/* Flotación suave en hero-card */
.hero-card {
  animation: floatCard 5s ease-in-out infinite;
}

/* ── Sección screenshots ─────────────────────────────────── */
.screenshots-subtitle {
  color: var(--muted);
  margin: 0 0 28px;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.screenshot-slot {
  border-radius: 14px;
  overflow: hidden;
}

.screenshot-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  transition: transform 0.35s ease;
}

.screenshot-slot img:hover {
  transform: scale(1.03);
}

.screenshot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 220px;
  border: 2px dashed #2a3d63;
  border-radius: 14px;
  background: #0d1628;
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(79, 140, 255, 0.06) 50%,
    transparent 100%
  );
  background-size: 400px 100%;
  animation: shimmer 2.2s infinite linear;
  text-align: center;
  padding: 20px;
  color: var(--muted);
}

.screenshot-icon {
  font-size: 2.2rem;
}

.screenshot-placeholder p {
  margin: 0;
  font-weight: 600;
}

.screenshot-placeholder small {
  font-size: 0.82rem;
  color: #6b82ad;
}

.screenshot-placeholder code {
  color: #8db4ff;
}

@media (max-width: 640px) {
  .screenshots-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════
   MULTI-PAGE ADDITIONS
   ═══════════════════════════════════════════════ */

/* Page hero banner (inner pages) */
.page-hero {
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0.5rem 0 1rem;
}
.page-hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Section alt – ver definición principal arriba */

/* Price tag */
.price-tag {
  margin: 1rem 0;
}
.price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}
.badge-featured {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}
.card-featured {
  border-color: var(--primary) !important;
}
.text-center {
  text-align: center;
}

/* Product split */
/* ── Product Tabs ── */
.prod-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  margin-bottom: 2.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 6px;
}
.prod-tab {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 0.5rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--muted, #9fb0d4);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prod-tab-icon {
  font-size: 1.2rem;
}
.prod-tab:hover {
  background: rgba(79, 140, 255, 0.1);
  color: #d4e0fc;
}
.prod-tab.active {
  background: linear-gradient(135deg, #4f8cff 0%, #7b5cf0 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(79, 140, 255, 0.35);
}
.prod-panel {
  display: none;
}
.prod-panel.active {
  display: block;
  animation: tabReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes tabReveal {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    filter: blur(4px);
  }
  60% {
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Product layout: info row + full-width screenshot below */
.product-split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.product-split-reverse {
  direction: ltr;
}
.product-split-reverse > * {
  direction: ltr;
}

/* Info row: text left, button right aligned */
.product-info {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto;
  column-gap: 2.5rem;
  row-gap: 0.25rem;
  align-items: start;
}
.product-info .eyebrow {
  grid-column: 1;
}
.product-info h2 {
  grid-column: 1;
}
.product-info > p {
  grid-column: 1;
}
.product-info .checklist {
  grid-column: 1;
}
.product-info .btn-primary {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
  white-space: nowrap;
  margin-top: 0;
}
.product-info h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0.5rem 0 1rem;
}
.product-info p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Full-width screenshot card */
.product-card {
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.screenshot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 3rem;
  color: var(--muted);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.15);
}
.screenshot-placeholder img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
  cursor: zoom-in;
}
.screenshot-placeholder img:hover {
  transform: scale(1.015);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.65);
}
.screenshot-placeholder span:last-child {
  font-size: 0.85rem;
}

/* Badges row */
.badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* ── DTE Section ── */
.dte-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
}
.dte-stat-card {
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.dte-stat-card .counter,
.dte-stat-card > span:first-child {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.dte-stat-card > span:last-child {
  font-size: 0.82rem;
  color: var(--muted);
}

.dte-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.dte-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(79, 140, 255, 0.06);
  border: 1px solid rgba(79, 140, 255, 0.14);
  border-radius: 14px;
  padding: 1.25rem;
}
.dte-feature-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}
.dte-feature-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}
.dte-feature-item p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 860px) {
  .dte-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .dte-features {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .dte-stats {
    grid-template-columns: 1fr 1fr;
  }
  .dte-features {
    grid-template-columns: 1fr;
  }
}

/* Tech grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}
.tech-item {
  background: rgba(79, 140, 255, 0.08);
  border: 1px solid rgba(79, 140, 255, 0.18);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--surface-soft);
  transition:
    background 0.2s,
    transform 0.2s;
}
.tech-item:hover {
  background: rgba(79, 140, 255, 0.18);
  transform: translateY(-3px);
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
}
.process-step {
  background: rgba(79, 140, 255, 0.06);
  border: 1px solid rgba(79, 140, 255, 0.15);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(79, 140, 255, 0.15);
}
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f8cff, #7b5cf0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  box-shadow:
    0 0 0 5px rgba(79, 140, 255, 0.15),
    0 6px 18px rgba(79, 140, 255, 0.3);
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.process-step p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Link accent */
.link-accent {
  color: var(--primary);
  text-decoration: underline;
}

/* Contact split */
.contact-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-form-wrap h2 {
  margin-bottom: 1.5rem;
}
.contact-form textarea {
  width: 100%;
  resize: vertical;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(79, 140, 255, 0.25);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
.contact-form textarea::placeholder {
  color: var(--muted);
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Compare table */
.compare-wrap {
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
}
.compare-table th,
.compare-table td {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(79, 140, 255, 0.12);
  text-align: left;
  font-size: 0.95rem;
}
.compare-table thead th {
  font-weight: 700;
  color: var(--surface-soft);
}
.col-us {
  background: rgba(79, 140, 255, 0.08);
  color: var(--primary);
  font-weight: 700;
}
.check {
  font-size: 1.1rem;
}
.cross {
  opacity: 0.6;
}

/* Testimonials 3-col */
.testimonials-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  background: rgba(79, 140, 255, 0.06);
  border: 1px solid rgba(79, 140, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--primary);
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  padding: 0 1.25rem 1rem;
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* CTA banner section */
.cta-banner {
  background: linear-gradient(
    135deg,
    rgba(47, 115, 242, 0.12),
    rgba(79, 140, 255, 0.06)
  );
  border-radius: 24px;
  margin: 0 auto;
  max-width: 860px;
}
.cta-banner h2 {
  margin-bottom: 0.75rem;
}
.cta-banner p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}
/* Card link */
.card-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}
.card-link:hover {
  text-decoration: underline;
}

/* Responsive multi-page */
@media (max-width: 860px) {
  .contact-split {
    grid-template-columns: 1fr;
  }
  /* product-split ya es flex column, solo ajustar info-grid */
  .product-info {
    grid-template-columns: 1fr;
  }
  .product-info .btn-primary {
    grid-column: 1;
    grid-row: auto;
    margin-top: 1.25rem;
    align-self: flex-start;
  }
  .prod-tabs {
    flex-direction: column;
  }
  .prod-tab {
    justify-content: flex-start;
  }
}
@media (max-width: 560px) {
  .page-hero {
    padding: 100px 1rem 40px;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ═══════════════════════════════════════════════
   ALIAS & MISSING CLASSES (multi-page HTML)
   ═══════════════════════════════════════════════ */

/* demo-modal → alias de modal-overlay */
.demo-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 10, 22, 0.88);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.demo-modal.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

/* whatsapp-float → alias de whatsapp-btn */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 120;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  animation: float 3s ease-in-out infinite;
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.35);
  animation: pulse-ring 2.2s ease-out infinite;
}

/* footer-inner → alias de footer-wrap */
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 20px 0 30px;
  color: #b7c7ea;
  font-size: 0.92rem;
}
.footer-inner a {
  color: var(--primary);
  text-decoration: none;
}
.footer-inner a:hover {
  text-decoration: underline;
}

/* Badge pill */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(79, 140, 255, 0.1);
  border: 1px solid rgba(79, 140, 255, 0.25);
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #9db8ff;
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin: 0.4rem 0 0.75rem;
}
.section-header p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Hero card internals */
.hero-card-header {
  margin-bottom: 0.75rem;
}
.card-pill {
  display: inline-block;
  background: rgba(79, 140, 255, 0.15);
  border: 1px solid rgba(79, 140, 255, 0.3);
  border-radius: 20px;
  padding: 0.25rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #7eb5ff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #c5d5f5;
}

/* Hero counters */
.hero-counters {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid rgba(79, 140, 255, 0.15);
  padding-top: 1rem;
  margin-top: 0.5rem;
}
.counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}
.counter-item .counter {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.counter-item span:last-child {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
}

/* Modal form inputs */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}
.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  border: 1px solid #33486f;
  background: #0a1325;
  color: #edf3ff;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
}
.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: #5a7090;
}
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: 2px solid rgba(79, 140, 255, 0.5);
  border-color: #4f8cff;
}

/* Testimonial aliases (dark theme) */
.test-quote {
  color: #c8d8f5;
  font-style: italic;
  margin: 0;
  padding-top: 8px;
  line-height: 1.65;
  font-size: 0.95rem;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(79, 140, 255, 0.12);
  padding-top: 12px;
  margin-top: auto;
}
.test-author strong {
  display: block;
  font-size: 0.9rem;
  color: #edf3ff;
}
.test-author span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}
.test-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(79, 140, 255, 0.3),
    rgba(47, 115, 242, 0.5)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

/* Fix testimonial-card for dark background */
.testimonial-card {
  background: rgba(13, 22, 46, 0.7) !important;
  border: 1px solid rgba(79, 140, 255, 0.15) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
}
.testimonial-card .testimonial-text {
  color: #c8d8f5 !important;
}

/* Hero badges (flex row) */
.hero-badges {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

/* Responsive */
@media (max-width: 560px) {
  .hero-counters {
    gap: 1rem;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .whatsapp-float {
    bottom: 80px;
    right: 18px;
  }
}

/* ═══════════════════════════════════════════════
   STRUCTURAL ALIASES – header-inner / #menu
   ═══════════════════════════════════════════════ */

/* header-inner = alias de nav-wrap */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* #menu = alias de .menu (nav principal) */
#menu {
  display: flex;
  align-items: center;
  gap: 20px;
}
#menu a {
  font-weight: 500;
  color: #d5def4;
  transition: color 0.18s;
}
#menu a:hover,
#menu a.active {
  color: #fff;
}

/* Sections necesitan z-index sobre el canvas */
section {
  position: relative;
  z-index: 1;
}

/* lang-btn alias de lang-toggle */
#lang-btn {
  background: rgba(79, 140, 255, 0.12);
  border: 1px solid rgba(79, 140, 255, 0.4);
  color: #9db8ff;
  border-radius: 8px;
  padding: 5px 14px;
  font:
    600 0.82rem/1 "Inter",
    sans-serif;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
#lang-btn:hover {
  background: rgba(79, 140, 255, 0.25);
  color: #fff;
}

/* mobile: ocultar menú y mostrar toggle */
@media (max-width: 960px) {
  #menu {
    display: none;
    position: fixed;
    inset: 0;
    top: 60px;
    background: rgba(6, 13, 26, 0.97);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1rem;
    z-index: 50;
  }
  #menu.open {
    display: flex;
  }
  #menu .menu-group {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  #menu .menu-actions {
    flex-direction: row;
    gap: 0.75rem;
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid rgba(79, 140, 255, 0.15);
  }
  .menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
  }
}
