/* ═══════════════════════════════════════════════════════════════
   MARD SYSTEMS — v2 · 2026
   Cinematográfica · Mono display + Sans · Rojo como acento crítico
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Colors */
  --ink: #0a0a0a;
  --ink-2: #1a1a1a;
  --ink-3: #2a2a2a;
  --paper: #f5f3ee;
  --paper-2: #ebe8e0;
  --paper-3: #ffffff;
  --rule: rgba(10, 10, 10, 0.12);
  --rule-light: rgba(10, 10, 10, 0.06);
  --rule-dark: rgba(255, 255, 255, 0.12);
  --rule-dark-2: rgba(255, 255, 255, 0.06);
  --muted: #6b6b6b;
  --muted-dark: #999999;
  --red: #d92038;
  --red-soft: #f5e6e8;

  /* Type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-body: "Inter", system-ui, sans-serif;

  /* Layout */
  --container: 1360px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--red); color: #fff; }

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Themed sections */
.dark { background: var(--ink); color: #f5f3ee; }
.dark .mono-eyebrow { color: var(--muted-dark); }

/* ─── PRELOADER ─────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.fade-out { opacity: 0; visibility: hidden; }
.preload-marquee {
  font-family: var(--font-mono);
  color: #fff;
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  white-space: nowrap;
  animation: preloadSlide 1.4s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}
.preload-marquee span { color: var(--red); }
@keyframes preloadSlide {
  0% { transform: translateX(-15%); }
  100% { transform: translateX(15%); }
}

/* ─── SCROLL PROGRESS ───────────────────────────────────────── */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--red);
  z-index: 2000;
  transition: width 0.08s linear;
}

/* ─── CUSTOM CURSOR (desktop) ───────────────────────────────── */
.cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}
.cursor-dot.hover { width: 32px; height: 32px; background: #fff; }
@media (max-width: 900px), (pointer: coarse) {
  .cursor-dot { display: none; }
}

/* ─── NAVBAR ────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.5rem 0;
  transition: background 0.3s ease, border 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(245, 243, 238, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--rule);
  padding: 0.3rem 0;
}
.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nav-logo .logo-img {
  height: 130px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}
.nav-logo:hover .logo-img { transform: scale(1.04); }
#navbar.scrolled .nav-logo .logo-img { height: 95px; }
.nav-links {
  display: flex;
  gap: 2.25rem;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 0.5rem 0;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width 0.3s cubic-bezier(0.7, 0, 0.3, 1);
}
.nav-links a:hover::after, .nav-links a.nav-active::after { width: 100%; }
.nav-links a.nav-active { color: var(--red); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--red); }
.nav-cta::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red);
  animation: pulseDot 1.6s ease-in-out infinite;
}
.nav-cta:hover::before { background: #fff; box-shadow: 0 0 8px #fff; }
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hamburger {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

/* ─── UTILITIES ─────────────────────────────────────────────── */
.mono-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.mono-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--red);
  display: inline-block;
}
.mono-eyebrow.no-dot::before { display: none; }

