/* ==========================================================================
   NOVARIX — Estilos
   Estética: tecnológica, elegante, futurista, profesional.
   Fondo oscuro, azules eléctricos, cian y blanco.
   ========================================================================== */

:root {
  --bg: #05070d;
  --bg-elevated: #0a0f1a;
  --bg-card: #0c1322;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-strong: rgba(255, 255, 255, 0.06);

  --text: #eef3fc;
  --text-muted: #a9b6cc;
  --text-soft: #7e8ba3;

  --electric-blue: #2f6bff;
  --electric-blue-bright: #4d82ff;
  --cyan: #25e6ff;
  --violet: #8b5cf6;
  --violet-soft: #a78bfa;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --gradient-primary: linear-gradient(135deg, #2f6bff 0%, #25e6ff 100%);
  --glow-blue: 0 0 24px rgba(47, 107, 255, 0.35);
  --glow-cyan: 0 0 20px rgba(37, 230, 255, 0.25);
  --glow-violet: 0 0 24px rgba(139, 92, 246, 0.35);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --container: 1120px;
  --radius: 14px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(47, 107, 255, 0.12), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(37, 230, 255, 0.08), transparent 55%),
    radial-gradient(820px 520px at 100% 62%, rgba(139, 92, 246, 0.10), transparent 60%),
    linear-gradient(rgba(37, 230, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 230, 255, 0.035) 1px, transparent 1px);
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat;
  background-size: auto, auto, auto, 46px 46px, 46px 46px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Accesibilidad: saltar al contenido */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--electric-blue);
  color: #fff;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ==========================================================================
   Botones
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease,
    border-color 0.25s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, #2f6bff 0%, #25e6ff 100%);
  color: #04101f;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.4), var(--glow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(47, 107, 255, 0.55), 0 0 34px rgba(37, 230, 255, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(37, 230, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(37, 230, 255, 0.06);
  box-shadow: var(--glow-cyan);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 500;
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

/* ==========================================================================
   Header / Navegación
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(37, 230, 255, 0.14);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand--header {
  flex: 0 0 auto;
  min-width: 210px;
}

.brand-logo-window {
  position: relative;
  display: block;
  width: 210px;
  height: 31px;
  overflow: hidden;
  filter: drop-shadow(0 0 12px rgba(47, 107, 255, 0.38));
}

.brand--header .brand-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-width: none;
  transform: translateY(-54.2%);
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-wrap img {
  height: 30px;
  width: auto;
}

.logo-text {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #fff;
  text-shadow: 0 0 14px rgba(47, 107, 255, 0.6);
}

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

.brand-logo-fallback {
  display: none;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #fff;
  text-shadow: 0 0 14px rgba(47, 107, 255, 0.6);
}

.brand-fallback-active .brand-logo-fallback {
  display: inline;
}

.brand--header.brand-fallback-active .brand-logo-window {
  display: none;
}

.brand-logo-footer {
  height: 46px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  box-shadow: var(--glow-cyan);
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  padding: 10px 22px;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 78px);
  min-height: calc(100svh - 78px);
  padding: 72px 0;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.12) 0%, rgba(5, 7, 13, 0.78) 100%),
    radial-gradient(circle at 50% 42%, rgba(18, 111, 255, 0.16), transparent 32%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -18% -10%;
  background:
    radial-gradient(ellipse at 50% 44%, rgba(37, 230, 255, 0.20) 0%, rgba(47, 107, 255, 0.10) 28%, transparent 59%),
    radial-gradient(circle at 15% 24%, rgba(47, 107, 255, 0.14), transparent 24%),
    radial-gradient(circle at 87% 68%, rgba(37, 230, 255, 0.09), transparent 25%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 230, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 230, 255, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent 2%, rgba(0, 0, 0, 0.82) 28%, rgba(0, 0, 0, 0.4) 76%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 2%, rgba(0, 0, 0, 0.82) 28%, rgba(0, 0, 0, 0.4) 76%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% - 48px);
  max-width: 980px;
  padding: clamp(44px, 6vw, 72px) clamp(28px, 6vw, 72px);
  border: 1px solid rgba(104, 206, 255, 0.16);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(13, 24, 43, 0.76), rgba(5, 10, 19, 0.62)),
    radial-gradient(circle at 50% 0%, rgba(37, 230, 255, 0.09), transparent 43%);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.48),
    0 0 80px rgba(47, 107, 255, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
}

.hero-content::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 230, 255, 0.9), transparent);
  box-shadow: 0 0 24px rgba(37, 230, 255, 0.65);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(37, 230, 255, 0.065);
  border: 1px solid rgba(37, 230, 255, 0.26);
  padding: 9px 18px;
  border-radius: 999px;
  margin-bottom: clamp(24px, 4vw, 38px);
  box-shadow: inset 0 0 20px rgba(37, 230, 255, 0.035), 0 0 24px rgba(37, 230, 255, 0.07);
}

.hero-brand {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: clamp(24px, 3vw, 32px);
  line-height: 0;
}

.hero-logo-window {
  position: relative;
  display: block;
  width: min(100%, 720px);
  aspect-ratio: 7.15 / 1;
  overflow: hidden;
  filter: drop-shadow(0 0 22px rgba(37, 230, 255, 0.24)) drop-shadow(0 0 50px rgba(47, 107, 255, 0.18));
}

.hero-logo-window img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-width: none;
  transform: translateY(-54.2%);
}

.hero-slogan {
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: #f7fbff;
  max-width: 720px;
  margin: 0 auto 14px;
  text-wrap: balance;
}

.hero-subtitle {
  font-size: clamp(0.98rem, 1.7vw, 1.1rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-actions .btn {
  min-width: 190px;
  padding: 14px 26px;
  border-radius: 12px;
  letter-spacing: 0.015em;
}

.hero-actions .btn-primary {
  box-shadow: 0 12px 32px rgba(47, 107, 255, 0.32), 0 0 28px rgba(37, 230, 255, 0.16);
}

.hero-actions .btn-secondary {
  background: rgba(7, 17, 30, 0.72);
  border-color: rgba(116, 220, 255, 0.30);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 28px rgba(0, 0, 0, 0.22);
}

/* ==========================================================================
   Secciones generales
   ========================================================================== */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(37, 230, 255, 0.08);
  border: 1px solid rgba(37, 230, 255, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.section-heading::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 22px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--electric-blue), var(--cyan), var(--violet));
  box-shadow: var(--glow-cyan);
}

