/* ============================================
   ALPHASYSTEM — styles.css v2
   Estética: editorial premium, dark, B2B
   Tipografía: Archivo (títulos) + Manrope (cuerpo)
   ============================================ */

/* ── RESET ─────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* ── TOKENS ─────────────────────────────────── */
:root {
  /* Fondo */
  --black:   #07070a;
  --bg1:     #0c0c10;
  --bg2:     #111116;
  --bg3:     #17171d;
  --bg4:     #1e1e26;

  /* Bordes */
  --line:    rgba(255,255,255,0.055);
  --line2:   rgba(255,255,255,0.10);
  --line3:   rgba(255,255,255,0.18);

  /* Texto */
  --w:       #ffffff;
  --w80:     rgba(255,255,255,0.80);
  --w60:     rgba(255,255,255,0.60);
  --w40:     rgba(255,255,255,0.40);
  --w20:     rgba(255,255,255,0.20);
  --w08:     rgba(255,255,255,0.07);

  /* Clasificación */
  --hot:     #ff5c3a;
  --hot-bg:  rgba(255,92,58,0.09);
  --warm:    #e8a020;
  --warm-bg: rgba(232,160,32,0.09);
  --cold:    #3d8fff;
  --cold-bg: rgba(61,143,255,0.09);
  --vq:      #5ee89e;
  --vq-bg:   rgba(94,232,158,0.09);

  /* Tipografía */
  --font-head: 'Archivo', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'DM Mono', monospace;

  /* Espaciado */
  --r:    8px;
  --r2:   12px;
  --r3:   16px;
  --pad:  clamp(20px, 5vw, 96px);
  --max:  1140px;
}

/* ── BASE ───────────────────────────────────── */
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--w);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* Grain sutil */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0.022;
}

/* ── TIPOGRAFÍA ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--w);
}

h1 { font-size: clamp(42px, 6.5vw, 88px); }
h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.06; }
h3 { font-size: clamp(16px, 1.8vw, 20px); font-weight: 700; letter-spacing: -0.025em; }
p  { color: var(--w60); font-weight: 400; line-height: 1.7; }

em { font-style: italic; color: var(--w40); }

/* ── SCROLLBAR ──────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 2px; }

/* ── LAYOUT ─────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.sec {
  padding: clamp(72px, 10vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}

/* ── ETIQUETA DE SECCIÓN ────────────────────── */
.sec-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--w40);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.sec-tag::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--w20);
  flex-shrink: 0;
}

/* ── PILLS / BADGES ─────────────────────────── */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--w40);
  border: 1px solid var(--line2);
  padding: 5px 13px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.tag-pill .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--w20);
  flex-shrink: 0;
}

/* ── BOTONES ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  padding: 14px 28px;
  border-radius: var(--r);
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--w);
  color: var(--black);
}
.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(255,255,255,0.10);
}

.btn-outline {
  background: transparent;
  color: var(--w80);
  border: 1px solid var(--line2);
}
.btn-outline:hover {
  border-color: var(--line3);
  color: var(--w);
  background: var(--w08);
}

.btn-wsp {
  background: rgba(37,211,102,0.09);
  color: #25d366;
  border: 1px solid rgba(37,211,102,0.22);
}
.btn-wsp:hover { background: rgba(37,211,102,0.16); }

.btn-cal {
  background: var(--w);
  color: var(--black);
}
.btn-cal:hover { opacity: 0.88; }

.btn-sm  { padding: 10px 20px; font-size: 13px; }
.btn-lg  { padding: 16px 36px; font-size: 15px; }

/* ── ANIMACIÓN FADE UP ──────────────────────── */
.fu {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fu.in { opacity: 1; transform: none; }
.fu[data-delay="1"] { transition-delay: 0.07s; }
.fu[data-delay="2"] { transition-delay: 0.14s; }
.fu[data-delay="3"] { transition-delay: 0.21s; }
.fu[data-delay="4"] { transition-delay: 0.28s; }
.fu[data-delay="5"] { transition-delay: 0.35s; }

/* ══════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 60px;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(7,7,10,0.88);
  backdrop-filter: blur(20px);
  transition: border-color 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%; max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  gap: 16px;
}

.logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.05em;
  color: var(--w);
  text-decoration: none;
  flex-shrink: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--w40);
  text-decoration: none;
  padding: 8px 13px;
  border-radius: var(--r);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--w); background: var(--w08); }

.header-cta { margin-left: 8px; flex-shrink: 0; }

/* Hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--w60);
  border-radius: 1px;
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--bg1);
  border-bottom: 1px solid var(--line);
  padding: 12px 20px 20px;
  z-index: 499;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link {
  padding: 13px 16px;
  border-radius: var(--r);
  font-size: 15px;
  color: var(--w60);
}
.mobile-menu .nav-link:hover { color: var(--w); background: var(--w08); }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(100px,14vw,160px) 0 clamp(72px,10vw,120px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -300px; right: -300px;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 72px;
  align-items: center;
}

.hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-h1 {
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--w60);
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: center;
}

.hero-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--w20);
  letter-spacing: 0.04em;
}

/* Visual hero — sistema en vivo */
.hero-visual {
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: var(--r3);
  overflow: hidden;
}

.hv-header {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hv-dots { display: flex; gap: 6px; }
.hv-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line2);
}

