/* ============================================================
   Curimán Software — Rediseño
   Paleta: azul #2563eb + neutros slate
   Tipografía: Manrope (display/UI) + JetBrains Mono (metadata)
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-muted: #f7f9fc;
  --bg-soft: #eef2f8;
  --bg-ink: #0b1220;
  --surface: #ffffff;
  --line: #e4e9f2;
  --line-strong: #cbd5e1;
  --title: #0b1220;
  --text-strong: #334155;
  --text: #4a5a73;
  --text-soft: #6b7a92;
  --accent: #2563eb;
  --accent-600: #1d4ed8;
  --accent-700: #1e40af;
  --accent-50: #eff6ff;
  --accent-soft: rgba(37, 99, 235, 0.08);
  --accent-line: rgba(37, 99, 235, 0.22);
  --warn: #c2410c;
  --warn-soft: #fff2e6;
  --ok: #047857;
  --ok-soft: #e8faf0;
  --shadow-xl: 0 40px 80px -20px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 28px 60px -12px rgba(15, 23, 42, 0.12);
  --shadow-md: 0 16px 34px -10px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 8px 18px -6px rgba(15, 23, 42, 0.06);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: min(1280px, calc(100% - 3rem));
  --header-height: 72px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

body.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
}
body.js-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

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

.section { padding: 104px 0; position: relative; }
.section--muted {
  background: var(--bg-muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--dark {
  background: var(--bg-ink);
  color: #cbd5e1;
}

/* ── Eyebrow / labels ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.eyebrow--plain { border-color: var(--line); background: #fff; color: var(--text-strong); }
.eyebrow--plain::before { background: var(--text-soft); box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.15); }
.eyebrow--dark { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); color: #93c5fd; }

.section-heading { max-width: 760px; margin-bottom: 3.2rem; }
.section-heading--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 {
  margin: 0.9rem 0 0;
  color: var(--title);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
.section-heading p {
  max-width: 640px;
  margin: 1rem auto 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
}
.section-heading--center p { margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.9rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.button svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-1px); }

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 14px 30px -8px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255,255,255,0.15);
}
.button--primary:hover { box-shadow: 0 20px 40px -8px rgba(37, 99, 235, 0.55), inset 0 1px 0 rgba(255,255,255,0.15); }

.button--ghost {
  color: var(--title);
  background: #fff;
  border-color: var(--line);
}
.button--ghost:hover { border-color: var(--accent); color: var(--accent); }

.button--dark {
  color: #fff;
  background: var(--bg-ink);
  border-color: var(--bg-ink);
}

.button--small { min-height: 42px; padding: 0.6rem 1rem; font-size: 0.85rem; }
.button--full { width: 100%; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  border-bottom: 1px solid rgba(228, 233, 242, 0.7);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.2s, background 0.2s;
}
.site-header.is-scrolled {
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 38px; width: auto; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.05)); }
.brand-text { line-height: 1.1; }
.brand-text strong {
  display: block;
  color: var(--title);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.brand-text small {
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-self: center;
}
.site-nav a {
  color: var(--text-strong);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.site-nav a:hover { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; justify-content: flex-end; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--title);
  transition: transform 0.22s, opacity 0.22s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 60px) 0 100px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(37, 99, 235, 0.09), transparent 60%),
    radial-gradient(600px 400px at -5% 40%, rgba(37, 99, 235, 0.05), transparent 60%),
    #ffffff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at top right, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top right, #000 0%, transparent 70%);
  pointer-events: none;
}

.hero .container { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.hero-copy { max-width: 580px; }

.hero h1 {
  margin: 1rem 0 0;
  color: var(--title);
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
.hero h1 .highlight {
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
.hero h1 .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.18em;
  background: var(--accent-soft);
  z-index: -1;
  border-radius: 2px;
}

.hero-subtitle {
  margin: 1.5rem 0 0;
  color: var(--text-strong);
  font-size: 1.12rem;
  line-height: 1.65;
  max-width: 540px;
}

.hero-lead {
  margin: 0.8rem 0 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}
.hero-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-strong);
  font-size: 0.92rem;
  font-weight: 600;
}
.hero-benefits li svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Hero visual — product mock frame */
.hero-visual { position: relative; }

.hero-frame {
  position: relative;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  transform: perspective(1800px) rotateY(-3deg) rotateX(2deg);
  transform-origin: center center;
}

