/* =========================================================
   MSoft — msoft.com.es
   Landing de proyectos y descargas
   ========================================================= */

:root {
  --bg-dark: #ffffff;
  --bg-dark-2: #f7f7f7;
  --ink: #1d1f20;
  --slate: #666666;
  --slate-2: #8a8a8a;
  --line: #ededed;
  --line-soft: #f4f4f4;
  --surface: #ffffff;
  --soft: #fafafa;
  --brand: #f6821f;
  --brand-600: #e2700b;
  --cyan: #faad3f;
  --green: #2fb344;
  --lime: #f6c549;
  --radius: 12px;
  --radius-sm: 6px;
  --font-display: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --shadow-card: 0 1px 2px rgba(29,31,32,.06), 0 8px 24px -16px rgba(29,31,32,.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 3px;
}

::selection {
  background: rgba(37, 99, 235, 0.2);
}

.ic {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.ic.gh {
  fill: currentColor;
  stroke: none;
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn .ic {
  width: 17px;
  height: 17px;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(37, 99, 235, 0.9);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -14px rgba(37, 99, 235, 0.95);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 34px -22px rgba(2, 6, 23, 0.9);
}

.btn-light:hover {
  transform: translateY(-1px);
  background: #f2f6ff;
}

.btn-soft {
  background: #eef3fb;
  border-color: #dbe6f7;
  color: #1d4ed8;
}

.btn-soft:hover {
  background: #e3ecfa;
  border-color: #c3d7f5;
}

.btn-sm {
  padding: 9px 14px;
  font-size: 13px;
  border-radius: 10px;
}

.btn-lg {
  padding: 15px 22px;
  font-size: 15px;
  border-radius: 13px;
}

.btn.is-disabled,
.btn[disabled] {
  background: #e9eef7;
  border-color: #dde5f0;
  color: #7b8aa0;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 20, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 11, 20, 0.97);
  box-shadow: 0 18px 36px -28px rgba(0, 0, 0, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand-dot {
  color: #22d3ee;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 18px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: #c6d2e2;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #e2e8f0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 96px;
  background: var(--bg-dark);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 24%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 24%, #000 25%, transparent 72%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 320px at 80% 12%, rgba(37, 99, 235, 0.38), transparent 70%),
    radial-gradient(520px 320px at 6% 88%, rgba(6, 182, 212, 0.16), transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 58px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow-light {
  color: #93c5fd;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2.2s infinite;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(2.5rem, 5.1vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: #fff;
}

.grad {
  background: linear-gradient(100deg, #60a5fa 0%, #22d3ee 52%, #a3e635 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 560px;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.65;
  color: #a9b7cc;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #cbd5e1;
}

.hero-points .ic {
  width: 15px;
  height: 15px;
  color: #4ade80;
  stroke-width: 2.4;
}

/* Mockup McCleaner */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.app-window {
  position: relative;
  width: min(100%, 512px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  background: #0b1526;
  box-shadow: 0 48px 100px -34px rgba(2, 6, 23, 0.95);
  overflow: hidden;
  transform: rotate(-1.2deg);
}

.app-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.app-dots {
  display: flex;
  gap: 6px;
}

.app-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #334155;
}

.app-dots i:nth-child(1) { background: rgba(248, 113, 113, 0.75); }
.app-dots i:nth-child(2) { background: rgba(251, 191, 36, 0.75); }
.app-dots i:nth-child(3) { background: rgba(52, 211, 153, 0.75); }

.app-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
}

.app-pill {
  margin-left: auto;
  padding: 4px 9px;
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.12);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #a5f3fc;
}

.app-body {
  padding: 18px;
}

.app-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 14px;
  background: linear-gradient(135deg, #122643 0%, #0d1b31 100%);
}

.app-kicker {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #60a5fa;
}

.app-heading {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}

.app-sub {
  margin-top: 4px;
  font-size: 11.5px;
  color: #94a3b8;
}

.app-ring {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: conic-gradient(from -90deg, #22d3ee 0 68%, rgba(148, 163, 184, 0.16) 68% 100%);
}

.app-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #0e1c31;
}

.app-ring span {
  position: relative;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: #e2e8f0;
}

.app-ring i {
  font-style: normal;
  font-size: 10px;
  color: #94a3b8;
}

.app-log {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 12px;
  background: #081120;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 11px;
  color: #86efac;
}

.app-log .ok {
  margin-right: 6px;
  color: #34d399;
}

.app-log .dim {
  color: #64748b;
}

.app-log .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: #22d3ee;
  animation: blink 1.4s infinite;
}

.app-progress {
  height: 6px;
  margin-top: 12px;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.14);
  overflow: hidden;
}

.app-progress span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #2563eb, #22d3ee);
}

.float-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 20px 40px -24px rgba(2, 6, 23, 0.6);
  font-size: 12px;
  font-weight: 600;
  color: #0b1220;
  white-space: nowrap;
}

.float-badge .ic {
  width: 15px;
  height: 15px;
  color: var(--brand);
}

.float-a {
  top: -16px;
  left: -14px;
}

.float-b {
  right: -16px;
  bottom: 30px;
}

.float-b .ic {
  color: #ca8a04;
}

/* ---------- Métricas ---------- */

.metrics {
  background: #080e19;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 26px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.metric span {
  font-size: 12.5px;
  color: #94a3b8;
}

/* ---------- Secciones ---------- */

.section {
  padding: 92px 0;
}

.projects {
  background: #fff;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 36px;
}

.section-head-copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.55rem);
  letter-spacing: -0.03em;
}

