:root {
  color-scheme: dark;
  --bg: #000122;
  --bg-alt: #000122;
  --text: #f3f5ff;
  --muted: #8c94b5;
  --accent: #4ef2ff;
  --accent-strong: #ff7adf;
  --card: #0001222;
  --border: rgba(255, 255, 255, 0.08);
  --gradient: radial-gradient(circle at 20% 20%, #000122, transparent 60%),
    radial-gradient(circle at 80% 0%, #ff7adf59, transparent 50%);
  font-family: "Rethink Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  height: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevenir selección de texto en elementos clickables */
button,
a,
[role="button"],
.nav-button,
.prompt-card,
.layer-tab,
.case-card,
.impact__statement,
.primary,
.ghost,
.case-card__cta,
.team-card__actions a,
.case-modal__close,
.floating-nav__toggle {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  -webkit-touch-callout: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* Prevenir selección en elementos hijos de clickables */
button *,
a *,
[role="button"] *,
.nav-button *,
.prompt-card *,
.layer-tab *,
.case-card *,
.impact__statement *,
.primary *,
.ghost *,
.case-card__cta *,
.case-modal__close * {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  -webkit-touch-callout: none !important;
  pointer-events: none;
}

body {
  margin: 0;
  min-height: 100vh;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  background-image: var(--gradient);
  background-attachment: fixed;
  font-family: "Rethink Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Escalado proporcional con zoom CSS para desktop */
@media (min-width: 769px) and (max-width: 1366px) {
  body {
    zoom: 0.95;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  body {
    zoom: 0.88;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  body {
    zoom: 0.8;
  }
}

@media (min-width: 769px) and (max-width: 899px) {
  body {
    zoom: 0.72;
  }
}

body.boot-complete #acto-inicial {
  display: none;
}

body:not(.story-started) .story-step {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  font-family: inherit;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #111730;
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
}

main {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  flex: 1;
  min-height: 100vh;
}

.story-step {
  display: none;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.story-step.is-active {
  display: flex;
  opacity: 1;
  transform: none;
}

.section {
  position: relative;
  padding: clamp(1.5rem, 4vh, 6rem) clamp(1.5rem, 6vw, 6rem);
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
}

.section.story-step {
  display: none;
}

.section.story-step.is-active {
  display: flex;
}

.section::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.section__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 1;
  width: min(1100px, 95%);
  margin: 0 auto;
  max-height: 100%;
  overflow: visible;
}

.section__nav {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.interaction-hint {
  position: fixed;
  bottom: clamp(1rem, 4vh, 2.75rem);
  right: clamp(1rem, 3vw, 3rem);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(0, 1, 34, 0.8);
  border: 1px solid rgba(78, 242, 255, 0.35);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 20;
}

.interaction-hint__pulse {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(78, 242, 255, 0.8);
  animation: hintPulse 2.8s ease-in-out infinite;
}

.nav-button {
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nav-button--primary {
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(78, 242, 255, 0.3);
}

.nav-button:hover,
.nav-button:focus-visible {
  border-color: var(--accent);
  color: #020305;
  background: var(--accent);
}

.nav-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.nav-button--primary:disabled {
  box-shadow: none;
}

.copy-stack {
  max-width: 100%;
  align-items: center;
  text-align: center;
}

.copy-stack-placenet {
  max-width: 100%;
  align-items: left;
  text-align: left;
}

.ghost-link {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.boot {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--muted);
}

.brand-mark img {
  max-width: 250px;
  height: auto;
  display: block;
}

.boot__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  width: min(1100px, 95%);
  margin: 0 auto;
}

.boot__hud {
  display: grid;
  gap: 1rem;
  text-align: left;
  justify-items: start;
}

.boot__rings {
  position: relative;
  width: clamp(220px, 35vw, 320px);
  aspect-ratio: 1;
  margin-inline: 0;
  filter: drop-shadow(0 0 30px rgba(78, 242, 255, 0.3));
}

.boot__rings::before,
.boot__rings::after {
  content: "";
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 242, 255, 0.25), transparent 65%);
  opacity: 0.6;
  animation: haloPulse 4s ease-in-out infinite;
}

.boot__rings::after {
  inset: -10%;
  animation-delay: 1.2s;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  animation: pulse 6s linear infinite;
  box-shadow: 0 0 25px rgba(78, 242, 255, 0.2), inset 0 0 20px rgba(78, 242, 255, 0.15);
}

.ring--middle {
  inset: 10%;
  animation-delay: 0.6s;
}

.ring--inner {
  inset: 20%;
  animation-delay: 1.2s;
}

.ring__core {
  position: absolute;
  inset: 35%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), rgba(78, 242, 255, 0.1));
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 600;
  box-shadow: 0 0 40px rgba(78, 242, 255, 0.4), inset 0 0 25px rgba(255, 255, 255, 0.25);
}

.ring__core p {
  margin: 0;
  font-size: 2.4rem;
  letter-spacing: 0.1em;
}

.boot__log {
  padding: 0;
  margin: 0;
  min-height: 5rem;
  font-family: inherit;
  display: flex;
  align-items: flex-start;
}

.boot__log-text {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
  position: relative;
  display: inline-block;
}

.boot__log-text::after {
  content: "▌";
  color: var(--accent);
  animation: cursorBlink 0.8s step-end infinite;
  margin-left: 2px;
}

@keyframes cursorBlink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

.boot__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  justify-self: center;
  text-align: center;
}

.hold-button {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: radial-gradient(circle, rgba(78, 242, 255, 0.25), rgba(0, 0, 0, 0.4));
  color: var(--text);
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(78, 242, 255, 0.4), inset 0 0 25px rgba(78, 242, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hold-button:hover,
.hold-button:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 0 60px rgba(78, 242, 255, 0.55), inset 0 0 35px rgba(78, 242, 255, 0.25);
}

.hold-button__progress {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid rgba(78, 242, 255, 0.5);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}

.hold-button.is-holding .hold-button__progress {
  transform: scale(1);
  opacity: 1;
  animation: fill 2s linear forwards;
  border-width: 6px;
}

.memory {
  background: #000122;
}

.memory__canvas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.memory__parallax {
  position: relative;
  min-height: 320px;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #06080f;
}

.parallax__layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
  opacity: 0.5;
}

.parallax__layer--gif {
  background-image: url("assets/gifs/memories.gif");
  mix-blend-mode: normal;
  opacity: 0.7;
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.05);
}

.parallax__layer--back {
  background-image: linear-gradient(120deg, #272c4a, #111531);
  transform: scale(1.1);
}

.parallax__layer--mid {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
  transform: translate3d(-10px, -10px, 0);
}

.parallax__layer--front {
  background-image: linear-gradient(60deg, rgba(255, 122, 223, 0.3), transparent),
    linear-gradient(0deg, rgba(78, 242, 255, 0.2), transparent);
  transform: translate3d(10px, 10px, 0);
}

.memory__note {
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(6, 8, 15, 0.88);
  border: 1px solid rgba(78, 242, 255, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 25px rgba(78, 242, 255, 0.35);
  color: #eef7ff;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.memory__note--place {
  top: auto;
  bottom: 1.2rem;
  right: auto;
  left: 1.2rem;
  border-color: rgba(255, 122, 223, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 25px rgba(255, 122, 223, 0.3);
}

.memory__note-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  opacity: 0.75;
  text-transform: uppercase;
}

.memory__note-text {
  font-weight: 600;
}

.memory__note.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.portal-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 50%, rgba(78, 242, 255, 0.18), transparent 55%);
  transition: opacity 0.2s ease;
}

.portal-ring {
  width: 45%;
  height: 45%;
  border: 2px solid rgba(78, 242, 255, 0.7);
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(78, 242, 255, 0.6));
  transform: scale(0.85);
  opacity: 0.7;
}