.section-header {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: end;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.dark .section-header { border-bottom-color: var(--rule-dark); }
.section-header .sh-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.section-header h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.section-header .sh-sub {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.55;
}
.dark .section-header .sh-sub { color: var(--muted-dark); }

@media (max-width: 800px) {
  .section-header { grid-template-columns: 1fr; gap: 1rem; }
}

section { padding: clamp(3rem, 5vw, 5.5rem) 0; position: relative; }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
#hero {
  background: var(--paper);
  min-height: 100vh;
  padding: 8rem 0 4rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: end;
  padding-top: 4rem;
}
.hero-left { position: relative; z-index: 2; }
.hero-tag-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}
.hero-tag-row .live {
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.hero-tag-row .live::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(217, 32, 56, 0.15);
  animation: pulseDot 1.4s ease-in-out infinite;
}
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 7vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin-bottom: 2.5rem;
  text-wrap: balance;
}
.hero-h1 .strike {
  position: relative;
  display: inline-block;
}
.hero-h1 .strike::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%;
  top: 54%;
  height: 6px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  animation: strikeIn 0.9s cubic-bezier(0.7, 0, 0.3, 1) 1.6s forwards;
}
@keyframes strikeIn { to { transform: scaleX(1); } }
.hero-h1 em {
  font-style: italic;
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-weight: 400;
  color: var(--red);
}
.hero-typewriter-line {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
#typewriter-text { color: var(--ink); font-weight: 500; }
.tw-cursor {
  color: var(--red);
  animation: blink 0.8s step-end infinite;
}
@keyframes blink { 0%,100%{ opacity:1; } 50%{ opacity:0; } }

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 999px;
  transition: transform 0.3s cubic-bezier(0.7, 0, 0.3, 1), background 0.2s, color 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary::after {
  content: '→';
  font-family: var(--font-display);
  font-size: 1rem;
  transition: transform 0.3s;
}
.btn-primary:hover::after { transform: translateX(4px); }
.btn-primary:hover { background: var(--red); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.dark .btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--red); color: #fff; }

/* Hero right column — big number block */
.hero-right {
  position: relative;
  z-index: 2;
}
.hero-bignum {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(8rem, 18vw, 18rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--ink);
  position: relative;
  display: flex;
  align-items: flex-start;
}
.hero-bignum .pct {
  font-size: 0.45em;
  margin-top: 0.5em;
  margin-left: 0.05em;
  color: var(--red);
}
.hero-bignum .underline {
  position: absolute;
  bottom: -8px; left: 0;
  height: 4px;
  background: var(--red);
  width: 100%;
}
.hero-rightlabel {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 1.5rem;
  max-width: 28ch;
  line-height: 1.5;
}
.hero-rightlabel strong { color: var(--ink); font-weight: 600; }

.hero-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: clamp(2rem, 4vw, 4rem);
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.hero-stat .num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hero-stat .num .sym { color: var(--red); }
.hero-stat .lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.hero-scrollhint {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-scrollhint::after {
  content: '↓';
  animation: scrollHint 1.4s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-right { display: flex; justify-content: flex-start; }
  .hero-bottom-row { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════
   SECTORS MARQUEE (slim band)
   ═══════════════════════════════════════════════════════════════ */
#sectors {
  padding: 1.75rem 0;
  background: var(--ink);
  color: #fff;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  overflow: hidden;
}
.sectors-row {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  align-items: center;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.sector-item {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}
.sector-item::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--red);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   MANIFESTO (light, big type)
   ═══════════════════════════════════════════════════════════════ */
#manifesto {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 4rem;
  align-items: start;
}
.manifesto-left {
  position: sticky;
  top: 8rem;
}
.manifesto-left .index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.manifesto-left h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.manifesto-right p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 2.5rem;
  text-wrap: pretty;
}
.manifesto-right p:last-child { margin-bottom: 0; }
.manifesto-right .highlight {
  background: var(--red);
  color: #fff;
  padding: 0 0.2em;
}
.manifesto-right em {
  font-style: italic;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  color: var(--red);
}
@media (max-width: 800px) {
  .manifesto-grid { grid-template-columns: 1fr; gap: 2rem; }
  .manifesto-left { position: static; }
}

/* ═══════════════════════════════════════════════════════════════
   SERVICIOS (bento)
   ═══════════════════════════════════════════════════════════════ */
#servicios {
  background: var(--paper-3);
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1rem;
}
.bento-card {
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 1.75rem;
  background: var(--paper);
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1), border-color 0.3s, background 0.3s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
}
.bento-card .num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}
.bento-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.bento-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}
.bento-card .features {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--ink);
}
.bento-card .features li {
  padding-left: 1rem;
  position: relative;
}
.bento-card .features li::before {
  content: '+';
  position: absolute; left: 0;
  color: var(--red);
}

