/* ==========================================================================
   Lambda Lab Norte — sistema visual 2026
   Editorial dark · bento · glass · motion con propósito
   ========================================================================== */

:root {
  --bg: #07080a;
  --bg-2: #0c0e11;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f3f4f1;
  --muted: #9aa0a8;
  --dim: #80868f;
  --cyan: #08b4d4;
  --cyan-2: #5fe3f5;
  --orange: #f29b0c;
  --orange-2: #ffc24a;
  --paper: #f2f0eb;
  --ink: #0b0c0e;

  --f-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-body: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--cyan); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--cyan-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--text);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
  transition: top 200ms var(--ease);
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

main > section { scroll-margin-top: 90px; }

/* Grain overlay — textura sutil */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Tipografía utilitaria
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow span {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--orange-2);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.section-head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(36px, 5.4vw, 68px); }
.section-head.split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: end;
}
.section-lead {
  margin-top: 20px;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18px);
}
.section-head.split .section-lead { margin-top: 0; }

.section { padding: clamp(64px, 6vw, 88px) 0; position: relative; }

h2 em, .hero-title .accent .word {
  font-style: normal;
  background: linear-gradient(100deg, var(--cyan-2) 0%, var(--cyan) 45%, var(--orange-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: border-color 250ms, gap 250ms var(--ease), color 250ms;
}
.link-arrow:hover { gap: 14px; border-color: var(--cyan); color: var(--cyan-2); }

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */

.btn {
  --pad-y: 15px;
  --pad-x: 24px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 300ms var(--ease), background 250ms, border-color 250ms, color 250ms, box-shadow 300ms;
}
.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 300ms var(--ease);
}
.btn:hover svg { transform: translate(2px, -2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(242, 155, 12, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(242, 155, 12, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.4); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.35); }

.btn-light { background: var(--text); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }

.btn-small { --pad-y: 11px; --pad-x: 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Header — píldora flotante con glass
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px var(--gutter);
  transition: padding 300ms var(--ease);
}
.header-shell {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 300ms, border-color 300ms, box-shadow 300ms;
}
.site-header.is-scrolled .header-shell {
  background: rgba(12, 14, 17, 0.72);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}
.brand img { width: clamp(150px, 16vw, 190px); height: auto; }

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  transition: color 200ms, background 200ms;
}
.nav a:hover, .nav a.is-active { color: var(--text); background: var(--surface-2); }
.nav .nav-mobile-cta { display: none; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--text);
  transition: transform 300ms var(--ease), top 300ms var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(120px, 16vh, 170px) 0 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-aurora {
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  z-index: -2;
  background:
    radial-gradient(40% 45% at var(--mx, 70%) var(--my, 40%), rgba(8, 180, 212, 0.28), transparent 70%),
    radial-gradient(30% 35% at 85% 75%, rgba(242, 155, 12, 0.18), transparent 70%),
    radial-gradient(35% 40% at 10% 10%, rgba(95, 227, 245, 0.08), transparent 70%);
  filter: blur(20px);
  transition: background-position 600ms;
}
.hero-gridlines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 60% 40%, #000 20%, transparent 75%);
}

.hero-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  margin-bottom: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(8px);
  font-size: 13px;
  color: var(--muted);
}
.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(8, 180, 212, 0.2);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(8, 180, 212, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(8, 180, 212, 0); }
}

.hero-title {
  font-size: clamp(44px, 6.2vw, 92px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.hero-title .line { display: inline; }
.hero-title .line.accent { display: block; margin-top: 0.06em; }
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  filter: blur(8px);
  animation: wordIn 900ms var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 70ms + 150ms);
}
.hero-title .accent .word { padding-bottom: 0.08em; background-size: 260% 100%; }
.hero-title .accent .word:last-child { background-position: 100% 0; }
@keyframes wordIn {
  to { opacity: 1; transform: none; filter: blur(0); }
}

.hero-lead {
  margin-top: 28px;
  max-width: 520px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* Visual del hero */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  justify-self: center;
  width: 100%;
  max-width: 470px;
  transform-style: preserve-3d;
  transition: transform 600ms var(--ease);
}
.lambda-orb {
  position: absolute;
  inset: 6% 8%;
  display: grid;
  place-items: center;
}
.lambda-orb::before {
  content: "";
  position: absolute;
  inset: 12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(8, 180, 212, 0.22), rgba(242, 155, 12, 0.08) 60%, transparent);
  filter: blur(30px);
}
.lambda-svg {
  width: 72%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(8, 180, 212, 0.35));
}
.lambda-stroke, .lambda-leg {
  transform-origin: center;
  animation: drawIn 1.4s var(--ease) both;
}
.lambda-leg { animation-delay: 450ms; }
@keyframes drawIn {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.float-card {
  position: absolute;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(16, 18, 22, 0.72);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  font-size: 13px;
  animation: floaty 7s ease-in-out infinite, fadeUp 900ms var(--ease) both;
}
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.card-code {
  left: -8%;
  top: 14%;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text);
  animation-delay: 0s, 700ms;
}
.code-dim { color: var(--dim); }
.code-cyan { color: var(--cyan-2); }
.code-orange { color: var(--orange-2); }