.portal-core {
  width: 14%;
  height: 14%;
  background: radial-gradient(circle, rgba(255, 122, 223, 0.7), rgba(78, 242, 255, 0.9));
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(255, 122, 223, 0.5), 0 0 35px rgba(78, 242, 255, 0.35);
  transform: scale(0.6);
}

.portal-overlay.is-active {
  opacity: 1;
}

.portal-overlay.is-active .portal-ring {
  animation: portalExpand 0.7s ease-out forwards;
}

.portal-overlay.is-active .portal-core {
  animation: portalPulse 0.7s ease-out forwards;
}

@keyframes portalExpand {
  0% {
    transform: scale(0.7);
    opacity: 0.6;
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes portalPulse {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.prompt-stack {
  display: grid;
  gap: 1rem;
}

#acto-inicial {
  opacity: 1;
  transform: none;
}

.section.is-visible {
  opacity: 1;
  transform: none;
}

.prompt-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.6rem;
  color: var(--text);
  text-align: left;
  font-size: 1.05rem;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  position: relative;
}

.prompt-card:focus-visible,
.prompt-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(78, 242, 255, 0.25);
}

.placenet {
  background: radial-gradient(circle at top, rgba(255, 122, 223, 0.08), transparent 50%),
    var(--bg-alt);
}

