/* ================================================================
   Silys v1.0 — Black Interface
   Negro técnico, lila Silys, contraste único cian.
   Emblema de fondo vivo con parallax scroll/ratón.
   Tipografía: Space Grotesk (títulos) + Inter (body) + JetBrains Mono (interfaz)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ── */
:root {
  --bg:           #020203;
  --surface:      #050506;
  --card:         #08080B;
  --card-hover:   #0B0B10;

  --primary:      #4A28C9;
  --primary-dark: #32158F;
  --primary-light:#7B61FF;
  --primary-glow: rgba(74, 40, 201, 0.22);

  --accent:       #00E5FF;
  --accent-dark:  #00AFC4;
  --accent-light: #66F2FF;
  --accent-glow:  rgba(0, 229, 255, 0.30);

  --text:         #F4F0FF;
  --text-muted:   #A7A0B8;
  --text-dim:     #696274;

  --border:       rgba(123, 97, 255, 0.16);
  --border-hover: rgba(0, 229, 255, 0.48);

  --radius:       4px;
  --radius-lg:    6px;
  --shadow:       none;
  --shadow-lg:    0 18px 70px rgba(0,0,0,0.72);

  /* Emblema parallax — gestionado por silys-interface.js */
  --emblem-scroll-x: 0px;
  --emblem-scroll-y: 0px;
  --emblem-mouse-x:  0px;
  --emblem-mouse-y:  0px;
  --emblem-scale:    1;
  --emblem-rotate:   0deg;
  --emblem-opacity:  0.135;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Tipografía ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
  font-weight: 600;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; letter-spacing: -0.055em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-muted); }

/* Monospace en elementos de interfaz — no en cuerpo ni titulares */
.section-label, .breadcrumb, .badge, .nav-links a, .nav-cta,
.form-group label, .footer-col h4, .system-label,
.footer-bottom, .btn, .btn-sm, .popular-tag {
  font-family: 'JetBrains Mono', monospace;
}

