/* =================================================================
   PRO-2000 MAXIMA - Design System
   ================================================================= */

[hidden] { display: none !important; }

:root {
  color-scheme: light dark;

  /* Light theme (default) */
  --ink: #0f1a17;
  --ink-soft: #2a3a35;
  --muted: #5c6a65;
  --paper: #f5f8f6;
  --bg: #f5f8f6;
  --panel: #ffffff;
  --panel-soft: #edf4f1;
  --line: #d8e4df;
  --mint: #b8ead6;
  --mint-strong: #33a77a;
  --steel: #25445d;
  --deep: #10231f;
  --blue: #4f8fb8;
  --amber: #d38b28;
  --danger: #b42318;
  --shadow: 0 22px 58px rgba(17, 34, 30, 0.16);
  --shadow-soft: 0 10px 30px rgba(17, 34, 30, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --transition: 0.25s ease;
  --header-h: 72px;
  --container: 1280px;
  --font-display: 'Inter', sans-serif;
}

[data-theme="dark"] {
  --ink: #ecf3f0;
  --ink-soft: #b8c7c2;
  --muted: #8a9893;
  --paper: #0c1614;
  --bg: #0c1614;
  --panel: #142220;
  --panel-soft: #1b2c28;
  --line: #243934;
  --mint: #4cd6a0;
  --mint-strong: #6ee2b6;
  --steel: #6aa0c4;
  --deep: #050a09;
  --blue: #7eb6dc;
  --amber: #f0a942;
  --shadow: 0 22px 58px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #ecf3f0;
    --ink-soft: #b8c7c2;
    --muted: #8a9893;
    --paper: #0c1614;
    --bg: #0c1614;
    --panel: #142220;
    --panel-soft: #1b2c28;
    --line: #243934;
    --mint: #4cd6a0;
    --mint-strong: #6ee2b6;
    --steel: #6aa0c4;
    --deep: #050a09;
    --blue: #7eb6dc;
    --amber: #f0a942;
    --shadow: 0 22px 58px rgba(0, 0, 0, 0.5);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

/* =================================================================
   Reset & Base
   ================================================================= */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition:
    background-color var(--transition),
    color var(--transition);
}

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

::selection {
  background: var(--mint-strong);
  color: var(--deep);
}

/* Focus visible */
:focus-visible {
  outline: 3px solid var(--mint-strong);
  outline-offset: 2px;
  border-radius: 4px;
}

/* =================================================================
   Layout helpers
   ================================================================= */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 72px);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--mint-strong);
  color: var(--deep);
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

/* =================================================================
   Topbar / Navigation
   ================================================================= */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
  padding: 14px clamp(18px, 4vw, 56px);
  background: color-mix(in srgb, var(--deep) 82%, transparent);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background var(--transition);
  flex-wrap: nowrap;
}
.topbar > * { flex-shrink: 0; }
.topbar .nav { flex-shrink: 1; min-width: 0; }

