:root {
  --nexo-night: #0B1F3A;
  --nexo-deep: #1B3A63;
  --nexo-cyan: #00D1FF;
  --nexo-lime: #C6F135;
  --nexo-white: #F5F7FA;
  --nexo-slate: #8A97A8;
  --surface: #0B1F3A;
  --surface-raised: #12294A;
  --ink: #F5F7FA;
  --ink-muted: #A9B6C8;
  --border: #24406A;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-score: "Rajdhani", "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--surface); }
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 24px;
  color: var(--ink);
  background: var(--surface);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a:focus-visible { outline: 2px solid var(--nexo-cyan); outline-offset: 3px; }

/* Motivo de marca: nodos unidos por una línea */
.network {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.network line { stroke: var(--nexo-deep); stroke-width: 2; stroke-linecap: round; }
.network circle { fill: var(--nexo-deep); }

header, main, footer { position: relative; z-index: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
header { padding-top: 56px; }
.logo { display: block; height: 44px; width: auto; }

main {
  flex: 1;
  padding-top: 48px;
  padding-bottom: 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nexo-lime);
  animation: ping 2s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(198, 241, 53, 0.55); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(198, 241, 53, 0); }
}
h1 {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6.4vw, 3.5rem);
  line-height: 1.07;
  letter-spacing: -0.02em;
}
h1 span { color: var(--nexo-cyan); }
.lead {
  margin-top: 24px;
  font-size: 18px;
  line-height: 28px;
  color: var(--ink-muted);
  max-width: 46ch;
}
.lead strong { color: var(--ink); font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--nexo-cyan); }

.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-raised);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.links a:hover { border-color: var(--nexo-cyan); transform: translateY(-2px); }
.links a.primary { background: var(--nexo-lime); border-color: var(--nexo-lime); color: var(--nexo-night); }
.links a.primary:hover { border-color: var(--nexo-white); }

.panel {
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
}
.eyebrow { font-size: 13px; line-height: 20px; font-weight: 500; color: var(--nexo-lime); margin-bottom: 8px; }
.panel h2 { font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 34px; margin-bottom: 8px; }
.panel p.sub { color: var(--ink-muted); margin-bottom: 24px; }
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.area { padding: 24px; border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--border); }
.area h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 28px; margin-bottom: 8px; color: var(--nexo-cyan); }
.area p { color: var(--ink-muted); }
.court { display: block; width: 100%; height: auto; max-height: 44vh; margin: 0 auto; }
.court .glass { fill: none; stroke: var(--nexo-slate); stroke-width: 3; }
.court .floor { fill: var(--nexo-night); stroke: var(--nexo-deep); stroke-width: 2; }
.court .line { stroke: var(--nexo-deep); stroke-width: 2; fill: none; }
.court .net { stroke: var(--nexo-cyan); stroke-width: 4; stroke-linecap: round; }
.court .post { fill: var(--nexo-cyan); }
.court .trail { fill: none; stroke: var(--nexo-cyan); stroke-width: 2; stroke-dasharray: 3 8; stroke-linecap: round; opacity: 0.7; }
.court .ball { fill: var(--nexo-lime); stroke: var(--nexo-night); stroke-width: 3; }
.caption { margin-top: 16px; text-align: center; font-size: 13px; line-height: 20px; font-weight: 500; color: var(--ink-muted); }

header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
header nav ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; }
header nav a { display: block; padding: 8px 12px; border-radius: var(--radius-md); color: var(--ink-muted); text-decoration: none; font-weight: 500; transition: color 0.2s ease, background 0.2s ease; }
header nav a:hover { color: var(--ink); background: var(--surface-raised); }
header nav a.cta { background: var(--nexo-lime); color: var(--nexo-night); }
header nav a.cta:hover { background: var(--nexo-white); }
.sections { position: relative; z-index: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.block { padding: 72px 0; border-top: 1px solid var(--border); }
.block > .eyebrow { margin-bottom: 8px; }
.block .title { margin-top: 0; font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 44px; letter-spacing: -0.01em; max-width: 20ch; }
.block .intro { margin-top: 16px; font-size: 18px; line-height: 28px; color: var(--ink-muted); max-width: 56ch; }
.grid { display: grid; gap: 16px; margin-top: 40px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.card { padding: 24px; border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--border); }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 28px; margin-bottom: 8px; }
.card p { color: var(--ink-muted); }
.card p a { color: var(--nexo-cyan); text-underline-offset: 3px; }
.card .step { font-family: var(--font-score); font-weight: 700; font-size: 32px; line-height: 1; color: var(--nexo-cyan); display: block; margin-bottom: 12px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--nexo-night); border: 2px solid var(--border); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--nexo-cyan); margin-bottom: 16px; }
.tag { display: inline-block; margin-top: 16px; padding: 2px 12px; border-radius: 999px; border: 1px dashed var(--nexo-slate); color: var(--ink-muted); font-size: 13px; line-height: 20px; font-weight: 500; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.contact dl { display: grid; gap: 16px; }
.contact dt { font-size: 13px; line-height: 20px; font-weight: 500; color: var(--ink-muted); }
.contact dd { font-size: 18px; line-height: 28px; }
.contact a { color: var(--nexo-cyan); text-underline-offset: 3px; }
.field { display: grid; gap: 4px; margin-bottom: 16px; }
.field label { font-size: 13px; line-height: 20px; font-weight: 500; color: var(--ink-muted); }
.field input, .field textarea { font: inherit; color: var(--ink); background: var(--nexo-night); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--nexo-cyan); outline-offset: 2px; }
.field textarea { min-height: 112px; resize: vertical; }
.btn { font: inherit; font-weight: 500; padding: 12px 24px; border-radius: var(--radius-md); border: 0; background: var(--nexo-lime); color: var(--nexo-night); cursor: not-allowed; opacity: 0.6; }
.note { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.hero-area { padding-bottom: 72px; }
footer {
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  line-height: 20px;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

@media (max-width: 860px) {
  main { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }
  .block { padding: 48px 0; }
  .block .title { margin-top: 0; font-size: 28px; line-height: 34px; }
  .grid.c2, .grid.c3, .contact { grid-template-columns: 1fr; }
  header nav a { padding: 8px; }
  .court { max-height: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
  .links a { transition: none; }
}

header nav a[aria-current="page"] { color: var(--ink); background: var(--surface-raised); }
header nav a.cta[aria-current="page"] { background: var(--nexo-white); color: var(--nexo-night); }
.page-head { padding: 64px 0 0; }
.page-head h1 { margin-top: 0; font-size: clamp(2.25rem, 5vw, 3rem); }
.sections.solo .block:first-child { border-top: 0; padding-top: 56px; }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.card a.more { display: inline-block; margin-top: 16px; color: var(--nexo-cyan); font-weight: 500; text-underline-offset: 3px; }
main { min-height: 0; }
body > .sections { flex: 1; }