/* ==========================================================================
   Sobre NOVARIX
   ========================================================================== */
.about-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.about-content .lead {
  font-size: 1.2rem;
  line-height: 1.75;
  color: #fff;
  margin-bottom: 18px;
}

.about-content .lead strong {
  color: var(--cyan);
  font-weight: 600;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pill-list {
  max-width: 760px;
  margin: 32px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pill-list li {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: 999px;
}

/* ==========================================================================
   Soluciones (tarjetas)
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--electric-blue), var(--cyan), var(--violet));
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 230, 255, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), var(--glow-blue);
}

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

.card:hover .card-icon {
  box-shadow: var(--glow-cyan);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  background: rgba(37, 230, 255, 0.08);
  border: 1px solid rgba(37, 230, 255, 0.18);
  margin-bottom: 22px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

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

/* ==========================================================================
   Proyectos (Portfolio)
   ========================================================================== */
#proyectos .section-heading {
  margin-bottom: 46px;
}

#proyectos .projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 22px;
  width: 100%;
}

.project-card {
  position: relative;
  min-width: 0;
  height: 100%;
  padding: 27px 25px 25px;
  background:
    radial-gradient(110% 72% at 50% -8%, rgba(37, 230, 255, 0.13), transparent 55%),
    linear-gradient(155deg, rgba(47, 107, 255, 0.10), rgba(7, 14, 27, 0.9) 52%, rgba(139, 92, 246, 0.075)),
    var(--bg-card);
  border: 1px solid rgba(37, 230, 255, 0.24);
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(47, 107, 255, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 230, 255, 0.52);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.44),
    0 0 28px rgba(47, 107, 255, 0.15),
    0 0 20px rgba(139, 92, 246, 0.09);
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--electric-blue), var(--cyan), var(--violet));
  opacity: 0.72;
  z-index: 2;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(155deg, rgba(37, 230, 255, 0.64), rgba(47, 107, 255, 0.10) 48%, rgba(139, 92, 246, 0.52));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.54;
  pointer-events: none;
  z-index: 3;
}

.project-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  min-height: 148px;
  margin-bottom: 18px;
}

.project-name {
  font-size: clamp(1.42rem, 2vw, 1.68rem);
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 0 18px rgba(37, 230, 255, 0.4);
}