.topbar.is-scrolled {
  background: color-mix(in srgb, var(--deep) 95%, transparent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 780;
  white-space: nowrap;
  font-size: 1.05rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--mint), var(--mint-strong));
  color: var(--deep);
  font-size: 0.82rem;
  font-weight: 850;
  box-shadow: 0 4px 14px rgba(51, 167, 122, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
  font-weight: 650;
}
.nav a {
  position: relative;
  padding: 8px 2px;
  transition: color var(--transition);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--mint-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav a:hover,
.nav a:focus-visible {
  color: #ffffff;
}
.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition:
    background var(--transition),
    transform var(--transition);
}
.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: rotate(15deg);
}
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  place-items: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: transform var(--transition);
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.topbar.is-open .menu-toggle span { background: transparent; }
.topbar.is-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.topbar.is-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* =================================================================
   Hero (premium con animacion de fondo)
   ================================================================= */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
  min-height: min(920px, 100vh);
  padding: clamp(120px, 14vh, 180px) clamp(20px, 5vw, 80px) clamp(80px, 10vh, 120px);
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 0%, #0a1f1b 0%, var(--deep) 60%);
  color: #ffffff;
  isolation: isolate;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 70px;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(51, 167, 122, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 167, 122, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  animation: gridFloat 18s linear infinite;
}
@keyframes gridFloat {
  0% { background-position: 0 0; }
  100% { background-position: 56px 56px; }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: orbFloat 16s ease-in-out infinite;
}
.hero-orb-1 {
  top: -100px;
  left: -60px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, var(--mint) 0%, transparent 70%);
}
.hero-orb-2 {
  top: 30%;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #2e8a8a 0%, transparent 70%);
  animation-delay: -6s;
}
.hero-orb-3 {
  bottom: -160px;
  left: 30%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #d6a04a 0%, transparent 70%);
  opacity: 0.35;
  animation-delay: -10s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.5;
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-title {
  margin: 0 0 24px;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.hero-line {
  display: block;
}
.hero-line > * {
  display: inline-block;
}
.hero-title .accent {
  background: linear-gradient(120deg, var(--mint-strong) 0%, #6ee7b7 50%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: gradientShift 6s ease-in-out infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.typed-wrap {
  display: inline-block;
  color: var(--mint-strong);
  width: 9.2ch;
  text-align: left;
  white-space: nowrap;
}
.typed {
  color: var(--mint-strong);
}
.typed-caret {
  display: inline-block;
  color: var(--mint-strong);
  font-weight: 200;
  margin-left: 1px;
  animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink {
  50% { opacity: 0; }
}

.hero-copy {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 720;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  color: var(--deep);
  background: var(--mint);
  box-shadow: 0 14px 34px rgba(51, 167, 122, 0.32);
}
.button-primary:hover {
  background: var(--mint-strong);
  box-shadow: 0 20px 44px rgba(51, 167, 122, 0.4);
}
.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}
.button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.7);
}
.button-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}
.button-ghost:hover {
  background: var(--panel-soft);
  border-color: var(--mint-strong);
  color: var(--mint-strong);
}
.button-ghost-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}
.button-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}
.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.62rem;
  padding-left: 2px;
}
.button .arrow {
  transition: transform var(--transition);
}
.button:hover .arrow {
  transform: translateX(4px);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-meta-item strong {
  font-size: 1.6rem;
  font-weight: 850;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-meta-item span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}
.hero-meta-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
}

/* Hero visual (imagen del programa con cards flotantes) */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}
@media (max-width: 980px) {
  .hero-visual { min-height: 380px; margin-top: 20px; }
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  animation: windowFloat 6s ease-in-out infinite;
}
@keyframes windowFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(51, 167, 122, 0.3);
  box-shadow:
    0 60px 120px -30px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(51, 167, 122, 0.2);
  background: linear-gradient(180deg, #0d2520 0%, #081916 100%);
  opacity: 0;
  animation: imageFade 0.8s ease-out 0.2s forwards;
}
@keyframes imageFade {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}
.hero-scroll:hover { color: var(--mint-strong); }
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, currentColor, transparent);
  animation: scrollHint 2.4s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.6); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 700px) {
  .hero-scroll { display: none; }
  .hero-meta { gap: 16px; }
  .hero-meta-divider { display: none; }
}

/* =================================================================
   Marquee / Cinta de caracteristicas
   ================================================================= */