.card-signal {
  right: -6%;
  bottom: 18%;
  display: flex;
  align-items: center;
  gap: 12px;
  animation-delay: -2s, 900ms;
}
.card-signal strong { display: block; font-size: 13.5px; }
.card-signal small { color: var(--muted); font-size: 12px; }
.signal-dot {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2bd36f, #12a150);
  position: relative;
}
.signal-dot::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  width: 7px;
  height: 12px;
  left: 13px;
  top: 8px;
  transform: rotate(45deg);
}
.card-chip {
  left: 4%;
  bottom: 4%;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  color: var(--ink);
  border: 0;
  animation-delay: -4s, 1100ms;
}

.hero-stats {
  width: 100%;
  max-width: var(--max);
  margin: clamp(48px, 7vh, 88px) auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.hero-stats > div {
  padding: 18px 20px 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}
.hero-stats > div:first-child { border-left: 0; padding-left: 0; }
.hero-stats dt {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero-stats dd { margin: 8px 0 0; font-size: 14px; color: var(--muted); max-width: 200px; }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  border-block: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: var(--bg-2);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee span {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.45); }
.marquee i { font-style: normal; color: var(--orange); font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Manifiesto — scroll scrub palabra por palabra
   -------------------------------------------------------------------------- */

.manifesto { padding: clamp(80px, 8vw, 120px) 0; }
.manifesto-text {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(28px, 4.2vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 1100px;
  margin-bottom: 44px;
}
.manifesto-text .w { color: rgba(255, 255, 255, 0.16); transition: color 400ms; }
.manifesto-text .w.on { color: var(--text); }
.manifesto-text .w.hl.on { color: var(--cyan-2); }

/* --------------------------------------------------------------------------
   Bento de servicios
   -------------------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 16px;
}
.bento-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  isolation: isolate;
  transition: border-color 300ms, transform 500ms var(--ease);
}
.bento-card:hover { border-color: var(--line-strong); }
[data-spotlight]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(8, 180, 212, 0.14), transparent 45%);
  transition: opacity 300ms;
}
[data-spotlight]:hover::before { opacity: 1; }

.bento-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; padding-bottom: 28px; }
.tag {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.icon {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--cyan-2);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bento-card h3 { font-size: clamp(24px, 2.3vw, 30px); }
.bento-card p { color: var(--muted); max-width: 440px; }

.b-web { grid-column: span 4; grid-row: span 2; }
.b-brand { grid-column: span 2; }
.b-docs { grid-column: span 2; }
.b-apps { grid-column: span 3; }
.b-lambda { grid-column: span 3; }

.b-web .bento-top { margin-bottom: 0; }
.b-web .mini-browser { margin-top: auto; }
.b-web { background: linear-gradient(160deg, rgba(8, 180, 212, 0.12), rgba(255, 255, 255, 0.02) 55%); }

.mini-browser {
  margin-top: 28px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 12, 15, 0.9);
  overflow: hidden;
  transform: translateY(14px);
  transition: transform 600ms var(--ease);
}
.b-web:hover .mini-browser { transform: translateY(0); }
.mb-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.mb-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.mb-bar i:first-child { background: #ff5f57; }
.mb-bar i:nth-child(2) { background: #febc2e; }
.mb-bar i:nth-child(3) { background: #28c840; }
.mb-bar span {
  margin-left: 12px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
}
.mb-body { padding: 24px; display: grid; gap: 10px; }
.mb-body b, .mb-body .bar { display: block; height: 16px; border-radius: 6px; background: rgba(255, 255, 255, 0.85); width: 80%; }
.mb-body b.w60, .mb-body .bar.w60 { width: 55%; background: rgba(255, 255, 255, 0.3); height: 10px; }
.mb-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.mb-row em { height: 60px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.mb-cta {
  justify-self: start;
  margin-top: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.swatches { display: flex; margin-top: 18px; }
.swatches i {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  margin-left: -12px;
  transition: margin 500ms var(--ease);
}
.swatches i:first-child { margin-left: 0; }
.b-brand:hover .swatches i { margin-left: 4px; }
.b-brand:hover .swatches i:first-child { margin-left: 0; }
.s1 { background: var(--cyan); }
.s2 { background: var(--orange); }
.s3 { background: var(--paper); }
.s4 { background: #1d2127; }

.bars { display: flex; align-items: end; gap: 8px; height: 70px; margin-top: 18px; }
.bars i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(to top, rgba(8, 180, 212, 0.25), var(--cyan));
  transform-origin: bottom;
  transform: scaleY(0.3);
  transition: transform 800ms var(--ease);
}
.bars i:nth-child(4) { background: linear-gradient(to top, rgba(242, 155, 12, 0.3), var(--orange)); }
.is-visible .bars i { transform: scaleY(1); }
.bars i:nth-child(2) { transition-delay: 80ms; }
.bars i:nth-child(3) { transition-delay: 160ms; }
.bars i:nth-child(4) { transition-delay: 240ms; }
.bars i:nth-child(5) { transition-delay: 320ms; }

.b-lambda {
  background: var(--paper);
  color: var(--ink);
  border-color: transparent;
}
.b-lambda .eyebrow { color: #5b5f66; margin-bottom: 4px; }
.b-lambda .eyebrow span { border-color: rgba(0, 0, 0, 0.2); color: var(--cyan); font-family: var(--f-display); font-size: 14px; }
.b-lambda p { color: #4a4e55; }
.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-top: 10px;
  font-size: 14px;
  color: #4a4e55;
}
.principles li { padding-top: 10px; border-top: 1px solid rgba(0, 0, 0, 0.12); }
.principles strong { display: block; color: var(--ink); font-family: var(--f-display); font-size: 16px; }

/* --------------------------------------------------------------------------
   Páginas web
   -------------------------------------------------------------------------- */

.web { background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent); }
.web-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.web-copy h2 { font-size: clamp(34px, 4.4vw, 58px); }

.checklist { display: grid; gap: 0; margin-top: 36px; }
.checklist li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist span {
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-2);
  padding-top: 3px;
}

.web-stage {
  position: relative;
  aspect-ratio: 1 / 0.9;
  transition: transform 600ms var(--ease);
}
.device-desktop {
  position: absolute;
  inset: 6% 8% 14% 0;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: #0e1014;
  overflow: hidden;
  box-shadow: 0 50px 100px -40px rgba(8, 180, 212, 0.4), 0 30px 60px -30px #000;
}
.dd-body { padding: 18px 22px; }
.dd-nav { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.dd-nav b, .dd-nav .bar { width: 70px; height: 12px; border-radius: 4px; background: var(--text); margin-right: auto; }
.dd-nav span { width: 34px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.2); }
.dd-nav em { font-style: normal; font-size: 10px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-strong); }
.dd-hero {
  padding: 26px;
  border-radius: 14px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(8, 180, 212, 0.35), transparent 60%),
    radial-gradient(60% 100% at 0% 100%, rgba(242, 155, 12, 0.2), transparent 60%),
    #13161b;
}
.dd-hero small { font-family: var(--f-mono); font-size: 10px; color: var(--cyan-2); text-transform: uppercase; letter-spacing: 0.1em; }
.dd-hero strong { display: block; margin: 8px 0; font-family: var(--f-display); font-size: clamp(20px, 2.2vw, 30px); line-height: 1.05; letter-spacing: -0.03em; max-width: 280px; }
.dd-hero p { font-size: 12px; color: var(--muted); max-width: 240px; }
.dd-hero em { display: inline-block; margin-top: 14px; font-style: normal; font-size: 11px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--orange); color: var(--ink); }
.dd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.dd-cards i { height: 56px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }

.device-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  aspect-ratio: 9 / 18;
  border-radius: 30px;
  border: 1px solid var(--line-strong);
  background: #0b0d10;
  padding: 10px;
  box-shadow: 0 40px 80px -30px #000, 0 0 0 6px rgba(255, 255, 255, 0.04);
  animation: floaty 8s ease-in-out infinite;
}
.dp-notch { width: 40%; height: 14px; margin: 0 auto 12px; border-radius: 999px; background: #000; }
.dp-body { display: grid; gap: 8px; padding: 6px; }
.dp-body b, .dp-body .bar { height: 12px; border-radius: 4px; background: rgba(255, 255, 255, 0.85); }
.dp-body b.w60, .dp-body .bar.w60 { width: 60%; height: 8px; background: rgba(255, 255, 255, 0.3); }
.dp-body i { height: 90px; border-radius: 12px; margin-top: 6px; background: linear-gradient(140deg, rgba(8, 180, 212, 0.5), rgba(242, 155, 12, 0.35)); }
.dp-body em { margin-top: 6px; font-style: normal; text-align: center; font-size: 10px; font-weight: 600; padding: 8px; border-radius: 999px; background: #25d366; color: #052b14; }

.stage-tag {
  position: absolute;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(16, 18, 22, 0.8);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  animation: floaty 6s ease-in-out infinite;
}
.stage-tag.t1 { left: -4%; top: 0; color: var(--cyan-2); }
.stage-tag.t2 { left: 30%; bottom: 4%; color: var(--orange-2); animation-delay: -2s; }
.stage-tag.t3 { right: 22%; top: 2%; animation-delay: -4s; }

/* --------------------------------------------------------------------------
   Apps
   -------------------------------------------------------------------------- */

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.app-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 300ms, transform 500ms var(--ease);
}
.app-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.app-card p { color: var(--muted); font-size: 15px; }
.app-feature { grid-row: span 2; background: linear-gradient(170deg, rgba(242, 155, 12, 0.1), rgba(255, 255, 255, 0.02) 50%); }
.app-feature p { font-size: 17px; }

.app-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.status.live { color: #7ee2a0; }
.status.live::before { background: #2bd36f; box-shadow: 0 0 10px #2bd36f; }
.cat { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); }

.app-logo {
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--paper);
}
.app-feature .app-logo { height: 84px; max-width: 280px; margin: 20px 0 8px; }
.app-logo.nexo { background: transparent; padding: 0; }
.app-logo.porter { background: var(--paper); }
.app-logo.fleet { height: 76px; max-width: 250px; padding: 8px 12px; }
.app-logo.nubelyx { height: 64px; max-width: 250px; padding: 12px 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  font-size: 12.5px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}
.app-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }

.app-soon {
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.015) 0 10px, transparent 10px 20px), var(--surface);
  border-style: dashed;
}
.app-soon h3 { font-size: 26px; }

/* --------------------------------------------------------------------------
   Casos de éxito — ficha · reto · métricas · estrategia · solución
   -------------------------------------------------------------------------- */