.project-subtitle {
  font-size: 0.9rem;
  line-height: 1.48;
  color: var(--text-muted);
  margin-top: 7px;
}

.project-badge {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(37, 230, 255, 0.08);
  border: 1px solid rgba(37, 230, 255, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: inset 0 0 14px rgba(37, 230, 255, 0.035);
}

.project-description {
  min-height: 7.6em;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  margin-bottom: 0;
}

.feature-list li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(139, 92, 246, 0.16);
  padding: 6px 11px;
  border-radius: 999px;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.project-actions .btn {
  width: 100%;
  padding: 11px 18px;
  border-radius: 11px;
  font-size: 0.82rem;
}

@media (max-width: 1020px) {
  #proyectos .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 780px;
    margin: 0 auto;
  }

  #proyectos .project-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 22px) / 2);
    justify-self: center;
  }
}

@media (max-width: 700px) {
  #proyectos .projects-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
  }

  #proyectos .project-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .project-head,
  .project-description {
    min-height: 0;
  }
}

/* ==========================================================================
   Contacto
   ========================================================================== */
.contact-content {
  text-align: center;
}

.contact-content .section-heading h2 {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.contact-text {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.contact-email {
  display: inline-block;
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--cyan);
  background: rgba(37, 230, 255, 0.06);
  border: 1px solid rgba(37, 230, 255, 0.22);
  padding: 14px 28px;
  border-radius: 999px;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  word-break: break-word;
}

.contact-email:hover {
  box-shadow: var(--glow-cyan);
  background: rgba(37, 230, 255, 0.1);
}

/* ==========================================================================
   CTA (franja de cierre)
   ========================================================================== */
.cta-band {
  padding: 96px 0;
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(47, 107, 255, 0.16), transparent 62%),
    radial-gradient(500px 300px at 50% 110%, rgba(139, 92, 246, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(47, 107, 255, 0.05), rgba(37, 230, 255, 0.02));
  border-top: 1px solid rgba(37, 230, 255, 0.12);
}

.cta-band-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 16px;
}

.cta-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 34px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 320px at 15% -10%, rgba(47, 107, 255, 0.14), transparent 60%),
    radial-gradient(700px 300px at 85% -12%, rgba(139, 92, 246, 0.12), transparent 60%),
    linear-gradient(180deg, #060a14 0%, #04070e 100%);
  border-top: 1px solid rgba(37, 230, 255, 0.16);
  box-shadow: 0 -1px 30px rgba(37, 230, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  padding-top: 48px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 84%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 107, 255, 0.9), var(--cyan), rgba(139, 92, 246, 0.9), transparent);
  border-radius: 999px;
  opacity: 0.85;
  box-shadow: 0 0 16px rgba(37, 230, 255, 0.35);
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 38px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand-link {
  position: relative;
  display: inline-flex;
  padding-bottom: 12px;
}

.footer-brand-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--electric-blue), var(--cyan), var(--violet));
  box-shadow: var(--glow-cyan);
}

.footer-wordmark {
  font-family: var(--font-sans);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 18px rgba(47, 107, 255, 0.55), 0 0 34px rgba(37, 230, 255, 0.22);
}

.footer-slogan {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.footer-nav ul,
.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer-nav a,
.footer-list a {
  position: relative;
  font-size: 0.9rem;
  color: var(--text-muted);
  overflow-wrap: anywhere;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav a:hover,
.footer-list a:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
  padding-bottom: 22px;
}

.footer-bottom p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  font-size: 0.8rem;
  color: var(--text-soft);
  text-align: center;
}

.footer-bottom .footer-bottom-sep {
  color: rgba(37, 230, 255, 0.5);
}

@media (max-width: 900px) {
  .site-footer {
    padding-top: 38px;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding-top: 32px;
  }

  .footer-wordmark {
    font-size: 1.35rem;
    letter-spacing: 0.18em;
  }

  .footer-inner {
    padding-bottom: 28px;
  }

  .footer-bottom p {
    flex-direction: column;
    gap: 4px;
  }
}