.section-head-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 12px;
  font-size: 15px;
  color: var(--slate);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 4px;
}

.chip {
  padding: 9px 15px;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.chip:hover {
  border-color: #b9cff5;
  color: var(--brand-600);
}

.chip.is-active {
  background: #e8f0fe;
  border-color: #bcd3fb;
  color: var(--brand-600);
}

/* ---------- Tarjetas de proyecto ---------- */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: #cddcf3;
  box-shadow: 0 32px 60px -36px rgba(15, 23, 42, 0.5);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.project-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #fff;
  box-shadow: 0 14px 26px -16px rgba(37, 99, 235, 0.85);
}

.project-icon .ic {
  width: 26px;
  height: 26px;
}

/* Captura de la app abierta (tarjetas y ficha) */
.app-shot {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafafa;
}

.app-shot-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-shot-dialog {
  margin-bottom: 18px;
}

.project-icon.accent-violet {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.project-icon.accent-slate {
  background: linear-gradient(135deg, #334155, #0f172a);
}

.project-icon.accent-green {
  background: linear-gradient(135deg, #059669, #22d3ee);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-live {
  background: #e7f6ec;
  color: #15803d;
}

.badge-soon {
  background: #fef3e2;
  color: #b45309;
}

.project-card h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
}

.project-tagline {
  margin-top: -6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
}

.project-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--slate);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-list li {
  padding: 5px 9px;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 11.5px;
  font-weight: 500;
  color: #55647a;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: #64748b;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-item .ic {
  width: 15px;
  height: 15px;
  color: #8fa0b6;
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}

.card-actions .btn {
  flex: 1;
  min-width: 0;
}

.card-actions .btn-primary,
.card-actions .btn-soft {
  padding-left: 12px;
  padding-right: 12px;
}

.project-card.is-soon {
  border-style: dashed;
  border-color: #cbd8e8;
  background: linear-gradient(160deg, #fbfdff 0%, #f2f7fd 100%);
  box-shadow: none;
}

.project-card.is-soon:hover {
  transform: none;
  border-color: #a9c4e6;
  box-shadow: none;
}

.project-card.is-soon .project-icon {
  background: linear-gradient(135deg, #dbe7f6, #c9dcf2);
  color: #3b5b85;
  box-shadow: none;
}

.soon-list {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.soon-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--slate);
}

.soon-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
}

.noscript {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid #fde68a;
  border-radius: 12px;
  background: #fffbeb;
  font-size: 13.5px;
  color: #92400e;
}

/* ---------- Ventajas ---------- */

.advantages {
  background: var(--soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.advantage {
  padding: 22px;
  border: 1px solid #e5ecf6;
  border-radius: 18px;
  background: #fff;
}

.advantage-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 15px;
  border-radius: 12px;
  background: #e8f0fe;
  color: var(--brand);
}

.advantage-icon .ic {
  width: 21px;
  height: 21px;
}

.advantage h3 {
  font-size: 15.5px;
  letter-spacing: -0.01em;
}

.advantage p {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--slate);
}

/* ---------- CTA descargas ---------- */

.releases {
  padding: 72px 0;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 46px;
  border-radius: 26px;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(6, 182, 212, 0.22), transparent 65%),
    linear-gradient(120deg, #0b1220 0%, #12294f 58%, #0e3a5c 100%);
  box-shadow: 0 40px 80px -45px rgba(2, 6, 23, 0.8);
}

.cta-copy h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  color: #fff;
}