/* Bento sizing */
.bento-1 { grid-column: span 4; grid-row: span 2; background: #1c1c1c; color: #fff; }
.bento-1 p, .bento-1 .num { color: rgba(255,255,255,0.75); }
.bento-1 h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.bento-1 .features { color: rgba(255,255,255,0.9); font-size: 0.82rem; }
.bento-1 .features li::before { color: #ff4d63; }
.bento-1:hover { background: var(--red); color: #fff; border-color: var(--red); }
.bento-1:hover p, .bento-1:hover .num { color: rgba(255, 255, 255, 0.9); }

.bento-2 { grid-column: span 2; }
.bento-3 { grid-column: span 2; }
.bento-4 { grid-column: span 2; grid-row: span 2; background: var(--paper-2); }
.bento-5 { grid-column: span 2; }
.bento-6 { grid-column: span 4; background: var(--paper-2); display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; align-items: center; }

.bento-1 .big-glyph {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  position: absolute;
  bottom: -0.15em; right: -0.05em;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.bento-card .big-glyph-dark {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  position: absolute;
  bottom: -0.1em; right: -0.05em;
  color: rgba(10, 10, 10, 0.05);
  pointer-events: none;
}
.bento-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--red);
  font-weight: 500;
  margin-top: 0.5rem;
}
.bento-link::after {
  content: '→';
  transition: transform 0.3s;
}
.bento-card:hover .bento-link::after { transform: translateX(4px); }
.bento-1 .bento-link { color: #fff; }

.bento-diagram {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.diag-bar {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}
.diag-bar .bar {
  flex: 1; height: 6px;
  background: var(--rule);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.diag-bar .bar::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--red);
  width: var(--w, 50%);
  border-radius: 3px;
}

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-1, .bento-4, .bento-6 { grid-column: span 2; }
  .bento-1 { grid-row: span 1; }
  .bento-4 { grid-row: span 1; }
  .bento-6 { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   DIGMENTAL (dark, sticky cinematográfico)
   ═══════════════════════════════════════════════════════════════ */
#digmental {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
#digmental::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(217, 32, 56, 0.12), transparent 60%);
  top: 20%; right: -20%;
  pointer-events: none;
  filter: blur(40px);
}
.dm-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule-dark);
  position: relative;
  z-index: 1;
}
.dm-hero h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-wrap: balance;
}
.dm-hero h2 .red { color: var(--red); }
.dm-hero h2 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
}
.dm-hero .right {
  color: var(--muted-dark);
  font-size: 1rem;
  line-height: 1.65;
}
.dm-hero .right p { margin-bottom: 1rem; }

