/* ==========================================================================
   RagsMc Launcher — landing
   Sistema visual propio. Sin Tailwind CDN. Dark/light con variables CSS.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #0B0F14;
  --bg-rgb: 11, 15, 20;
  --bg-2: #0E131A;
  --surface-1: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.022);
  --surface-solid: #111821;
  --text: #F8FAFC;
  --text-2: #A3B0C2;
  --text-3: #7E8CA0;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-strong: rgba(17, 24, 39, 0.72);
  --nav-bg: rgba(11, 15, 20, 0.74);
  --accent: #E85D4C;
  --accent-display: #E85D4C;
  --accent-ink: #F07B6C;
  --accent-cta: #C9432F;
  --green: #22C55E;
  --green-ink: #4ADE80;
  --grid-line: rgba(255, 255, 255, 0.05);
  --toast-bg: rgba(17, 24, 39, 0.94);
  --shadow-card: 0 30px 70px -45px rgba(0, 0, 0, 0.85);
  --font-display: "Clash Display", "Satoshi", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] {
  --bg: #F7F8FA;
  --bg-rgb: 247, 248, 250;
  --bg-2: #FFFFFF;
  --surface-1: #FFFFFF;
  --surface-2: #FBFCFD;
  --surface-solid: #FFFFFF;
  --text: #0B0F14;
  --text-2: #475569;
  --text-3: #5F6F84;
  --line: rgba(11, 15, 20, 0.09);
  --line-strong: rgba(11, 15, 20, 0.17);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.92);
  --nav-bg: rgba(247, 248, 250, 0.84);
  --accent-display: #C9432F;
  --accent-ink: #C9432F;
  --green-ink: #15803D;
  --grid-line: rgba(11, 15, 20, 0.06);
  --toast-bg: rgba(255, 255, 255, 0.96);
  --shadow-card: 0 24px 60px -40px rgba(15, 23, 42, 0.22);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}
[data-theme="light"] { color-scheme: light; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  font-feature-settings: "ss01" 1, "cv02" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; }
code { font-family: var(--font-mono); }

::selection { background: rgba(232, 93, 76, 0.35); color: var(--text); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 5px;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border: 2px solid var(--bg);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

.mono { font-family: var(--font-mono); letter-spacing: -0.01em; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Fondo global ---------- */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg);
  overflow: hidden;
  pointer-events: none;
}
.page-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
}
.page-glow-a {
  width: 62vw; height: 62vw;
  top: -34vw; left: -22vw;
  background: radial-gradient(circle, rgba(232, 93, 76, 0.13), transparent 66%);
}
.page-glow-b {
  width: 52vw; height: 52vw;
  right: -22vw; bottom: -26vw;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.07), transparent 68%);
}
[data-theme="light"] .page-glow-a { opacity: 0.55; }
[data-theme="light"] .page-glow-b { opacity: 0.5; }
.page-noise {
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
}
[data-theme="light"] .page-noise { opacity: 0.022; }

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--bg);
  animation: loader-failsafe 0.7s ease 3.6s forwards;
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  filter: blur(10px);
  pointer-events: none;
  transition: opacity 0.65s var(--ease-out), visibility 0.65s, transform 0.65s var(--ease-out), filter 0.65s;
}
.loader-skip .loader, .no-js .loader { display: none; }

.loader-inner { width: min(270px, 70vw); text-align: center; }
.loader-mark {
  position: relative;
  width: 96px; height: 96px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
}
.loader-halo {
  position: absolute;
  inset: -32px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 76, 0.24), transparent 66%);
  animation: halo 2.4s ease-in-out infinite;
}
.loader-mark img {
  position: relative;
  width: 72px; height: 72px;
  image-rendering: pixelated;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.45));
  animation: mark-in 0.65s var(--ease-bounce) both;
}
[data-theme="light"] .loader-mark img { filter: drop-shadow(0 6px 16px rgba(15, 23, 42, 0.22)); }

.loader-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 22px;
}
.loader-word span { color: var(--accent); }

.loader-bar {
  height: 2px;
  border-radius: 2px;
  background: var(--line-strong);
  overflow: hidden;
}
.loader-bar span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, var(--accent), var(--green));
  box-shadow: 0 0 16px rgba(232, 93, 76, 0.55);
  transition: transform 0.12s linear;
}
.loader-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---------- Progreso de scroll ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 120;
  background: linear-gradient(90deg, var(--accent), var(--green));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding: 18px 0;
  border-bottom: 1px solid transparent;
  transition: padding 0.35s var(--ease-out), background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.site-header.scrolled {
  padding: 9px 0;
  background: var(--nav-bg);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}
body.menu-open .site-header {
  background: var(--bg);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  text-decoration: none;
  color: var(--text);
}
.brand img {
  width: 30px; height: 30px;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.035em;
  line-height: 1;
}
.brand-word span { color: var(--accent); }
.brand-tag {
  padding-left: 10px;
  border-left: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.9vw, 26px);
  margin: 0 auto;
}
.desktop-nav a {
  position: relative;
  padding: 7px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--green));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-out);
}
.desktop-nav a:hover, .desktop-nav a.active { color: var(--text); }
.desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  flex: none;
}