.placenet__map {
  display: grid;
  gap: 1.5rem;
}

.placenet__layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.placenet__device {
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  text-align: center;
}

.device__frame {
  width: 220px;
  aspect-ratio: 9 / 19;
  border-radius: 1.8rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  padding: 0.6rem;
  background: radial-gradient(circle, rgba(78, 242, 255, 0.08), rgba(0, 0, 0, 0.8));
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.device__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1.2rem;
  background: linear-gradient(160deg, rgba(255, 122, 223, 0.15), rgba(78, 242, 255, 0.25));
  overflow: hidden;
}

.screen__bg {
  position: absolute;
  inset: 0;
  background: url("assets/gifs/phone.gif") center / cover no-repeat;
  filter: saturate(1.05) contrast(1.05);
  opacity: 0.8;
}

.screen__glow,
.screen__signal {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.screen__glow {
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.5), transparent 60%);
  animation: glowDrift 8s ease-in-out infinite;
}

.screen__signal {
  background: conic-gradient(from 90deg, rgba(78, 242, 255, 0.2), transparent, rgba(255, 122, 223, 0.2));
  mix-blend-mode: screen;
  animation: signalSpin 12s linear infinite;
}

.device__portal {
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 242, 255, 0.2), transparent 70%);
  animation: portalPulse 5s ease-in-out infinite;
  filter: blur(30px);
  z-index: -1;
}

.device__caption {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.layer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.layer-tab {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
  background: transparent;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.8rem;
  cursor: pointer;
}

.layer-tab.is-active {
  color: var(--text);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(78, 242, 255, 0.3);
}

.map__viewport {
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  min-height: 340px;
  background: rgba(4, 6, 11, 0.6);
}

.map__hint {
  color: var(--muted);
}

.map__nodes {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.map__pill {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(78, 242, 255, 0.08);
  border: 1px solid rgba(78, 242, 255, 0.35);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.3;
  color: var(--text);
  white-space: normal;
}

.map__pill::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(78, 242, 255, 0.8);
}

.impact__content {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vh, 1.5rem);
  position: relative;
  z-index: 1;
}

.section.impact {
  overflow: hidden;
}

.impact__aura {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.impact__orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(78, 242, 255, 0.35), rgba(3, 5, 18, 0));
  filter: blur(8px);
  opacity: 0.35;
  mix-blend-mode: screen;
  animation: orbDrift 18s ease-in-out infinite alternate;
}

.impact__orb--one {
  width: 420px;
  height: 420px;
  top: -15%;
  left: 5%;
}

.impact__orb--two {
  width: 320px;
  height: 320px;
  bottom: 10%;
  right: 8%;
  animation-duration: 22s;
}

.impact__orb--three {
  width: 220px;
  height: 220px;
  top: 30%;
  right: 45%;
  animation-duration: 16s;
}

.impact__content > *:not(.impact__aura) {
  position: relative;
  z-index: 1;
}

.impact__intro {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: 1.75rem;
  border: 1px solid rgba(78, 242, 255, 0.2);
  background: rgba(8, 10, 20, 0.75);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.impact__intro::after {
  content: "";
  position: absolute;
  inset: -30% -10%;
  background: radial-gradient(circle, rgba(78, 242, 255, 0.2), transparent 60%);
  animation: orbPulse 12s ease-in-out infinite;
  opacity: 0.5;
}

.impact__intro > * {
  position: relative;
  z-index: 1;
}

.impact__hero h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.impact__statements {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.impact__statement {
  position: relative;
  border-radius: 999px;
  padding: 0.5rem 1rem 0.5rem 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  line-height: 1.3;
  color: var(--text);
  box-shadow: inset 0 0 20px rgba(78, 242, 255, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.impact__statement::before {
  content: "✔";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--accent);
  text-shadow: 0 0 8px rgba(78, 242, 255, 0.5);
}

.impact__statement.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(78, 242, 255, 0.2), inset 0 0 22px rgba(78, 242, 255, 0.12);
  transform: translateY(-2px);
}

.impact__summary {
  color: var(--muted);
  font-size: 0.95rem;
  display: grid;
  gap: 0.75rem;
}

.impact__panels {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  min-height: 0;
}

.impact__panel .copy-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  justify-content: center;
}

.impact__panel .copy-stack h3 {
  line-height: 1.25;
  margin-bottom: 0;
  font-size: clamp(1.5rem, 2.5vw, 1.8rem);
  font-weight: 600;
}

.impact__panel .copy-stack p {
  line-height: 1.6;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}

.impact__panel .copy-stack .eyebrow {
  margin-bottom: 0;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.impact__panel {
  background: rgba(11, 15, 25, 0.7);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 3vh, 2.5rem);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: clamp(200px, 30vh, 320px);
  min-width: 0;
  position: relative;
  backdrop-filter: blur(8px);
  justify-content: center;
}


.prompt-card.is-active {
  border-color: var(--accent);
  color: var(--text);
}





.impact__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.carousel__track {
  will-change: transform;
}

.op-card {
  min-width: 220px;
  background: rgba(17, 23, 48, 0.9);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  flex: 0 0 auto;
}

.cases {
  background: #000122;
}

.cases #cases-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.case-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
}