/* ── Layout ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.section    { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-header { margin-bottom: 44px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p  { font-size: 1.05rem; max-width: 560px; }
.text-center { text-align: center; }
.text-center .section-header p { margin: 0 auto; }

.section-label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary-light);
  margin-bottom: 14px;
}

/* ── Emblema de fondo ── */
.silys-bg-emblem {
  position: fixed;
  top: 53%;
  right: clamp(-240px, -12vw, -120px);
  width: min(66vw, 820px);
  aspect-ratio: 1 / 1;
  background-image: url('assets/logo-silys-watermark-clean.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: var(--emblem-opacity);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
  transform:
    translate3d(
      calc(var(--emblem-scroll-x) + var(--emblem-mouse-x)),
      calc(-50% + var(--emblem-scroll-y) + var(--emblem-mouse-y)),
      0
    )
    scale(var(--emblem-scale))
    rotate(var(--emblem-rotate));
  transition: opacity 0.22s ease-out;
}

.nav, section, footer, .container { position: relative; z-index: 1; }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2,2,3,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(123,97,255,0.16);
  padding: 0 24px;
}
.nav::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: rgba(74,40,201,0.60);
  opacity: 0.35;
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
  background: #020203;
  border: 1px solid rgba(0,229,255,0.18);
  box-shadow: 0 0 22px rgba(0,229,255,0.15), 0 0 34px rgba(74,40,201,0.18);
}
.nav-logo .logo-mark-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 12px rgba(0,229,255,0.24)) drop-shadow(0 0 20px rgba(74,40,201,0.18));
}
.nav-logo .logo-mark {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 5px;
  border: 1px solid rgba(123,97,255,0.52);
  box-shadow: 0 0 22px rgba(74,40,201,0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}
.nav-logo .sub { display: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: transparent;
  border: 1px solid rgba(0,229,255,0.56);
  color: var(--accent) !important;
  padding: 9px 20px;
  border-radius: 4px;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em;
  box-shadow: 0 0 16px rgba(0,229,255,0.08);
  transition: background 0.18s, border-color 0.18s;
}
.nav-cta:hover {
  background: rgba(0,229,255,0.09) !important;
  border-color: var(--accent);
}
.nav-mobile-toggle { display: none; }

/* ── Botones ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: none;
  transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  text-decoration: none;
}
.btn-primary,
.btn-accent {
  background: var(--accent);
  color: #050506;
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 1px rgba(0,229,255,0.12), 0 0 26px rgba(0,229,255,0.22);
}
.btn-primary:hover,
.btn-accent:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: #020203;
  box-shadow: 0 0 0 1px rgba(0,229,255,0.18), 0 0 34px rgba(0,229,255,0.32);
}
.btn-ghost {
  background: rgba(5,5,6,0.25);
  color: var(--text-muted);
  border: 1px solid rgba(123,97,255,0.28);
}
.btn-ghost:hover {
  background: rgba(74,40,201,0.08);
  border-color: rgba(123,97,255,0.50);
  color: var(--text);
}
.btn-sm { padding: 9px 20px; font-size: 11px; }

/* ── Cards ── */
.card {
  background: rgba(6,6,9,0.76);
  border: 1px solid rgba(123,97,255,0.13);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.card:hover {
  border-color: rgba(0,229,255,0.52);
  background: rgba(8,8,12,0.86);
  box-shadow: 0 0 0 1px rgba(0,229,255,0.06), 0 0 24px rgba(0,229,255,0.075);
}
.card[data-panel]::after {
  content: attr(data-panel);
  position: absolute;
  top: 12px; right: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(0,229,255,0.30);
  pointer-events: none;
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 500;
  padding: 5px 9px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  background: rgba(5,5,6,0.58);
  border: 1px solid rgba(123,97,255,0.20);
}
.badge-primary { color: var(--primary-light); }
.badge-accent  { color: var(--accent); border-color: rgba(0,229,255,0.36); }
.badge-muted   { color: var(--text-dim); }

/* ── Divider ── */
.divider { height: 1px; background: rgba(123,97,255,0.14); margin: 0; }

/* ── Hero ── */
.hero {
  padding: 88px 0 104px;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.hero .container::before {
  content: '';
  position: absolute;
  top: -24px; left: 24px;
  width: 92px; height: 1px;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(0,229,255,0.52);
}
.hero h1 { max-width: 920px; }
.hero p  { max-width: 640px !important; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 980px;
  gap: 56px;
  align-items: center;
}
.hero-copy   { min-width: 0; }
.hero-emblem { display: none; }

.system-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(123,97,255,0.30);
  background: rgba(5,5,6,0.78);
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(74,40,201,0.08);
}
.signal-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(0,229,255,0.82);
  flex-shrink: 0;
}
.terminal-cursor {
  color: var(--accent);
  animation: silysBlink 1s steps(2, start) infinite;
}
@keyframes silysBlink { 50% { opacity: 0; } }

.highlight         { color: var(--accent); }
.highlight-primary { color: var(--text); text-shadow: 0 0 20px rgba(74,40,201,0.24); }

/* ── Page header (páginas internas) ── */
.page-header {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}
.page-header .badge { margin-bottom: 16px; }
.page-header h1 { margin-bottom: 12px; }
.page-header p  { font-size: 1.05rem; max-width: 600px; }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-dim); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text-muted); }
.breadcrumb span { color: var(--border-hover); }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer .nav-logo .logo-mark-img { width: 38px; height: 38px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 12px; max-width: 280px; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul li + li { margin-top: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--text-dim); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}
.footer-bottom a { color: var(--text-dim); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--text-muted); }

/* ── Formularios ── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: transparent;
  border: 1px solid rgba(123,97,255,0.22);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(0,229,255,0.70);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.08);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--surface); }

/* ── Proceso ── */
.process-step { text-align: center; padding: 32px 24px; }
.process-step h3 { margin-bottom: 10px; }
.process-step p  { font-size: 14px; }
.process-number {
  width: 48px; height: 48px;
  background: var(--primary-glow);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary-light);
}