.marquee-section {
  position: relative;
  padding: 24px 0;
  background: linear-gradient(90deg, var(--deep) 0%, #0d2a25 50%, var(--deep) 100%);
  border-top: 1px solid rgba(51, 167, 122, 0.15);
  border-bottom: 1px solid rgba(51, 167, 122, 0.15);
  overflow: hidden;
}
.marquee-section::before,
.marquee-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--deep) 0%, transparent 100%);
}
.marquee-section::after {
  right: 0;
  background: linear-gradient(-90deg, var(--deep) 0%, transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  flex-shrink: 0;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.marquee-icon {
  color: var(--mint-strong);
  font-size: 0.7rem;
  filter: drop-shadow(0 0 6px var(--mint-strong));
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =================================================================
   Barra de confianza (logos)
   ================================================================= */

.trust-bar {
  padding: 70px 0 60px;
  background: var(--bg);
}
.trust-bar-inner {
  text-align: center;
}
.trust-bar-eyebrow {
  display: inline-block;
  margin: 0 0 36px;
  padding: 6px 14px;
  background: var(--panel-soft);
  color: var(--mint-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.trust-bar-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .trust-bar-logos { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 700px) {
  .trust-bar-logos { grid-template-columns: repeat(2, 1fr); }
}
.trust-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px 10px;
  min-height: 90px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: all 0.3s ease;
  cursor: default;
}
.trust-logo:hover {
  transform: translateY(-4px);
  border-color: var(--mint-strong);
  box-shadow: 0 16px 30px -12px rgba(51, 167, 122, 0.25);
}
.trust-logo-name {
  font-size: 1.1rem;
  font-weight: 850;
  color: var(--ink);
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--ink) 0%, var(--mint-strong) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trust-logo-sub {
  font-size: 0.7rem;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.trust-logo-ampliable {
  border-style: dashed;
  opacity: 0.8;
}
.trust-logo-ampliable:hover {
  opacity: 1;
}

/* =================================================================
   Stats / Contadores animados
   ================================================================= */

.stats-section {
  padding: 80px 0 100px;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: "";
  position: absolute;
  top: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--mint) 0%, transparent 70%);
  opacity: 0.08;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
}
.stat-card {
  padding: 28px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mint-strong), var(--mint));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--mint-strong);
  box-shadow: 0 24px 50px -16px rgba(51, 167, 122, 0.3);
}
.stat-card:hover::before {
  transform: scaleX(1);
}
.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--mint) 0%, var(--mint-strong) 100%);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 12px 24px -8px rgba(51, 167, 122, 0.4);
}
.stat-value {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 850;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.stat-foot {
  font-size: 0.72rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* =================================================================
   Soporte incluido (tarjeta destacada)
   ================================================================= */

.support-included {
  padding: 40px 0 60px;
  background: var(--bg);
}
.support-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 36px 40px;
  background:
    linear-gradient(135deg, var(--panel) 0%, var(--panel-soft) 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 60px -28px rgba(17, 34, 30, 0.25);
  position: relative;
  overflow: hidden;
}
.support-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--mint) 0%, transparent 70%);
  opacity: 0.15;
  border-radius: 50%;
  pointer-events: none;
}
@media (max-width: 900px) {
  .support-card {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 32px 28px;
  }
}
.support-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--mint) 0%, var(--mint-strong) 100%);
  font-size: 2.4rem;
  box-shadow: 0 16px 32px -12px rgba(51, 167, 122, 0.4);
}
.support-card-body { min-width: 0; }
.support-card-body h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.support-card-body p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}
.support-card-body p a {
  color: var(--mint-strong);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s ease;
}
.support-card-body p a:hover { color: var(--deep); }
.support-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}
@media (max-width: 600px) {
  .support-list { grid-template-columns: 1fr; }
}
.support-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}
.support-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mint);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.support-card-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  min-width: 200px;
}
@media (max-width: 900px) {
  .support-card-cta { flex-direction: row; flex-wrap: wrap; }
}
.support-card-cta .button { width: 100%; }
@media (max-width: 900px) {
  .support-card-cta .button { width: auto; }
}

/* =================================================================
   Designer gallery (capturas reales del programa)
   ================================================================= */

.designer-gallery-head {
  text-align: center;
  max-width: 720px;
  margin: 70px auto 36px;
}
.designer-gallery-head h3 {
  margin: 8px 0 12px;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--ink);
}
@media (max-width: 600px) {
  .designer-gallery-head h3 {
    font-size: 1.25rem;
  }
}
.designer-gallery-sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.designer-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1100px) {
  .designer-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .designer-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
  .designer-gallery { grid-template-columns: 1fr; }
}

.designer-tile {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 8px 18px -10px rgba(17, 34, 30, 0.18);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.2, 0.7, 0.3, 1),
    border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.designer-tile:hover {
  transform: translateY(-4px);
  border-color: var(--mint-strong);
  box-shadow: 0 22px 38px -16px rgba(51, 167, 122, 0.32);
}
.designer-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.designer-tile:hover img {
  transform: scale(1.06);
}
.designer-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 17, 0) 50%, rgba(7, 20, 17, 0.75) 100%);
  opacity: 0.85;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.designer-tile:hover::after { opacity: 1; }