.case-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(10, 14, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  min-height: 240px;
  height: 240px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.case-card--more {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: rgba(10, 14, 26, 0.65);
  border-style: dashed;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.case-card__logo {
  font-weight: 600;
  letter-spacing: 0.1em;
  height: 60px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.case-card__logo img {
  max-width: 140px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1.1);
}

.case-card__logo img.logo-white {
  filter: brightness(0) invert(1);
}

.case-card p {
  font-size: 0.85rem;
  line-height: 1.35;
  flex: 1;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-card .eyebrow {
  font-size: 0.8rem;
  margin-top: auto;
  flex-shrink: 0;
}

.case-card__cta {
  margin-top: auto;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 0 20px rgba(78, 242, 255, 0.25);
}

.case-card__cta:hover {
  background: var(--accent);
  color: #020305;
}

.case-hint {
  display: none;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.case-nav {
  display: none;
}

.case-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2000;
}

[hidden].case-modal {
  display: none;
}

.case-modal__backdrop {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(10px);
  background: rgba(4, 6, 11, 0.65);
}

.case-modal__content {
  position: relative;
  width: min(920px, 90vw);
  max-height: 85vh;
  background: rgba(10, 14, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.4rem;
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  align-items: stretch;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  overflow-y: auto;
}

.case-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 1, 34, 0.8);
  border: 1px solid var(--accent);
  color: var(--text);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(78, 242, 255, 0.4);
  transition: all 0.2s ease;
  z-index: 10;
}

.case-modal__close:hover {
  background: var(--accent);
  color: #020305;
  box-shadow: 0 0 30px rgba(78, 242, 255, 0.6);
  transform: scale(1.1);
}

.case-modal__media {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(78, 242, 255, 0.18), rgba(255, 122, 223, 0.14));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 1rem;
}

.case-modal__media img.photo {
  object-fit: cover;
}

.case-modal__body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.case-modal__body p {
  margin: 0 0 0.5rem;
  line-height: 1.6;
}

.case-modal__body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  list-style: none;
}

.case-modal__body ul li {
  position: relative;
  padding-left: 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.case-modal__body ul li::before {
  content: "•";
  position: absolute;
  left: -0.75rem;
  color: var(--accent);
  font-weight: bold;
}

.case-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0;
}

.case-modal__tag {
  border: 1px solid var(--accent);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(78, 242, 255, 0.1);
  color: var(--accent);
  box-shadow: 0 0 12px rgba(78, 242, 255, 0.2);
}

.case-modal .primary {
  display: inline-block;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(78, 242, 255, 0.25);
}

.case-modal .primary:hover {
  background: var(--accent);
  color: #020305;
}