/* Footer principal */
.site-footer--main {
  padding-top: 40px;
  background:
    radial-gradient(620px 220px at 12% 0%, rgba(47, 107, 255, 0.11), transparent 64%),
    radial-gradient(560px 210px at 88% 0%, rgba(139, 92, 246, 0.09), transparent 65%),
    linear-gradient(180deg, #060a13 0%, #03060c 100%);
  border-top-color: rgba(37, 230, 255, 0.13);
  box-shadow: 0 -10px 38px rgba(2, 8, 20, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.site-footer--main::before {
  width: min(680px, 84%);
  opacity: 0.62;
  box-shadow: 0 0 13px rgba(37, 230, 255, 0.24), 0 0 24px rgba(139, 92, 246, 0.09);
}

.site-footer--main .footer-inner {
  grid-template-columns: 1.25fr 0.9fr 1fr;
  gap: clamp(28px, 4vw, 54px);
  padding-bottom: 30px;
}

.site-footer--main .footer-brand {
  gap: 13px;
}

.site-footer--main .footer-brand-link {
  padding-bottom: 13px;
}

.site-footer--main .footer-brand-link::after {
  width: 72px;
  height: 1px;
  opacity: 0.82;
  box-shadow: 0 0 12px rgba(37, 230, 255, 0.28);
}

.footer-logo-window {
  position: relative;
  display: block;
  width: 238px;
  height: 35px;
  overflow: hidden;
  filter: drop-shadow(0 0 13px rgba(47, 107, 255, 0.34));
}

.footer-logo-window img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-width: none;
  transform: translateY(-54.2%);
}

.site-footer--main .footer-slogan {
  max-width: 310px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.site-footer--main .footer-nav,
.site-footer--main .footer-col {
  min-width: 0;
  padding-left: clamp(20px, 2.4vw, 32px);
  border-left: 1px solid rgba(37, 230, 255, 0.10);
}

.site-footer--main .footer-heading {
  margin-bottom: 13px;
  color: rgba(105, 226, 255, 0.92);
}

.site-footer--main .footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 24px;
  row-gap: 7px;
}

.site-footer--main .footer-list {
  gap: 9px;
}

.site-footer--main .footer-nav a,
.site-footer--main .footer-list a {
  font-size: 0.86rem;
}

.site-footer--main .footer-bottom {
  padding-top: 15px;
  padding-bottom: 17px;
  border-top-color: rgba(255, 255, 255, 0.065);
}

.site-footer--main .footer-bottom p {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.025em;
}

@media (max-width: 760px) {
  .site-footer--main {
    padding-top: 32px;
  }

  .site-footer--main .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-bottom: 26px;
  }

  .site-footer--main .footer-nav,
  .site-footer--main .footer-col {
    padding-top: 20px;
    padding-left: 0;
    border-top: 1px solid rgba(37, 230, 255, 0.09);
    border-left: 0;
  }

  .footer-logo-window {
    width: 218px;
    height: 32px;
  }

  .site-footer--main .footer-slogan {
    max-width: none;
  }
}

@media (max-width: 380px) {
  .site-footer--main .footer-nav ul {
    column-gap: 18px;
  }

  .footer-logo-window {
    width: 200px;
    height: 30px;
  }
}

/* ========================================================================== 
   Política de Privacidad
   ========================================================================== */
.policy-hero {
  padding: 96px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(600px 350px at 50% 0%, rgba(47, 107, 255, 0.14), transparent 65%);
}

.policy-title {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 12px;
}

.policy-subtitle {
  font-size: 1.1rem;
  color: var(--cyan);
  font-weight: 500;
  margin-bottom: 8px;
}

.policy-date {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.policy-section {
  padding-top: 56px;
}

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

.policy-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  border-left: 3px solid var(--cyan);
  padding: 6px 0 6px 20px;
  margin-bottom: 48px;
}

.policy-block {
  margin-bottom: 44px;
}

.policy-block h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.policy-block p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.policy-block ul,
.policy-block ol {
  margin: 0 0 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.policy-block ul {
  list-style: disc;
}

.policy-block ol {
  list-style: decimal;
}

.policy-block li {
  color: var(--text-muted);
  padding-left: 4px;
}

.policy-block li::marker {
  color: var(--cyan);
}

.policy-block strong {
  color: #fff;
  font-weight: 600;
}

.policy-block code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--cyan);
  background: rgba(37, 230, 255, 0.07);
  border: 1px solid rgba(37, 230, 255, 0.14);
  padding: 2px 6px;
  border-radius: 6px;
}