/* ── Popular tag ── */
.popular-tag {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(74,40,201,0.28);
  color: var(--primary-light);
  border: 1px solid rgba(123,97,255,0.35);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 4px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  max-width: calc(100% - 24px);
}

/* ── Kill section stripe alternation ── */
section { background: var(--bg) !important; }

/* ── Scroll reveal ── */
.silys-reveal {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(2px);
  transition: opacity .32s ease, transform .32s ease, filter .32s ease;
}
.silys-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ── Utilidades ── */
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .silys-bg-emblem { right: -300px; width: 680px; opacity: calc(var(--emblem-opacity) * 0.78); }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .section { padding: 62px 0; }
  .nav-links { display: none; }
  .nav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 18px;
  }
  .nav-links[data-open="1"] {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(2,2,3,0.98);
    padding: 16px 24px;
    border-bottom: 1px solid rgba(123,97,255,0.18);
    gap: 16px;
    z-index: 99;
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  h1 { font-size: 2rem; }
  .btn { width: 100%; justify-content: center; }
  .hero { padding: 68px 0 76px; }
  .nav-logo .logo-mark-img { width: 32px; height: 32px; }
}
@media (max-width: 560px) {
  .silys-bg-emblem { right: -340px; width: 590px; opacity: calc(var(--emblem-opacity) * 0.62); }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .silys-reveal { opacity: 1; transform: none; filter: none; }
  .silys-bg-emblem { transform: translateY(-50%) !important; }
}


/* ─────────────────────────────────────────────
   Silys final polish — sin stripes ni líneas horizontales visibles
   Mantiene borders de cards/inputs/botones, elimina divisores de navegación/bloques.
   ───────────────────────────────────────────── */
.nav {
  border-bottom: 0 !important;
}
.nav::after,
.hero .container::before {
  display: none !important;
}
.page-header {
  border-bottom: 0 !important;
}
.footer,
.footer-bottom {
  border-top: 0 !important;
}
.nav-links[data-open="1"] {
  border-bottom: 0 !important;
}
hr,
.section-divider,
.divider {
  display: none !important;
}


/* ─────────────────────────────────────────────
   Silys final bg fix — el emblema no se corta al hacer scroll
   Las secciones no pintan fondo opaco; el negro lo da body.
   ───────────────────────────────────────────── */
section,
.section,
.section-sm,
.page-header,
.footer {
  background: transparent !important;
}
.silys-bg-emblem {
  position: fixed !important;
  z-index: 0 !important;
  display: block !important;
  visibility: visible !important;
  opacity: var(--emblem-opacity, 0.135) !important;
}
.nav,
section,
footer,
.container {
  position: relative;
}
section,
footer,
.container {
  z-index: 1;
}


/* ─────────────────────────────────────────────
   Silys final polish — sin numeración automática continua en cards
   Las cards usan códigos explícitos SLY-01/02/03, no contador global.
   ───────────────────────────────────────────── */
.card[data-panel]::after {
  content: none !important;
  display: none !important;
}


/* ─────────────────────────────────────────────
   Silys clean identity pass
   Menos redundancia visual: sin emblema de fondo, sin símbolo repetido en hero.
   ───────────────────────────────────────────── */
.silys-bg-emblem,
.hero-emblem,
.hero-with-logo .hero-emblem {
  display: none !important;
  background: none !important;
}
.nav-wordmark,
.footer-wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.footer-wordmark {
  font-size: 1rem;
}
.nav-logo {
  gap: 0;
}
.logo-img {
  display: none !important;
}
.footer-brand .nav-logo,
.footer-wordmark {
  display: inline-flex;
  align-items: center;
}
/* quitar protagonismo de logos y mantener el fondo limpio */
body {
  background-image: none !important;
}
.nav, section, footer, .container {
  position: relative;
  z-index: auto;
}