.hv-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--w20);
  letter-spacing: 0.06em;
}

.hv-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hv-row {
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--w80);
}

.hv-icon { font-size: 14px; flex-shrink: 0; }

.hv-arrow {
  text-align: center;
  color: var(--w20);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 1px 0;
}

.hv-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.hv-badge.live {
  background: rgba(94,232,158,0.1);
  color: var(--vq);
  border: 1px solid rgba(94,232,158,0.25);
}
.hv-badge.pending {
  background: var(--warm-bg);
  color: var(--warm);
  border: 1px solid rgba(232,160,32,0.25);
}

.pulse-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--vq);
  display: inline-block;
  margin-right: 3px;
  animation: pulse 1.8s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.6); }
}

/* ══════════════════════════════════════════════
   SECCIÓN PROBLEMA
══════════════════════════════════════════════ */
#problema { background: var(--bg1); }

.problema-header {
  max-width: 760px;
  margin-bottom: 60px;
}
.problema-header h2 { margin-bottom: 18px; }
.problema-header p  { font-size: 17px; }

.problema-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  overflow: hidden;
}

.pain-card {
  background: var(--bg2);
  padding: 32px 28px;
  transition: background 0.22s;
}
.pain-card:hover { background: var(--bg3); }

.pain-icon {
  font-size: 20px;
  margin-bottom: 16px;
  display: block;
  filter: grayscale(0.3);
}
.pain-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--w);
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}
.pain-card p {
  font-size: 13px;
  color: var(--w40);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   SECCIÓN SISTEMA
══════════════════════════════════════════════ */
#sistema {}

.sistema-header {
  max-width: 640px;
  margin-bottom: 60px;
}
.sistema-header h2 { margin-bottom: 16px; }
.sistema-header p  { font-size: 17px; }

.sistema-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.sys-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: 28px 22px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.22s, transform 0.22s;
}
.sys-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.22s;
}
.sys-card:hover { border-color: var(--line2); transform: translateY(-3px); }
.sys-card:hover::after { opacity: 1; }

.sys-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--w20);
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  display: block;
}

.sys-icon {
  font-size: 24px;
  margin-bottom: 14px;
  display: block;
  filter: grayscale(0.2);
}

.sys-card h3 {
  font-size: 16px;
  color: var(--w);
  margin-bottom: 10px;
}

.sys-card p {
  font-size: 13px;
  color: var(--w40);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   SECCIÓN CÓMO FUNCIONA
══════════════════════════════════════════════ */
#como { background: var(--bg1); }

.como-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.como-left h2    { margin-bottom: 16px; }
.como-left > p   { font-size: 17px; margin-bottom: 32px; }

.como-highlight {
  padding: 22px 24px;
  background: var(--bg3);
  border-left: 2px solid var(--w20);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 15px;
  color: var(--w60);
  line-height: 1.65;
  font-style: italic;
}

/* Flujo */
.flow { display: flex; flex-direction: column; }

.flow-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.flow-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.flow-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line2);
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--w40);
  flex-shrink: 0;
}