.dm-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--rule-dark);
}
.dm-step {
  padding: 2.5rem 1.5rem 2.5rem 0;
  border-right: 1px solid var(--rule-dark);
  position: relative;
  padding-left: 1.5rem;
  transition: background 0.3s;
}
.dm-step:last-child { border-right: none; }
.dm-step:hover { background: rgba(255, 255, 255, 0.02); }
.dm-step .step-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted-dark);
}
.dm-step .step-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1rem;
  color: #fff;
}
.dm-step .step-num .acc { color: var(--red); }
.dm-step h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.dm-step p {
  font-size: 0.92rem;
  color: var(--muted-dark);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .dm-hero { grid-template-columns: 1fr; gap: 2rem; }
  .dm-steps { grid-template-columns: repeat(2, 1fr); }
  .dm-step:nth-child(2) { border-right: none; }
  .dm-step:nth-child(1), .dm-step:nth-child(2) { border-bottom: 1px solid var(--rule-dark); }
}
@media (max-width: 560px) {
  .dm-steps { grid-template-columns: 1fr; }
  .dm-step { border-right: none; border-bottom: 1px solid var(--rule-dark); }
  .dm-step:last-child { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════════════
   RESULTADOS — big numbers
   ═══════════════════════════════════════════════════════════════ */
#resultados {
  background: var(--paper);
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.result {
  padding: 2rem 1.5rem 2rem 1.5rem;
  border-right: 1px solid var(--rule);
  position: relative;
}
.result:last-child { border-right: none; }
.result .top {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.result .num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 5.5rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin-bottom: 1rem;
}
.result .num .acc { color: var(--red); }
.result .lbl {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .result:nth-child(2) { border-right: none; }
  .result:nth-child(1), .result:nth-child(2) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 480px) {
  .results-grid { grid-template-columns: 1fr; }
  .result { border-right: none; border-bottom: 1px solid var(--rule); }
  .result:last-child { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════════════
   COMPARATIVA con / sin MARD
   ═══════════════════════════════════════════════════════════════ */
#compare {
  background: var(--ink);
  color: #fff;
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule-dark);
  border-radius: 18px;
  overflow: hidden;
}
.compare-col {
  padding: 3rem 2.5rem;
}
.compare-col.bad {
  background: var(--ink-2);
}
.compare-col.good {
  background: linear-gradient(180deg, var(--ink-2) 0%, rgba(217, 32, 56, 0.08) 100%);
  border-left: 1px solid var(--rule-dark);
}
.compare-col h3 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.compare-col.bad h3 { color: var(--muted-dark); }
.compare-col.good h3 { color: var(--red); }
.compare-col h3::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
}
.compare-col.bad h3::before { background: var(--muted); }
.compare-col.good h3::before { background: var(--red); box-shadow: 0 0 0 4px rgba(217, 32, 56, 0.2); }
.compare-col .ttl {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 2rem;
}
.compare-col.bad .ttl { color: var(--muted-dark); }
.compare-list { display: flex; flex-direction: column; gap: 1.1rem; }
.compare-list li {
  display: flex;
  gap: 0.8rem;
  font-size: 0.96rem;
  line-height: 1.5;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--rule-dark-2);
}
.compare-list li:last-child { border-bottom: none; }
.compare-col.bad .compare-list li { color: var(--muted-dark); }
.compare-list li .ic {
  width: 22px; height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 1px;
}
.compare-col.bad .compare-list li .ic {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-dark);
}
.compare-col.good .compare-list li .ic {
  background: var(--red);
  color: #fff;
}
@media (max-width: 800px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-col.good { border-left: none; border-top: 1px solid var(--rule-dark); }
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════ */
#testimonios {
  background: var(--paper);
}
.test-featured {
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
}
.test-featured .quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
  text-wrap: pretty;
  max-width: 24ch;
}
.test-featured .quote::before {
  content: '"';
  font-family: "Instrument Serif", serif;
  font-size: 2em;
  color: var(--red);
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 0.1em;
}
.test-featured .meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.test-featured .meta .avatar {
  width: 44px; height: 44px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}
.test-featured .meta strong { display: block; font-weight: 600; }
.test-featured .meta span { color: var(--muted); display: block; font-size: 0.78rem; margin-top: 2px; }
.test-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.test-card {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s;
}
.test-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.test-card .stars {
  font-family: var(--font-mono);
  color: var(--red);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.test-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  color: var(--ink);
}
.test-card .meta {
  display: flex; align-items: center; gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}
.test-card .meta .avatar {
  width: 36px; height: 36px;
  background: var(--paper-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8rem;
}
.test-card .meta strong {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
}
.test-card .meta span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2px;
}
@media (max-width: 700px) {
  .test-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   TECH STACK
   ═══════════════════════════════════════════════════════════════ */
#tech {
  background: var(--paper-2);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper-3);
}
.tech-item {
  padding: 2.5rem 1.5rem;
  border-right: 1px solid var(--rule);
  text-align: center;
  transition: background 0.3s;
  position: relative;
}
.tech-item:hover { background: var(--paper-2); }
.tech-item:last-child { border-right: none; }
.tech-item .logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.tech-item .logo .accent { color: var(--red); }
.tech-item .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .tech-item:nth-child(3n) { border-right: none; }
  .tech-item:nth-child(-n+3) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 500px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-item:nth-child(3n) { border-right: 1px solid var(--rule); }
  .tech-item:nth-child(2n) { border-right: none; }
  .tech-item { border-bottom: 1px solid var(--rule); }
  .tech-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