/* ==========================================================================
   Animaciones (sutiles)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .card {
    transition: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .brand--header {
    min-width: 190px;
  }

  .brand-logo-window {
    width: 190px;
    height: 28px;
  }

  .site-nav {
    order: 3;
    width: 100%;
  }

  .site-nav ul {
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 18px;
  }

  .hero {
    padding: 44px 0 56px;
    min-height: auto;
  }

  .hero::after {
    background-size: 38px 38px;
  }

  .hero-content {
    width: calc(100% - 24px);
    padding: 36px 18px 38px;
    border-radius: 24px;
  }

  .hero-eyebrow {
    max-width: 100%;
    padding: 8px 12px;
    font-size: 0.64rem;
    letter-spacing: 0.13em;
  }

  .hero-logo-window {
    width: min(100%, 430px);
  }

  .hero-slogan {
    font-size: clamp(1.24rem, 6vw, 1.48rem);
  }

  .hero-subtitle {
    margin-bottom: 28px;
    font-size: 0.96rem;
  }

  .section {
    padding: 64px 0;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .project-card {
    padding: 24px 22px;
  }

  .project-head {
    flex-direction: column;
  }

  .logo-wrap img {
    height: 24px;
  }

  .brand-logo {
    height: 30px;
  }

  .brand--header {
    min-width: 175px;
  }

  .brand-logo-window {
    width: 175px;
    height: 26px;
  }

  .brand-logo-footer {
    height: 38px;
  }

  .cta-band {
    padding: 72px 0;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .header-inner {
    gap: 12px;
  }

  .brand--header {
    min-width: 150px;
  }

  .brand-logo-window {
    width: 150px;
    height: 23px;
  }

  .header-cta {
    padding: 9px 14px;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   Productos
   ========================================================================== */
.products-intro {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 22px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  background:
    radial-gradient(110% 65% at 50% -8%, rgba(37, 230, 255, 0.14), transparent 55%),
    linear-gradient(155deg, rgba(47, 107, 255, 0.10), rgba(7, 14, 27, 0.88) 52%, rgba(139, 92, 246, 0.08)),
    var(--bg-card);
  border: 1px solid rgba(37, 230, 255, 0.26);
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(47, 107, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--electric-blue), var(--cyan), var(--violet));
  opacity: 0.55;
  z-index: 2;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 230, 255, 0.55);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.46),
    0 0 30px rgba(47, 107, 255, 0.18),
    0 0 22px rgba(139, 92, 246, 0.10);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(160deg, rgba(37, 230, 255, 0.7), rgba(47, 107, 255, 0.16) 45%, rgba(139, 92, 246, 0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.3s ease;
}

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

.product-number {
  position: absolute;
  top: 25px;
  right: 24px;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(37, 230, 255, 0.48);
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 0 14px rgba(37, 230, 255, 0.35);
}

.product-card-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-height: 112px;
  padding: 25px 58px 20px 24px;
}

.product-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(47, 107, 255, 0.1), transparent 60%),
    rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
}

.product-media img {
  position: absolute;
  top: 26px;
  left: 26px;
  width: calc(100% - 52px);
  height: calc(100% - 52px);
  object-fit: contain;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: stretch;
  gap: 18px;
  padding: 24px 24px 26px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(37, 230, 255, 0.08);
  border: 1px solid rgba(37, 230, 255, 0.22);
  padding: 5px 12px;
  border-radius: 999px;
}

.product-name {
  font-size: 1.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.08;
  color: #fff;
  text-shadow: 0 0 20px rgba(37, 230, 255, 0.4);
}

.product-description {
  min-height: 6.1em;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.62;
}

.product-price {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.product-price span {
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 11px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  color: var(--cyan);
  background: rgba(37, 230, 255, 0.06);
  border: 1px solid rgba(37, 230, 255, 0.25);
  cursor: default;
  user-select: none;
}

.product-buy {
  font-family: inherit;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-buy:not(:disabled):hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.product-buy:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.product-sale-status {
  width: 100%;
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-align: center;
}

/* Responsive: Productos */
@media (max-width: 980px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .products-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card {
    transition: none;
  }
}

/* ==========================================================================
   Modal DEMO — Video / Lightbox
   ========================================================================== */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.demo-modal.is-open {
  display: flex;
}

.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 10, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.demo-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 860px;
  background:
    radial-gradient(520px 260px at 50% 0%, rgba(139, 92, 246, 0.14), transparent 62%),
    radial-gradient(420px 220px at 20% 0%, rgba(47, 107, 255, 0.14), transparent 60%),
    linear-gradient(160deg, rgba(47, 107, 255, 0.08), rgba(37, 230, 255, 0.04)),
    var(--bg-card);
  border: 1px solid rgba(139, 92, 246, 0.32);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), var(--glow-blue);
  padding: 24px;
  animation: nox-modal-in 0.25s ease;
}

