/* =============================================================
   Tokens — idénticos a duenooperador.octopusops.org/styles.css
   (misma identidad visual OCTOPUS, no se inventan colores nuevos)
   ============================================================= */
:root {
  --bg: #0a0a0a;
  --bg-start: #2e1065;
  --bg-mid: #170a35;
  --bg-raised: #141414;
  --bg-card: #17141c;
  --violet: #7c3aed;
  --violet-light: #a78bfa;
  --violet-dim: #7c3aed33;
  --white: #ffffff;
  --ink-muted: #b8b3c2;
  --ink-faint: #7d7788;
  --border: #2a2632;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--sans);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 16px;
  --radius-sm: 10px;
  --container-wide: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(124, 58, 237, 0.28), transparent 62%),
    radial-gradient(ellipse 70% 45% at 100% 100%, rgba(124, 58, 237, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg-start) 0%, var(--bg-mid) 40%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.02em; font-family: var(--display); }
::selection { background: var(--violet); color: var(--white); }
:focus-visible { outline: 2px solid var(--violet-light); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--white); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   Encabezado — solo logo + botón Únete (sin los otros 3 enlaces)
   ============================================================= */
.site-header {
  position: relative; z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(10px);
}
.site-header__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-header__logo img { height: 32px; width: auto; display: block; }
.site-header__right {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  justify-content: center;
  order: 2;
  width: 100%;
}
.site-header__nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--white);
  opacity: .9;
  transition: opacity .2s var(--ease-out);
}
.site-header__nav a:hover { opacity: 1; }
.site-header__cta { padding: .65rem 1.3rem; font-size: .9rem; white-space: nowrap; order: 1; }
.btn--header-outline {
  background: transparent;
  border: 1.5px solid var(--violet);
  color: var(--white);
}
.btn--header-outline:hover { background: var(--violet-dim); }

@media (min-width: 860px) {
  .site-header__right { width: auto; justify-content: flex-end; }
  .site-header__nav { order: 1; width: auto; }
  .site-header__cta { order: 2; }
}

/* =============================================================
   Botones
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .95rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: -0.01em;
  transition: transform .2s var(--ease-out), background .2s var(--ease-out), border-color .2s var(--ease-out);
}
.btn--primary {
  background: linear-gradient(135deg, var(--violet), #6d28d9);
  color: var(--white);
  box-shadow: 0 8px 24px -8px var(--violet-dim);
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--dark-outline {
  background: var(--bg-raised);
  border: 1.5px solid rgba(255, 255, 255, .35);
  color: var(--white);
}
.btn--dark-outline:hover { border-color: var(--white); transform: translateY(-2px); }

/* =============================================================
   Hero
   ============================================================= */
.hero { position: relative; z-index: 1; padding: 3.5rem 1.25rem; }
.hero__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero__label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--violet-light);
  margin-bottom: 1rem;
}
.hero__title {
  font-size: clamp(2.3rem, 7vw, 3.6rem);
  color: var(--white);
  margin-bottom: 1.1rem;
}
.hero__title-accent {
  background: linear-gradient(135deg, var(--violet-light), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__desc {
  color: var(--ink-muted);
  font-size: 1.05rem;
  max-width: 34ch;
  margin-bottom: 1.6rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.3rem; }
.hero__location {
  color: var(--ink-faint); font-size: .88rem;
  display: inline-flex; align-items: center; gap: .4rem;
}
.hero__location svg { color: var(--violet-light); flex-shrink: 0; }

.hero__media { position: relative; }
.hero__photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 72px 20px 20px 20px;
  border: 1px solid var(--violet-light);
  box-shadow: 0 20px 60px -20px rgba(124, 58, 237, .5);
}

/* =============================================================
   Siguiente etapa
   ============================================================= */
.next-stage { position: relative; z-index: 1; padding: 1rem 1.25rem 4rem; max-width: var(--container-wide); margin: 0 auto; }
.next-stage__title { font-size: clamp(1.6rem, 4.5vw, 2.2rem); color: var(--white); margin-bottom: 1.8rem; text-align: center; }
.next-stage__title .accent { color: var(--violet-light); }
.next-stage__cards { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.stage-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.stage-card:hover { border-color: var(--violet); transform: translateY(-3px); }
.stage-card__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.stage-card__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,10,10,.95) 0%, rgba(10,10,10,.82) 38%, rgba(10,10,10,.25) 70%, rgba(10,10,10,.05) 100%);
}
.stage-card__content {
  position: relative; z-index: 1;
  height: 100%;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stage-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.stage-card p { color: var(--ink-muted); font-size: .92rem; max-width: 22ch; }
.stage-card__arrow {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--violet-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--violet-light); font-size: 1.1rem; font-weight: 700;
  margin-top: 1rem;
}

/* =============================================================
   Pie — franja descriptiva (no interactiva)
   ============================================================= */
.site-footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 1.1rem 1.25rem;
  text-align: center;
}
.site-footer p {
  color: var(--ink-muted); font-size: .85rem; letter-spacing: .02em;
  display: flex; align-items: center; justify-content: center; gap: .7rem; flex-wrap: wrap;
}
.site-footer__item { display: inline-flex; align-items: center; gap: .4rem; }
.site-footer__item svg { color: var(--violet-light); }
.site-footer__sep { color: var(--border); }

/* =============================================================
   Responsive
   ============================================================= */
@media (min-width: 860px) {
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; }
  .next-stage__cards { grid-template-columns: repeat(2, 1fr); }
}

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