.cta-copy p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 12px;
  font-size: 14px;
  color: #b6c6dc;
}

.cta-copy .eyebrow {
  margin-bottom: 10px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: none;
}

/* ---------- Sobre ---------- */

.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.about-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
}

.about-copy p:not(.eyebrow) {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--slate);
}

.principles {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid #e3eaf4;
  border-radius: var(--radius);
  background: var(--soft);
}

.principles li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.principle-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e7f6ec;
  color: #15803d;
}

.principle-icon .ic {
  width: 17px;
  height: 17px;
}

.principles strong {
  display: block;
  font-size: 14px;
}

.principles span:not(.principle-icon) {
  display: block;
  margin-top: 1px;
  font-size: 12.5px;
  color: var(--slate);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 62px 0 26px;
  background: var(--bg-dark);
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: 40px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 320px;
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-domain {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 10px;
  border: 1px solid rgba(147, 197, 253, 0.25);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  font-size: 12px;
  color: #93c5fd;
}

.footer-col h3 {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e2e8f0;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 13.5px;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 12.5px;
  color: #64748b;
}

/* ---------- Ficha / diálogo ---------- */

.project-dialog {
  width: min(680px, calc(100vw - 32px));
  max-height: 86vh;
  padding: 0;
  border: none;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 50px 120px -40px rgba(2, 6, 23, 0.7);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #c7d3e5 transparent;
}

.project-dialog::backdrop {
  background: rgba(4, 8, 16, 0.64);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.project-dialog[open] {
  animation: dialog-in 0.24s ease both;
}

.dialog-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.dialog-heading {
  min-width: 0;
}

.dialog-heading .badge {
  margin-bottom: 6px;
}

.dialog-heading h2 {
  font-size: 23px;
}

.dialog-heading p {
  margin-top: 3px;
  font-size: 13px;
  color: var(--slate);
}

.dialog-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--slate);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.dialog-close:hover {
  background: #fdecec;
  border-color: #f6c9c9;
  color: #b91c1c;
}

.dialog-close .ic {
  width: 16px;
  height: 16px;
}

.dialog-body {
  padding: 20px 24px 4px;
}

.dialog-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate);
}

.dialog-body h3 {
  margin: 20px 0 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-2);
}

.feature-list {
  display: grid;
  gap: 9px;
}

.feature-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13.5px;
  color: #334155;
}

.feature-list .ic {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--green);
  stroke-width: 2.2;
}

.dialog-meta {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--soft);
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 12.5px;
}

.meta-row span:first-child {
  color: var(--slate-2);
}

.meta-row span:last-child {
  font-weight: 600;
  text-align: right;
  color: #334155;
}

.dialog-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--slate-2);
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 24px 24px;
}

.dialog-actions .btn {
  flex: 1 1 220px;
  min-width: 0;
}

/* ---------- Animaciones ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */

.error-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 40px 20px;
  background:
    radial-gradient(620px 320px at 80% 12%, rgba(37, 99, 235, 0.35), transparent 70%),
    var(--bg-dark);
  color: #fff;
  text-align: center;
}

.error-page .brand {
  justify-content: center;
  margin-bottom: 26px;
}