#faq {
  background: var(--paper-3);
}
.faq-list {
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 1.75rem 0;
  gap: 2rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--red); }
.faq-q .num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
  flex-shrink: 0;
  align-self: flex-start;
  padding-top: 0.4rem;
  width: 3rem;
}
.faq-q .text { flex: 1; }
.faq-q .toggle {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.faq-item.open .faq-q .toggle { background: var(--red); border-color: var(--red); }
.faq-q .toggle::before, .faq-q .toggle::after {
  content: '';
  position: absolute;
  background: var(--ink);
  border-radius: 1px;
}
.faq-item.open .faq-q .toggle::before,
.faq-item.open .faq-q .toggle::after { background: #fff; }
.faq-q .toggle::before { width: 12px; height: 1.5px; }
.faq-q .toggle::after {
  width: 1.5px; height: 12px;
  transition: transform 0.3s;
}
.faq-item.open .faq-q .toggle::after { transform: rotate(90deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 0 1.75rem 4.5rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 60ch;
}
@media (max-width: 600px) {
  .faq-q .num { display: none; }
  .faq-a-inner { padding-left: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   CTA FINAL — full bleed
   ═══════════════════════════════════════════════════════════════ */
#cta-final {
  background: var(--red);
  color: #fff;
  padding: clamp(3rem, 6vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-bg-text {
  position: absolute;
  bottom: -0.2em; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(8rem, 22vw, 22rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  white-space: nowrap;
}
#cta-final .container {
  position: relative;
  z-index: 1;
}
.cta-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.cta-tag::before {
  content: '';
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulseDot 1.4s ease-in-out infinite;
}
#cta-final h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 2rem;
  max-width: 18ch;
  text-wrap: balance;
}
#cta-final h2 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
}
.cta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.cta-row .note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ═══════════════════════════════════════════════════════════════
   CONTACTO
   ═══════════════════════════════════════════════════════════════ */
#contacto {
  background: var(--paper);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-form {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 2.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  margin-bottom: 1rem;
  position: relative;
}
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper-3);
}
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230a0a0a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; padding-right: 2.5rem; }
.form-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1.25rem;
  line-height: 1.5;
}
.form-success-msg {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  background: var(--red-soft);
  border: 1px solid rgba(217, 32, 56, 0.3);
  color: var(--red);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
}
.contact-info { padding: 1rem 0; }
.contact-info h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.contact-info > p { color: var(--muted); margin-bottom: 2rem; font-size: 0.95rem; }
.contact-detail {
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.contact-detail:last-of-type { border-bottom: 1px solid var(--rule); }
.contact-detail .lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.contact-detail .val {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.contact-detail a.val:hover { color: var(--red); }
.contact-promise {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
}
.contact-promise h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.contact-promise p {
  font-size: 0.88rem;
  color: var(--muted-dark);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
#footer {
  background: var(--ink);
  color: #fff;
  padding: 5rem 0 2rem;
}
.footer-bigword {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #fff;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--rule-dark);
  padding-bottom: 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  overflow: hidden;
  white-space: nowrap;
}
.footer-bigword .tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 0.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  color: var(--muted-dark);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 32ch;
  margin-top: 1rem;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-dark);
  font-weight: 500;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.92rem;
  color: #fff;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--red); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule-dark);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted-dark);
  flex-wrap: wrap;
}
.footer-bottom .badges { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-bottom .badges span { display: inline-flex; align-items: center; gap: 0.4rem; }
.footer-bottom .badges .dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE NAV
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    bottom: 0;
    width: 80%; max-width: 360px;
    background: var(--ink);
    color: #fff;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: -0.02em;
  }
  .nav-links a::after { background: var(--red); }
}

