/* ============================================================
   Bizual — Landing v2 (Mayo 2026)
   Design system · vanilla CSS · fondo claro siempre
   ============================================================ */

:root {
  --azul: #2b77ff;
  --azul-light: #6ba3ff;
  --navy: #141c25;
  --navy-deep: #060128;
  --lavanda: #d3dcfa;
  --verde: #10b981;
  --rojo: #ef4444;

  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-card: #ffffff;
  --text: #141c25;
  --text-soft: #4a5568;
  --text-mute: #7a8699;
  --border: #e3e8f0;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(20, 28, 37, .06);
  --shadow: 0 6px 24px rgba(20, 28, 37, .08);
  --shadow-lg: 0 18px 48px rgba(20, 28, 37, .12);

  --maxw: 1140px;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: clamp(1rem, 0.6vw + 0.9rem, 1.0625rem);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.2rem);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-weight: 700; font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-weight: 600; font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
h4 { font-weight: 600; font-size: 1rem; }
p { margin: 0 0 1rem; }
strong { font-weight: 600; color: var(--navy); }
.intro { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--text-soft); max-width: 62ch; }
.micro { font-size: .85rem; color: var(--text-mute); }
cite { display: block; margin-top: .75rem; font-size: .78rem; font-style: normal; color: var(--text-mute); }

section { padding-block: clamp(3rem, 7vw, 5.5rem); }
section:nth-of-type(even) { background: var(--bg-soft); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .7rem;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--navy); font-size: 1.25rem; }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.6rem); }
.nav-links a { color: var(--navy); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--azul); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 1rem clamp(1.1rem,4vw,2.2rem); gap: 1rem;
  }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-secondary, .btn-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .98rem; border-radius: var(--radius-pill);
  padding: .8rem 1.5rem; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 1.5px solid transparent; text-decoration: none;
}
.btn-primary { background: var(--azul); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #1b66ee; transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.btn-secondary { background: #fff; color: var(--azul); border-color: var(--azul); }
.btn-secondary:hover { background: var(--lavanda); transform: translateY(-2px); text-decoration: none; }
.btn-link { padding: .8rem .4rem; color: var(--text-soft); background: none; }
.btn-link:hover { color: var(--azul); text-decoration: none; }
.cta-group { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin: 1.6rem 0; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hero h1 { max-width: 16ch; }
.hero .subhead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--text-soft); max-width: 56ch; }
.hero img, .hero .hero-visual {
  margin-top: 2.4rem; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); width: 100%;
}

/* ---------- Grids ---------- */
.grid-3 { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 2.4rem; }
.grid-2-columnas { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 2.2rem; }
.grid-features { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 2.4rem; }
.grid-modelo { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin: 2rem 0; }
.grid-parqtec { display: grid; gap: var(--gap); grid-template-columns: 1fr; margin: 2.2rem 0; }

