/* Estilos compartidos: landing de servicios y páginas por servicio (Martín Hernayes) */
:root {
  --bg: #F5F5F7;
  --card: #FFFFFF;
  --text: #1D1D1F;
  --dim: #5E5E66;
  --faint: #9A9AA2;
  --border: rgba(0, 0, 0, .08);
  --accent: #2563eb;
  --accent-ink: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, .08);
  --green: #16a34a;
  --dark: #0d1117;
  --shadow-sm: 0 1px 12px rgba(0, 0, 0, .04);
  --shadow-md: 0 6px 30px rgba(0, 0, 0, .08);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── Nav ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 60px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 40px;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--border);
}
.nav-brand { font-weight: 700; font-size: 17px; letter-spacing: -.3px; text-decoration: none; }
.nav-brand span { color: var(--faint); font-weight: 500; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--dim); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { font-size: 13px !important; padding: 8px 16px !important; }
.nav-cta { white-space: nowrap; }
@media (max-width: 900px) { .nav-links { display: none; } .nav { padding: 0 16px; } }
@media (max-width: 640px) { .nav .nav-brand span, .nav .nav-cta { display: none; } }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 'Inter', sans-serif; padding: 15px 26px; border-radius: 980px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(37, 99, 235, .28); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border); }
.btn-wa::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.5 14.4c-.3-.1-1.8-.9-2-1s-.5-.1-.7.1-.8 1-1 1.2-.4.2-.7.1a8 8 0 0 1-2.4-1.5 9 9 0 0 1-1.6-2c-.2-.3 0-.5.1-.6l.5-.5.3-.5v-.5l-1-2.2c-.2-.6-.5-.5-.7-.5h-.6a1.2 1.2 0 0 0-.8.4 3.5 3.5 0 0 0-1.1 2.6 6 6 0 0 0 1.3 3.2 13.8 13.8 0 0 0 5.3 4.7c2.6 1 3.2.8 3.7.8a3.2 3.2 0 0 0 2.1-1.5 2.6 2.6 0 0 0 .2-1.5c-.1-.1-.3-.2-.6-.3M12 21.8a9.8 9.8 0 0 1-5-1.4l-.4-.2-3.7 1 1-3.6-.2-.4A9.8 9.8 0 1 1 12 21.8m8.4-18.2A11.8 11.8 0 0 0 1.8 17.8L.1 24l6.3-1.7A11.8 11.8 0 0 0 12 23.8 11.8 11.8 0 0 0 20.4 3.6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.5 14.4c-.3-.1-1.8-.9-2-1s-.5-.1-.7.1-.8 1-1 1.2-.4.2-.7.1a8 8 0 0 1-2.4-1.5 9 9 0 0 1-1.6-2c-.2-.3 0-.5.1-.6l.5-.5.3-.5v-.5l-1-2.2c-.2-.6-.5-.5-.7-.5h-.6a1.2 1.2 0 0 0-.8.4 3.5 3.5 0 0 0-1.1 2.6 6 6 0 0 0 1.3 3.2 13.8 13.8 0 0 0 5.3 4.7c2.6 1 3.2.8 3.7.8a3.2 3.2 0 0 0 2.1-1.5 2.6 2.6 0 0 0 .2-1.5c-.1-.1-.3-.2-.6-.3M12 21.8a9.8 9.8 0 0 1-5-1.4l-.4-.2-3.7 1 1-3.6-.2-.4A9.8 9.8 0 1 1 12 21.8m8.4-18.2A11.8 11.8 0 0 0 1.8 17.8L.1 24l6.3-1.7A11.8 11.8 0 0 0 12 23.8 11.8 11.8 0 0 0 20.4 3.6'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ── Layout ── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section.white { background: #fff; }
.section.dark { background: var(--dark); color: #fff; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.dark .eyebrow { color: #8fb4ff; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.12; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; max-width: 760px; }
.lead { font-size: 18px; color: var(--dim); max-width: 680px; margin-top: 16px; }
.dark .lead { color: rgba(255, 255, 255, .72); }
.center { text-align: center; }
.center h2, .center .lead { margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .section { padding: 64px 0; } .wrap { padding: 0 16px; } }

/* ── Hero ── */
.hero { padding: 140px 0 88px; background: radial-gradient(90% 70% at 85% 0%, rgba(37, 99, 235, .10), transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 900; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { font-size: 13px; color: var(--faint); margin-top: 14px; }
.hero-card { background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-md); text-align: center; }
.hero-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.hero-card .who { font-weight: 700; margin-top: 14px; }
.hero-card .role { font-size: 13px; color: var(--dim); }
@media (max-width: 860px) {
  .hero { padding: 108px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-card { max-width: 280px; }
}

/* ── Cards / grids ── */
.grid { display: grid; gap: 16px; margin-top: 44px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 28px; box-shadow: var(--shadow-sm); }
.section.white .card { background: var(--bg); box-shadow: none; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--dim); font-size: 15px; }
.ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--accent-soft); margin-bottom: 16px; }