.error-page .error-code {
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(100deg, #60a5fa, #22d3ee, #a3e635);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page h1 {
  margin-top: 14px;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
}

.error-page p {
  max-width: 460px;
  margin: 12px auto 0;
  font-size: 14.5px;
  color: #a9b7cc;
}

.error-page .btn {
  margin-top: 26px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-visual {
    justify-content: center;
  }

  .app-window {
    transform: none;
    width: min(100%, 560px);
  }

  .float-a {
    left: 4px;
  }

  .float-b {
    right: 4px;
  }

  .advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .principles {
    max-width: 560px;
  }
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 14px 20px 18px;
    background: #0b1220;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 26px 44px -24px rgba(0, 0, 0, 0.75);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 10px;
    border-radius: 10px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 64px 0 78px;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    padding: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }

  .header-inner {
    height: 62px;
    gap: 14px;
  }

  .header-cta {
    display: none;
  }

  .lead {
    font-size: 15.5px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-points {
    gap: 12px;
    font-size: 12.5px;
  }

  .float-badge {
    display: none;
  }

  .app-body {
    padding: 12px;
  }

  .app-hero {
    padding: 14px;
  }

  .app-ring {
    width: 68px;
    height: 68px;
  }

  .app-ring::before {
    inset: 7px;
  }

  .app-log {
    font-size: 10px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

  .metric strong {
    font-size: 22px;
  }

  .project-card {
    padding: 20px;
  }

  .card-actions {
    flex-direction: column;
  }

  .card-actions .btn {
    width: 100%;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 28px 22px;
    border-radius: 20px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1;
    min-width: 140px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .dialog-head {
    padding: 20px 18px 16px;
  }

  .dialog-body {
    padding: 18px 18px 4px;
  }

  .dialog-actions {
    padding: 16px 18px 20px;
  }

  .project-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .project-icon .ic {
    width: 22px;
    height: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Acentos adicionales de proyecto ---------- */
.project-icon.accent-red {
  background: linear-gradient(135deg, #dc2626, #f97316);
}
.project-icon.accent-amber {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}
.project-icon.accent-green {
  background: linear-gradient(135deg, #059669, #10b981);
}
.project-icon.accent-cyan {
  background: linear-gradient(135deg, #0891b2, #22d3ee);
}

/* ---------- Donaciones ---------- */
.donate {
  padding-top: 10px;
}
.donate-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 34px 36px;
  border: 1px solid #dbe6f5;
  border-radius: 24px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 55%, #ffffff 100%);
  box-shadow: 0 30px 60px -40px rgba(37, 99, 235, 0.35);
}
.donate-copy p:not(.eyebrow) {
  margin-top: 10px;
  color: var(--slate);
  font-size: 14.5px;
  line-height: 1.7;
}
.donate-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.donate-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #334155;
}
.donate-points .ic {
  color: #16a34a;
  width: 18px;
  height: 18px;
}
.donate-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  justify-content: center;
}
.btn-donate {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 16px 22px;
}
.btn-donate-inline {
  width: auto;
  font-size: 13.5px;
  padding: 10px 15px;
}
.footer-donate-col { max-width: 300px; }
.footer-donate-text {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #666;
}
.footer-donate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.donate-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: 86vh;
  padding: 0;
  border: 1px solid #ededed;
  border-radius: 24px;
  background: #fff;
  color: #1d1f20;
  box-shadow: 0 50px 120px -40px rgba(2, 6, 23, 0.7);
  overflow: auto;
}
.donate-dialog::backdrop {
  background: rgba(29, 31, 32, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.donate-dialog[open] { animation: dialog-in 0.24s ease both; }
.donate-dialog-icon { background: #fff7e0; color: #d19000; }
.donate-dialog-body p { font-size: 14px; line-height: 1.65; }
.donate-dialog-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 14px;
}
.donate-dialog-actions .btn { width: 100%; justify-content: center; }
.donate-note {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.6;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 10px 12px;
}
.donate-note code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  background: #f1f5f9;
  padding: 1px 5px;
  border-radius: 6px;
  color: #334155;
}
#donar:not(.no-donate-url) .donate-note {
  display: none;
}

@media (max-width: 900px) {
  .donate-card {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }
}

/* ---------- Búsqueda de proyectos ---------- */
.projects-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  background: #fff;
  min-width: 240px;
}
.search-wrap .ic { color: #7b8aa0; }
.search-input {
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
  width: 100%;
}
.search-input::placeholder { color: #94a3b8; }
@media (max-width: 900px) {
  .projects-controls { align-items: stretch; width: 100%; }
  .search-wrap { min-width: 0; width: 100%; }
}

/* ---------- Estado vacío ---------- */
.empty-state {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  color: #64748b;
  font-size: 14px;
  text-align: center;
}

/* ---------- Volver arriba ---------- */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(11, 18, 32, 0.9);
  color: #e2e8f0;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 18px 36px -20px rgba(2,6,23,0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 40;
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
}
.back-to-top:hover { transform: translateY(-2px); background: rgba(37,99,235,0.95); }
.back-to-top[hidden] { display: none; }
.back-to-top .ic { width: 18px; height: 18px; }

/* ---------- Categoría en tarjeta ---------- */
.card-top-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.project-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: 999px;
}

.search-clear {
  border: none;
  background: transparent;
  padding: 2px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #7b8aa0;
  border-radius: 6px;
}
.search-clear:hover { color: #334155; background: #f1f5f9; }
.search-clear[hidden] { display: none; }
.search-clear .ic { width: 14px; height: 14px; }

.empty-state .btn { margin-top: 10px; }

/* ---------- Dialog: detalles extendidos ---------- */
.dialog-longdesc[hidden], .dialog-extra[hidden], .dialog-changelog[hidden] { display: none; }
.dialog-longdesc p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate);
}
.dialog-longdesc p:first-child { margin-top: 0; }
.dialog-extra {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}
.dialog-extra h4 {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-2);
}
.dialog-extra p, .dialog-extra li {
  font-size: 13.5px;
  line-height: 1.6;
  color: #334155;
}
.dialog-extra ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  display: grid;
  gap: 4px;
}
.dialog-changelog {
  margin-top: 18px;
}
.dialog-changelog h3 {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-2);
}
.changelog-entry p {
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}
.changelog-entry {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}
.changelog-entry + .changelog-entry { margin-top: 10px; }
.changelog-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.changelog-version {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
}
.changelog-date {
  font-size: 12px;
  color: var(--slate-2);
}
.changelog-title {
  font-size: 13px;
  color: #334155;
  margin-bottom: 6px;
}
.changelog-list {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  display: grid;
  gap: 4px;
}
.changelog-list li {
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
}