.demo-modal-dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--electric-blue), var(--cyan), var(--violet));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.demo-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.demo-modal-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-soft);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.28);
  padding: 5px 12px;
  border-radius: 999px;
}

.demo-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.demo-modal-close:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.demo-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 0 18px rgba(37, 230, 255, 0.35);
  margin-bottom: 16px;
}

.demo-modal-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #05070d;
  border: 1px solid var(--border-strong);
}

.demo-modal-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.demo-modal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
}

.demo-modal-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 13, 0.92));
}

.demo-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
}

.stock-info-trigger {
  font-family: inherit;
}

.stock-info-content {
  max-height: min(56vh, 520px);
  overflow-y: auto;
  padding: 22px;
  color: var(--text-muted);
  background: rgba(5, 7, 13, 0.72);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
}

.stock-info-content > p {
  margin-bottom: 20px;
  color: var(--text);
  line-height: 1.65;
}

.stock-info-content h3 {
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stock-info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stock-info-list li {
  position: relative;
  padding: 12px 12px 12px 34px;
  color: var(--text-muted);
  background: rgba(47, 107, 255, 0.06);
  border: 1px solid rgba(37, 230, 255, 0.14);
  border-radius: 10px;
}

.stock-info-list li::before {
  content: "✓";
  position: absolute;
  top: 12px;
  left: 12px;
  color: var(--cyan);
  font-weight: 800;
}

@media (max-width: 560px) {
  .demo-modal {
    padding: 14px;
  }

  .demo-modal-dialog {
    padding: 18px;
  }

  .stock-info-content {
    padding: 16px;
  }

  .stock-info-list {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    width: 34px;
    height: 34px;
    font-size: 1.15rem;
  }

  .carousel-slide {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition: none;
  }

  .demo-modal-dialog {
    animation: none;
  }
}


/* ==========================================================================
   Productos — acciones y carrusel
   ========================================================================== */
.product-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-height: 170px;
}

.product-actions > :last-child {
  margin-top: auto;
}

.product-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  width: 100%;
}

.product-action-row .product-cta {
  min-width: 0;
  padding: 12px 8px;
  font-size: 0.67rem;
  letter-spacing: 0.055em;
}

.product-demo {
  font-family: inherit;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.95), rgba(37, 230, 255, 0.88));
  border: 1px solid rgba(37, 230, 255, 0.5);
  box-shadow: var(--glow-blue);
  padding: 13px 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.product-demo:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 0 26px rgba(47, 107, 255, 0.55), var(--glow-cyan);
}

.product-demo:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.product-info {
  cursor: pointer;
  color: var(--text);
  background: rgba(10, 21, 38, 0.72);
  border-color: rgba(139, 92, 246, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.product-info:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(37, 230, 255, 0.72);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.18), var(--glow-cyan);
}

.product-info:focus-visible {
  outline: 2px solid var(--violet-soft);
  outline-offset: 3px;
}

.product-cta--status {
  cursor: default;
}

.product-free-note {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  opacity: 0.82;
}

.product-carousel {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(90% 85% at 50% 45%, rgba(47, 107, 255, 0.17), transparent 58%),
    radial-gradient(85% 70% at 50% 108%, rgba(139, 92, 246, 0.14), transparent 62%),
    rgba(2, 7, 16, 0.72);
  border-top: 1px solid rgba(37, 230, 255, 0.13);
  border-bottom: 1px solid rgba(139, 92, 246, 0.20);
  overflow: hidden;
}

.carousel-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(37, 230, 255, 0.3);
  background: rgba(5, 7, 13, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--cyan);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.carousel-btn:hover {
  background: rgba(37, 230, 255, 0.14);
  box-shadow: var(--glow-cyan);
  color: #fff;
  transform: translateY(-50%) scale(1.06);
}

.carousel-btn[hidden] {
  display: none;
}

.carousel-btn--prev { left: 12px; }
.carousel-btn--next { right: 12px; }

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, width 0.2s ease;
}

.carousel-dot.is-active {
  width: 22px;
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
}

/* ==========================================================================
   Modal NOX — Compra
   ========================================================================== */
.nox-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.nox-modal.is-open {
  display: flex;
}