/* Vista móvil - a partir de 768px hacia abajo */
@media (max-width: 768px) {
  /* Desactivar zoom en móvil */
  body {
    zoom: 1 !important;
  }

  .section {
    min-height: auto;
    height: auto;
    padding: 2rem 1.25rem;
    display: block;
  }

  html,
  body {
    min-height: auto;
    height: auto;
  }

  main {
    gap: 1.5rem;
    padding-bottom: 2rem;
  }

  .section.story-step {
    display: none;
  }

  .section.story-step.is-active {
    display: block;
  }

  .hold-button {
    width: 180px;
    height: 180px;
  }

  .form__actions {
    flex-direction: column;
  }

  .primary,
  .ghost {
    width: 100%;
    text-align: center;
  }

  .boot__inner {
    width: 100%;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .boot__rings {
    margin-inline: auto;
  }

  .impact__panels {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .impact__panel {
    padding: 2rem 1.5rem;
    min-height: 280px;
  }

  .impact__panel .copy-stack h3 {
    font-size: clamp(1.3rem, 5vw, 1.5rem);
  }

  .impact__panel .copy-stack p {
    font-size: clamp(0.95rem, 3vw, 1rem);
  }

  .section__nav {
    flex-direction: column;
    align-items: stretch;
  }

  .impact__statements {
    flex-direction: column;
  }

  .interaction-hint {
    left: 50%;
    right: auto;
    bottom: 1rem;
    transform: translateX(-50%);
  }

  .cases #cases-title {
    text-align: center;
    font-size: clamp(1.4rem, 6vw, 1.9rem);
    line-height: 1.25;
  }

  .closing-hero {
    padding: 1rem;
  }

  .closing-hero__lead {
    text-align: center;
    align-items: center;
  }

  .closing-hero__lead h1 {
    font-size: clamp(2.1rem, 7vw, 2.8rem);
  }

  .closing-lede {
    font-size: clamp(1.1rem, 4.5vw, 1.35rem);
    line-height: 1.4;
  }

  .case-hint {
    display: block;
  }

  .cases .section__content {
    max-width: 100%;
    width: 100%;
  }

  .case-track {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100vw;
  }

  .case-track::-webkit-scrollbar {
    display: none;
  }

  .case-card {
    flex: 0 0 calc(100vw - 3rem);
    min-width: calc(100vw - 3rem);
    max-width: calc(100vw - 3rem);
    scroll-snap-align: center;
    min-height: auto;
    height: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
  }

  .case-card__logo {
    height: 50px;
    flex-shrink: 0;
  }

  .case-card__logo img {
    max-width: 120px;
    max-height: 50px;
  }

  .case-card p {
    font-size: 0.9rem;
    -webkit-line-clamp: 3;
    flex: 1;
  }

  .case-modal__content {
    grid-template-columns: 1fr;
    max-height: 90vh;
    padding: 1rem;
    width: 95vw;
    grid-auto-rows: auto;
  }

  .case-modal__media {
    height: auto;
    min-height: 280px;
  }

  .case-modal__close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2001;
    background: rgba(0, 1, 34, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 25px rgba(78, 242, 255, 0.5);
  }

  .floating-nav {
    top: 10px;
    left: 10px;
  }

  .floating-nav__toggle {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .floating-nav__content {
    min-width: 180px;
    padding: 1.2rem;
  }
}

.closing {
  background: linear-gradient(140deg, #000122, rgba(255, 122, 223, 0.08));
}

.closing-copy {
  align-items: flex-start;
  text-align: left;
  gap: 0.6rem;
}

.closing-hero {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
}

.closing-hero__lead {
  display: grid;
  gap: 0.4rem;
}

.closing-hero__lead h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1.08;
}

.closing-lede {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
}

.closing-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.closing-tile {
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 6, 11, 0.55);
  box-shadow: inset 0 0 24px rgba(78, 242, 255, 0.12);
  line-height: 1.35;
}

.closing-tile--accent {
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(78, 242, 255, 0.18), inset 0 0 24px rgba(78, 242, 255, 0.18);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.team-card {
  background: rgba(10, 14, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.team-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 242, 255, 0.4), rgba(255, 122, 223, 0.2));
  overflow: hidden;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card__role {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.team-card__actions {
  display: flex;
  gap: 0.5rem;
}

.team-card__actions a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.team-card__actions a:hover,
.team-card__actions a:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(78, 242, 255, 0.25);
  transform: translateY(-1px);
}

.co-create-form {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
}

.co-create-form input,
.co-create-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(4, 6, 11, 0.5);
  color: var(--text);
  font-size: 1rem;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.primary,
.ghost {
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

.primary {
  background: linear-gradient(120deg, #4ef2ff, #ff7adf);
  color: #020305;
}

.ghost {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

.footer {
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  color: var(--muted);
}


@keyframes orbDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.25;
  }
  50% {
    transform: translate3d(30px, -20px, 0) scale(1.1);
    opacity: 0.4;
  }
  100% {
    transform: translate3d(-25px, 15px, 0) scale(0.95);
    opacity: 0.2;
  }
}

@keyframes orbPulse {
  0% {
    transform: scale(0.8);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.35;
  }
  100% {
    transform: scale(0.85);
    opacity: 0.18;
  }
}

@keyframes hintPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
}

@keyframes pulse {
  0% {
    opacity: 0.3;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 0.3;
    transform: scale(0.92);
  }
}

@keyframes fill {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

@keyframes glowDrift {
  0% {
    transform: translate3d(-10px, -10px, 0);
  }
  50% {
    transform: translate3d(10px, 5px, 0);
  }
  100% {
    transform: translate3d(-5px, -10px, 0);
  }
}

@keyframes signalSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes portalPulse {
  0% {
    transform: scale(0.8);
    opacity: 0.2;
  }
  60% {
    transform: scale(1.1);
    opacity: 0.5;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.2;
  }
}

@keyframes haloPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.2;
  }
  40% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.05);
    opacity: 0.15;
  }
}