.designer-tile-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: rgba(13, 36, 32, 0.9);
  border: 1px solid rgba(51, 167, 122, 0.45);
  border-radius: 999px;
  color: var(--mint-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.designer-tile-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  transform: translateY(0);
  transition: transform 0.3s ease;
}
.designer-tile:hover .designer-tile-caption {
  transform: translateY(-2px);
}

/* =================================================================
   Ecosystem: Hilo Conductor MAXIMA (modelo fragmentado vs control)
   ================================================================= */

.ecosystem-section {
  padding: 100px 0;
  background: var(--deep);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.ecosystem-section::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--mint) 0%, transparent 65%);
  opacity: 0.08;
  border-radius: 50%;
  pointer-events: none;
}
.ecosystem-section .eyebrow {
  color: var(--mint-strong);
}
.ecosystem-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 1;
}
.ecosystem-head h2 {
  margin: 12px 0 16px;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.ecosystem-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.6;
}

.ecosystem-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .ecosystem-compare { grid-template-columns: 1fr; }
}

.ecosystem-side {
  position: relative;
  padding: 32px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(13, 36, 32, 0.55);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.ecosystem-side-risk {
  border-color: rgba(255, 95, 95, 0.4);
  background:
    linear-gradient(135deg, rgba(80, 20, 20, 0.45) 0%, rgba(13, 36, 32, 0.55) 60%);
}
.ecosystem-side-risk::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 95, 95, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ecosystem-side-control {
  border-color: rgba(51, 167, 122, 0.5);
  background:
    linear-gradient(135deg, rgba(20, 80, 60, 0.45) 0%, rgba(13, 36, 32, 0.55) 60%);
  box-shadow: 0 30px 60px -20px rgba(51, 167, 122, 0.25);
}
.ecosystem-side-control::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(51, 167, 122, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ecosystem-side-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  align-self: flex-start;
}
.ecosystem-side-risk .ecosystem-side-tag {
  background: rgba(255, 95, 95, 0.15);
  color: #ff8b8b;
  border: 1px solid rgba(255, 95, 95, 0.4);
}
.ecosystem-side-control .ecosystem-side-tag {
  background: rgba(51, 167, 122, 0.18);
  color: var(--mint-strong);
  border: 1px solid rgba(51, 167, 122, 0.5);
}
.ecosystem-side-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
}
.ecosystem-side-risk .ecosystem-side-icon {
  background: rgba(255, 95, 95, 0.3);
  color: #ff5f5f;
}
.ecosystem-side-control .ecosystem-side-icon {
  background: var(--mint);
  color: #ffffff;
}

.ecosystem-side h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.ecosystem-side p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.55;
}

.ecosystem-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ecosystem-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}
.ecosystem-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.ecosystem-list-risk li span {
  background: rgba(255, 95, 95, 0.18);
  color: #ff8b8b;
}
.ecosystem-list-control li span {
  background: var(--mint);
  color: #ffffff;
}

.ecosystem-pipeline {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  counter-reset: pipe;
}
.ecosystem-pipeline li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(51, 167, 122, 0.25);
  border-radius: 12px;
  position: relative;
  transition: all 0.3s ease;
}
.ecosystem-pipeline li:hover {
  background: rgba(51, 167, 122, 0.08);
  border-color: var(--mint-strong);
  transform: translateX(4px);
}
.ecosystem-pipeline li + li::before {
  content: "";
  position: absolute;
  left: 24px;
  top: -10px;
  width: 1px;
  height: 10px;
  background: linear-gradient(to bottom, transparent, var(--mint-strong));
}
.pipeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--mint) 0%, var(--mint-strong) 100%);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -4px rgba(51, 167, 122, 0.5);
}
.ecosystem-pipeline li > div {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.ecosystem-pipeline li strong {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
}
.ecosystem-pipeline li span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  font-weight: 500;
}