.nox-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 10, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nox-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  background:
    radial-gradient(420px 220px at 50% 0%, rgba(47, 107, 255, 0.16), transparent 62%),
    linear-gradient(160deg, rgba(47, 107, 255, 0.08), rgba(37, 230, 255, 0.04)),
    var(--bg-card);
  border: 1px solid rgba(37, 230, 255, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), var(--glow-blue);
  padding: 28px;
  animation: nox-modal-in 0.25s ease;
}

.nox-modal-dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.nox-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.nox-modal-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(37, 230, 255, 0.08);
  border: 1px solid rgba(37, 230, 255, 0.22);
  padding: 5px 12px;
  border-radius: 999px;
}

.nox-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nox-modal-close:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.nox-modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 0 18px rgba(37, 230, 255, 0.35);
  margin-bottom: 10px;
}

.nox-modal-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.nox-modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nox-modal-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nox-modal-input {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.nox-modal-input::placeholder {
  color: var(--text-soft);
}

.nox-modal-input:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(37, 230, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(37, 230, 255, 0.14), var(--glow-cyan);
}

.nox-modal-input[aria-invalid="true"] {
  border-color: #ff5f6d;
  box-shadow: 0 0 0 3px rgba(255, 95, 109, 0.14);
}

.nox-modal-error {
  font-size: 0.82rem;
  color: #ff8a95;
  margin-top: -2px;
}

.nox-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.nox-modal-actions .btn {
  flex: 1 1 auto;
}

@keyframes nox-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 560px) {
  .nox-modal {
    padding: 18px;
  }

  .nox-modal-dialog {
    padding: 22px 20px;
  }

  .nox-modal-actions {
    flex-direction: column;
  }

  .nox-modal-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nox-modal-dialog {
    animation: none;
  }
}

/* ==========================================================================
   Logo NOVARIX — lockup con ícono mano+mundo + texto
   ========================================================================== */
.brand-lockup,
.footer-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-lockup-icon,
.footer-lockup-icon {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(47, 107, 255, 0.45));
}

.brand-lockup-text,
.footer-lockup-text {
  font-family: 'Syncopate', 'Arial Black', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: uppercase;
  transform: scaleX(1.04);
  transform-origin: center;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 32%, #aebed7 62%, #ffffff 82%, #8fa8c9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 5px rgba(126, 169, 255, 0.38));
}

.brand-lockup-accent,
.footer-lockup-accent {
  background: linear-gradient(180deg, #d9fbff 0%, #35e4ff 28%, #08a8ff 62%, #3474ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 7px rgba(37, 230, 255, 0.62));
}

.hero-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 3vw, 22px);
}

.hero-lockup-icon {
  height: clamp(100px, 18vw, 160px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(47, 107, 255, 0.45)) drop-shadow(0 0 48px rgba(37, 230, 255, 0.18));
}

.hero-lockup-text {
  font-family: 'Syncopate', 'Arial Black', sans-serif;
  font-size: clamp(2.6rem, 9vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
  text-transform: uppercase;
  transform: scaleX(1.06);
  transform-origin: center;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 30%, #aebed7 60%, #ffffff 80%, #8fa8c9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(126, 169, 255, 0.48));
}

.hero-lockup-accent {
  background: linear-gradient(180deg, #d9fbff 0%, #35e4ff 26%, #08a8ff 60%, #3474ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(37, 230, 255, 0.72));
}

@media (max-width: 900px) {
  .brand-lockup-icon,
  .footer-lockup-icon {
    height: 34px;
  }

  .brand-lockup-text,
  .footer-lockup-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 560px) {
  .brand-lockup-icon,
  .footer-lockup-icon {
    height: 30px;
  }

  .brand-lockup-text,
  .footer-lockup-text {
    font-size: 1.05rem;
    letter-spacing: -0.04em;
  }

  .hero-lockup-icon {
    height: clamp(90px, 28vw, 130px);
  }
}

@media (max-width: 380px) {
  .brand-lockup {
    gap: 8px;
  }

  .brand-lockup-icon {
    height: 26px;
  }

  .brand-lockup-text {
    font-size: 0.95rem;
    letter-spacing: -0.035em;
  }
}


/* ==========================================================================
   HERO NOVARIX — visual futurista con nueva imagen
   Cambio quirúrgico: reemplaza únicamente el recuadro visual del hero.
   ========================================================================== */

.hero-lockup {
  width: 100%;
}

.hero-visual-shell {
  position: relative;
  display: block;
  width: min(100%, 720px);
  aspect-ratio: 16 / 7.7;
  overflow: hidden;
  isolation: isolate;
  border-radius: 26px;
  border: 1px solid rgba(109, 221, 255, 0.62);
  background:
    radial-gradient(circle at 72% 38%, rgba(37, 230, 255, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(10, 24, 44, 0.96), rgba(2, 8, 18, 0.98));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(37, 230, 255, 0.18),
    0 0 68px rgba(47, 107, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    inset 0 0 32px rgba(37, 230, 255, 0.055);
  transform: translateZ(0);
}

.hero-visual-shell::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 8px;
  border: 1px solid rgba(125, 225, 255, 0.16);
  border-radius: 19px;
  pointer-events: none;
}

.hero-visual-shell::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.12), transparent 18%, transparent 72%, rgba(37, 230, 255, 0.08)),
    radial-gradient(circle at 78% 42%, rgba(37, 230, 255, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(4, 10, 20, 0.02), rgba(3, 8, 16, 0.17));
  pointer-events: none;
}

.hero-visual-image {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.04) brightness(0.97);
  transform: scale(1.015);
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1), filter 0.8s ease;
}