.flow-line {
  width: 1px;
  flex: 1;
  min-height: 20px;
  background: linear-gradient(to bottom, var(--line2), transparent);
  margin: 4px 0;
}
.flow-item:last-child .flow-line { display: none; }

.flow-content { padding: 6px 0 24px; }
.flow-content h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--w);
  letter-spacing: -0.025em;
  margin-bottom: 5px;
}
.flow-content p { font-size: 13px; color: var(--w40); line-height: 1.6; }

/* ══════════════════════════════════════════════
   SECCIÓN DEMO — FORMULARIO
══════════════════════════════════════════════ */
#demo {}

.demo-header {
  max-width: 620px;
  margin: 0 auto clamp(48px, 7vw, 72px);
  text-align: center;
}
.demo-header .sec-tag { justify-content: center; }
.demo-header h2 { margin-bottom: 16px; }
.demo-header p  { font-size: 17px; }

/* Contenedor del formulario */
.form-wrap {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 20px;
  overflow: hidden;
}

/* Barra de progreso */
.form-progress-bar {
  height: 2px;
  background: var(--line);
}
.form-progress-fill {
  height: 100%;
  background: var(--w40);
  width: 0;
  transition: width 0.4s ease;
}

/* Interior del form */
.form-inner { padding: clamp(24px, 5vw, 44px); }

/* Secciones del form */
.form-section { margin-bottom: 36px; }

.form-section-title {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--w20);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-section-title::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--w20);
}

/* Grilla 2 col */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Grupos */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--w40);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Inputs, selects, textareas */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--line2);
  border-radius: var(--r);
  color: var(--w);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-input,
.form-select {
  height: 48px;
  padding: 0 16px;
}

.form-textarea {
  padding: 14px 16px;
  min-height: 100px;
  resize: vertical;
  line-height: 1.6;
}

.form-input::placeholder  { color: var(--w20); }
.form-textarea::placeholder { color: var(--w20); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--line3);
  background: #1b1b22;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,.28)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-color: var(--bg3);
  padding-right: 44px;
}
.form-select option { background: var(--bg3); color: var(--w); }

/* Submit */
.form-submit-wrap { padding-top: 8px; }

.btn-submit {
  width: 100%;
  height: 54px;
  background: var(--w);
  color: var(--black);
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}
.btn-submit:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(255,255,255,0.10);
}
.btn-submit:active { transform: none; }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.submit-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--w20);
  text-align: center;
  margin-top: 12px;
}

/* ── RESULTADO ───────────────────────────────── */
#resultado {
  display: none;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.res-header {
  margin-bottom: 24px;
}

.res-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.res-score-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.res-score {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(52px, 8vw, 72px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.res-score-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--w40);
}

.res-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(20px, 2.5vw, 26px);
  letter-spacing: -0.03em;
  color: var(--w);
  margin-bottom: 10px;
  line-height: 1.1;
}

.res-text {
  font-size: 15px;
  color: var(--w60);
  line-height: 1.65;
  font-weight: 300;
  max-width: 560px;
}

.res-body { margin-top: 24px; }

.res-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Colores de resultado */
.res-frio     .res-badge { background: var(--cold-bg); color: var(--cold); border: 1px solid rgba(61,143,255,0.22); }
.res-frio     .res-score { color: var(--cold); }
.res-tibio    .res-badge { background: var(--warm-bg); color: var(--warm); border: 1px solid rgba(232,160,32,0.22); }
.res-tibio    .res-score { color: var(--warm); }
.res-caliente .res-badge { background: var(--hot-bg);  color: var(--hot);  border: 1px solid rgba(255,92,58,0.22); }
.res-caliente .res-score { color: var(--hot); }
.res-muyq     .res-badge { background: var(--vq-bg);   color: var(--vq);   border: 1px solid rgba(94,232,158,0.22); }
.res-muyq     .res-score { color: var(--vq); }

/* ══════════════════════════════════════════════
   IMPLEMENTACIÓN
══════════════════════════════════════════════ */
#implementacion { background: var(--bg1); }

.impl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.impl-left h2   { margin-bottom: 16px; }
.impl-left > p  { font-size: 17px; margin-bottom: 36px; }