/* ─────────────────────────────────────────────
   Silys GEMA PASS — anclaje visual sin redundancia de logo
   - Sin emblema de fondo
   - Microretícula técnica casi imperceptible
   - Separadores tenues, no stripes
   - Favicon/chip + flecha clara
   ───────────────────────────────────────────── */

:root {
  --silys-grid-line: rgba(123, 97, 255, 0.026);
  --silys-section-line: rgba(123, 97, 255, 0.095);
}

body {
  background-color: var(--bg) !important;
  background-image:
    linear-gradient(var(--silys-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--silys-grid-line) 1px, transparent 1px) !important;
  background-size: 60px 60px !important;
  background-position: center top !important;
}

.silys-bg-emblem,
.hero-emblem,
.hero-with-logo .hero-emblem {
  display: none !important;
  background: none !important;
}

/* Que el header respire: wordmark maduro, no logo repetido */
.nav-wordmark,
.footer-wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}
.nav-wordmark {
  font-size: 1.22rem;
}
.footer-wordmark {
  font-size: 1rem;
}
.logo-img {
  display: none !important;
}

/* Recuperar estructura sin volver a rayas duras */
.nav {
  border-bottom: 1px solid rgba(123, 97, 255, 0.075) !important;
}
.nav::after {
  display: none !important;
}
.hero .container::before {
  display: none !important;
}

section.section,
section.section-sm {
  border-top: 1px solid var(--silys-section-line);
}

section.section:first-of-type,
.hero + section.section {
  border-top-color: rgba(123, 97, 255, 0.055);
}

.page-header {
  border-bottom: 1px solid rgba(123, 97, 255, 0.08) !important;
}

.footer {
  border-top: 1px solid rgba(123, 97, 255, 0.10) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(123, 97, 255, 0.075) !important;
}

/* Cards con anclaje ligero, no cajas gritones */
.card {
  border-color: rgba(123, 97, 255, 0.16);
  background: rgba(6, 6, 9, 0.74);
}

.card:hover {
  border-color: rgba(0, 229, 255, 0.42);
  box-shadow: 0 0 0 1px rgba(0,229,255,0.045), 0 12px 44px rgba(0,0,0,0.18);
}

/* Flechas SVG: tamaño consistente */
li img[src$="arrow.svg"] {
  width: 30px !important;
  height: 18px !important;
  margin-top: 4px !important;
  opacity: 0.95;
}

/* Footer: el logo vuelve solo como sello pequeño, no como protagonista */
.footer-seal {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.78;
  border: 1px solid rgba(0, 229, 255, 0.16);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.08);
}

@media (max-width: 760px) {
  body {
    background-size: 44px 44px !important;
  }
  section.section,
  section.section-sm {
    border-top-color: rgba(123, 97, 255, 0.07);
  }
}


/* ─────────────────────────────────────────────
   Silys refinement pass v3
   - sin patrón literal de Y en fondo
   - textura técnica abstracta blanco/cian, casi invisible
   - flechas tipo terminal >_
   - sin líneas horizontales de bloque
   ───────────────────────────────────────────── */
body {
  background-color: #020203 !important;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(0,229,255,0.045) 0 1px, transparent 1.6px),
    radial-gradient(circle at 74% 66%, rgba(255,255,255,0.035) 0 1px, transparent 1.5px),
    linear-gradient(135deg, rgba(255,255,255,0.018) 0 1px, transparent 1px),
    linear-gradient(45deg, rgba(0,229,255,0.012) 0 1px, transparent 1px) !important;
  background-size: 96px 96px, 132px 132px, 180px 180px, 220px 220px !important;
  background-position: 0 0, 34px 18px, center top, center top !important;
}