.hero-visual-shell:hover .hero-visual-image {
  transform: scale(1.045);
  filter: saturate(1.14) contrast(1.06) brightness(1);
}

.hero-visual-grid {
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(37, 230, 255, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 230, 255, 0.10) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.8), transparent 48%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.8), transparent 48%, transparent 100%);
  pointer-events: none;
}

.hero-visual-scan {
  position: absolute;
  z-index: 5;
  left: 4%;
  right: 4%;
  top: -8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 230, 255, 0.85), rgba(255,255,255,0.92), rgba(37, 230, 255, 0.85), transparent);
  box-shadow:
    0 0 8px rgba(37, 230, 255, 0.7),
    0 0 18px rgba(47, 107, 255, 0.5);
  opacity: 0.46;
  animation: hero-scan-line 5.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hero-scan-line {
  0%, 12% { top: 3%; opacity: 0; }
  22% { opacity: 0.5; }
  72% { top: 96%; opacity: 0.32; }
  82%, 100% { top: 96%; opacity: 0; }
}

.hero-visual-corner {
  position: absolute;
  z-index: 6;
  width: 34px;
  height: 34px;
  opacity: 0.9;
  pointer-events: none;
}

.hero-visual-corner::before,
.hero-visual-corner::after {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, #2f6bff, #25e6ff);
  box-shadow: 0 0 12px rgba(37, 230, 255, 0.45);
}

.hero-visual-corner::before {
  width: 22px;
  height: 2px;
}

.hero-visual-corner::after {
  width: 2px;
  height: 22px;
}

.hero-visual-corner--tl { top: 12px; left: 12px; }
.hero-visual-corner--tr { top: 12px; right: 12px; transform: rotate(90deg); }
.hero-visual-corner--br { right: 12px; bottom: 12px; transform: rotate(180deg); }
.hero-visual-corner--bl { left: 12px; bottom: 12px; transform: rotate(270deg); }

.hero-visual-orbit {
  position: absolute;
  z-index: 5;
  border: 1px solid rgba(37, 230, 255, 0.30);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.42;
  box-shadow: 0 0 14px rgba(37, 230, 255, 0.08);
}

.hero-visual-orbit--one {
  width: 86px;
  height: 30px;
  right: 8.5%;
  top: 18%;
  transform: rotate(-12deg);
}

.hero-visual-orbit--two {
  width: 46px;
  height: 16px;
  right: 13.5%;
  top: 26%;
  transform: rotate(16deg);
  opacity: 0.3;
}

@media (max-width: 700px) {
  .hero-visual-shell {
    width: min(100%, 620px);
    aspect-ratio: 16 / 9;
    border-radius: 20px;
  }

  .hero-visual-shell::before {
    inset: 6px;
    border-radius: 14px;
  }

  .hero-visual-corner {
    transform: scale(0.82);
    transform-origin: center;
  }

  .hero-visual-corner--tr { transform: rotate(90deg) scale(0.82); }
  .hero-visual-corner--br { transform: rotate(180deg) scale(0.82); }
  .hero-visual-corner--bl { transform: rotate(270deg) scale(0.82); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual-scan {
    animation: none;
    opacity: 0.18;
    top: 50%;
  }

  .hero-visual-image {
    transition: none;
  }
}