.lang-toggle {
  height: 34px;
  min-width: 36px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--glass);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.lang-toggle:hover { color: var(--text); border-color: var(--line-strong); background: var(--surface-1); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--glass);
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--line-strong); background: var(--surface-1); }
.icon-btn svg { width: 16px; height: 16px; }

.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.menu-btn {
  display: none;
  position: relative;
  width: 38px; height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--glass);
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out), opacity 0.2s;
}
.menu-btn span:nth-child(1) { top: 13px; }
.menu-btn span:nth-child(2) { top: 19px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 16px; transform: rotate(-45deg); }

/* ---------- Menú móvil ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 108px clamp(20px, 6vw, 48px) 32px;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
  overflow-y: auto;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.mobile-nav a .mono {
  width: 26px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--text-3);
}
.mobile-menu.is-open .mobile-nav a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-nav a:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.is-open .mobile-nav a:nth-child(2) { transition-delay: 0.09s; }
.mobile-menu.is-open .mobile-nav a:nth-child(3) { transition-delay: 0.12s; }
.mobile-menu.is-open .mobile-nav a:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-nav a:nth-child(5) { transition-delay: 0.18s; }
.mobile-menu.is-open .mobile-nav a:nth-child(6) { transition-delay: 0.21s; }
.mobile-menu.is-open .mobile-nav a:nth-child(7) { transition-delay: 0.24s; }

.mobile-menu-foot {
  display: grid;
  gap: 12px;
  padding-top: 28px;
  margin-top: 24px;
}
.mobile-menu-foot .mono {
  text-align: center;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---------- Botones / pills ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.2s;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-sm { height: 34px; padding: 0 13px; gap: 7px; font-size: 12px; border-radius: 9px; }
.btn-sm svg { width: 14px; height: 14px; }
.btn-lg { height: 50px; padding: 0 22px; font-size: 14px; border-radius: 12px; }
.btn-lg svg { width: 18px; height: 18px; }
.btn-xl { width: 100%; height: 62px; padding: 0 26px; font-size: 15.5px; border-radius: 13px; }
.btn-xl svg { width: 20px; height: 20px; }

.btn-primary {
  background: linear-gradient(180deg, #C9432F 0%, #B93A2B 100%);
  border-color: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 22px -8px rgba(232, 93, 76, 0.45);
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: -60%; bottom: -60%;
  left: 0;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transform: translateX(-200%) skewX(-18deg);
  transition: transform 0.8s var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #B93A2B 0%, #AC3325 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 14px 32px -12px rgba(232, 93, 76, 0.6);
}
.btn-primary:hover::before { transform: translateX(340%) skewX(-18deg); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--glass);
  border-color: var(--line-strong);
  color: var(--text);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--surface-1); border-color: var(--text-3); transform: translateY(-2px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.text-link svg { width: 15px; height: 15px; transition: transform 0.22s var(--ease-out); }
.text-link:hover svg { transform: translateX(3px); }
.text-link-green { color: var(--green-ink); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-1);
  color: var(--text-2);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}
.pill-green {
  color: var(--green-ink);
  border-color: rgba(34, 197, 94, 0.24);
  background: rgba(34, 197, 94, 0.07);
}
.pill-accent {
  color: var(--accent-ink);
  border-color: rgba(232, 93, 76, 0.28);
  background: rgba(232, 93, 76, 0.08);
}

.status-dot {
  position: relative;
  width: 6px; height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 94, 0.35);
  animation: ping 2.6s ease-out infinite;
}

.label {
  display: block;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---------- Secciones ---------- */
.section {
  position: relative;
  padding: clamp(76px, 9.5vw, 122px) 0;
}
.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.eyebrow .mono { color: var(--accent-ink); letter-spacing: 0.1em; }
.eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--line-strong);
}

.sec-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.032em;
  color: var(--text);
}
.sec-title .accent-text { color: var(--accent-display); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 64px);
  margin-bottom: clamp(34px, 4.5vw, 54px);
}
.sec-desc {
  max-width: 36ch;
  margin-bottom: 6px;
  color: var(--text-2);
  font-size: 14.8px;
  line-height: 1.7;
}
.sec-head-center {
  display: block;
  max-width: 660px;
  margin: 0 auto clamp(34px, 4.5vw, 50px);
  text-align: center;
}
.sec-head-center .eyebrow { justify-content: center; }
.sec-head-center .eyebrow::after { display: none; }
.sec-head-center .sec-desc { max-width: 50ch; margin: 14px auto 0; }

.body-copy {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.75;
}