.hero-frame__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 38px;
  padding: 0 14px;
  background: #f7f9fc;
  border-bottom: 1px solid var(--line);
}
.hero-frame__dots {
  display: inline-flex;
  gap: 6px;
}
.hero-frame__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.hero-frame__dots span:nth-child(1) { background: #fb7185; }
.hero-frame__dots span:nth-child(2) { background: #fbbf24; }
.hero-frame__dots span:nth-child(3) { background: #4ade80; }

.hero-frame__url {
  flex: 1;
  max-width: 280px;
  height: 24px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 0.75rem;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.72rem;
}
.hero-frame__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text-strong);
  font-size: 0.72rem;
  font-weight: 600;
}
.hero-frame__badge img { width: 14px; height: 14px; }

.hero-frame__img {
  display: block;
  width: 100%;
  height: auto;
}

/* Floating stat cards on hero */
.hero-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
}
.hero-float__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
}
.hero-float__icon svg { width: 20px; height: 20px; stroke-width: 2; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.hero-float__label {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--text-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-float__value {
  color: var(--title);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero-float--1 {
  top: 14%;
  left: -5%;
  animation: floaty 5s ease-in-out infinite;
}
.hero-float--1 .hero-float__icon { background: var(--ok-soft); color: var(--ok); }
.hero-float--2 {
  bottom: 16%;
  right: -4%;
  animation: floaty 5s ease-in-out -2.5s infinite;
}
.hero-float--2 .hero-float__icon { background: var(--warn-soft); color: var(--warn); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Trust bar below hero */
.trust-bar {
  margin-top: 56px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}
.trust-bar__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.trust-bar__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}
.trust-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}
.trust-stat__value {
  color: var(--title);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.trust-stat__label {
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.4;
}

/* ============================================================
   PROBLEMA
   ============================================================ */
.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.problem-copy h2 {
  margin: 1rem 0 0;
  color: var(--title);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}
.problem-copy p {
  margin-top: 1.25rem;
  color: var(--text-strong);
  font-size: 1.05rem;
  line-height: 1.75;
}

.problem-list {
  display: grid;
  gap: 0.75rem;
}
.problem-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
}
.problem-item:hover {
  transform: translateX(4px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-sm);
}
.problem-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fee2e2;
  color: #b91c1c;
  flex: none;
}
.problem-item__icon svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.problem-item strong {
  display: block;
  color: var(--title);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.problem-item span {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ============================================================
   SOLUCIÓN + FLOW
   ============================================================ */
.solution-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}
.solution-intro h2 {
  margin: 1rem 0 0;
  color: var(--title);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
.solution-intro p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Flow 5 steps — vertical timeline */
.flow {
  position: relative;
  display: grid;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.flow::before {
  content: "";
  position: absolute;
  left: 39px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-soft) 100%);
  border-radius: 2px;
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.4rem 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s, border-color 0.25s;
}
.flow-step:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-line);
}

.flow-number {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--accent-soft);
}
.flow-step:hover .flow-number {
  background: var(--accent);
  color: #fff;
}

.flow-content strong {
  display: block;
  color: var(--title);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.flow-content p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.flow-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}
.flow-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Value cards after flow */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 4rem;
}
.value-card {
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-md);
}
.value-card .icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.value-card .icon-box svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.value-card h3 {
  margin: 0 0 0.55rem;
  color: var(--title);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.value-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================================
   CASO REAL
   ============================================================ */
.case {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 2rem;
  margin-top: 1.5rem;
}
.case-hero {
  padding: 2.4rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.1), transparent 60%),
    linear-gradient(160deg, var(--accent-700) 0%, var(--accent) 55%, #3b82f6 100%);
  color: #e0e7ff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}
.case-hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  pointer-events: none;
}
.case-hero__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bfdbfe;
  opacity: 0.9;
}
.case-hero__title {
  margin: 0.8rem 0 0;
  color: #fff;
  font-size: clamp(2.2rem, 3.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}
.case-hero__body {
  margin-top: 1.2rem;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.7;
}
.case-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  width: fit-content;
}

.case-body {
  display: grid;
  grid-template-rows: auto auto;
  gap: 1.2rem;
}
.case-block {
  padding: 1.75rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.case-block__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.9rem;
  display: block;
}
.case-block h3 {
  margin: 0 0 0.75rem;
  color: var(--title);
  font-size: 1.15rem;
  font-weight: 700;
}
.case-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}
.case-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.7rem;
  align-items: start;
  color: var(--text-strong);
  font-size: 0.95rem;
  line-height: 1.55;
}
.case-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--ok-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.case-block__impact {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
}