/* =================================================================
   CNC Audit cards (auditoria y re-optimizacion)
   ================================================================= */

.cnc-audit {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
  position: relative;
}
.cnc-audit-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.cnc-audit-head h3 {
  margin: 8px 0 12px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.cnc-audit-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
  line-height: 1.55;
}
.cnc-audit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .cnc-audit-grid { grid-template-columns: 1fr; }
}
.cnc-audit-card {
  position: relative;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
  overflow: hidden;
}
.cnc-audit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mint) 0%, var(--mint-strong) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.cnc-audit-card:hover {
  transform: translateY(-6px);
  border-color: var(--mint-strong);
  box-shadow: 0 24px 50px -16px rgba(51, 167, 122, 0.25);
}
.cnc-audit-card:hover::before { transform: scaleX(1); }
.cnc-audit-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--mint) 0%, var(--mint-strong) 100%);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  align-self: flex-start;
  box-shadow: 0 8px 16px -6px rgba(51, 167, 122, 0.4);
}
.cnc-audit-card h4 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.cnc-audit-card > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  line-height: 1.55;
}
.cnc-audit-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 12px;
}
.cnc-audit-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  line-height: 1.4;
}
.cnc-audit-list li span {
  color: var(--mint-strong);
  font-weight: 800;
  flex-shrink: 0;
}

/* =================================================================
   Stats suffix (para 60%+, 49.624mm, etc.)
   ================================================================= */

.stats-suffix {
  font-size: 0.5em;
  font-weight: 700;
  color: var(--mint-strong);
  letter-spacing: 0;
  margin-left: 0.1em;
}

/* =================================================================
   Final claim (sistema nervioso central)
   ================================================================= */

.final-claim {
  padding: 100px 0 110px;
  background:
    radial-gradient(ellipse at 30% 0%, #0a1f1b 0%, var(--deep) 60%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.final-claim::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--mint) 0%, transparent 65%);
  opacity: 0.12;
  border-radius: 50%;
  pointer-events: none;
}
.final-claim::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--mint-strong) 0%, transparent 65%);
  opacity: 0.08;
  border-radius: 50%;
  pointer-events: none;
}
.final-claim-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.final-claim .eyebrow {
  color: var(--mint-strong);
  justify-content: center;
}
.final-claim-inner h2 {
  margin: 12px 0 50px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #ffffff;
}
.final-claim-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 60px;
  text-align: left;
}
@media (max-width: 900px) {
  .final-claim-pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .final-claim-pillars { grid-template-columns: 1fr; }
}
.final-claim-pillar {
  position: relative;
  padding: 24px 20px;
  background: rgba(13, 36, 32, 0.55);
  border: 1px solid rgba(51, 167, 122, 0.25);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.final-claim-pillar:hover {
  border-color: var(--mint-strong);
  transform: translateY(-4px);
  background: rgba(13, 36, 32, 0.75);
}
.final-claim-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--mint) 0%, var(--mint-strong) 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 850;
  box-shadow: 0 6px 14px -4px rgba(51, 167, 122, 0.5);
}
.final-claim-pillar h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.005em;
}
.final-claim-pillar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
  line-height: 1.5;
}
.final-claim-quote {
  margin: 0 0 36px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  font-weight: 500;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.final-claim-quote strong {
  color: #ffffff;
  font-weight: 850;
}
.final-claim-highlight {
  background: linear-gradient(120deg, var(--mint-strong) 0%, #6ee7b7 50%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  font-weight: 700;
  animation: gradientShift 6s ease-in-out infinite;
}
.final-claim-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =================================================================
   Acceso usuarios / Soporte usuarios registrados
   ================================================================= */

.user-area {
  padding: 90px 0 100px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.user-area::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--mint) 0%, transparent 65%);
  opacity: 0.06;
  border-radius: 50%;
  pointer-events: none;
}
.user-area-inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.user-area-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.user-area-head h2 {
  margin: 12px 0 14px;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.user-area-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

/* Support form wrapper */
.support-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}
.support-form-wrapper h4 {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  text-align: center;
}
.support-form-desc {
  text-align: center;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.support-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 24px 60px -28px rgba(17, 34, 30, 0.25);
}
[data-theme="dark"] .support-form {
  background: var(--panel);
  border-color: var(--line);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.5);
}