.cases { border-top: 1px solid var(--line); }
.case-study {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(20px, 2.5vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.cs-media { display: flex; flex-direction: column; gap: 16px; }
.cs-visual {
  position: relative;
  flex: 1;
  min-height: 340px;
  display: grid;
  place-items: center;
  border-radius: var(--r);
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(8, 180, 212, 0.4), transparent 70%),
    radial-gradient(50% 50% at 80% 100%, rgba(242, 155, 12, 0.25), transparent 70%),
    linear-gradient(160deg, #0f2a33, #081014);
}
.cs-visual img { width: min(320px, 72%); transition: transform 800ms var(--ease); }
.case-study:hover .cs-visual img { transform: scale(1.05) rotate(-1.5deg); }
.cs-meta { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: var(--r-sm); overflow: hidden; background: var(--line); }
.cs-meta div { padding: 14px 16px; background: var(--bg-2); }
.cs-meta dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.cs-meta dd { margin: 0; font-size: 14px; font-weight: 500; }

.cs-body { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: clamp(4px, 1vw, 16px) 0; }
.cs-body h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.05; }
.cs-blocks { display: grid; gap: 24px; width: 100%; margin: 8px 0; }
.cs-blocks h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.cs-blocks h4 span { font-family: var(--f-mono); font-size: 11px; color: var(--orange-2); font-weight: 500; }
.cs-blocks p { color: var(--muted); font-size: 15.5px; }
.cs-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}
.cs-metrics div { padding: 20px 16px 20px 0; }
.cs-metrics div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.cs-metrics strong {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, var(--cyan-2), var(--orange-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cs-metrics span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.35; }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.case-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 300ms, transform 500ms var(--ease);
}
.case-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.case-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.case-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease); }
.case-card:hover img { transform: scale(1.06); }
.case-card div { padding: 16px 18px 18px; display: grid; gap: 2px; }
.case-card span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.case-card strong { font-family: var(--f-display); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; display: flex; justify-content: space-between; }
.case-card strong::after { content: "↗"; color: var(--muted); transition: transform 300ms var(--ease), color 300ms; }
.case-card:hover strong::after { transform: translate(2px, -2px); color: var(--cyan-2); }

.cases-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.cases-cta p { font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.03em; }
.cases-cta .hero-actions { margin-top: 0; }

/* --------------------------------------------------------------------------
   Proceso
   -------------------------------------------------------------------------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: var(--line-strong);
}
.steps::after {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  height: 1px;
  width: calc((100% - 56px) * var(--progress, 0));
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transition: width 200ms linear;
}
.steps li { position: relative; z-index: 1; padding-right: 12px; }
.step-n {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  font-family: var(--f-mono);
  font-size: 14px;
  color: var(--cyan-2);
  transition: background 400ms, color 400ms, border-color 400ms;
}
.steps li.is-visible .step-n { border-color: var(--cyan); }
.steps h3 { font-size: 26px; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 15px; max-width: 240px; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq .section-head h2 { font-size: clamp(32px, 4vw, 52px); }
.accordion { display: grid; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: color 200ms;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 20px;
  transition: transform 400ms var(--ease), background 300ms, color 300ms;
}
.accordion details[open] summary::after { transform: rotate(45deg); background: var(--text); color: var(--ink); }
.accordion summary:hover { color: var(--cyan-2); }
.accordion details p { padding: 0 56px 26px 0; color: var(--muted); }

/* --------------------------------------------------------------------------
   Contacto — bloque claro para cerrar con contraste
   -------------------------------------------------------------------------- */

.contact {
  margin: 0 clamp(8px, 1.5vw, 20px);
  padding: clamp(72px, 10vw, 140px) 0;
  border-radius: clamp(24px, 3vw, 40px);
  background: var(--paper);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.contact::before {
  content: "λ";
  position: absolute;
  right: -2%;
  bottom: -18%;
  z-index: -1;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(320px, 42vw, 640px);
  line-height: 1;
  color: rgba(8, 180, 212, 0.08);
}
.contact .eyebrow { color: #5b5f66; }
.contact .eyebrow span { border-color: rgba(0, 0, 0, 0.2); color: #8f5600; }
.contact h2 { font-size: clamp(38px, 5vw, 66px); }
.contact .section-lead { color: #4a4e55; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }

.channels { display: grid; gap: 10px; margin-top: 36px; }
.channels a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--r);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  word-break: break-word;
  transition: transform 300ms var(--ease), border-color 300ms, background 300ms;
}
.channels a:hover { transform: translateX(4px); border-color: var(--cyan); background: #fff; }
.channels small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #6b7078; }
.ch-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
}
.ch-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--cyan-2); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }

.contact-form {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: var(--ink);
  color: var(--text);
  display: grid;
  gap: 18px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.5);
}
.form-head h3 { font-size: 28px; margin-bottom: 8px; }
.form-head p { color: var(--muted); font-size: 14.5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 13px; font-weight: 500; color: var(--muted); padding: 0; margin-bottom: 8px; }
.field > span { margin-bottom: 0; }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 15px;
  transition: border-color 200ms, background 200ms, box-shadow 200ms;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(8, 180, 212, 0.06);
  box-shadow: 0 0 0 4px rgba(8, 180, 212, 0.15);
}
.radio-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-chips label { position: relative; cursor: pointer; }
.radio-chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-chips span {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13.5px;
  color: var(--muted);
  transition: all 200ms;
}
.radio-chips label:hover span { color: var(--text); border-color: rgba(255, 255, 255, 0.4); }
.radio-chips input:checked + span { background: var(--cyan); border-color: var(--cyan); color: var(--ink); font-weight: 600; }
.radio-chips input:focus-visible + span { outline: 2px solid var(--cyan-2); outline-offset: 2px; }
.form-note { text-align: center; font-size: 13px; color: var(--dim); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer { padding: clamp(64px, 10vw, 120px) 0 40px; overflow: hidden; }
.footer-big {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(30px, 10.2vw, 150px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
  margin-bottom: 48px;
}
.footer-big span { color: var(--orange); -webkit-text-stroke: 0; margin: 0 0.04em; }
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.footer-row img { width: 160px; height: auto; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-row nav a:hover { color: var(--text); }

/* WhatsApp flotante — conversión amable, sin pop-ups */
.wa-float {
  position: fixed;
  right: clamp(16px, 2.5vw, 28px);
  bottom: clamp(16px, 2.5vw, 28px);
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 16px 40px -10px rgba(37, 211, 102, 0.6);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.wa-float.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linejoin: round; }
.wa-float svg path:last-child { fill: #fff; stroke: none; }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive — mobile first en la práctica
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav a { padding: 9px 10px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; order: -1; display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-web { grid-column: span 2; grid-row: auto; }
  .b-brand, .b-docs, .b-apps { grid-column: span 1; }
  .b-lambda { grid-column: span 2; }
  .b-apps { grid-column: span 2; }
  .web-grid { grid-template-columns: 1fr; }
  .web-stage { max-width: 600px; width: 100%; margin: 0 auto; }
  .apps-grid { grid-template-columns: 1fr 1fr; }
  .app-feature { grid-column: span 2; grid-row: auto; }
  .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq .section-head { position: static; margin-bottom: 24px; }
  .cases-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed;
    inset: 76px 12px auto;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
    border-radius: var(--r);
    background: rgba(12, 14, 17, 0.96);
    border: 1px solid var(--line-strong);
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 300ms var(--ease), transform 300ms var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 16px; font-size: 17px; color: var(--text); border-radius: 12px; }
  .nav .nav-mobile-cta { display: block; margin-top: 8px; text-align: center; background: var(--orange); color: var(--ink); font-weight: 600; }
  .site-header { padding: 10px 12px; }
  .header-shell { padding: 8px 8px 8px 18px; }
  .site-header .header-shell {
    background: rgba(12, 14, 17, 0.72);
    border-color: var(--line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .hero { min-height: auto; padding-top: 120px; }
  .hero-stats { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .hero-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .section-head.split { grid-template-columns: 1fr; gap: 0; }
  .section-head.split .section-lead { margin-top: 20px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
  .case-study { grid-template-columns: 1fr; }
  .cs-visual { min-height: 240px; }
  .cases-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .hero-title { font-size: clamp(40px, 12vw, 56px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .bento { grid-template-columns: 1fr; }
  .b-web, .b-brand, .b-docs, .b-apps, .b-lambda { grid-column: auto; }
  .bento-card { padding: 22px; }
  .principles { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .app-feature { grid-column: auto; }
  .checklist li { grid-template-columns: 1fr; gap: 6px; }
  .web-stage { aspect-ratio: 1 / 1.05; }
  .device-desktop { inset: 8% 6% 22% 0; }
  .dd-cards { display: none; }
  .stage-tag.t3 { display: none; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .accordion details p { padding-right: 0; }
  .contact { margin: 0 8px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .cs-meta { grid-template-columns: 1fr; }
  .cs-metrics { grid-template-columns: 1fr; }
  .cs-metrics div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .cases-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-title .word { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; }
  .manifesto-text .w { color: var(--text); }
}

/* ==========================================================================
   Páginas internas — portfolio, producto, catálogo de demos, 404
   ========================================================================== */

.hero.hero-sub { min-height: auto; padding-bottom: clamp(64px, 9vw, 120px); }
.hero-sub .hero-title { font-size: clamp(40px, 5.4vw, 80px); }
.hero-sub .hero-inner { grid-template-columns: 1.15fr 1fr; }
.hero-sub .hero-inner:has(> .hero-copy:only-child) { grid-template-columns: minmax(0, 880px); }
.crumbs { display: flex; gap: 8px; align-items: center; margin-bottom: 18px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.reach { border-top: 1px solid var(--line); }
.reach .chips { margin-top: 22px; }

/* Abanico de capturas */
.shots-fan {
  position: relative;
  aspect-ratio: 1 / 0.9;
  width: 100%;
  max-width: 560px;
  justify-self: center;
  transition: transform 600ms var(--ease);
}
.shot {
  position: absolute;
  width: 74%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0e1014;
  box-shadow: 0 40px 80px -30px #000;
  transition: transform 700ms var(--ease);
}
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shot.s-a { left: 0; top: 4%; transform: rotate(-6deg); }
.shot.s-b { right: 0; top: 0; transform: rotate(5deg); }
.shot.s-c { left: 13%; bottom: 0; z-index: 2; box-shadow: 0 50px 100px -30px rgba(8, 180, 212, 0.45), 0 30px 60px -30px #000; }
.shots-fan:hover .s-a { transform: rotate(-9deg) translate(-12px, -6px); }
.shots-fan:hover .s-b { transform: rotate(8deg) translate(12px, -6px); }

/* Tarjetas de demo */
.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.demo-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 300ms, transform 500ms var(--ease);
}
.demo-card[hidden] { display: none; }
.demo-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.demo-frame { margin: 14px 14px 0; border-radius: 16px; border: 1px solid var(--line); background: #0d0f12; overflow: hidden; }
.demo-frame figure { margin: 0; aspect-ratio: 16 / 9.5; overflow: hidden; }
.demo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.4s var(--ease); }
.demo-card:hover .demo-frame img { transform: scale(1.04); }
.demo-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.demo-body h3 { font-size: clamp(22px, 2.2vw, 28px); }
.demo-body > p { color: var(--muted); font-size: 15px; }
.demo-body .app-actions { padding-top: 4px; }
.demo-card.is-wide { grid-column: span 2; flex-direction: row; }
.demo-card.is-wide .demo-frame { flex: 1.25; margin: 14px 0 14px 14px; display: flex; flex-direction: column; }
.demo-card.is-wide .demo-frame figure { aspect-ratio: auto; flex: 1; min-height: 300px; }
.demo-card.is-wide .demo-body { flex: 1; padding: 32px; justify-content: center; }
.demo-card.is-wide h3 { font-size: clamp(28px, 3vw, 40px); }

/* Filtros */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-row button {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: all 200ms;
}
.filter-row button:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.4); }
.filter-row button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--ink); font-weight: 600; }
.filter-count { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }

/* Planes */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.price-card h3 { font-size: 28px; }
.price-card > p { color: var(--muted); }
.price-card ul { align-self: stretch; display: grid; gap: 10px; margin: 6px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.price-card li { display: flex; gap: 10px; font-size: 15px; }
.price-card li::before { content: "✓"; color: var(--cyan-2); font-weight: 700; }
.price-card .btn { margin-top: auto; align-self: stretch; }
.price-card.is-featured {
  background: var(--paper);
  color: var(--ink);
  border-color: transparent;
  box-shadow: 0 40px 90px -40px rgba(8, 180, 212, 0.5);
}
.price-card.is-featured > p { color: #4a4e55; }
.price-card.is-featured ul { border-color: rgba(0, 0, 0, 0.12); }
.price-card.is-featured li::before { color: #0a8aa3; }
.price-card.is-featured .tag { color: #8f5600; border-color: rgba(0, 0, 0, 0.18); }

/* Bloque de cierre claro */
.cta-panel .cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
}
.cta-panel .hero-actions { margin-top: 0; justify-content: flex-end; }
.btn-dark { background: var(--ink); color: var(--text); }
.btn-dark:hover { background: #1b1e23; transform: translateY(-1px); }
.btn-outline-dark { border-color: rgba(0, 0, 0, 0.22); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { border-color: var(--ink); background: rgba(0, 0, 0, 0.04); }

/* Producto — Nexo Compras */
.product-logo { width: min(260px, 70%); height: auto; margin-bottom: 28px; }
.access {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
}
.access code {
  font-family: var(--f-mono);
  font-size: 12.5px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
}

.dash {
  width: 100%;
  max-width: 500px;
  justify-self: center;
  padding: 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: rgba(16, 18, 22, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 50px 100px -40px rgba(8, 180, 212, 0.45), 0 30px 60px -30px #000;
  display: grid;
  gap: 16px;
  transition: transform 600ms var(--ease);
}
.dash-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.dash-top strong { font-family: var(--f-mono); font-size: 13px; color: var(--text); padding: 5px 10px; border-radius: 8px; background: var(--surface-2); }
.dash-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dash-metrics div { padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.dash-metrics span, .dash-order span { display: block; font-size: 11.5px; color: var(--dim); margin-bottom: 4px; }
.dash-metrics strong { font-size: 15px; }
.dash-metrics .ok { color: #7ee2a0; }
.dash-metrics .hi { color: var(--orange-2); }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.flow div { padding: 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 13px; line-height: 1.3; }
.flow span { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--dim); margin-bottom: 6px; }
.flow .done { background: rgba(43, 211, 111, 0.08); border-color: rgba(43, 211, 111, 0.35); }
.flow .done span { color: #7ee2a0; }
.flow .active { background: rgba(8, 180, 212, 0.12); border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(8, 180, 212, 0.12); }
.flow .active span { color: var(--cyan-2); }
.dash-order { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.dash-order strong { font-size: 15px; }
.dash-order div:last-child { text-align: right; }
.dash-order div:last-child strong { font-family: var(--f-display); font-size: 22px; letter-spacing: -0.02em; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mod-card .bento-top { padding-bottom: 36px; margin-bottom: 0; }
.mod-card h3 { font-size: 24px; }
.mod-num { font-family: var(--f-mono); font-size: 12px; color: var(--orange-2); }

.role-card { gap: 14px; }
.role-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--cyan-2), var(--cyan));
}
.role-card:nth-child(2) .role-badge { background: linear-gradient(135deg, var(--orange-2), var(--orange)); }
.role-card:nth-child(3) .role-badge { background: var(--paper); }
.role-card ul { display: grid; gap: 8px; padding-top: 14px; margin-top: auto; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.role-card li::before { content: "→ "; color: var(--cyan-2); }

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-2 h2 { font-size: clamp(30px, 3.8vw, 50px); }
.split-2 .stack { display: grid; gap: 18px; color: var(--muted); font-size: 17px; padding-top: 8px; }
.chips.chips-lg li { font-size: 15px; padding: 10px 16px; color: var(--text); border-color: var(--line-strong); }

/* 404 */
.notfound {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px var(--gutter) 60px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.notfound h1 { font-size: clamp(96px, 22vw, 260px); line-height: 0.85; letter-spacing: -0.06em; }
.notfound h1 span { color: var(--orange); }
.notfound p { margin: 20px auto 32px; max-width: 440px; color: var(--muted); font-size: 18px; }
.notfound .hero-actions { justify-content: center; }

@media (max-width: 1080px) {
  .hero-sub .hero-inner { grid-template-columns: 1fr; }
  .dash { justify-self: start; max-width: 560px; }
  .demo-card.is-wide { flex-direction: column; }
  .demo-card.is-wide .demo-frame { margin: 14px 14px 0; }
  .demo-card.is-wide .demo-frame figure { flex: none; min-height: 0; aspect-ratio: 16 / 9.5; }
  .demo-card.is-wide .demo-body { padding: 22px 24px 24px; }
  .pricing { grid-template-columns: 1fr; max-width: 560px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .cta-panel .cta-inner, .split-2 { grid-template-columns: 1fr; }
  .cta-panel .hero-actions { justify-content: flex-start; }
}

@media (max-width: 700px) {
  .demo-grid, .grid-3 { grid-template-columns: 1fr; }
  .demo-card.is-wide { grid-column: auto; }
  .dash-metrics, .flow { grid-template-columns: 1fr; }
  .shots-fan { aspect-ratio: 1 / 1; }
}

/* Muro de marcas — gris que se colorea al pasar */
.logo-wall { margin-top: 56px; }
.logo-wall-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 18px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.logo-wall-title span { font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); align-self: center; }
.logo-wall ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; border-radius: var(--r); overflow: hidden; background: rgba(0, 0, 0, 0.08); }
.logo-wall li { display: grid; place-items: center; height: 120px; padding: 22px 28px; background: var(--paper); }
.logo-wall li.tile-dark { background: #0f2a33; }
.logo-wall li.tile-ink { background: #11161d; }
.logo-wall img { max-height: 44px; max-width: 100%; width: auto; filter: grayscale(1); opacity: 0.6; transition: filter 400ms, opacity 400ms, transform 400ms var(--ease); }
.logo-wall li:hover img { filter: none; opacity: 1; transform: scale(1.05); }

/* CTA intermedio */
.cta-band { padding: 8px 0 clamp(40px, 6vw, 72px); }
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: clamp(24px, 3.5vw, 40px) clamp(24px, 4vw, 48px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(60% 140% at 100% 50%, rgba(242, 155, 12, 0.16), transparent 60%),
    radial-gradient(50% 140% at 0% 50%, rgba(8, 180, 212, 0.12), transparent 60%),
    var(--bg-2);
}
.cta-band p { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.02em; line-height: 1.15; }
.cta-band p span { display: block; color: var(--muted); font-family: var(--f-body); font-weight: 400; font-size: 16px; letter-spacing: 0; margin-top: 6px; }

@media (max-width: 860px) {
  .logo-wall ul { grid-template-columns: repeat(2, 1fr); }
  .logo-wall li { height: 96px; padding: 18px; }
}

/* ---------- Webs demo: qué son y para quién sirven ---------- */
.demo-how {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 28px; align-items: center;
  margin: 0 0 36px; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(135deg, rgba(8, 180, 212, .08), rgba(242, 155, 12, .05) 60%, transparent), var(--surface);
}
.demo-how-tag { display: inline-block; margin-bottom: 10px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-2); }
.demo-how-intro p { color: var(--text); font-size: 17px; line-height: 1.5; }
.demo-how-intro b { color: var(--orange-2); font-weight: 600; }
.demo-how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.demo-how-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line); }
.demo-how-steps li > b { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: var(--ink); font-family: var(--f-display); font-size: 15px; }
.demo-how-steps strong { display: block; font-size: 15px; color: var(--text); line-height: 1.3; }
.demo-how-steps span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }

.demo-body > p.ideal {
  margin-top: -4px; padding: 10px 12px; border-radius: var(--r-sm); border: 1px dashed var(--line-strong);
  background: rgba(8, 180, 212, .06); color: var(--text); font-size: 14px; line-height: 1.45;
}
.ideal b { display: block; margin-bottom: 2px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-2); }
.choose { flex-basis: 100%; margin-top: 2px; font-size: 13.5px; font-weight: 600; color: var(--orange-2); text-decoration: none; }
.choose:hover { text-decoration: underline; }

.cases-note { margin: 28px 0 18px; color: var(--muted); font-size: 15px; }
.cases-note b { color: var(--text); }
.cases-note a { color: var(--cyan-2); text-decoration: none; font-weight: 600; white-space: nowrap; }
.cases-note a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .demo-how { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .demo-how-steps { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Casos y artículos ---------- */
.post-crumbs { padding-top: clamp(112px, 14vh, 150px); margin-bottom: 0; }
.post-head { padding-top: 22px; padding-bottom: clamp(28px, 4vw, 48px); max-width: calc(var(--max) - 0px); }
.post-head .pill { margin-bottom: 18px; }
.post-title { font-size: clamp(36px, 5.2vw, 72px); max-width: 18ch; text-wrap: balance; }
.post-head .hero-lead { max-width: 62ch; margin-top: 22px; }
.post-head .hero-actions { margin-top: 26px; }
.post-head .hero-actions:empty { display: none; }
.post-date { margin-top: 18px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.post-figure { margin-top: 8px; margin-bottom: clamp(36px, 5vw, 64px); }
.post-figure img { width: 100%; height: auto; display: block; border-radius: var(--r-lg); border: 1px solid var(--line); background: #111; }
.post-layout { display: grid; grid-template-columns: 280px minmax(0, 720px); gap: clamp(32px, 6vw, 96px); padding-bottom: clamp(56px, 8vw, 110px); }
.post-layout--article { grid-template-columns: minmax(0, 720px); }
.post-meta { margin: 0; display: grid; gap: 18px; align-content: start; position: sticky; top: 110px; }
.post-meta div { border-top: 1px solid var(--line); padding-top: 12px; }
.post-meta dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.post-meta dd { margin: 4px 0 0; color: var(--text); }
.prose { font-size: 18px; line-height: 1.7; color: #c9cdd2; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: clamp(26px, 2.8vw, 36px); color: var(--text); line-height: 1.12; }
.prose h3 { margin-top: 1.6em; font-size: 21px; color: var(--text); letter-spacing: -.015em; line-height: 1.25; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: .55em; }
.prose li::marker { color: var(--cyan); }
.prose strong { color: var(--text); }
.prose a { color: var(--cyan-2); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--text); }
.post-section { border-top: 1px solid var(--line); }
.post-related { border-top: 1px solid var(--line); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-grid--text { grid-template-columns: repeat(2, 1fr); }
.post-card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: inherit; transition: border-color 300ms, transform 500ms var(--ease); }
.post-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.post-card figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.post-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease); }
.post-card:hover img { transform: scale(1.05); }
.post-card div { padding: 18px 20px 22px; display: grid; gap: 8px; }
.post-card span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.post-card strong { font-family: var(--f-display); font-size: 21px; font-weight: 650; letter-spacing: -.015em; line-height: 1.18; }
.post-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
@media (max-width: 980px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-meta { position: static; grid-template-columns: repeat(2, 1fr); }
  .post-grid, .post-grid--text { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .post-grid, .post-grid--text, .post-meta { grid-template-columns: 1fr; }
  .prose { font-size: 17px; }
}

/* Redes en el pie */
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); transition: color 200ms, border-color 200ms, transform 300ms var(--ease); }
.footer-social a:hover { color: var(--text); border-color: var(--line-strong); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Relleno de tarjetas en escritorio (sin huecos vacíos) */
.b-web .mini-browser { flex: 1; display: flex; flex-direction: column; min-height: 220px; }
.b-web .mb-body { flex: 1; grid-template-rows: auto auto 1fr auto; }
.b-web .mb-row em { height: auto; min-height: 60px;
  background:
    linear-gradient(rgba(255,255,255,.28), rgba(255,255,255,.28)) 14px calc(100% - 36px) / 62% 8px no-repeat,
    linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.12)) 14px calc(100% - 18px) / 42% 6px no-repeat,
    linear-gradient(160deg, rgba(8,180,212,.28), rgba(242,155,12,.16)) 10px 10px / calc(100% - 20px) calc(100% - 64px) no-repeat,
    var(--surface-2); }
.b-apps .bento-top { margin-bottom: 0; }
.mini-app { list-style: none; margin: auto 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.mini-app li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.mini-app i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-2); flex: none; }
.mini-app span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-app em { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.mini-app em.ok { color: #4ade80; background: rgba(74, 222, 128, 0.1); }
.mini-app em.wait { color: var(--orange-2); background: rgba(242, 155, 12, 0.12); }
.nexo-flow { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; counter-reset: paso; }
.nexo-flow li { position: relative; display: grid; gap: 2px; padding: 0 0 16px 34px; counter-increment: paso; }
.nexo-flow li::before { content: counter(paso); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 600 11px var(--f-mono); color: #0a0c0f; background: var(--orange-2); }
.nexo-flow li:not(:last-child)::after { content: ""; position: absolute; left: 10.5px; top: 24px; bottom: 2px; width: 1px; background: rgba(242, 155, 12, 0.35); }
.nexo-flow b { font-size: 14.5px; color: var(--text, #f2f0ea); font-weight: 600; }
.nexo-flow span { font-size: 13px; color: var(--muted); }

@media (max-width: 600px) {
  .stage-tag.t1 { left: 0; }
  .dd-hero strong { max-width: 62%; font-size: 19px; }
  .dd-hero p { max-width: 58%; }
  .mini-app li { font-size: 12.5px; padding: 9px 10px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Precios de referencia */
.pricing-4 { grid-template-columns: repeat(4, 1fr); }
.price { display: grid; gap: 2px; margin: 4px 0 0; }
.price-from { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.price strong { color: var(--text); font-family: var(--f-display); font-size: clamp(28px, 2.4vw, 34px); letter-spacing: -0.03em; line-height: 1.05; }
.price small { font-size: 13.5px; color: var(--muted); }
.price-card.is-featured .price-from, .price-card.is-featured .price small { color: #4a4e55; }
.pricing-note { margin-top: 22px; font-size: 14px; color: var(--muted); max-width: 760px; }
@media (max-width: 1180px) { .pricing-4 { grid-template-columns: repeat(2, 1fr); max-width: none; } }
@media (max-width: 700px) { .pricing-4 { grid-template-columns: 1fr; } }
.price-card.is-featured .price strong { color: var(--ink); }

.chips li a { color: inherit; text-decoration: none; }
.chips li:has(a):hover { border-color: var(--cyan-2); color: var(--cyan-2); }

/* Aviso de cookies */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-inline: auto; display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border-radius: 16px; background: rgba(16, 18, 22, 0.94); border: 1px solid var(--line-strong); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 13.5px; color: var(--muted); }
.cookie-bar p { flex: 1 1 260px; margin: 0; }
.cookie-actions { display: flex; gap: 8px; }

.app-logo-title { margin: 0; font-size: inherit; line-height: 0; }

.mb-body .bar, .dp-body .bar { display: block; }