/* ---------- Reveals ---------- */
.reveal-ready {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal-ready.in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes loader-failsafe {
  to { opacity: 0; visibility: hidden; }
}
@keyframes halo {
  0%, 100% { transform: scale(0.92); opacity: 0.6; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes mark-in {
  from { opacity: 0; transform: translateY(10px) scale(0.88); }
  to { opacity: 1; transform: none; }
}
@keyframes ping {
  0% { transform: scale(0.7); opacity: 0.9; }
  75%, 100% { transform: scale(1.5); opacity: 0; }
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 93, 76, 0.35); }
  50% { box-shadow: 0 0 0 5px rgba(232, 93, 76, 0); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 126px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(0.78) contrast(1.06);
}
[data-theme="light"] .hero-media video { opacity: 0.09; }

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  opacity: 0.7;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(var(--bg-rgb), 0.96) 0%,
      rgba(var(--bg-rgb), 0.62) 18%,
      rgba(var(--bg-rgb), 0.38) 48%,
      rgba(var(--bg-rgb), 0.82) 86%,
      rgb(var(--bg-rgb)) 100%),
    radial-gradient(85% 65% at 68% 46%, transparent 0%, rgba(var(--bg-rgb), 0.55) 100%);
}
.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(460px circle at var(--mx, 68%) var(--my, 38%), rgba(232, 93, 76, 0.11), transparent 68%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.hero:hover .hero-spotlight { opacity: 1; }

.hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(32px, 4.4vw, 66px);
  padding: clamp(10px, 2vh, 34px) 0;
}
.hero-copy { min-width: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--text-2);
  font-size: 11.5px;
  font-weight: 500;
  text-decoration: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.hero-badge:hover { border-color: var(--line-strong); color: var(--text); background: var(--surface-1); }
.hero-badge svg { width: 13px; height: 13px; color: var(--text-3); transition: transform 0.2s; }
.hero-badge:hover svg { transform: translateX(2px); color: var(--accent-ink); }

.hero-title {
  margin: 22px 0 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.65rem, 4.2vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
  color: var(--text);
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.07em;
  margin-bottom: -0.07em;
}
.hero-title .line > span {
  display: block;
  transform: translateY(112%);
  transition: transform 1s var(--ease-out);
}
html.js body.loaded .hero-title .line:nth-child(1) > span { transform: none; transition-delay: 0.08s; }
html.js body.loaded .hero-title .line:nth-child(2) > span { transform: none; transition-delay: 0.17s; }
html.no-js .hero-title .line > span { transform: none; }
.line-accent { color: var(--accent-display); }

.hero-sub {
  max-width: 46ch;
  margin-bottom: 26px;
  color: var(--text-2);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--text-3);
}
.hero-meta i {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-3);
  opacity: 0.55;
}