/* Situaciones reconocibles */
.pain { position: relative; padding-left: 64px; }
.pain .ic { position: absolute; left: 24px; top: 26px; width: 28px; height: 28px; font-size: 15px; border-radius: 8px; background: #fee2e2; }
.pain h3 { font-size: 17px; }
.cost-line { margin-top: 36px; padding: 22px 26px; border-radius: var(--r-md); background: var(--dark); color: #fff; font-size: 17px; font-weight: 500; }
.cost-line b { color: #8fb4ff; }

/* Áreas de servicio */
.area { display: flex; flex-direction: column; }
.area .num { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.area h3 { font-size: 22px; margin: 6px 0 10px; }
.area ul { list-style: none; margin: 18px 0 22px; display: grid; gap: 10px; }
.area li { font-size: 14.5px; color: var(--dim); padding-left: 24px; position: relative; }
.area li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.area li a { color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(37, 99, 235, .35); }
.area li a:hover { color: var(--accent); }
.area .more { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.area.featured { border: 2px solid var(--accent); }

/* Pasos */
.steps { counter-reset: s; }
.step { position: relative; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; font-size: 34px; font-weight: 900; color: var(--accent); letter-spacing: -.03em; margin-bottom: 10px; }
.dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.dark .card p { color: rgba(255, 255, 255, .7); }
.dark .step::before { color: #8fb4ff; }

/* Sobre mí */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.about-grid img { border-radius: var(--r-lg); aspect-ratio: 4/5; object-fit: cover; object-position: center 25%; width: 100%; }
.about-grid p { color: var(--dim); font-size: 16.5px; margin-top: 16px; }
.exp { margin-top: 28px; display: grid; gap: 14px; }
.exp-item { border-left: 3px solid var(--accent); background: var(--bg); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 16px 20px; }
.exp-item .t { font-weight: 700; }
.exp-item .d { font-size: 13px; color: var(--faint); font-weight: 600; }
.exp-item p { font-size: 14.5px; margin-top: 6px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 28px; } .about-grid img { max-width: 320px; } }

/* Precios */
.price .tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); margin-bottom: 12px; }
.note { font-size: 14px; color: var(--faint); margin-top: 24px; }

/* FAQ */
.faq { max-width: 780px; margin: 40px auto 0; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm); margin-bottom: 10px; }
.section.white .faq details { background: var(--bg); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 20px; color: var(--dim); font-size: 15px; }

/* CTA final */
.final { text-align: center; }
.final h2 { margin: 0 auto; }
.final .lead { margin: 16px auto 0; }
.final .hero-actions { justify-content: center; }
.anto-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.anto-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22, 163, 74, .2); }