/* =================================================================
   Status strip (highlights)
   ================================================================= */

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.status-strip > div {
  min-height: 132px;
  padding: 32px clamp(20px, 4vw, 48px);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  transition: background var(--transition);
}
.status-strip > div:hover { background: var(--panel-soft); }

.status-strip strong {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 750;
  color: var(--ink);
}
.status-strip strong::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-strong);
}
.status-strip span {
  color: var(--muted);
  font-size: 0.96rem;
}

/* =================================================================
   SECCION INFORMATIVA - Que hace PRO-2000 MAXIMA
   ================================================================= */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.info-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(94, 234, 212, 0.2);
  transform: translateY(-3px);
}

.info-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.info-card-body {
  padding: 22px 22px 24px;
}

.info-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.18);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--mint-strong);
  margin-bottom: 14px;
}

.info-card h3 {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.info-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

/* Estadisticas informativas */
.info-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
}

.info-stat {
  background: rgba(255, 255, 255, 0.03);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-stat-num {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--mint-strong);
  line-height: 1;
}

.info-stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* Responsive info section */
@media (max-width: 900px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .info-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .info-grid { grid-template-columns: 1fr; gap: 14px; }
  .info-stats { grid-template-columns: 1fr 1fr; }
  .info-card-body { padding: 18px 16px 20px; }
}

@media (max-width: 400px) {
  .info-stats { grid-template-columns: 1fr; }
}

/* =================================================================
   Section base
   ================================================================= */

.section {
  padding: clamp(72px, 9vw, 128px) 0;
  position: relative;
}

.section-light { background: var(--paper); }
.section-panel { background: var(--panel-soft); }
.section-deep {
  background: var(--deep);
  color: #ecf3f0;
}
.section-steel {
  background: var(--steel);
  color: #ffffff;
}

.section-heading {
  max-width: 880px;
  margin: 0 auto clamp(40px, 6vw, 72px);
  text-align: center;
}
.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}
.section-heading h2,
.split-copy h2,
.proof-copy h2 {
  margin: 12px 0 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 820;
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.section-heading p:not(.eyebrow),
.split-copy p,
.proof-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 720px;
}
.section-heading.align-left p { margin-left: 0; }

.section-deep .section-heading p:not(.eyebrow),
.section-steel .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

/* =================================================================
   Flow steps
   ================================================================= */

.flow-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.flow-step {
  position: relative;
  min-height: 280px;
  padding: 30px 24px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--transition);
}
.flow-step:hover {
  background: var(--panel-soft);
}
.flow-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--panel-soft);
  color: var(--amber);
  font-size: 0.86rem;
  font-weight: 850;
  margin-bottom: 6px;
  transition: all var(--transition);
}
.flow-step:hover .step-number {
  background: var(--amber);
  color: #ffffff;
  transform: rotate(-6deg);
}
.flow-step h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 750;
  color: var(--ink);
}
.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* =================================================================
   Split section (Designer)
   ================================================================= */

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.split-copy {
  max-width: 560px;
}
.split-copy .eyebrow {
  display: inline-flex;
}
.check-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding: 14px 18px 14px 48px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  transition: all var(--transition);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mint-strong);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
}
.check-list li:hover {
  border-color: var(--mint-strong);
  transform: translateX(4px);
}

.split-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.split-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.split-media:hover img {
  transform: scale(1.04);
}
.split-media figcaption {
  padding: 18px 22px;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

/* =================================================================
   CNC section
   ================================================================= */

.cnc-section {
  background: #172f2a;
  color: #eef8f4;
}

.cnc-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.cnc-image {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.4);
}
.cnc-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.cnc-image::after {
  content: "CONFIGURACION DE REGLAS CNC";
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 12px;
  background: var(--mint-strong);
  color: var(--deep);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  border-radius: 999px;
}