.hero-anim {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
html.js body:not(.loaded) .hero-anim {
  opacity: 0;
  transform: translateY(16px);
}

/* Visual del hero */
.hero-visual { position: relative; min-width: 0; perspective: 1600px; }
.hero-visual-glow {
  position: absolute;
  inset: -14% -10% -20%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(232, 93, 76, 0.19), transparent 70%);
  filter: blur(42px);
  pointer-events: none;
}
.app-window {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: #0B0F14;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 60px -22px rgba(0, 0, 0, 0.78),
    0 80px 130px -50px rgba(0, 0, 0, 0.7);
  transform: rotateY(-7deg) rotateX(3deg) scale(0.985);
  transform-origin: center center;
  transition: transform 0.8s var(--ease-out), box-shadow 0.8s var(--ease-out);
}
.app-window::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.app-window img { width: 100%; height: auto; }
.hero-visual:hover .app-window {
  transform: rotateY(0deg) rotateX(0deg) scale(1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 40px 80px -26px rgba(0, 0, 0, 0.82),
    0 0 0 1px rgba(232, 93, 76, 0.14),
    0 0 80px rgba(232, 93, 76, 0.12);
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.86);
  color: var(--text-2);
  font-size: 10.5px;
  line-height: 1;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px -18px rgba(0, 0, 0, 0.8);
}
.float-card b { color: var(--text); font-weight: 500; font-size: 10px; }
.float-card svg { width: 14px; height: 14px; color: var(--accent-ink); flex: none; }
.float-card-a { top: 12%; left: -26px; }
.float-card-b { right: -20px; bottom: 11%; }
[data-theme="light"] .float-card {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px -18px rgba(15, 23, 42, 0.3);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(26px, 4vh, 50px);
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-stats > div {
  padding: 0 clamp(12px, 1.8vw, 24px);
  border-left: 1px solid var(--line);
}
.hero-stats > div:first-child { padding-left: 0; border-left: 0; }
.hero-stats dt {
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1.4;
}
.hero-stats dd {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
}

/* ---------- Proyecto ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: start;
  gap: clamp(34px, 6vw, 86px);
}
.about-copy .sec-title { margin-bottom: 24px; }
.about-copy em { font-style: normal; color: var(--accent-display); }

.lead {
  max-width: 52ch;
  margin-bottom: 16px;
  color: var(--text);
  font-size: clamp(1.04rem, 1.35vw, 1.16rem);
  line-height: 1.65;
}
.about-copy .body-copy { max-width: 56ch; }

.check-list {
  display: grid;
  gap: 11px;
  margin: 26px 0 28px;
  list-style: none;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
}
.check-icon {
  display: grid;
  place-items: center;
  width: 19px; height: 19px;
  flex: none;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  color: var(--green-ink);
}
.check-icon svg { width: 10px; height: 10px; }

.spec-card {
  position: sticky;
  top: 104px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--surface-1), var(--surface-2));
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.spec-list { padding: 5px 20px; }
.spec-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt { flex: none; color: var(--text-3); }
.spec-list dd {
  max-width: 64%;
  text-align: right;
  color: var(--text);
  font-weight: 500;
  line-height: 1.45;
}
.spec-list dd.mono { color: var(--text-2); font-size: 10.5px; }

.spec-quote {
  display: grid;
  gap: 7px;
  padding: 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}
.spec-quote img { opacity: 0.95; margin-bottom: 2px; image-rendering: pixelated; }
.spec-quote blockquote {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--text);
}
.spec-quote figcaption { font-size: 10px; color: var(--text-3); }

/* ---------- Características (bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-12 { grid-column: span 12; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 226px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--surface-1), var(--surface-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 220px at 18% 0%, rgba(232, 93, 76, 0.085), transparent 66%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 93, 76, 0.26);
  box-shadow: 0 26px 55px -35px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(232, 93, 76, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.card:hover::before { opacity: 1; }
.span-7.card, .span-5.card { min-height: 290px; }

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.icon-box {
  display: grid;
  place-items: center;
  width: 37px; height: 37px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--glass);
  color: var(--accent-ink);
}
.icon-box svg { width: 17px; height: 17px; }
.card-index { font-size: 9px; letter-spacing: 0.1em; color: var(--text-3); }

.card h3 {
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.018em;
  line-height: 1.25;
  color: var(--text);
}
.card > p {
  max-width: 42ch;
  color: var(--text-2);
  font-size: 13.3px;
  line-height: 1.65;
}

/* Mini UI: mods */
.mini-mods {
  margin-top: auto;
  padding-top: 20px;
}
.mod-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: rgba(0, 0, 0, 0.16);
  font-size: 11px;
}
.mod-row:first-child { border-radius: 9px 9px 0 0; }
.mod-row:last-child { border-bottom: 1px solid var(--line); border-radius: 0 0 9px 9px; }
[data-theme="light"] .mod-row { background: rgba(15, 23, 42, 0.025); }
.mod-avatar {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-solid);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 9px;
}
.mod-name { color: var(--text); font-weight: 500; }
.mod-ver { margin-left: auto; color: var(--text-3); font-family: var(--font-mono); font-size: 9px; }
.switch {
  position: relative;
  width: 27px; height: 15px;
  flex: none;
  border-radius: 999px;
  background: var(--green);
}
.switch::after {
  content: "";
  position: absolute;
  top: 2px; right: 2px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #FFFFFF;
}
.switch.is-off { background: var(--line-strong); }
.switch.is-off::after { right: auto; left: 2px; background: var(--text-3); }

/* Mini UI: versiones */
.version-picker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}
[data-theme="light"] .version-picker { background: rgba(15, 23, 42, 0.025); }
.vp-icon {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-solid);
  color: var(--accent-ink);
}
.vp-icon svg { width: 12px; height: 12px; }
.vp-value { font-family: var(--font-mono); font-size: 10px; color: var(--text); }
.vp-value i { font-style: normal; color: var(--text-3); font-size: 8.5px; }
.vp-state { display: flex; align-items: center; margin-left: auto; }
.vp-state .status-dot { width: 5px; height: 5px; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1); }
.vp-chevron { width: 12px; height: 12px; flex: none; color: var(--text-3); }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
  padding-top: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.14);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.2;
  white-space: nowrap;
}
.chip i { font-style: normal; color: var(--text-3); font-size: 8.5px; }
.chip.is-active {
  border-color: rgba(34, 197, 94, 0.34);
  background: rgba(34, 197, 94, 0.08);
  color: var(--green-ink);
}
.chip.is-active i { color: var(--green-ink); opacity: 0.75; }
.chip-live {
  margin-top: 18px;
  border-color: rgba(34, 197, 94, 0.24);
  background: rgba(34, 197, 94, 0.06);
  color: var(--green-ink);
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 500;
  width: fit-content;
}

.mini-progress {
  height: 4px;
  margin-top: auto;
  margin-bottom: 2px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.mini-progress span {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--green));
  box-shadow: 0 0 12px rgba(232, 93, 76, 0.4);
}