/* ---------- Cards ---------- */
.card-dolor, .feature, .card-diferenciador, .card-modelo, .columna {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(1.3rem, 2.5vw, 1.8rem);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card-dolor:hover, .feature:hover, .card-diferenciador:hover, .card-modelo:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.card-dolor h3 { color: var(--azul); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; }
.feature .icon, .card-diferenciador .icon { font-size: 1.8rem; display: block; margin-bottom: .6rem; }
.feature p, .card-diferenciador p, .card-modelo p, .card-dolor p { color: var(--text-soft); font-size: .96rem; margin-bottom: 0; }
.feature-soon { border-style: dashed; border-color: var(--lavanda); background: #fbfcff; }

/* badges */
.badge-soon, .badge-vivo {
  display: inline-block; font-size: .72rem; font-weight: 600;
  padding: 2px 8px; border-radius: 12px; vertical-align: middle; margin-left: .35rem;
}
.badge-soon { background: var(--lavanda); color: var(--navy); }
.badge-vivo { background: var(--verde); color: #fff; letter-spacing: .04em; }

/* quotes */
blockquote { margin: 0; }
.cierre-bloque, .cierre-bloque-grande, .cita-destacada, .cita-parqtec {
  margin-top: 2.4rem; padding: 1.4rem 1.6rem; border-left: 4px solid var(--azul);
  background: var(--lavanda); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 600; color: var(--navy); font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}
.cierre-bloque-grande { text-align: center; border-left: 0; border-radius: var(--radius-sm); }

/* problema intro */
.problema .intro, .que-hace .intro, .caso-uso .intro { max-width: 70ch; }

/* caso de uso columns */
.columna-hoy { background: #fff; }
.columna-bizual { background: #f0f6ff; border-color: var(--azul-light); }
.columna h3 { font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--azul); }
.columna-hoy h3 { color: var(--text-mute); }
.columna h4 { margin-top: 1.2rem; color: var(--navy); font-size: .92rem; }
.columna p { font-size: .92rem; color: var(--text-soft); }

/* lista caminos */
.lista-caminos { padding-left: 1.2rem; max-width: 70ch; }
.lista-caminos li { margin-bottom: .7rem; color: var(--text-soft); }
.subhead-bloque { margin-top: 2.5rem; }

.cta-modelo, .cta-proceso, .cta-parqtec, .cta-final { margin-top: 2.2rem; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; counter-reset: step; padding: 0; margin: 2.4rem 0 0; display: grid; gap: 1.2rem; }
.timeline .paso {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem 1.5rem;
}
.timeline .numero {
  width: 38px; height: 38px; border-radius: 50%; background: var(--azul); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.timeline h3 { margin-bottom: .25rem; }
.timeline p { margin: 0; color: var(--text-soft); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 2rem; display: grid; gap: .7rem; max-width: 820px; }
.faq-list details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--azul); font-size: 1.4rem; font-weight: 400; line-height: 1; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details > div { padding: 0 1.3rem 1.2rem; }
.faq-list details p { margin: 0; color: var(--text-soft); }

/* ---------- Parqtec case ---------- */
.caso-parqtec { background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }
.metricas-parqtec { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 2.4rem 0; }
.metrica { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1rem; }
.metrica .numero { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--azul); }
.metrica .label { display: block; font-size: .82rem; color: var(--text-mute); margin-top: .3rem; }
figure.captura { margin: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
figure.captura figcaption { padding: .8rem 1.1rem; font-size: .85rem; color: var(--text-mute); background: var(--bg-soft); }

/* teaser assets */
.teaser-assets { background: var(--navy); color: #e7ecf5; }
.teaser-assets h2 { color: #fff; }
.teaser-assets p { color: #c3cede; max-width: 64ch; }

/* ---------- UI mockups (Parqtec, no pricing) ---------- */
.mock {
  --mb: #0f1722;
  font-family: var(--font); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow); background: #fff; font-size: 13px;
}
.mock-top { display: flex; align-items: center; gap: .5rem; padding: .55rem .9rem; background: #fff; border-bottom: 1px solid var(--border); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #e0e5ee; }
.mock-dot:nth-child(1){ background:#ff5f57; } .mock-dot:nth-child(2){ background:#febc2e; } .mock-dot:nth-child(3){ background:#28c840; }
.mock-url { margin-left: .6rem; font-size: 11px; color: var(--text-mute); }
.mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 280px; }
.mock-side { background: var(--mb); color: #c9d3e3; padding: 1rem .8rem; }
.mock-side .ml { display: flex; align-items: center; gap: .5rem; padding: .45rem .55rem; border-radius: 8px; font-size: 12px; color: #aab6c9; }
.mock-side .ml.active { background: rgba(43,119,255,.18); color: #fff; }
.mock-side .ml .ic { width: 14px; height: 14px; background: currentColor; border-radius: 3px; opacity: .55; }
.mock-side .mbrand { color:#fff; font-weight:700; margin-bottom: 1rem; display:flex; gap:.4rem; align-items:center; }
.mock-main { padding: 1.1rem 1.2rem; background: #fafbfe; }
.mock-h { font-weight: 700; color: var(--navy); font-size: 16px; margin-bottom: .15rem; }
.mock-sub { color: var(--text-mute); font-size: 11px; margin-bottom: .9rem; }
.kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: .6rem; margin-bottom: 1rem; }
.kpi { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: .6rem .7rem; }
.kpi .kl { font-size: 9px; letter-spacing: .04em; color: var(--text-mute); text-transform: uppercase; }
.kpi .kv { font-size: 20px; font-weight: 700; color: var(--navy); margin-top: .15rem; }
.kpi .kf { font-size: 9px; color: var(--text-mute); margin-top: .1rem; }
.mock-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.mock-table th { text-align: left; font-size: 9px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-mute); padding: .5rem .6rem; border-bottom: 1px solid var(--border); }
.mock-table td { padding: .5rem .6rem; border-bottom: 1px solid var(--border); font-size: 11px; color: var(--text-soft); }
.mock-table tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: 9px; font-weight: 600; }
.pill.ok { background: #dcfce7; color: #166534; } .pill.zona { background: #e0ecff; color: #1d4ed8; }
.check { color: var(--verde); font-weight: 700; }
.chart { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.chart .panel { background:#fff; border:1px solid var(--border); border-radius:10px; padding:.7rem; }
.chart .pt { font-size:9px; text-transform:uppercase; letter-spacing:.04em; color:var(--text-mute); margin-bottom:.5rem; }
.bars { display:flex; align-items:flex-end; gap:.5rem; height:70px; }
.bars .bar { flex:1; background:var(--verde); border-radius:4px 4px 0 0; }
.spark { height:70px; width:100%; }

/* tour mock */
.mock-tour { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border:1px solid var(--border);
  background: linear-gradient(135deg,#bcd, #9fb6a0 45%, #d8cdb6); }
.mock-tour .sky { position:absolute; inset:0; background:
  linear-gradient(180deg, #cfe3f5 0%, #e8f0e0 55%, #cdbf9e 100%); }
.mock-tour .bld { position:absolute; bottom:0; background:#c98a4b; opacity:.9; }
.mock-tour .b1{ left:12%; width:22%; height:62%; background:linear-gradient(90deg,#caa06a,#b07d3f); }
.mock-tour .b2{ left:40%; width:14%; height:78%; background:linear-gradient(90deg,#d9d4cb,#bdb6aa); }
.mock-tour .b3{ right:14%; width:20%; height:55%; background:linear-gradient(90deg,#7f9a6f,#5f7a52); }
.mock-tour .ground{ position:absolute; bottom:0; left:0; right:0; height:22%; background:#c9c2b2; }
.mock-tour .marker{ position:absolute; left:50%; top:58%; width:22px; height:22px; border-radius:50%; background:rgba(16,185,129,.25); display:grid; place-items:center; transform:translate(-50%,-50%); }
.mock-tour .marker::after{ content:""; width:9px; height:9px; border-radius:50%; background:var(--verde); box-shadow:0 0 0 3px #fff; }
.mock-tour .badge{ position:absolute; left:12px; bottom:12px; background:rgba(0,0,0,.55); color:#fff; font-size:10px; padding:4px 9px; border-radius:6px; }

@media (max-width: 560px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .kpis { grid-template-columns: repeat(2,1fr); }
  .chart { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
footer { background: var(--navy); color: #c3cede; padding-block: 3rem 2rem; }
footer.site-footer:nth-of-type(even){ background: var(--navy); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.6fr repeat(3, 1fr); }
.footer-brand p { color: #97a4ba; font-size: .9rem; max-width: 38ch; }
.footer-brand strong { color: #fff; }
.footer-nav h4, .footer-contacto h4 { color: #fff; margin-bottom: .8rem; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-nav a, .footer-contacto p { color: #aab6c9; font-size: .92rem; }
.footer-nav a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; font-size: .82rem; color: #8593aa; }
.footer-legal a { color: #aab6c9; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Forms (contacto) ---------- */
.form-wrap { max-width: 620px; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; font-size: .95rem; color: var(--text); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(43,119,255,.15); }
.field textarea { min-height: 120px; resize: vertical; }
.field-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--text-soft); }
.field-check input { width: auto; margin-top: .2rem; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-msg { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size: .92rem; display: none; }
.form-msg.ok { display: block; background: #dcfce7; color: #166534; }
.form-msg.err { display: block; background: #fee2e2; color: #991b1b; }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; }
.legal h2 { margin-top: 2rem; }
.legal p, .legal li { color: var(--text-soft); }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