.series-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
}
.series-panel article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--transition);
}
.series-panel article:hover {
  background: rgba(255, 255, 255, 0.08);
}
.series-panel strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 72px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--deep);
  font-weight: 850;
  font-size: 0.96rem;
}
.series-panel p {
  margin: 0;
  color: rgba(238, 248, 244, 0.84);
  font-size: 0.94rem;
  line-height: 1.5;
}

/* =================================================================
   Modules
   ================================================================= */

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.module-card {
  position: relative;
  min-height: 240px;
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  overflow: hidden;
  isolation: isolate;
}
.module-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--mint) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}
.module-card:hover {
  transform: translateY(-4px);
  border-color: var(--mint-strong);
  box-shadow: 0 24px 50px rgba(17, 34, 30, 0.18);
}
.module-card:hover::before { opacity: 0.1; }

.module-card .module-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--panel-soft);
  color: var(--mint-strong);
  font-size: 1.4rem;
  font-weight: 850;
  margin-bottom: 6px;
  transition: all var(--transition);
}
.module-card:hover .module-icon {
  background: var(--mint-strong);
  color: #ffffff;
  transform: scale(1.05) rotate(-4deg);
}
.module-card h3 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 750;
  color: var(--ink);
}
.module-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}
.module-card .module-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mint-strong);
  font-size: 0.9rem;
  font-weight: 720;
  padding-top: 8px;
}
.module-card .module-link::after {
  content: "→";
  transition: transform var(--transition);
}
.module-card:hover .module-link::after { transform: translateX(4px); }

/* =================================================================
   Proof / Validation
   ================================================================= */

.proof-section {
  background: var(--steel);
  color: #ffffff;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.proof-copy .eyebrow { color: var(--mint-strong); }
.proof-copy p { color: rgba(255, 255, 255, 0.8); }
.proof-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.proof-metrics > div {
  min-height: 150px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition);
}
.proof-metrics > div:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}
.proof-metrics strong {
  display: block;
  color: var(--mint-strong);
  font-size: 2rem;
  font-weight: 850;
  line-height: 1;
}
.proof-metrics span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
}

/* =================================================================
   Documentation
   ================================================================= */

.docs-section {
  background: var(--deep);
  color: #ffffff;
}
.docs-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.doc-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
  padding: 28px;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}
.doc-link:hover {
  transform: translateY(-4px);
  border-color: var(--mint-strong);
  box-shadow: 0 24px 50px rgba(17, 34, 30, 0.2);
}
.doc-link .doc-badge {
  width: fit-content;
  padding: 5px 10px;
  background: var(--blue);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
}
.doc-link strong {
  font-size: 1.32rem;
  font-weight: 750;
  margin: 4px 0 0;
  color: var(--ink);
}
.doc-link small {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}
/* =================================================================
   Contact / CTA
   ================================================================= */

.contact-section {
  background: linear-gradient(135deg, var(--deep) 0%, #1a3530 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 80% 20%, rgba(76, 214, 160, 0.18), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(79, 143, 184, 0.15), transparent 40%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-info h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 820;
  line-height: 1.04;
}
.contact-info p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
  line-height: 1.6;
}
.contact-channels {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: #ffffff;
  transition: all var(--transition);
}
.contact-channel:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--mint-strong);
  transform: translateX(4px);
}
.contact-channel-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(76, 214, 160, 0.18);
  color: var(--mint-strong);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-channel strong {
  display: block;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-channel span { font-size: 0.98rem; font-weight: 600; }

.contact-form {
  background: var(--panel);
  color: var(--ink);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  display: grid;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.98rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--mint-strong);
  box-shadow: 0 0 0 3px rgba(51, 167, 122, 0.18);
}
.form-submit {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.form-status {
  font-size: 0.92rem;
  font-weight: 600;
  flex: 1;
}
.form-status.success { color: var(--mint-strong); }
.form-status.error { color: var(--danger); }

/* =================================================================
   FAQ
   ================================================================= */

.eyebrow {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 12px;
  background: var(--panel-soft);
  color: var(--mint-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cnc-section .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--mint);
}

.faq-grid {
  display: grid;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--mint-strong);
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--mint-strong);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-item p {
  margin: 0;
  padding: 18px 20px;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 0.96rem;
}