/* Página de servicio: flujo y lista de alcance */
.flow { display: grid; gap: 12px; margin-top: 44px; }
.flow-row { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px 24px; }
.flow-row .n { width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.flow-row h3 { font-size: 18px; margin-bottom: 4px; }
.flow-row p { color: var(--dim); font-size: 15px; }
.example { margin-top: 28px; background: var(--accent-soft); border-radius: var(--r-md); padding: 26px 28px; }
.example .t { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.example p { font-size: 16px; }
.checklist { list-style: none; display: grid; gap: 12px; margin-top: 16px; }
.checklist li { padding-left: 28px; position: relative; color: var(--dim); font-size: 15.5px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.checklist.q li::before { content: "?"; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--border); }

/* Mini tablero (visual del seguimiento) */
.board { background: #fff; border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-md); }
.board-h { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--faint); margin-bottom: 12px; }
.board-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.col-t { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.lead-card { background: var(--bg); border-radius: 10px; padding: 10px; margin-bottom: 8px; font-size: 12px; }
.lead-card b { display: block; font-size: 12.5px; }
.lead-card .nx { margin-top: 6px; font-size: 11px; font-weight: 700; color: var(--accent); }
.lead-card .nx.ok { color: var(--green); }

/* Footer */
.footer { background: #fff; border-top: 1px solid var(--border); padding: 36px 0; font-size: 13px; color: var(--dim); }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--dim); text-decoration: none; margin-left: 18px; }
.footer a:hover { color: var(--text); }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); text-decoration: none; }
.wa-float.btn-wa::before { width: 28px; height: 28px; }

/* ── v2: áreas con dolores, escalera de soluciones, mocks de hero ── */
.pains { list-style: none; margin: 18px 0 22px; display: grid; gap: 10px; }
.pains li { font-size: 14.5px; color: var(--dim); padding-left: 26px; position: relative; }
.pains li::before { content: "✕"; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 5px; background: #fee2e2; color: #dc2626; font-size: 10px; font-weight: 900; display: grid; place-items: center; }
.area .ic { margin-bottom: 14px; }
.area .btn { margin-top: auto; align-self: flex-start; font-size: 14px; padding: 12px 20px; }

.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; position: relative; }
.rung { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px; position: relative; }
.section.white .rung { background: var(--bg); }
.rung .lvl { display: flex; gap: 4px; margin-bottom: 14px; }
.rung .lvl i { width: 18px; height: 6px; border-radius: 3px; background: #dbe5fb; }
.rung .lvl i.on { background: var(--accent); }
.rung h3 { font-size: 17px; margin-bottom: 6px; }
.rung p { font-size: 14px; color: var(--dim); }
.rung .ex { margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--text); }
.rung.top, .section.white .rung.top { background: var(--dark); color: #fff; border-color: var(--dark); }
.rung.top p { color: rgba(255,255,255,.72); }
.rung.top .ex { color: #8fb4ff; }
.rung.top .lvl i { background: rgba(255,255,255,.18); }
.rung.top .lvl i.on { background: #8fb4ff; }
@media (max-width: 900px) { .ladder { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ladder { grid-template-columns: 1fr; } }

.nav-links a.on { color: var(--accent); font-weight: 600; }

/* Mock: chat de WhatsApp */
.chat { background: #efeae2; border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow-md); display: grid; gap: 8px; }
.chat-h { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 700; }
.chat-h small { display: block; font-weight: 500; color: var(--green); font-size: 11px; }
.chat-h .av { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; }
.msg { max-width: 82%; padding: 8px 11px; border-radius: 10px; font-size: 13px; line-height: 1.4; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.msg.me { justify-self: end; background: #d9fdd3; }
.msg .tm { display: block; text-align: right; font-size: 10px; color: var(--faint); margin-top: 2px; }
.chat .sys { justify-self: center; font-size: 11px; font-weight: 600; background: #fff7d6; color: #8a6d00; padding: 4px 10px; border-radius: 8px; }

/* Mock: tablero de cobranzas */
.ledger { background: #fff; border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-md); }
.ledger table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ledger th { text-align: left; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); font-weight: 700; padding: 6px 4px; }
.ledger td { padding: 9px 4px; border-top: 1px solid var(--border); }
.pill { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.pill.ok { background: #dcfce7; color: #15803d; }
.pill.wait { background: #fef3c7; color: #a16207; }
.pill.auto { background: var(--accent-soft); color: var(--accent); }
.ledger .sum { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 12px; color: var(--dim); }
.ledger .sum b { color: var(--text); }

/* ── v3: figura con epígrafe y bloque de contratación compacto ── */
.mock-fig { margin: 0; }
.mock-fig figcaption { font-size: 13px; color: var(--faint); margin-top: 12px; text-align: center; }
.hire { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.hire > div { background: var(--bg); border-radius: var(--r-md); padding: 26px 28px; }
.hire h3 { font-size: 17px; margin-bottom: 6px; }
.hire p { color: var(--dim); font-size: 15px; margin-top: 10px; }
.hire p a { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 760px) { .hire { grid-template-columns: 1fr; } }
.about-solo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-solo p { color: var(--dim); font-size: 16.5px; margin-top: 16px; }
@media (max-width: 860px) { .about-solo { grid-template-columns: 1fr; gap: 24px; } }

/* ── v4: contratación y FAQ como secciones separadas ── */
.section:not(.white):not(.dark) .hire > div { background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.faq-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-split .faq { margin: 0; max-width: none; }
@media (max-width: 860px) { .faq-split { grid-template-columns: 1fr; gap: 24px; } }

/* ── v5: héroes más cortos y menos texto ── */
.hero { padding: 120px 0 72px; }
.hero h1 { font-size: clamp(34px, 4.8vw, 54px); }
.hero .lead { font-size: 18px; margin-top: 14px; }
.hero-actions { margin-top: 26px; }
.pains-grid .pain { padding: 22px 22px 22px 60px; display: flex; align-items: center; min-height: 84px; }
.pains-grid .pain .ic { left: 20px; top: 50%; transform: translateY(-50%); }
.pains-grid .pain h3 { font-size: 16px; margin: 0; }
@media (max-width: 860px) { .hero { padding: 96px 0 56px; } }

/* ── v6: franja de plataformas en movimiento ── */
.tools { margin-top: 56px; }
.tools-t { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; padding: 0 16px; }
.tools-mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tools-track { display: flex; width: max-content; animation: tools-scroll 45s linear infinite; }
.tools-mask:hover .tools-track { animation-play-state: paused; }
.tools-set { display: flex; gap: 12px; padding-right: 12px; }
.tool { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; background: #fff; border: 1px solid var(--border); border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; box-shadow: var(--shadow-sm); }
.tool-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.tool-ic svg { width: 16px; height: 16px; }
.tool-ic b { font-size: 11px; font-weight: 800; letter-spacing: -.02em; }
@keyframes tools-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .tools-track { animation: none; width: auto; }
  .tools-set { flex-wrap: wrap; justify-content: center; padding: 0 16px; }
  .tools-set[aria-hidden] { display: none; }
}

/* ── v7: logos reales a color ── */
.tool { padding: 9px 16px 9px 12px; }
.tool img { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.tools-track { animation-duration: 80s; }

/* ── v8: landing única ── */
/* Métricas en el encabezado */
.hero-kpis { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--border); }
.hero-kpis div { font-size: 13px; color: var(--dim); line-height: 1.3; }
.hero-kpis b { display: block; font-size: 26px; font-weight: 900; color: var(--text); letter-spacing: -.02em; }

/* Caso Aurent: tablero */
.case-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; margin-top: 40px; align-items: stretch; }
.dash { background: var(--dark); color: #fff; border-radius: var(--r-lg); padding: 28px; }
.dash-h { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,.55); font-weight: 600; margin-bottom: 18px; }
.dash-h b { color: #fff; font-size: 15px; }
.dash-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dash-kpi { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px; }
.dash-kpi b { display: block; font-size: 30px; font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.dash-kpi span { font-size: 12.5px; color: rgba(255,255,255,.65); }
.growth { margin-top: 18px; display: grid; gap: 12px; }
.growth-row { font-size: 12.5px; color: rgba(255,255,255,.7); }
.growth-row .lbl { display: flex; justify-content: space-between; margin-bottom: 6px; }
.growth-row .lbl b { color: #fff; }
.bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: linear-gradient(90deg, #2563eb, #8fb4ff); }
.bar i.from { background: rgba(255,255,255,.7); }
.case-side { display: grid; gap: 12px; align-content: start; }
.built { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px; }
.built h3 { font-size: 16px; margin-bottom: 12px; }
.built ul { list-style: none; display: grid; gap: 10px; }
.built li { font-size: 14.5px; color: var(--dim); padding-left: 26px; position: relative; }
.built li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.built li b { color: var(--text); }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case-tags span { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } }

/* Caso A TEAM: agentes */
.agent-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.agent-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 26px; position: relative; overflow: hidden; }
.agent-card .av { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 16px; }
.agent-card h3 { font-size: 20px; }
.agent-card .role { font-size: 13px; font-weight: 700; color: var(--accent); margin: 2px 0 10px; }
.agent-card p { font-size: 14.5px; color: var(--dim); }
.agent-card.main { border: 2px solid var(--accent); }
.agent-card .badge { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: var(--accent); color: #fff; }
@media (max-width: 900px) { .agent-cards { grid-template-columns: 1fr; } }

/* Secciones por área */
.area-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.area-sec.rev > :first-child { order: 2; }
.area-sec h2 { font-size: clamp(28px, 3.6vw, 38px); }
.mini { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.mini li { font-size: 15.5px; padding-left: 30px; position: relative; }
.mini.bad li { color: var(--dim); }
.mini.bad li::before { content: "✕"; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 6px; background: #fee2e2; color: #dc2626; font-size: 10px; font-weight: 900; display: grid; place-items: center; }
.mini.sol li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 900; display: grid; place-items: center; }
.mini.sol li b { font-weight: 700; }
.sol-t { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-top: 28px; }
.area-cta { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 900px) { .area-sec { grid-template-columns: 1fr; gap: 32px; } .area-sec.rev > :first-child { order: 0; } }

/* Embudo */
.funnel { background: #fff; border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-md); }
.funnel-h { font-size: 12px; font-weight: 700; color: var(--faint); margin-bottom: 16px; display: flex; justify-content: space-between; }
.stage { margin: 0 auto 8px; border-radius: 12px; padding: 13px 16px; color: #fff; font-size: 14px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.stage small { font-weight: 600; font-size: 11.5px; opacity: .85; text-align: right; }
.stage:nth-child(2) { width: 100%; background: #1e40af; }
.stage:nth-child(3) { width: 90%; background: #1d4ed8; }
.stage:nth-child(4) { width: 80%; background: #2563eb; }
.stage:nth-child(5) { width: 70%; background: #3b82f6; }
.stage:nth-child(6) { width: 60%; background: var(--green); margin-bottom: 0; }

/* Calculadora */
.calc-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; margin-top: 40px; align-items: start; }
.calc-box { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; }
.calc-step { font-size: 14px; font-weight: 800; margin: 0 0 12px; }
.calc-step span { color: var(--accent); margin-right: 6px; }
.calc-box fieldset { border: 0; margin-bottom: 24px; }
.opts { display: grid; gap: 10px; }
.opts.c3 { grid-template-columns: repeat(3, 1fr); }
.opts.c2 { grid-template-columns: repeat(2, 1fr); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: block; height: 100%; border: 1.5px solid var(--border); border-radius: 14px; padding: 13px 14px; font-size: 14px; font-weight: 700; transition: border-color .15s, background .15s; }
.opt span small { display: block; font-weight: 500; font-size: 12.5px; color: var(--dim); margin-top: 2px; }
.opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.calc-box textarea { width: 100%; min-height: 96px; border: 1.5px solid var(--border); border-radius: 14px; padding: 14px; font: 15px/1.5 'Inter', sans-serif; resize: vertical; }
.calc-box textarea:focus { outline: none; border-color: var(--accent); }
.calc-res { background: var(--dark); color: #fff; border-radius: var(--r-lg); padding: 28px; position: sticky; top: 84px; }
.calc-res .t { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8fb4ff; }
.calc-res .range { font-size: clamp(26px, 3vw, 34px); font-weight: 900; letter-spacing: -.02em; margin: 10px 0 6px; line-height: 1.1; }
.calc-res .maint { font-size: 14px; color: rgba(255,255,255,.75); }
.calc-res .fine { font-size: 12.5px; color: rgba(255,255,255,.55); margin: 18px 0 20px; line-height: 1.5; }
.calc-res .btn { width: 100%; }
.calc-warn { font-size: 13px; color: #dc2626; margin-top: 8px; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } .calc-res { position: static; } .opts.c3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .opts.c2 { grid-template-columns: 1fr; } }

/* ── v9: tarjetas de áreas clickeables completas ── */
.card.area { position: relative; transition: transform .15s, box-shadow .2s, border-color .2s; }
.card.area:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, .35); }
.card.area .btn::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-md); }
.card.area .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── v10: paso opcional con otra forma ── */
.optional { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 18px 22px; border: 1.5px dashed rgba(255, 255, 255, .22); border-radius: var(--r-md); }
.optional p { color: rgba(255, 255, 255, .72); font-size: 15px; }
.optional p b { color: #fff; font-weight: 600; }
.opt-tag { flex-shrink: 0; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: rgba(143, 180, 255, .16); color: #8fb4ff; }
@media (max-width: 560px) { .optional { flex-direction: column; align-items: flex-start; gap: 10px; } }

/* ── v11: 4 agentes en A TEAM ── */
.agent-cards { grid-template-columns: repeat(4, 1fr); }
.agent-card .badge { position: static; display: inline-block; margin-bottom: 12px; }
@media (max-width: 1000px) { .agent-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .agent-cards { grid-template-columns: 1fr; } }

/* ── v12: bloque "¿Y después?" ── */
.after { display: flex; align-items: center; gap: 18px; margin-top: 16px; padding: 22px 26px; border-radius: var(--r-md); background: linear-gradient(90deg, rgba(37, 99, 235, .18), rgba(37, 99, 235, .04)); border: 1px solid rgba(143, 180, 255, .22); }
.after-ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.after-tx { flex: 1; }
.after-tx h3 { font-size: 17px; margin-bottom: 2px; }
.after-tx p { font-size: 15px; color: rgba(255, 255, 255, .72); }
@media (max-width: 640px) { .after { flex-wrap: wrap; } .after .opt-tag { order: -1; } .after-tx { flex-basis: 100%; } }

/* ── v13: versión mobile ── */
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  h2 { font-size: 27px; }
  .lead { font-size: 16.5px; }

  /* Encabezado: tarjeta de presentación compacta arriba del título */
  .hero { padding: 84px 0 40px; }
  .hero-grid { gap: 22px; }
  .hero-card { order: -1; display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 0 12px; padding: 10px 14px 10px 10px; text-align: left; max-width: none; border-radius: 18px; box-shadow: var(--shadow-sm); }
  .hero-card img { width: 56px; height: 56px; border-radius: 50%; grid-row: span 2; object-position: center 30%; }
  .hero-card .who { margin-top: 0; font-size: 15px; }
  .hero-card .role { font-size: 12.5px; }
  .hero h1 { font-size: 34px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; padding-top: 18px; }
  .hero-kpis div { font-size: 11.5px; }
  .hero-kpis b { font-size: 20px; }
  .tools { margin-top: 36px; }
  .tools-t { font-size: 11px; }

  /* Tarjetas de áreas más compactas */
  .card.area { padding: 22px; }
  .card.area .ic { width: 38px; height: 38px; font-size: 19px; margin-bottom: 10px; }
  .pains { margin: 12px 0 18px; }

  /* Caso Aurent */
  .dash { padding: 20px; }
  .dash-kpi { padding: 14px; }
  .dash-kpi b { font-size: 23px; }
  .case-tags span { font-size: 12.5px; }

  /* Agentes en formato horizontal */
  .agent-card { display: grid; grid-template-columns: 46px 1fr; gap: 0 14px; padding: 18px; align-items: start; }
  .agent-card .av { width: 46px; height: 46px; border-radius: 14px; font-size: 19px; margin: 0; grid-row: span 3; }
  .agent-card .badge { grid-column: 1 / -1; justify-self: start; margin-bottom: 10px; }
  .agent-card h3 { font-size: 17px; }
  .agent-card .role { margin: 0 0 6px; }

  /* Secciones por área */
  .mini li { font-size: 15px; }
  .area-cta .btn { flex: 1 1 100%; }

  /* Embudo: etiqueta arriba, detalle abajo */
  .funnel { padding: 18px; }
  .stage { flex-direction: column; align-items: flex-start; gap: 1px; padding: 11px 14px; }
  .stage small { text-align: left; }
  .stage:nth-child(3) { width: 95%; } .stage:nth-child(4) { width: 90%; }
  .stage:nth-child(5) { width: 85%; } .stage:nth-child(6) { width: 80%; }

  /* Pasos en formato horizontal */
  .steps .step { display: grid; grid-template-columns: 44px 1fr; gap: 0 12px; padding: 20px; }
  .step::before { font-size: 24px; margin: 0; grid-row: span 2; }
  .after { padding: 18px; }

  /* Calculadora: el resultado queda fijo abajo mientras se eligen opciones */
  .calc-box { padding: 20px; }
  .calc-res { position: sticky; bottom: 10px; z-index: 95; padding: 16px 18px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
  .calc-res .t { font-size: 11px; }
  .calc-res .range { font-size: 24px; margin: 4px 0 2px; }
  .calc-res .maint { font-size: 12.5px; margin-bottom: 12px; }
  .calc-res .fine { display: none; }
  .calc-grid { gap: 14px; }

  /* Sobre mí y preguntas */
  .about-solo { gap: 8px; }
  .faq summary { font-size: 15px; padding: 18px 48px 18px 18px; }
  .faq details p { padding: 0 18px 18px; }
}

@media (max-width: 640px) { .after-ic { display: none; } .after { gap: 10px; } }

/* ── v14: calculadora vacía y mini métricas de Aurent ── */
.calc-res.empty .range { font-size: clamp(22px, 2.4vw, 26px); }
.calc-res.empty .fine { display: none; }

.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.case-stats div { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px 12px; font-size: 12.5px; color: var(--dim); line-height: 1.3; }
.case-stats b { display: block; font-size: 22px; font-weight: 900; color: var(--accent); letter-spacing: -.02em; margin-bottom: 2px; }
@media (max-width: 600px) {
  .case-stats { gap: 8px; }
  .case-stats div { padding: 12px 10px; font-size: 11.5px; }
  .case-stats b { font-size: 19px; }
  .calc-res.empty .range { font-size: 20px; }
}

.calc-res.empty .maint { margin-bottom: 20px; }
@media (max-width: 600px) { .calc-res.empty .maint { margin-bottom: 12px; } }

/* ── v15: marcar lo que falta completar en la calculadora ── */
/* Cada pregunta es un bloque con aire propio; el título queda adentro (no sobre el borde) */
.calc-box fieldset { padding: 16px 18px 18px; margin: 0 -18px 8px; border: 1.5px solid transparent; border-radius: 18px; transition: background .25s, border-color .25s; }
.calc-box fieldset .calc-step { float: left; width: 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.calc-box fieldset .opts { clear: both; }
.calc-box fieldset.need { background: rgba(37, 99, 235, .05); border-color: rgba(37, 99, 235, .35); animation: need-pulse 1.1s ease 2; }
.calc-box fieldset.need .calc-step::after { content: "Elegí una opción"; font-size: 12px; font-weight: 700; color: var(--accent); background: rgba(37, 99, 235, .12); padding: 3px 10px; border-radius: 99px; }
@keyframes need-pulse { 0%, 100% { background: rgba(37, 99, 235, .05); } 50% { background: rgba(37, 99, 235, .13); } }
@media (max-width: 600px) { .calc-box fieldset { padding: 14px 12px 14px; margin: 0 -12px 6px; } }

/* ── v16: quién es Anto, debajo del botón principal ── */
.anto-intro { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--dim); line-height: 1.4; }
.anto-intro b { color: var(--text); font-weight: 600; }
.anto-av { width: 28px; height: 28px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; font-size: 13px; font-weight: 900; color: #fff; background: linear-gradient(135deg, #2563eb, #60a5fa); position: relative; }
.anto-av::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); border: 2px solid var(--bg); }
@media (max-width: 600px) { .anto-intro { font-size: 13px; align-items: flex-start; } }

.opt span { background: #fff; }
.opt input:checked + span { background: #eef3ff; }

/* ── v17: menos texto, letra más grande ── */
h2 { font-size: clamp(32px, 4.4vw, 50px); }
.lead { font-size: 20px; }
.hero .lead { font-size: 21px; }
.pains li { font-size: 16px; }
.card.area h3 { font-size: 24px; }
.cost-line { font-size: 20px; }
.area-sec h2 { font-size: clamp(32px, 4vw, 46px); }
.mini li { font-size: 18px; }
.mini.sol li::before { top: 4px; }
.built li { font-size: 17px; }
.agent-card h3 { font-size: 22px; }
.agent-card p { font-size: 16px; }
.anto-intro { font-size: 15px; }
@media (max-width: 600px) {
  h2 { font-size: 30px; }
  .area-sec h2 { font-size: 30px; }
  .lead, .hero .lead { font-size: 18px; }
  .mini li { font-size: 16.5px; }
  .cost-line { font-size: 18px; }
  .card.area h3 { font-size: 21px; }
  .built li { font-size: 16px; }
  .agent-card p { font-size: 15px; }
}

/* ── v18: etiqueta de Anto como pestaña sobre el borde (no desplaza el contenido) ── */
.agent-card.main { overflow: visible; }
.agent-card .badge, .agent-card.main .badge { position: absolute; top: -12px; left: 24px; right: auto; margin: 0; z-index: 1; box-shadow: 0 4px 12px rgba(37, 99, 235, .3); }
.agent-cards { padding-top: 12px; }
@media (max-width: 600px) { .agent-card .badge, .agent-card.main .badge { grid-column: auto; left: 18px; } }

@media (max-width: 600px) { .agent-card.main { padding-top: 26px; } }

/* ── v19: etiqueta de Anto centrada en la tarjeta ── */
.agent-card .badge, .agent-card.main .badge { left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; }
@media (max-width: 600px) { .agent-card .badge, .agent-card.main .badge { left: 50%; } }

/* ── v20: agentes compactos — nombre y rol a la derecha del ícono, descripción abajo ── */
.agent-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: center; padding: 24px; }
.agent-card .av { width: 52px; height: 52px; margin: 0; grid-row: 1 / 3; grid-column: 1; }
.agent-card h3 { grid-column: 2; grid-row: 1; align-self: end; line-height: 1.15; }
.agent-card .role { grid-column: 2; grid-row: 2; align-self: start; margin: 2px 0 0; }
.agent-card p { grid-column: 1 / -1; margin-top: 14px; }
@media (max-width: 600px) {
  .agent-card { grid-template-columns: 46px 1fr; padding: 18px; }
  .agent-card .av { width: 46px; height: 46px; grid-row: 1 / 3; }
  .agent-card.main { padding-top: 26px; }
}

.agent-card { align-content: start; }

/* Métricas del encabezado centradas en celular */
@media (max-width: 600px) { .hero-kpis div { text-align: center; } }

/* La foto principal declara medidas (para SEO/CLS) pero mantiene su forma cuadrada */
.hero-card img { height: auto; }
@media (max-width: 600px) { .hero-card img { height: 56px; } }

/* ── v21: casos de éxito lado a lado ── */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; align-items: stretch; }
.case { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.case-h h3 { font-size: 26px; font-weight: 900; letter-spacing: -.02em; }
.case-h p { font-size: 15px; color: var(--dim); margin-top: 2px; }
.case .dash { padding: 20px; border-radius: 20px; }
.case .dash-kpi { padding: 14px; }
.case .dash-kpi b { font-size: 26px; }
.case .growth { margin-top: 14px; }
.solved { list-style: none; display: grid; gap: 10px; }
.solved li { font-size: 16px; color: var(--dim); padding-left: 26px; position: relative; }
.solved li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.solved li b { color: var(--text); }
.case-link { margin-top: auto; align-self: flex-start; }
.agents-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 10px; }
.ag { position: relative; display: flex; gap: 12px; align-items: flex-start; background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.ag.main { border: 2px solid var(--accent); background: #fff; }
.ag .av { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 17px; }
.ag b { display: block; font-size: 17px; line-height: 1.2; }
.ag .role { display: block; font-size: 12.5px; font-weight: 700; color: var(--accent); }
.ag p { font-size: 14px; color: var(--dim); margin-top: 6px; line-height: 1.4; }
.ag .badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 99px; background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(37, 99, 235, .3); }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .case { padding: 18px; gap: 16px; }
  .case-h h3 { font-size: 22px; }
  .case .dash { padding: 16px; }
  .case .dash-kpi b { font-size: 21px; }
  .agents-mini { grid-template-columns: 1fr; gap: 14px; }
}

/* ── v22: avatares reales de los agentes ── */
.ag .av { object-fit: cover; background: #e5e7eb; }
.anto-av { background: #e5e7eb; }
.anto-av img { width: 100%; height: 100%; border-radius: 9px; object-fit: cover; display: block; }

/* ── v23: calculadora paso a paso ── */
.wiz { max-width: 780px; margin: 40px auto 0; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 30px 32px 28px; scroll-margin-top: 80px; }
.wiz-top { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.wiz-count { font-size: 13px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.wiz-bar { flex: 1; height: 6px; border-radius: 99px; background: var(--accent-soft); overflow: hidden; }
.wiz-bar i { display: block; height: 100%; width: 12%; border-radius: 99px; background: linear-gradient(90deg, #2563eb, #60a5fa); transition: width .35s ease; }
.wiz-step { display: none; }
.wiz-step.is-active { display: block; animation: wiz-in .3s ease; }
@keyframes wiz-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wiz-step h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em; outline: none; }
.wiz-hint { color: var(--dim); font-size: 15px; margin: 4px 0 20px; }
.wiz-opts { display: grid; gap: 12px; }
.wiz-opts.c3 { grid-template-columns: repeat(3, 1fr); }
.wiz-opts.c2 { grid-template-columns: repeat(2, 1fr); }
.wopt { position: relative; cursor: pointer; display: block; }
.wopt input { position: absolute; opacity: 0; pointer-events: none; }
.wopt span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 18px; border: 1.5px solid var(--border); border-radius: 16px; background: #fff; font-size: 16px; font-weight: 700; transition: border-color .15s, background .15s, transform .15s, box-shadow .15s; }
.wopt span i { font-style: normal; font-size: 24px; margin-bottom: 6px; }
.wopt span small { font-weight: 500; font-size: 13.5px; color: var(--dim); }
.wopt:hover span { border-color: rgba(37, 99, 235, .4); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.wopt input:checked + span { border-color: var(--accent); background: #eef3ff; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.wopt input:checked + span::after { content: "✓"; position: absolute; top: 12px; right: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.wopt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.wiz-nav .btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.wiz-res { background: var(--dark); color: #fff; border-radius: 22px; padding: 30px; text-align: center; }
.wiz-res .t { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8fb4ff; }
.wiz-res .range { font-size: clamp(32px, 5vw, 46px); font-weight: 900; letter-spacing: -.02em; margin: 8px 0 4px; line-height: 1.1; }
.wiz-res .maint { font-size: 15px; color: rgba(255, 255, 255, .72); }
.wiz-sum { display: grid; gap: 8px; margin: 22px 0; text-align: left; }
.sum-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 10px; align-items: center; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05); color: #fff; font: 14px/1.35 'Inter', sans-serif; cursor: pointer; text-align: left; }
.sum-item:hover { background: rgba(255, 255, 255, .09); }
.sum-item span { color: rgba(255, 255, 255, .55); font-size: 12.5px; }
.sum-item b { font-weight: 600; }
.sum-item em { font-style: normal; font-size: 12.5px; font-weight: 700; color: #8fb4ff; }
.wiz-res .btn { width: 100%; max-width: 380px; }
.wiz-res .fine { font-size: 12.5px; color: rgba(255, 255, 255, .5); margin-top: 16px; line-height: 1.5; }
@media (max-width: 700px) {
  .wiz { padding: 20px 16px 18px; margin-top: 28px; border-radius: 22px; }
  .wiz-opts.c3, .wiz-opts.c2 { grid-template-columns: 1fr; }
  .wopt span { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 12px; padding: 14px 44px 14px 14px; }
  .wopt span i { font-size: 22px; margin: 0; }
  .wopt span small { flex-basis: 100%; padding-left: 34px; }
  .wiz-res { padding: 22px 16px; }
  .sum-item { grid-template-columns: 1fr auto; }
  .sum-item span { grid-column: 1 / -1; }
  .wiz-nav .btn { padding: 13px 18px; font-size: 14px; }
}

/* ── v24: planes por área (reemplaza la calculadora) ── */
.ptabs { display: flex; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: 32px auto 0; padding: 6px; background: #fff; border: 1px solid var(--border); border-radius: 99px; box-shadow: var(--shadow-sm); }
.ptab { border: 0; background: transparent; font: 600 15px 'Inter', sans-serif; color: var(--dim); padding: 11px 22px; border-radius: 99px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.ptab:hover { color: var(--text); }
.ptab.on { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(37, 99, 235, .28); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; align-items: stretch; }
.plans:not([hidden]) { animation: wiz-in .3s ease; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px 26px 26px; }
.plan.rec { background: var(--dark); color: #fff; border-color: var(--dark); box-shadow: 0 18px 50px rgba(13, 17, 23, .25); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 99px; background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(37, 99, 235, .35); }
.plan-name { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.plan.rec .plan-name { color: #8fb4ff; }
.plan h3 { font-size: 23px; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 18px; line-height: 1.2; }
.plan-price { font-size: 34px; font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.plan-price small { font-size: 14px; font-weight: 600; color: var(--dim); letter-spacing: 0; }
.plan.rec .plan-price small { color: rgba(255, 255, 255, .6); }
.plan-maint { font-size: 13px; color: var(--faint); margin-top: 6px; }
.plan.rec .plan-maint { color: rgba(255, 255, 255, .55); }
.plan ul { list-style: none; display: grid; gap: 11px; margin: 22px 0 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.plan.rec ul { border-color: rgba(255, 255, 255, .12); }
.plan li { font-size: 15px; color: var(--dim); padding-left: 26px; position: relative; line-height: 1.4; }
.plan.rec li { color: rgba(255, 255, 255, .82); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.plan.rec li::before { color: #8fb4ff; }
.plan li.opt-item { color: var(--accent-ink); font-weight: 600; }
.plan li.opt-item::before { content: "+"; }
.plan .btn { margin-top: auto; width: 100%; }
.plans-note { text-align: center; font-size: 15px; color: var(--dim); max-width: 640px; margin: 28px auto 0; }
.plans-note b { color: var(--text); }
.custom-cta { text-align: center; margin-top: 34px; }
.custom-cta p { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; gap: 26px; } }
@media (max-width: 600px) {
  .ptabs { width: 100%; justify-content: stretch; }
  .ptab { flex: 1; padding: 10px 6px; font-size: 13px; white-space: normal; line-height: 1.2; }
  .plan { padding: 26px 20px 20px; }
  .plan-price { font-size: 30px; }
  .custom-cta .btn { width: 100%; }
}

.plans[hidden] { display: none; }
.plan h3 { min-height: 2.4em; }
@media (max-width: 960px) { .plan h3 { min-height: 0; } }

/* ── v25: letra chica de los planes ── */
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 980px; margin: 22px auto 0; }
.term { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; font-size: 14px; color: var(--dim); line-height: 1.45; }
.term b { display: block; color: var(--text); font-size: 14.5px; margin-bottom: 4px; }
.legal { max-width: 760px; margin: 16px auto 0; text-align: center; font-size: 12px; color: var(--faint); line-height: 1.55; }
@media (max-width: 760px) { .terms { grid-template-columns: 1fr; } }

/* ── v26: página de términos y privacidad ── */
.legal-page { padding: 120px 0 80px; background: #fff; }
.legal-wrap { max-width: 780px; }
.legal-page h1 { font-size: clamp(32px, 4.4vw, 46px); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.legal-updated { font-size: 14px; color: var(--faint); margin: 10px 0 28px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.legal-toc a { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); text-decoration: none; }
.legal-page section { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--border); scroll-margin-top: 80px; }
.legal-page h2 { font-size: 26px; margin-bottom: 8px; }
.legal-page h3 { font-size: 17px; font-weight: 700; margin: 22px 0 6px; }
.legal-page p, .legal-page li { font-size: 16px; color: var(--dim); line-height: 1.7; }
.legal-page p + p { margin-top: 12px; }
.legal-page ul { padding-left: 20px; margin: 8px 0 12px; display: grid; gap: 6px; }
.legal-page b { color: var(--text); }
.legal-page a { color: var(--accent); }
@media (max-width: 600px) { .legal-page { padding: 92px 0 56px; } .legal-page h2 { font-size: 22px; } }

/* Línea corta de condiciones debajo de los planes */
.legal a { color: var(--accent); font-weight: 600; }

/* ── v27: condiciones como chips cortos ── */
.terms { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; max-width: 900px; margin: 30px auto 0; grid-template-columns: none; }
.terms span { font-size: 14px; font-weight: 600; color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: 99px; padding: 8px 14px; white-space: nowrap; }
@media (max-width: 600px) { .terms span { white-space: normal; font-size: 13px; } }

/* ── v28: condiciones en una franja de 5 columnas ── */
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 760px; margin: 32px auto 0; padding: 18px 8px; background: #fff; border: 1px solid var(--border); border-radius: 20px; }
.terms > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 4px 14px; border-left: 1px solid var(--border); }
.terms > div:first-child { border-left: 0; }
.terms i { font-style: normal; font-size: 22px; margin-bottom: 4px; }
.terms b { font-size: 15px; color: var(--text); }
.terms span { font-size: 13px; color: var(--dim); line-height: 1.35; white-space: normal; padding: 0; border: 0; background: none; font-weight: 400; }
@media (max-width: 860px) {
  .terms { grid-template-columns: 1fr; padding: 6px 18px; max-width: 480px; }
  .terms > div { display: grid; grid-template-columns: 30px auto 1fr; align-items: center; text-align: left; gap: 0 10px; padding: 12px 0; border-left: 0; border-top: 1px solid var(--border); }
  .terms > div:first-child { border-top: 0; }
  .terms i { margin: 0; font-size: 20px; }
  .terms b { font-size: 14px; white-space: nowrap; }
  .terms span { font-size: 13px; }
}

/* Títulos de planes cortos: sin alto mínimo */
.plan h3 { min-height: 0; }

/* ── v29: contexto de las métricas del encabezado ── */
.kpis-t { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--dim); }
.kpis-t b { color: var(--text); font-weight: 700; }
.kpis-t a { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.kpis-t + .hero-kpis { margin-top: 12px; padding-top: 0; border-top: 0; }
@media (max-width: 600px) { .kpis-t { text-align: center; font-size: 12.5px; margin-top: 22px; padding-top: 16px; } }

/* ── v30: validación externa de Aurent ── */
.proof { display: grid; gap: 8px; }
.proof span { font-size: 14px; color: var(--dim); background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; }
.proof b { color: var(--text); }

#planes .wopt span, .section.white .terms { background: #fff; }
.section.white .plan { box-shadow: var(--shadow-sm); }

/* ── v31: dolores con ilustraciones y validación externa ── */
.pain-rows { display: grid; gap: 72px; margin-top: 48px; }
.pain-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pain-row.rev > :first-child { order: 2; }
.pain-row h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; margin: 2px 0 6px; }
.pain-row .mini { margin-bottom: 26px; }
.validated { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 14px; margin-top: 28px; }
.validated-t { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-right: 4px; }
.vbadge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 99px; padding: 8px 18px 8px 8px; font-size: 14.5px; color: var(--dim); box-shadow: var(--shadow-sm); }
.vbadge img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.vbadge b { color: var(--text); }
@media (max-width: 900px) {
  .pain-rows { gap: 56px; }
  .pain-row { grid-template-columns: 1fr; gap: 26px; }
  .pain-row.rev > :first-child { order: 0; }
  .pain-row .btn { width: 100%; }
  .validated-t { flex-basis: 100%; text-align: center; margin: 0; }
}

a.vbadge { text-decoration: none; transition: border-color .2s, transform .15s; }
a.vbadge:hover { border-color: rgba(37, 99, 235, .4); transform: translateY(-1px); }
.vbadge i { font-style: normal; color: var(--accent); font-weight: 700; }

/* ── v32: chips de validación prolijos en celular ── */
.vbadge span { font-size: inherit; color: inherit; }
@media (max-width: 600px) {
  .validated { flex-direction: column; align-items: stretch; max-width: 420px; margin-left: auto; margin-right: auto; }
  .vbadge { width: 100%; font-size: 14px; padding: 8px 16px 8px 8px; }
  .vbadge span { flex: 1; line-height: 1.35; }
  .vbadge i { margin-left: auto; }
}

/* ── v33: chips de validación en dos líneas fijas ── */
.vbadge { border-radius: 16px; padding: 10px 18px 10px 10px; gap: 12px; }
.vbadge img { width: 36px; height: 36px; }
.vbadge span { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.vbadge small { font-size: 12px; color: var(--faint); }
.vbadge b { font-size: 15px; white-space: nowrap; }
.vbadge i { margin-left: 8px; }
@media (max-width: 600px) { .vbadge { padding: 10px 16px 10px 10px; } .vbadge i { margin-left: auto; } }

/* v34: Meta Tech Provider badge */
.meta-wrap { display: flex; justify-content: center; margin-bottom: 22px; padding: 0 16px; }
.meta-badge { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 99px; padding: 8px 20px 8px 14px; box-shadow: var(--shadow-sm); }
.meta-badge img { width: 30px; height: 20px; }
.meta-badge span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.meta-badge small { font-size: 11.5px; color: var(--faint); }
.meta-badge b { font-size: 15px; color: var(--text, #0f172a); }

/* v35: Meta credential inside hero card */
.meta-cred { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--dim); }
.meta-cred img { width: 24px; height: 16px; flex: none; }
.meta-cred b { color: var(--text, #0f172a); }
@media (max-width: 600px) {
  .hero-card img { grid-row: span 3; }
  .meta-cred { justify-content: flex-start; margin-top: 4px; padding-top: 0; border-top: 0; font-size: 11.5px; gap: 6px; }
  .meta-cred img { width: 18px; height: 12px; }
}