.impl-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 40px;
}

.impl-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--w60);
  font-weight: 400;
  line-height: 1.5;
}

.impl-list li::before {
  content: '—';
  color: var(--w20);
  font-family: var(--font-mono);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Card de precio */
.impl-price-card {
  background: var(--bg3);
  border: 1px solid var(--line2);
  border-radius: var(--r3);
  padding: clamp(28px, 4vw, 40px);
  position: sticky;
  top: 80px;
}

.impl-price-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--w40);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.impl-price {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.05em;
  color: var(--w);
  line-height: 1.1;
  margin-bottom: 10px;
}

.impl-price-note {
  font-size: 13px;
  color: var(--w40);
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 300;
}

.impl-divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}

/* ══════════════════════════════════════════════
   PARA QUIÉN ES
══════════════════════════════════════════════ */
#para-quien {}

.pq-header {
  max-width: 680px;
  margin-bottom: 52px;
}
.pq-header h2 { margin-bottom: 0; }

.pq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pq-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  padding: 32px 28px;
}

.pq-card-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pq-card-title::before { content: ''; width: 16px; height: 1px; }
.pq-card-title.is { color: var(--vq); }
.pq-card-title.is::before { background: var(--vq); }
.pq-card-title.not { color: var(--hot); }
.pq-card-title.not::before { background: var(--hot); }

.pq-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pq-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--w60);
  font-weight: 400;
  line-height: 1.5;
}

.pq-check {
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 1px;
  font-family: var(--font-mono);
}
.pq-card.is  .pq-check { color: var(--vq); }
.pq-card.not .pq-check { color: var(--hot); }

/* ══════════════════════════════════════════════
   CONTACTO
══════════════════════════════════════════════ */
#contacto {
  padding: clamp(80px, 12vw, 130px) 0;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.018) 0%, transparent 70%);
}

.contacto-inner {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.contacto-inner .sec-tag { justify-content: center; }
.contacto-inner h2       { margin-bottom: 16px; }
.contacto-inner p        { font-size: 17px; margin-bottom: 40px; }

.contacto-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
#footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 15px;
  color: var(--w);
  letter-spacing: -0.04em;
  text-decoration: none;
}

.footer-desc {
  font-size: 13px;
  color: var(--w40);
  font-weight: 400;
}

.footer-by {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--w20);
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════════
   RESPONSIVE — TABLET (769px–1024px)
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .sistema-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid    { gap: 48px; }
  .impl-grid    { gap: 48px; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
══════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Header */
  nav            { display: none; }
  .hamburger     { display: flex; }
  .header-cta    { display: none; }

  /* Hero */
  .hero-grid     { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual   { display: none; }
  .hero-btns     { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  /* Problema: 2 col en mobile grande, 1 col en pequeño */
  .problema-grid { grid-template-columns: repeat(2, 1fr); }

  /* Sistema */
  .sistema-grid  { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Cómo funciona */
  .como-grid     { grid-template-columns: 1fr; gap: 48px; }

  /* Implementación */
  .impl-grid     { grid-template-columns: 1fr; gap: 48px; }
  .impl-price-card { position: static; }

  /* Para quién */
  .pq-grid       { grid-template-columns: 1fr; }

  /* Formulario */
  .form-row      { grid-template-columns: 1fr; }
  .form-input,
  .form-select   { height: 52px; font-size: 16px; } /* 16px evita zoom en iOS */
  .form-textarea { font-size: 16px; }

  /* Resultado */
  .res-btns      { flex-direction: column; }
  .res-btns .btn { width: 100%; justify-content: center; }

  /* Contacto */
  .contacto-btns { flex-direction: column; align-items: stretch; }
  .contacto-btns .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer-inner  { flex-direction: column; align-items: flex-start; gap: 8px; }

}

/* ══════════════════════════════════════════════
   RESPONSIVE — MOBILE PEQUEÑO (≤420px)
══════════════════════════════════════════════ */
@media (max-width: 420px) {
  .problema-grid { grid-template-columns: 1fr; }
  .sistema-grid  { grid-template-columns: 1fr; }
  .hero-badges   { display: none; } /* evita desborde en pantallas muy chicas */
}