.faq-item p a {
  color: var(--mint-strong);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.faq-item p a:hover {
  border-color: var(--mint-strong);
}

/* =================================================================
   Footer
   ================================================================= */

.site-footer {
  background: #050a09;
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand p {
  margin: 14px 0 0;
  font-size: 0.94rem;
  line-height: 1.55;
  max-width: 360px;
}
.footer-col h4 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--mint-strong); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

/* =================================================================
   Lightbox
   ================================================================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 20, 17, 0.9);
  backdrop-filter: blur(12px);
}
.lightbox.is-open { display: flex; animation: lightboxIn 0.2s ease; }
@keyframes lightboxIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox-content {
  position: relative;
  max-width: min(1200px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}
.lightbox-content strong {
  color: #ffffff;
  font-size: 1rem;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  transition: all var(--transition);
}
.lightbox-close:hover {
  background: var(--mint-strong);
  color: var(--deep);
}

/* =================================================================
   Reveal on scroll
   ================================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =================================================================
   Module detail modal
   ================================================================= */

.module-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 20, 17, 0.9);
  backdrop-filter: blur(12px);
}
.module-modal.is-open {
  display: flex;
  animation: lightboxIn 0.2s ease;
}
.module-modal-content {
  position: relative;
  width: 100%;
  max-width: 1100px;
  max-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  background: var(--panel);
  color: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}
/* Carrusel de imagenes dentro del modal */
.module-carousel {
  position: relative;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  overflow: hidden;
}
.module-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}
.module-carousel-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 92vh;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--paper);
}
.module-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--panel);
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: background 0.15s, transform 0.15s, opacity 0.15s;
  z-index: 2;
  opacity: 0.85;
}
.module-carousel-btn:hover {
  background: var(--mint-strong);
  color: var(--deep);
  opacity: 1;
}
.module-carousel-prev { left: 12px; }
.module-carousel-next { right: 12px; }
.module-carousel-btn[hidden] { display: none; }
.module-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.module-carousel-dots[hidden] { display: none; }
.module-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.module-carousel-dot.is-active {
  background: var(--mint-strong);
  transform: scale(1.25);
}
.module-modal-text {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}
.module-modal-text h3 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
}
.module-modal-text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.module-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--panel, #ffffff);
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 800;
  border: 2px solid var(--mint-strong);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all var(--transition);
}
.module-modal-close:hover {
  background: var(--mint-strong);
  color: var(--deep);
  border-color: var(--mint-strong);
  transform: rotate(90deg);
}

@media (max-width: 900px) {
  .module-modal-content {
    grid-template-columns: 1fr;
    max-height: 96vh;
  }
  .module-modal-content img {
    max-height: 50vh;
  }
  .module-modal-text {
    padding: 24px;
  }
}

/* =================================================================
   Responsive
   ================================================================= */

@media (max-width: 1280px) {
  .brand-text small { font-size: 0.62rem; }
  .nav { gap: clamp(10px, 1.4vw, 18px); font-size: 0.88rem; }
}

/* A 980px o menos: el nav se colapsa a hamburguesa. */
@media (max-width: 980px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 16px 24px;
    background: var(--deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  .topbar.is-open .nav {
    max-height: 540px;
    padding: 16px 24px;
  }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .nav a:last-child { border-bottom: 0; }
  .menu-toggle { display: grid; }

  .flow-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .status-strip,
  .module-grid,
  .docs-grid,
  .proof-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .split-section,
  .proof-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .series-panel { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root { --header-h: 64px; }
  .topbar { min-height: 64px; padding: 10px 16px; }
  .brand { font-size: 0.96rem; }
  .brand-text small { display: none; }
  .theme-toggle { width: 36px; height: 36px; }

  .hero-copy { font-size: 1rem; }
  .button { width: 100%; }

  .status-strip,
  .flow-grid,
  .module-grid,
  .docs-grid,
  .proof-metrics,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .flow-step,
  .module-card,
  .doc-link,
  .proof-metrics > div,
  .contact-form {
    min-height: auto;
  }
  .section { padding: 64px 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