/* ---------- Publicidad ---------- */
.ad-section {
  padding-top: 24px;
  padding-bottom: 24px;
}
.ad-section-bottom {
  padding-top: 8px;
  padding-bottom: 72px;
}
.ad-card {
  border: 1px solid #e5edf8;
  border-radius: 20px;
  background: linear-gradient(180deg, #fbfdff 0%, #f6faff 100%);
  padding: 22px 24px;
}
.ad-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.ad-header .eyebrow {
  margin-bottom: 0;
}
.ad-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  background: #eef2f7;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 4px 10px;
}
.ad-slot {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 22px 18px;
  border: 1px dashed #cbd8ea;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}
.ad-placeholder-title {
  font-family: var(--font-display);
  font-size: 16px;
  color: #334155;
}
.ad-placeholder-text {
  max-width: 720px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #64748b;
}
.ad-disclaimer {
  margin-top: 10px;
  font-size: 12px;
  color: #7b8aa0;
}
@media (max-width: 600px) {
  .ad-card {
    padding: 18px 16px;
  }
  .ad-slot {
    min-height: 100px;
    padding: 16px 14px;
  }
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.faq-item {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 600;
  color: #e7edf7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(148, 163, 184, 0.14);
  color: #cfe0ff;
  font-size: 16px;
  line-height: 1;
}
.faq-item[open] summary::after { content: "-"; }
.faq-answer {
  padding: 0 18px 16px;
  color: #a9bdd8;
  line-height: 1.65;
  font-size: 14.5px;
}
.faq-answer p { margin: 0; }
.faq-answer p + p { margin-top: 8px; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* Support & Legal */
.support-grid, .legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.info-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
}
.info-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #eaf2ff;
}
.info-card p {
  margin: 0 0 10px;
  color: #a9bdd8;
  line-height: 1.65;
  font-size: 14.5px;
}
.info-card p:last-child { margin-bottom: 0; }
.muted-note {
  color: #8ea4c2;
  font-size: 13.5px;
}
@media (max-width: 980px) {
  .support-grid, .legal-grid { grid-template-columns: 1fr; }
}

/* Download details in dialog */
.download-details { margin-top: 14px; }
.dl-detail-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.dl-detail-item { border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 12px; padding: 12px; background: rgba(255,255,255,0.02); }
.dl-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.dl-detail-head strong { color: #eaf2ff; font-size: .95rem; }
.dl-state { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.dl-state.is-ok { color: #86efac; background: rgba(34,197,94,.12); }
.dl-state.is-pending { color: #fcd34d; background: rgba(245,158,11,.12); }
.dl-meta { color: #9fb3cd; font-size: 13px; line-height: 1.6; word-break: break-word; }
.dl-notes { margin-top: 4px; color: #a9bdd8; font-size: 13.5px; }
.hash-code { font-size: 12px; background: rgba(15,23,42,.45); padding: 2px 6px; border-radius: 6px; color: #d7e6ff; word-break: break-all; }


/* ============================================================
   MSoft — tema claro con acento naranja (estilo Cloudflare)
   Se aplica por encima de la paleta azul original.
   ============================================================ */
html { scroll-padding-top: 80px; }
body { background: linear-gradient(180deg,#ffffff 0%,#fafafa 100%) !important; color: #1d1f20 !important; }
a { color: #1d1f20; }
:focus-visible { outline-color: rgba(246,130,31,.55) !important; }
::selection { background: rgba(246,130,31,.18) !important; }

.btn { border-radius: 6px !important; }
.btn-primary { background: #f6821f !important; color: #fff !important; box-shadow: 0 10px 24px -14px rgba(246,130,31,.9) !important; }
.btn-primary:hover { background: #e2700b !important; }
.btn-ghost { background: #fff !important; border-color: #ededed !important; color: #1d1f20 !important; }
.btn-ghost:hover { background: #fff7ee !important; border-color: rgba(246,130,31,.45) !important; }
.btn-light { background: #fff !important; color: #1d1f20 !important; }
.btn-light:hover { background: #fff7ee !important; }
.btn-soft { background: rgba(246,130,31,.10) !important; border-color: rgba(246,130,31,.32) !important; color: #a85000 !important; }
.btn-soft:hover { background: rgba(246,130,31,.16) !important; }
.btn.is-disabled, .btn[disabled] { background: #f4f4f4 !important; border-color: #ededed !important; color: #8a8a8a !important; }

.site-header, .site-header.is-scrolled { background: rgba(255,255,255,.94) !important; border-bottom-color: #ededed !important; box-shadow: 0 1px 0 #ededed !important; }
.brand-name { color: #1d1f20 !important; }
.brand-dot { color: #f6821f !important; }
.nav a { color: #36393a !important; }
.nav a:hover { color: #b85a00 !important; background: rgba(246,130,31,.08) !important; }
.nav-toggle { border-color: #ededed !important; background: #fff !important; }
.nav-toggle span { background: #1d1f20 !important; }

.hero { background: linear-gradient(120deg,#f6821f 0%,#faad3f 100%) !important; color: #fff !important; }
.hero::before, .hero::after { background: #fff !important; opacity: .12 !important; }
.eyebrow { color: #f6821f !important; }
.eyebrow-light { color: rgba(255,255,255,.92) !important; }
.pulse { background: #fff !important; box-shadow: 0 0 0 6px rgba(255,255,255,.16) !important; }
.hero h1 { color: #fff !important; }
.grad { background: none !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
.lead, .hero-points li { color: rgba(255,255,255,.96) !important; }
.hero-points .ic { color: #fff !important; background: rgba(255,255,255,.18) !important; }
.app-window { background: #fff !important; border-color: #ededed !important; }
.app-titlebar { background: #fafafa !important; border-color: #ededed !important; }
.app-title { color: #1d1f20 !important; }
.app-pill { background: rgba(246,130,31,.10) !important; color: #a85000 !important; }
.app-body { background: #fff !important; }
.app-hero { background: linear-gradient(135deg,#f6821f,#faad3f) !important; }
.app-kicker, .app-sub { color: rgba(255,255,255,.9) !important; }
.app-heading { color: #fff !important; }
.app-ring { border-color: rgba(246,130,31,.25) !important; }
.app-ring::before { border-top-color: #f6821f !important; }
.app-ring span { color: #1d1f20 !important; }
.app-ring i { color: #666666 !important; }
.app-log { background: #fafafa !important; border-color: #ededed !important; }
.app-log .ok { color: #2fb344 !important; }
.app-log .dim { color: #8a8a8a !important; }
.app-log .dot { color: #f6821f !important; }
.app-progress { background: #ededed !important; }
.app-progress span { background: #f6821f !important; }
.float-badge { background: #fff !important; border-color: #ededed !important; color: #1d1f20 !important; }
.float-badge .ic { color: #f6821f !important; }

.metrics { background: #fff !important; border-color: #ededed !important; }
.metric { background: #fff !important; border-color: #ededed !important; }
.metric strong { color: #1d1f20 !important; }
.metric span { color: #666666 !important; }
.projects, .advantages, .releases, .about, .donate, .faq, .support, .legal { background: #fff !important; }
.section-head-copy h2, .about-copy h2 { color: #1d1f20 !important; }
.section-head-copy p:not(.eyebrow), .about-copy p:not(.eyebrow) { color: #666666 !important; }
.chip { background: #fff !important; border-color: #ededed !important; color: #36393a !important; }
.chip:hover, .chip.is-active { background: #fff7ee !important; border-color: rgba(246,130,31,.45) !important; color: #a85000 !important; }

.project-card { background: #fff !important; border-color: #ededed !important; box-shadow: 0 1px 2px rgba(29,31,32,.06), 0 8px 24px -16px rgba(29,31,32,.18) !important; }
.project-card:hover { border-color: rgba(246,130,31,.45) !important; }
.card-top { border-bottom-color: #ededed !important; }
.project-icon, .project-icon.accent-violet, .project-icon.accent-slate, .project-icon.accent-green, .project-icon.accent-red, .project-icon.accent-amber, .project-icon.accent-cyan { background: rgba(246,130,31,.10) !important; color: #f6821f !important; }
.badge { border-color: #ededed !important; }
.badge-live { background: #e8f7ed !important; color: #1f7a35 !important; }
.badge-soon { background: #fff7e0 !important; color: #8a5a00 !important; }
.project-card h3 { color: #1d1f20 !important; }
.project-tagline { color: #a85000 !important; }
.project-desc { color: #666666 !important; }
.tag-list li, .meta-item { background: #fafafa !important; border-color: #ededed !important; color: #666666 !important; }
.card-actions { border-top-color: #ededed !important; }
.project-category { background: #fff7e0 !important; color: #8a5a00 !important; }
.app-shot, .app-shot-dialog { background: #fafafa !important; border-color: #ededed !important; }
.soon-list li { color: #666666 !important; }
.soon-dot { background: #f6c549 !important; }

.advantage { background: #fff !important; border-color: #ededed !important; }
.advantage-icon { background: rgba(246,130,31,.10) !important; color: #f6821f !important; }
.advantage h3 { color: #1d1f20 !important; }
.advantage p { color: #666666 !important; }
.cta-band { background: linear-gradient(120deg,#f6821f,#faad3f) !important; }
.cta-copy h2, .cta-copy .eyebrow { color: #fff !important; }
.cta-copy p:not(.eyebrow) { color: rgba(255,255,255,.94) !important; }
.principles li, .info-card { background: #fff !important; border-color: #ededed !important; }
.principle-icon { background: rgba(246,130,31,.10) !important; color: #f6821f !important; }
.principles strong { color: #1d1f20 !important; }
.principles span:not(.principle-icon), .info-card p, .muted-note { color: #666666 !important; }
.faq-item { background: #fff !important; border-color: #ededed !important; }
.faq-item summary { color: #1d1f20 !important; }
.faq-item summary::after { color: #f6821f !important; }
.faq-answer { color: #666666 !important; }

.site-footer { background: #fff !important; border-top-color: #ededed !important; }
.footer-brand p, .footer-col a, .footer-bottom { color: #666666 !important; }
.footer-col h3 { color: #1d1f20 !important; }
.footer-col a:hover { color: #f6821f !important; }
.footer-domain { color: #f6821f !important; }

.project-dialog { background: #fff !important; border-color: #ededed !important; color: #1d1f20 !important; }
.project-dialog::backdrop { background: rgba(29,31,32,.5) !important; backdrop-filter: blur(3px); }
.dialog-head { border-bottom-color: #ededed !important; }
.dialog-heading h2, .dialog-extra h4, .changelog-title { color: #1d1f20 !important; }
.dialog-heading p, .dialog-desc, .dialog-body h3, .dialog-longdesc p, .dialog-extra p, .dialog-extra li, .changelog-entry p, .changelog-list li { color: #36393a !important; }
.dialog-close { background: #fafafa !important; border-color: #ededed !important; color: #36393a !important; }
.feature-list li { color: #36393a !important; }
.feature-list .ic { color: #f6821f !important; }
.dialog-meta, .dl-detail-item { background: #fafafa !important; border-color: #ededed !important; }
.meta-row span:first-child { color: #666666 !important; }
.meta-row span:last-child { color: #1d1f20 !important; }
.dialog-note { background: #fff7e0 !important; border-color: #f6c549 !important; color: #8a5a00 !important; }
.dl-detail-head strong { color: #1d1f20 !important; }
.dl-state.is-ok { color: #1f7a35 !important; background: #e8f7ed !important; }
.dl-state.is-pending { color: #8a5a00 !important; background: #fff7e0 !important; }
.dl-meta, .dl-notes { color: #666666 !important; }
.hash-code { background: #fafafa !important; color: #a85000 !important; }
.changelog-version { color: #f6821f !important; }
.changelog-date { color: #8a8a8a !important; }

.donate-card { background: #fff !important; border-color: #ededed !important; }
.btn-donate { background: #f6c549 !important; border-color: #e0ad21 !important; color: #1d1f20 !important; box-shadow: none !important; }
.btn-donate:hover { background: #e8b62f !important; border-color: #d19a12 !important; }
.btn-donate-alt { background: #fff !important; border-color: rgba(246,130,31,.55) !important; color: #a85000 !important; box-shadow: none !important; }
.btn-donate-alt:hover { background: #fff7ee !important; border-color: #f6821f !important; color: #8a4600 !important; }
.donate-note { color: #666666 !important; }

.search-wrap { background: #fff !important; border-color: #ededed !important; }
.search-wrap .ic { color: #8a8a8a !important; }
.search-input { background: #fff !important; border-color: #ededed !important; color: #1d1f20 !important; }
.search-input::placeholder { color: #8a8a8a !important; }
.search-clear { color: #666666 !important; }
.search-clear:hover { color: #1d1f20 !important; background: #fafafa !important; }
.empty-state { background: #fff !important; border-color: #ededed !important; color: #666666 !important; }
.back-to-top { background: #f6821f !important; color: #fff !important; }
.back-to-top:hover { background: #e2700b !important; }
.ad-card { background: #fff !important; border-color: #ededed !important; }
.ad-header .eyebrow { color: #f6821f !important; }
.ad-label, .ad-placeholder-title, .ad-placeholder-text, .ad-disclaimer { color: #666666 !important; }
.ad-slot { background: #fafafa !important; border-color: #ededed !important; }

.error-page { background: #fff !important; color: #1d1f20 !important; }
.error-page h1, .error-page .error-code { color: #f6821f !important; }
.error-page p { color: #666666 !important; }

/* Iconos de plataforma en las descargas */
.ic-platform { width: 18px; height: 18px; flex: none; }
.ic-platform.is-brand { fill: currentColor; stroke: none; }
.dl-platform { display: inline-flex; align-items: center; gap: 6px; }
.dialog-actions .btn .ic-platform { width: 16px; height: 16px; }