@keyframes thoughtPulse {
  0% {
    transform: translate3d(-10px, 0, 0) scale(0.9);
    opacity: 0.2;
  }
  50% {
    transform: translate3d(10px, -5px, 0) scale(1);
    opacity: 0.5;
  }
  100% {
    transform: translate3d(-5px, 5px, 0) scale(0.95);
    opacity: 0.2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.prompt-card.is-active {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(78, 242, 255, 0.35);
}

/* FLOATING NAVIGATION - TEMPORAL */
.floating-nav {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 9999;
  font-family: inherit;
}

.floating-nav__toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(10, 14, 26, 0.95);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(78, 242, 255, 0.4), 0 0 30px rgba(78, 242, 255, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.floating-nav__toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(78, 242, 255, 0.6), 0 0 40px rgba(78, 242, 255, 0.3);
}

.floating-nav__content {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(10, 14, 26, 0.98);
  border: 1px solid var(--accent);
  border-radius: 1rem;
  padding: 1.5rem;
  min-width: 200px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(78, 242, 255, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(15px);
}

.floating-nav.is-open .floating-nav__content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-nav__title {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  border-bottom: 1px solid rgba(78, 242, 255, 0.3);
  padding-bottom: 0.5rem;
}

.floating-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.floating-nav__list li a {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 0.6rem 0.8rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.floating-nav__list li a:hover,
.floating-nav__list li a:focus {
  background: rgba(78, 242, 255, 0.1);
  border-color: var(--accent);
  transform: translateX(5px);
  box-shadow: 0 0 15px rgba(78, 242, 255, 0.2);
}

.floating-nav__list li a.is-active {
  background: rgba(78, 242, 255, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}


/* GLOW EFFECT */
.glow {
  color: var(--accent);
  text-shadow:
    0 0 10px rgba(78, 242, 255, 0.8),
    0 0 20px rgba(78, 242, 255, 0.6),
    0 0 30px rgba(78, 242, 255, 0.4),
    0 0 40px rgba(78, 242, 255, 0.2);
  animation: glowPulse 3s ease-in-out infinite;
}

.glow-pink {
  color: var(--accent-strong);
  text-shadow:
    0 0 10px rgba(255, 122, 223, 0.8),
    0 0 20px rgba(255, 122, 223, 0.6),
    0 0 30px rgba(255, 122, 223, 0.4),
    0 0 40px rgba(255, 122, 223, 0.2);
  animation: glowPulsePink 3s ease-in-out infinite;
}

.glow-static {
  color: var(--accent);
  text-shadow:
    0 0 10px rgba(78, 242, 255, 0.8),
    0 0 20px rgba(78, 242, 255, 0.6),
    0 0 30px rgba(78, 242, 255, 0.4);
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow:
      0 0 10px rgba(78, 242, 255, 0.8),
      0 0 20px rgba(78, 242, 255, 0.6),
      0 0 30px rgba(78, 242, 255, 0.4),
      0 0 40px rgba(78, 242, 255, 0.2);
  }
  50% {
    text-shadow:
      0 0 15px rgba(78, 242, 255, 1),
      0 0 30px rgba(78, 242, 255, 0.8),
      0 0 45px rgba(78, 242, 255, 0.6),
      0 0 60px rgba(78, 242, 255, 0.4);
  }
}

@keyframes glowPulsePink {
  0%, 100% {
    text-shadow:
      0 0 10px rgba(255, 122, 223, 0.8),
      0 0 20px rgba(255, 122, 223, 0.6),
      0 0 30px rgba(255, 122, 223, 0.4),
      0 0 40px rgba(255, 122, 223, 0.2);
  }
  50% {
    text-shadow:
      0 0 15px rgba(255, 122, 223, 1),
      0 0 30px rgba(255, 122, 223, 0.8),
      0 0 45px rgba(255, 122, 223, 0.6),
      0 0 60px rgba(255, 122, 223, 0.4);
  }
}