/* ─── REVEAL ANIMATIONS ─────────────────────────────────────── */.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.2, 0, 0, 1), transform 0.9s cubic-bezier(0.2, 0, 0, 1);
}
.reveal.active { opacity: 1; transform: none; }
.reveal-fade {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.reveal-fade.active { opacity: 1; }

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.2, 0, 0, 1), transform 0.7s cubic-bezier(0.2, 0, 0, 1);
}
.stagger.active > * { opacity: 1; transform: none; }
.stagger.active > *:nth-child(1) { transition-delay: 0s; }
.stagger.active > *:nth-child(2) { transition-delay: 0.08s; }
.stagger.active > *:nth-child(3) { transition-delay: 0.16s; }
.stagger.active > *:nth-child(4) { transition-delay: 0.24s; }
.stagger.active > *:nth-child(5) { transition-delay: 0.32s; }
.stagger.active > *:nth-child(6) { transition-delay: 0.40s; }

/* ═══════════════════════════════════════════════════════════════
   MOBILE COMPREHENSIVE FIXES (≤ 768px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* ── Logo ── */
  .nav-logo .logo-img { height: 62px; }
  #navbar.scrolled .nav-logo .logo-img { height: 48px; }

  /* ── Hero ── */
  #hero { padding: 5rem 0 2rem; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 1.5rem; }
  .hero-right { display: none; }
  .hero-h1 { font-size: clamp(2.2rem, 10vw, 3.5rem); margin-bottom: 1.25rem; }
  .hero-ctas { flex-direction: column; gap: 0.75rem; }
  .hero-ctas .btn { width: 100%; justify-content: center; text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 0.75rem; }
  .hero-stat .num { font-size: 1.5rem; }
  .hero-bottom-row { flex-direction: column; gap: 0.5rem; }
  .hero-scrollhint { display: none; }
  .hero-tag-row { flex-wrap: wrap; gap: 0.4rem; font-size: 0.7rem; }

  /* ── Bento ── */
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 0.75rem; }
  .bento-1, .bento-2, .bento-3,
  .bento-4, .bento-5 { grid-column: span 1 !important; grid-row: span 1 !important; }
  .bento-6 { grid-column: span 1 !important; grid-template-columns: 1fr !important; }
  .bento-cases-grid { grid-template-columns: 1fr !important; }
  .bento-metrics-row { flex-wrap: wrap; }
  .bento-metrics-row > div { min-width: calc(50% - 0.4rem) !important; }

  /* ── Secciones ── */
  .manifesto-right p { font-size: clamp(1.2rem, 5vw, 1.8rem); }
  .manifesto-mini { flex-direction: row; gap: 0.5rem; }
  .test-featured .quote { font-size: clamp(1.3rem, 5vw, 2rem); }
  .test-grid { grid-template-columns: 1fr; }
  .liveops-stream { font-size: 0.75rem; overflow-x: auto; }
  .stream-line { flex-wrap: wrap; gap: 0.25rem; }
  .cta-bg-text { font-size: 20vw; }
  .cta-row { flex-direction: column; align-items: center; gap: 0.75rem; }
  .cta-row .btn { width: 100%; justify-content: center; }

  /* ── Footer ── */
  .footer-bigword span:first-child { font-size: clamp(2rem, 12vw, 5rem); }
}

/* ═══ EXTRA SMALL (≤ 480px) ═══ */
@media (max-width: 480px) {
  .container { padding: 0 1.1rem; }
  .bento-card { padding: 1.25rem; }
  .section-header h2 { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .bento-metrics-row > div { min-width: calc(50% - 0.4rem) !important; }
  .hero-stats { flex-direction: column; gap: 0.5rem; }
  .dm-hero { flex-direction: column; gap: 1.5rem; }
  .liveops-h { font-size: clamp(1.4rem, 6vw, 2rem); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  #cta-final h2 { font-size: clamp(1.6rem, 7vw, 2.5rem); }
}