.nav,
.nav::after,
.page-header,
section.section,
section.section-sm,
.footer,
.footer-bottom {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

/* Mantener estructura por profundidad/card, no por rayas horizontales */
.card {
  border-color: rgba(255,255,255,0.08) !important;
  background: rgba(6, 6, 9, 0.78) !important;
}

.card:hover {
  border-color: rgba(0,229,255,0.35) !important;
}

li img[src$="arrow.svg"] {
  width: 30px !important;
  height: 18px !important;
  margin-top: 4px !important;
  opacity: 0.96;
}

/* Logo del footer como sello, más presente pero sin volver al fondo-logo */
.footer-seal {
  width: 52px !important;
  height: 52px !important;
  border-radius: 8px !important;
  opacity: 0.95 !important;
  border: 1px solid rgba(0,229,255,0.22) !important;
  box-shadow: 0 0 20px rgba(0,229,255,0.08) !important;
}

@media (max-width: 760px) {
  body {
    background-size: 72px 72px, 108px 108px, 160px 160px, 200px 200px !important;
  }
}


/* ─────────────────────────────────────────────
   Silys procedural circuit background
   Basado en Ghost Circuit blanco: trazas sutiles + partículas.
   No ocupa toda la pantalla; vive en bordes y esquinas.
   ───────────────────────────────────────────── */
body {
  background-color: #020203 !important;
  background-image: none !important;
}

.silys-circuit-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  mix-blend-mode: screen;
}

.nav,
section,
footer,
.container,
.page-header,
.error-page {
  position: relative;
  z-index: 1;
}

.nav,
.nav::after,
.page-header,
section.section,
section.section-sm,
.footer,
.footer-bottom {
  border-top: 0 !important;
  border-bottom: 0 !important;
}


/* Silys living circuit timing refinement */
body {
  background-color: #020203 !important;
  background-image: none !important;
}
.silys-circuit-bg {
  opacity: 1;
}

/* Silys PCB live circuit refinement */
body {
  background-color: #020203 !important;
  background-image: none !important;
}
.silys-circuit-bg {
  opacity: 1;
  mix-blend-mode: screen;
}

/* Silys PCB visible no-components hotfix */
.silys-circuit-bg {
  opacity: 1 !important;
  mix-blend-mode: screen !important;
}

/* Silys data lanes mode */
.silys-circuit-bg {
  opacity: 0.62 !important;
  mix-blend-mode: screen !important;
}


/* ─────────────────────────────────────────────
   Silys mobile drawer hard fix
   Panel sólido por encima del fondo. No toca circuito.
   ───────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background: rgba(2,2,3,0.96) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }

  .nav-inner {
    position: relative !important;
    z-index: 10000 !important;
    height: 64px !important;
  }

  .nav-mobile-toggle {
    display: inline-flex !important;
    position: relative !important;
    z-index: 10002 !important;
    pointer-events: auto !important;
  }

  .nav-links {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    right: 0 !important;

    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;

    margin: 0 !important;
    padding: 12px !important;
    list-style: none !important;

    background: #020203 !important;
    border: 1px solid rgba(123,97,255,0.38) !important;
    border-radius: 12px !important;
    box-shadow: 0 28px 80px rgba(0,0,0,0.92), 0 0 0 1px rgba(0,229,255,0.06) inset !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    z-index: 10001 !important;
    pointer-events: auto !important;
  }

  .nav-links[data-open="1"],
  .nav-links.is-open,
  body.nav-open .nav-links {
    display: flex !important;
  }

  .nav-links li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .nav-links a {
    display: block !important;
    width: 100% !important;
    padding: 15px 14px !important;
    border-radius: 8px !important;
    color: rgba(238,239,255,0.86) !important;
    background: transparent !important;
    text-align: left !important;
    pointer-events: auto !important;
  }

  .nav-links a:hover,
  .nav-links a:active {
    color: #ffffff !important;
    background: rgba(255,255,255,0.045) !important;
  }

  .nav-links .nav-cta,
  .nav-links a.nav-cta {
    margin-top: 8px !important;
    text-align: center !important;
    justify-content: center !important;
    color: #020203 !important;
    background: var(--cyan) !important;
  }
}