.swatches {
  display: flex;
  gap: 7px;
  margin-top: auto;
  padding-top: 22px;
}
.swatches i {
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
[data-theme="light"] .swatches i { box-shadow: inset 0 0 0 1px rgba(11, 15, 20, 0.12); }

.mini-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}
.mini-toggle span {
  position: relative;
  width: 30px; height: 17px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.mini-toggle span::after {
  content: "";
  position: absolute;
  top: 2px; right: 2px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--green-ink);
}
.mini-toggle b {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Consola */
.card-wide {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(22px, 3vw, 40px);
  min-height: 212px;
  padding: 24px;
}
.console-copy { min-width: 0; }
.console-copy .card-top { margin-bottom: 14px; }
.console-copy .chip-live { margin-top: 14px; }
.console-mock {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #070A0E;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 40px -30px rgba(0, 0, 0, 0.9);
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #64748B;
  font-size: 8.5px;
  letter-spacing: 0.04em;
}
.console-dots { display: flex; gap: 4px; }
.console-dots i { width: 6px; height: 6px; border-radius: 50%; background: #FF5F57; }
.console-dots i:nth-child(2) { background: #FEBC2E; }
.console-dots i:nth-child(3) { background: #28C840; }
.console-body {
  padding: 11px 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.9;
  color: #94A3B8;
  overflow: hidden;
}
.console-body p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-ok { color: #4ADE80; }
.c-info { color: #60A5FA; }
.c-prompt { color: #E85D4C; }
.caret {
  display: inline-block;
  width: 6px; height: 11px;
  vertical-align: -1px;
  background: #22C55E;
  animation: blink 1.1s steps(2) infinite;
}

/* ---------- Servidor ---------- */
.server-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--surface-1), var(--surface-2));
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.server-main { padding: clamp(24px, 4vw, 44px); min-width: 0; }
.server-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.server-version { font-size: 9.5px; letter-spacing: 0.03em; color: var(--text-3); }
.server-title {
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
}

.ip-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 26px 0;
  padding: 13px 13px 13px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
}
.ip-text { min-width: 0; }
.ip-box code {
  display: block;
  font-size: clamp(14px, 1.65vw, 18px);
  letter-spacing: -0.025em;
  color: var(--text);
  white-space: nowrap;
}
.copy-btn { flex: none; }
.copy-btn .copied-icon, .hash-copy .copied-icon { display: none; }
.copy-btn.is-copied .copy-icon, .hash-copy.is-copied .copy-icon { display: none; }
.copy-btn.is-copied .copied-icon, .hash-copy.is-copied .copied-icon { display: block; }
.copy-btn.is-copied { background: #15803D; border-color: rgba(255, 255, 255, 0.2); }

.steps { margin-top: 4px; }
.steps .label { margin-bottom: 11px; }
.steps ol { display: grid; gap: 9px; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 10px; }
.step-num {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  flex: none;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 9px;
  color: var(--text-3);
}
.steps p { color: var(--text-2); font-size: 12.5px; line-height: 1.55; }

.server-visual { position: relative; min-height: 420px; overflow: hidden; }
.server-visual img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.server-visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--surface-solid) 0%, rgba(17, 24, 39, 0) 46%),
    linear-gradient(0deg, rgba(11, 15, 20, 0.72), transparent 55%);
}
[data-theme="light"] .server-visual-shade {
  background:
    linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(0deg, rgba(11, 15, 20, 0.68), transparent 55%);
}
.server-visual-card {
  position: absolute;
  left: 18px; bottom: 18px;
  display: grid;
  gap: 1px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: rgba(11, 15, 20, 0.55);
  color: #FFFFFF;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.server-visual-card span { font-family: var(--font-mono); font-size: 10.5px; }
.server-visual-card small { font-size: 9px; color: rgba(255, 255, 255, 0.66); letter-spacing: 0.04em; }

/* ---------- Galería ---------- */
.gallery-shell {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-solid);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.gallery-bar {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
[data-theme="light"] .gallery-bar { background: rgba(11, 15, 20, 0.02); }
.gallery-dots { display: flex; gap: 5px; }
.gallery-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.gallery-bar-title { font-size: 8.5px; letter-spacing: 0.03em; color: var(--text-3); }
.gallery-counter { margin-left: auto; font-size: 8.5px; color: var(--text-3); }

.gallery-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #06090D;
  overflow: hidden;
  outline: none;
}
.gallery-viewport:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.55s ease, transform 0.9s var(--ease-out);
  pointer-events: none;
}
.gallery-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-slide[data-index="0"] img { object-fit: contain; }

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(11, 15, 20, 0.55);
  color: #FFFFFF;
  cursor: pointer;
  transform: translateY(-50%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.gallery-arrow:hover { background: rgba(11, 15, 20, 0.82); border-color: rgba(255, 255, 255, 0.34); }
.gallery-arrow:active { transform: translateY(-50%) scale(0.94); }
.gallery-arrow svg { width: 17px; height: 17px; }
.gallery-prev { left: 13px; }
.gallery-next { right: 13px; }

.gallery-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 14px 17px;
  border-top: 1px solid var(--line);
}
.gallery-caption h3 {
  margin-bottom: 1px;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}
.gallery-caption p { color: var(--text-2); font-size: 11.5px; line-height: 1.5; }

.gallery-thumbs { display: flex; gap: 7px; }
.gallery-thumb {
  width: 70px; height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #06090D;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 0.82; }
.gallery-thumb[aria-selected="true"] {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}
.gallery-autoplay { width: 30px; height: 30px; border-radius: 8px; }
.gallery-autoplay svg { width: 12px; height: 12px; }
.gallery-autoplay .icon-play { display: none; }
.gallery-autoplay[aria-pressed="false"] .icon-pause { display: none; }
.gallery-autoplay[aria-pressed="false"] .icon-play { display: block; }
.gallery-hint { font-size: 8.5px; letter-spacing: 0.05em; color: var(--text-3); }

/* ---------- Roadmap ---------- */
.roadmap { position: relative; }
.rm-line {
  position: absolute;
  top: 11px; left: 14px; right: 14px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.rm-line span {
  display: block;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, var(--green), var(--accent));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.5s var(--ease-out) 0.15s;
}
.roadmap.in .rm-line span { transform: scaleX(0.6); }

.rm-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
  list-style: none;
}
.rm-item { position: relative; padding-top: 38px; }
.rm-dot {
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-3);
}
.section .rm-dot { background: var(--bg); }
.rm-item.done .rm-dot {
  border-color: rgba(34, 197, 94, 0.42);
  background: rgba(34, 197, 94, 0.1);
  color: var(--green-ink);
}
.rm-dot svg { width: 11px; height: 11px; }
.rm-item.current .rm-dot { border-color: rgba(232, 93, 76, 0.55); background: rgba(232, 93, 76, 0.09); }
.rm-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
.rm-hollow {
  width: 6px; height: 6px;
  border: 1px solid var(--text-3);
  border-radius: 50%;
}
.rm-version {
  display: block;
  margin-bottom: 5px;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--text-3);
}
.rm-item h3 {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text);
}
.rm-item p {
  min-height: 58px;
  margin-bottom: 12px;
  color: var(--text-2);
  font-size: 11.8px;
  line-height: 1.6;
}
.rm-item:not(.done):not(.current) h3 { color: var(--text-2); }
.rm-item .pill { font-size: 9px; padding: 3px 7px; }
.roadmap-note { margin-top: 26px; font-size: 10.5px; color: var(--text-3); }