/* ============================================================
   PRECIOS
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  max-width: 560px;
  margin: 0 auto;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  padding: 2.4rem 2rem 2.2rem;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.pricing-card:hover { transform: translateY(-4px); }

.pricing-card--launch {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 50%),
    #ffffff;
  border-color: var(--accent);
  box-shadow:
    0 0 0 4px var(--accent-soft),
    var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px -8px rgba(37, 99, 235, 0.55);
}
.pricing-badge::before { content: none; }

.pricing-badge--normal {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text-strong);
  box-shadow: var(--shadow-sm);
}
.pricing-badge--normal::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--text-soft); }

.pricing-card__head h3 {
  margin: 0 0 0.4rem;
  color: var(--title);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pricing-card__head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

.pricing-price {
  padding: 1.2rem 0 1.3rem;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.pricing-price__row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.pricing-price__label {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pricing-price__amount {
  color: var(--title);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.pricing-price__amount small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-left: 0.3rem;
  letter-spacing: 0;
}
.pricing-card--launch .pricing-price__amount {
  color: var(--accent);
}

.pricing-cta {
  align-self: center;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
  flex: 1;
}
.pricing-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.65rem;
  align-items: start;
  color: var(--text-strong);
  font-size: 0.92rem;
  line-height: 1.55;
}
.pricing-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-note {
  max-width: 520px;
  margin: 2rem auto 0;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  justify-content: center;
}
.pricing-note img { width: 18px; height: 18px; }
.pricing-note span {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ============================================================
   CÓMO TRABAJAMOS — process cards
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}
.process-card {
  position: relative;
  padding: 2rem 1.6rem 1.8rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-md);
}
.process-number {
  display: inline-block;
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  width: fit-content;
}
.process-card h3 {
  margin: 0.3rem 0 0;
  color: var(--title);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.process-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}
.faq-item {
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--accent-line); }
.faq-item h3 {
  margin: 0 0 0.65rem;
  color: var(--title);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.faq-item h3::before {
  content: "?";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.85rem;
  flex: none;
}
.faq-item p {
  margin: 0 0 0 2.2rem;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ============================================================
   DEMO
   ============================================================ */
.demo {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.demo-copy h2 {
  margin: 1rem 0 0;
  color: var(--title);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.demo-copy p {
  margin: 1rem 0 1.75rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

.demo-video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(140deg, #0b1220 0%, #1e3a8a 100%);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
}
.demo-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(96, 165, 250, 0.25), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.3), transparent 50%);
}
.demo-video__inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 1rem; }
.demo-video strong {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}
.demo-video p {
  max-width: 360px;
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 1.6;
}
.demo-video__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bfdbfe;
}

.play-button {
  width: 78px;
  height: 78px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 34px -10px rgba(37, 99, 235, 0.6), 0 0 0 8px rgba(255,255,255,0.15);
  cursor: pointer;
  transition: transform 0.25s;
}
.play-button:hover { transform: scale(1.08); }
.play-button::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid currentColor;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3.5rem;
}
.contact-copy h2 {
  margin: 1rem 0 0;
  color: var(--title);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.contact-copy > p {
  margin: 1.25rem 0 2rem;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.7;
}

.contact-cards { display: grid; gap: 0.85rem; }
.contact-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, transform 0.2s;
}
.contact-card:hover {
  border-color: var(--accent);
  transform: translateX(3px);
}
.contact-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.contact-card__icon svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.contact-card__meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.1rem;
}
.contact-card a {
  color: var(--title);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form {
  padding: 2.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.form-field label {
  color: var(--text-strong);
  font-size: 0.85rem;
  font-weight: 600;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--title);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-size: 0.94rem;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-soft); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-field input.is-invalid,
.form-field textarea.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}
.form-field textarea { min-height: 130px; resize: vertical; }

.form-status {
  min-height: 22px;
  margin: 0.85rem 0 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 500;
}
.form-status.is-error { color: #b91c1c; }
.form-status.is-success { color: var(--ok); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 60px 0 32px;
  background: var(--bg-ink);
  color: #cbd5e1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
  gap: 2rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand .brand img {
  filter: brightness(0) invert(1);
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: #64748b; }
.footer-text {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 300px;
}
.footer-grid h3 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--mono);
}
.footer-links { display: grid; gap: 0.65rem; }
.footer-links a {
  color: #94a3b8;
  font-size: 0.93rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #64748b;
  font-size: 0.85rem;
}
.footer-bottom span { font-family: var(--mono); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1120px) {
  .hero-grid,
  .problem-layout,
  .solution-intro,
  .case,
  .demo,
  .contact {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-float { display: none; }
  .hero-frame { transform: none; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-bar { grid-template-columns: 1fr; gap: 1rem; }
  .trust-bar__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  :root { --header-height: 68px; --container: min(1280px, calc(100% - 2rem)); }
  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 8px);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.8rem;
    padding: 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  body.nav-open .site-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .menu-toggle { display: inline-block; }
  .header-actions .button { display: none; }
  body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero { padding-top: calc(var(--header-height) + 36px); padding-bottom: 72px; }
  .brand-text small { display: none; }
  .pricing,
  .faq-grid,
  .value-grid,
  .process-grid,
  .form-row,
  .trust-bar__stats { grid-template-columns: 1fr; }
  .flow-step { grid-template-columns: 56px 1fr; }
  .flow-step .flow-icon { display: none; }
  .flow::before { left: 27px; }
  .flow-number { width: 52px; height: 52px; font-size: 0.95rem; }
  .demo { padding: 1.6rem; }
  .contact-form { padding: 1.6rem; }
  .case-hero { padding: 1.8rem; }
  .case-block { padding: 1.4rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
}