/* ---------- Descarga ---------- */
.section-download {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.download-glow {
  position: absolute;
  left: 50%; top: 46%;
  width: min(820px, 90vw);
  height: 470px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(232, 93, 76, 0.13), transparent 66%);
  filter: blur(60px);
  pointer-events: none;
}
.download-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--surface-1), var(--surface-2));
  box-shadow:
    0 40px 90px -50px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(232, 93, 76, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.dl-main { padding: clamp(26px, 4vw, 44px); min-width: 0; }
.dl-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.dl-main h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.15;
  color: var(--text);
}
.dl-main .body-copy { max-width: 44ch; margin-bottom: 22px; }
.dl-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
}
.dl-sep { color: var(--text-3); font-size: 11px; }
.dl-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
  max-width: 52ch;
  color: var(--text-3);
  font-size: 10.5px;
  line-height: 1.6;
}
.dl-note svg { width: 14px; height: 14px; flex: none; margin-top: 1px; color: var(--green-ink); }

.dl-side {
  padding: clamp(24px, 3.5vw, 34px);
  border-left: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.16);
  min-width: 0;
}
.dl-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
}
.dl-meta { margin-bottom: 16px; }
.dl-meta > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 10.5px;
}
.dl-meta dt { flex: none; color: var(--text-3); }
.dl-meta dd { text-align: right; color: var(--text-2); line-height: 1.45; }
.dl-meta dd.mono { font-size: 8.5px; word-break: break-all; }

.hash-box {
  position: relative;
  margin-bottom: 18px;
  padding: 11px 38px 11px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.22);
}
.hash-box code {
  display: block;
  font-size: 8.5px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--text-2);
  word-break: break-all;
}
.hash-copy {
  position: absolute;
  top: 7px; right: 7px;
  width: 26px; height: 26px;
  border: 0;
  background: transparent;
  color: var(--text-3);
}
.hash-copy:hover { background: var(--glass); }
.hash-copy svg { width: 13px; height: 13px; }

.includes .label { margin-bottom: 9px; }
.check-list-sm { margin: 0; gap: 7px; }
.check-list-sm li { font-size: 10.8px; color: var(--text-2); }
.check-list-sm .check-icon { width: 16px; height: 16px; }
.check-list-sm .check-icon svg { width: 9px; height: 9px; }

/* ---------- Comunidad ---------- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.social-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 176px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--surface-1), var(--surface-2));
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.social-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(230px 150px at 18% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.social-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 38%, var(--line));
  box-shadow: 0 24px 50px -32px rgba(0, 0, 0, 0.8), 0 0 40px -22px color-mix(in srgb, var(--brand) 55%, transparent);
}
.social-card:hover::before { opacity: 1; }
.social-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.social-icon { display: block; width: 25px; height: 25px; color: var(--brand); }
.social-icon svg { width: 25px; height: 25px; }
.social-arrow {
  width: 15px; height: 15px;
  color: var(--text-3);
  transition: transform 0.25s var(--ease-out), color 0.25s;
}
.social-card:hover .social-arrow { transform: translate(2px, -2px); color: var(--text); }
.social-card h3 {
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.social-card p {
  font-size: 9.5px;
  letter-spacing: 0.02em;
  color: var(--text-3);
}
.social-tag {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: start;
  gap: clamp(34px, 6vw, 80px);
}
.faq-intro { position: sticky; top: 108px; }
.faq-intro .sec-title { margin-bottom: 18px; }
.faq-intro .body-copy { max-width: 34ch; margin-bottom: 22px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 17px 0;
  border: 0;
  background: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent-ink); }
.faq-icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--text-3);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease-out), background 0.3s, opacity 0.3s;
}
.faq-icon::before { width: 11px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 11px; }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item.open .faq-icon::before { background: var(--accent); }

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease-out);
}
.faq-item.open .faq-panel { grid-template-rows: 1fr; }
.faq-panel > div { overflow: hidden; }
.faq-panel p {
  max-width: 60ch;
  padding: 0 28px 18px 0;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.75;
}
.inline-link {
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.inline-link:hover { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1fr;
  gap: clamp(26px, 4vw, 48px);
  padding-bottom: 42px;
}
.footer-brand p {
  max-width: 34ch;
  margin: 14px 0 16px;
  color: var(--text-3);
  font-size: 11.8px;
  line-height: 1.7;
}
.footer-status { font-size: 9.5px; }
.footer-col h4 {
  margin-bottom: 13px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
}
.footer-col ul { display: grid; gap: 8px; list-style: none; }
.footer-col a {
  font-size: 11.8px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 9.8px;
}
.footer-disclaimer { max-width: 48ch; font-size: 9.3px; line-height: 1.6; }
.footer-top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: var(--text-2);
  font-size: 9.8px;
  text-decoration: none;
}
.footer-top:hover { color: var(--text); }
.footer-top svg { width: 12px; height: 12px; }

/* ---------- Toast / top ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--toast-bg);
  color: var(--text);
  font-size: 12px;
  box-shadow: 0 20px 44px -20px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 14px; height: 14px; flex: none; color: var(--green-ink); }

.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 150;
  display: grid;
  place-items: center;
  width: 37px; height: 37px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--glass-strong);
  color: var(--text-2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out), visibility 0.3s, color 0.2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--text); }
.to-top svg { width: 15px; height: 15px; }

/* ---------- Ajustes de tema claro ---------- */
[data-theme="light"] .section-alt { background: #F4F6F9; }
[data-theme="light"] .app-window {
  border-color: rgba(11, 15, 20, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 60px -30px rgba(15, 23, 42, 0.35),
    0 70px 110px -60px rgba(15, 23, 42, 0.25);
}
[data-theme="light"] .ip-box,
[data-theme="light"] .hash-box { background: rgba(11, 15, 20, 0.03); }
[data-theme="light"] .dl-side,
[data-theme="light"] .spec-quote { background: rgba(11, 15, 20, 0.018); }
[data-theme="light"] .chip { background: rgba(11, 15, 20, 0.03); }
[data-theme="light"] .hero-visual-glow { opacity: 0.55; }
[data-theme="light"] .footer-brand p { color: var(--text-3); }
[data-theme="light"] .copy-btn.is-copied { background: #15803D; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .menu-btn { display: block; }
  .header-actions { margin-left: auto; }
  .header-inner { gap: 16px; }
}

@media (max-width: 980px) {
  .hero { padding-top: 118px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 660px; margin: 0 auto; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-visual { width: min(620px, 100%); margin: 0 auto; }
  .float-card-a { left: -10px; }
  .float-card-b { right: -8px; }
  .hero-stats { margin-top: 34px; }

  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .spec-card { position: static; }
  .about-copy { max-width: 640px; }

  .bento { gap: 12px; }
  .span-7, .span-5, .span-4 { grid-column: span 6; }
  .span-12 { grid-column: span 12; }
  .span-7.card, .span-5.card { min-height: 260px; }
  .card-wide { grid-template-columns: 1fr; gap: 20px; }

  .server-card { grid-template-columns: 1fr; }
  .server-visual { min-height: 280px; order: -1; }
  .server-visual-shade { background: linear-gradient(0deg, var(--surface-solid) 0%, rgba(17, 24, 39, 0) 55%), linear-gradient(180deg, rgba(11, 15, 20, 0.35), transparent 50%); }
  [data-theme="light"] .server-visual-shade { background: linear-gradient(0deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 55%), linear-gradient(180deg, rgba(11, 15, 20, 0.25), transparent 50%); }
  .server-visual-card { left: 16px; bottom: 16px; }

  .roadmap { margin-top: 4px; }
  .rm-line { top: 0; bottom: 0; left: 11px; right: auto; width: 1px; height: auto; }
  .rm-line span { transform: scaleY(0); transform-origin: top center; background: linear-gradient(180deg, var(--green), var(--accent)); }
  .roadmap.in .rm-line span { transform: scaleY(0.6); }
  .rm-list { grid-template-columns: 1fr; gap: 0; }
  .rm-item { padding: 0 0 26px 40px; }
  .rm-item:last-child { padding-bottom: 0; }
  .rm-dot { top: 1px; left: 0; }
  .rm-item p { min-height: 0; margin-bottom: 10px; }

  .download-card { grid-template-columns: 1fr; }
  .dl-side { border-left: 0; border-top: 1px solid var(--line); }
  .dl-side .dl-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .dl-side .hash-box { margin-top: 2px; }

  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-card { min-height: 164px; }

  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .faq-intro { position: static; }
  .faq-intro .body-copy { max-width: 50ch; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 48ch; }
}

@media (max-width: 760px) {
  .header-cta { display: none; }
  .header-inner { height: 44px; }
  .site-header { padding: 14px 0; }
  .site-header.scrolled { padding: 8px 0; }

  .hero { padding-top: 104px; min-height: auto; }
  .hero-grid { padding: 8px 0 0; gap: 36px; }
  .hero-title { font-size: clamp(2.45rem, 9.2vw, 3.4rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-actions { gap: 8px; }
  .hero-visual { width: 100%; }
  .app-window { transform: none; }
  .float-card { font-size: 9.5px; padding: 8px 10px; }
  .float-card-b { display: none; }
  .float-card-a { top: 8%; left: -6px; }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
    padding: 0;
    border-bottom: 0;
  }
  .hero-stats > div {
    padding: 13px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .hero-stats > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .hero-stats > div:nth-child(odd) { padding-right: 16px; }
  .hero-stats dd { font-size: 19px; }

  .section { padding: 62px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sec-desc { max-width: 52ch; margin: 0; font-size: 13px; }
  .sec-head-center { text-align: center; }
  .sec-head-center .sec-desc { margin: 12px auto 0; }
  .sec-title { font-size: clamp(1.85rem, 7vw, 2.5rem); }

  .about-copy .sec-title { margin-bottom: 18px; }
  .lead { font-size: 1rem; }
  .spec-list dd { max-width: 62%; }

  .span-7, .span-5, .span-4, .span-12 { grid-column: span 12; }
  .card { min-height: 0; padding: 21px; }
  .span-7.card, .span-5.card { min-height: 0; }
  .card > p { max-width: none; }
  .mini-mods, .chips, .mini-progress, .swatches, .mini-toggle { margin-top: 18px; padding-top: 0; }
  .mini-progress { margin-top: 22px; }
  .console-mock { margin-top: 4px; }
  .console-body { font-size: 9px; }

  .server-main { padding: 22px; }
  .server-visual { min-height: 220px; }
  .ip-box { padding: 12px 12px 12px 14px; }
  .ip-box code { font-size: 13.5px; }

  .gallery-viewport { aspect-ratio: 4 / 3; }
  .gallery-bottom { grid-template-columns: 1fr; gap: 12px; }
  .gallery-thumbs { overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .gallery-thumbs::-webkit-scrollbar { display: none; }
  .gallery-thumb { width: 58px; height: 36px; flex: none; }
  .gallery-hint { display: none; }
  .gallery-arrow { width: 34px; height: 34px; }
  .gallery-prev { left: 9px; }
  .gallery-next { right: 9px; }
  .gallery-bar-title { display: none; }

  .dl-main, .dl-side { padding: 22px; }
  .dl-side .dl-meta { grid-template-columns: 1fr; }
  .dl-meta dd.mono { font-size: 9px; }

  .social-grid { gap: 10px; }
  .social-card { padding: 17px; min-height: 158px; }
  .social-card h3 { font-size: 15.5px; }
  .social-card p { font-size: 8.5px; letter-spacing: -0.02em; }

  .faq-q { font-size: 13.5px; padding: 15px 0; }
  .faq-panel p { font-size: 12.5px; padding-right: 16px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-top { margin-left: 0; }

  .to-top { right: 16px; bottom: 80px; }
  .toast { bottom: 18px; width: calc(100% - 32px); justify-content: center; }
}

@media (max-width: 480px) {
  .brand-tag { display: none; }
  .header-actions { gap: 6px; }
  .hero { padding-top: 98px; }
  .hero-badge { font-size: 10.5px; }
  .hero-title { font-size: clamp(2.3rem, 11vw, 3rem); margin-top: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { flex-wrap: wrap; row-gap: 5px; }
  .float-card-a { display: none; }

  .ip-box { flex-direction: column; align-items: stretch; gap: 10px; }
  .ip-box .copy-btn { width: 100%; }
  .server-status-row { align-items: flex-start; flex-direction: column; gap: 8px; }

  .gallery-arrow { width: 30px; height: 30px; }
  .gallery-arrow svg { width: 14px; height: 14px; }
  .gallery-counter { font-size: 8px; }

  .dl-alt { display: grid; gap: 8px; }
  .dl-sep { display: none; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-col ul { gap: 7px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-title .line > span { transform: none !important; }
  .hero-anim { opacity: 1 !important; transform: none !important; }
  .reveal-ready { opacity: 1 !important; transform: none !important; }
  .app-window { transform: none; }
  .gallery-slide { transform: none; }
  .roadmap.in .rm-line span { transform: scaleX(0.6); }
}

@media (max-width: 980px) and (prefers-reduced-motion: reduce) {
  .roadmap.in .rm-line span { transform: scaleY(0.6); }
}
