/* Estilos personalizados del proyecto */

/* ==========================================================================
   Ventio — landing page
   Paleta calcada de la UI real del software (navbar oscuro + acento azul),
   ver presentacion.html en la raíz del repo para el sistema de diseño fuente.
   ========================================================================== */

:root {
  --vt-ink: #171b20;
  --vt-ink-soft: #4d5560;
  --vt-paper: #f6f8fb;
  --vt-surface: #ffffff;
  --vt-line: #dde3ec;
  --vt-accent: #2563eb;
  --vt-accent-ink: #ffffff;
  --vt-accent-hover: #1d4ed8;
  --vt-signal: #1f9d63;
  --vt-shadow: rgba(23, 32, 48, 0.14);
  --vt-hero-bg: #0b0f16;
  --vt-hero-surface: #151b26;
  --vt-hero-ink: #f2f5fa;
  --vt-hero-muted: #c8d2e0;
  --vt-hero-line: rgba(242, 245, 250, 0.16);
  --vt-hero-accent: #4f9dff;
  --vt-hero-accent-soft: #97c1ff;
}

body.vt-landing {
  background: var(--vt-paper);
  color: var(--vt-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-print-color-adjust: exact;
  scroll-behavior: smooth;
}
body.vt-landing [id] { scroll-margin-top: 84px; }

body.vt-landing a { text-decoration: none; }
body.vt-landing ::selection { background: var(--vt-accent); color: #fff; }

/* ---------- navbar ---------- */
.vt-navbar {
  background: var(--vt-hero-bg);
  border-bottom: 1px solid var(--vt-hero-line);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.vt-navbar .nav-link { color: var(--vt-hero-muted); font-weight: 600; font-size: 0.92rem; padding: 0.5rem 0.9rem; }
.vt-navbar .nav-link:hover { color: var(--vt-hero-ink); }
.vt-brand img { display: block; }

.btn-vt-accent {
  background: var(--vt-accent);
  color: var(--vt-accent-ink) !important;
  border: none;
  font-weight: 700;
  border-radius: 999px;
}
.btn-vt-accent:hover { background: var(--vt-accent-hover); color: #fff; }
.btn-vt-outline {
  background: transparent;
  color: var(--vt-hero-ink) !important;
  border: 1px solid var(--vt-hero-line);
  font-weight: 700;
  border-radius: 999px;
}
.btn-vt-outline:hover { border-color: var(--vt-hero-accent); color: var(--vt-hero-accent) !important; }

/* ---------- shared section scaffolding ---------- */
.vt-section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.vt-section.vt-tight { padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.vt-section.vt-alt { background: var(--vt-surface); border-top: 1px solid var(--vt-line); border-bottom: 1px solid var(--vt-line); }
.vt-section.vt-dark { background: var(--vt-hero-bg); color: var(--vt-hero-ink); }

.vt-eyebrow {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--vt-accent); font-weight: 700; margin: 0 0 0.9rem; display: inline-flex; align-items: center;
}
.vt-eyebrow::before { content: ""; display: inline-block; width: 1.4em; height: 2px; background: var(--vt-accent); margin-right: 0.6em; }
.vt-dark .vt-eyebrow { color: var(--vt-hero-accent-soft); }
.vt-dark .vt-eyebrow::before { background: var(--vt-hero-accent-soft); }

.vt-title { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -0.015em; line-height: 1.08; margin: 0 0 0.9rem; text-wrap: balance; }
.vt-dark .vt-title { color: var(--vt-hero-ink); }
.vt-hl { color: var(--vt-accent); }
.vt-dark .vt-hl { color: var(--vt-hero-accent-soft); }
.vt-rule { display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--vt-accent); margin: 0 0 1.3rem; }
.vt-dark .vt-rule { background: var(--vt-hero-accent); }
.vt-lede { font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--vt-ink-soft); max-width: 60ch; }
.vt-dark .vt-lede { color: var(--vt-hero-muted); }
.vt-body p { font-size: 1.03rem; line-height: 1.62; color: var(--vt-ink-soft); }
.vt-body p + p { margin-top: 0.85rem; }

.vt-tag-row { display: flex; gap: 0.55rem; flex-wrap: wrap; margin-top: 1.4rem; }
.vt-tag {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 0.4rem 0.75rem; border: 1px solid var(--vt-line); border-radius: 999px; color: var(--vt-ink-soft);
}
.vt-dark .vt-tag { border-color: var(--vt-hero-line); color: var(--vt-hero-muted); }

/* ---------- hero ---------- */
.vt-hero {
  position: relative;
  background: var(--vt-hero-bg);
  color: var(--vt-hero-ink);
  overflow: hidden;
  padding-top: clamp(7.5rem, 14vw, 10rem);
  padding-bottom: clamp(4rem, 9vw, 6rem);
}
.vt-hero-bg { position: absolute; inset: 0; z-index: 0; }
.vt-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(0.38); }
.vt-hero-bg .vt-tint { position: absolute; inset: 0; background: var(--vt-hero-accent); mix-blend-mode: color; opacity: 0.45; }
.vt-hero-bg .vt-scrim { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(8,11,17,.95) 32%, rgba(8,11,17,.84) 68%, rgba(8,11,17,.74)); }
.vt-hero-content { position: relative; z-index: 1; }
.vt-hero-wordmark { height: clamp(38px, 6vw, 56px); width: auto; margin-bottom: 1.3rem; }
.vt-hero h1 { font-size: clamp(2.3rem, 5.6vw, 3.9rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 1.1rem; text-wrap: balance; }
.vt-hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--vt-hero-muted); max-width: 52ch; line-height: 1.55; margin: 0 0 1.7rem; }
.vt-hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.vt-hero-cta .btn { padding: 0.75rem 1.5rem; font-size: 0.98rem; }
.vt-hero-foot { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--vt-hero-line); display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--vt-hero-muted); }
.vt-hero-foot img { height: 16px; width: auto; }

/* ---------- browser window frame (capturas) ---------- */
.vt-win { width: 100%; border-radius: 16px; overflow: hidden; background: var(--vt-surface); border: 1px solid var(--vt-line); box-shadow: 0 32px 60px -28px var(--vt-shadow); }
.vt-win .vt-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.8rem; background: #f1f4f9; border-bottom: 1px solid var(--vt-line); }
.vt-dark .vt-win .vt-bar { background: #10151f; border-bottom-color: var(--vt-hero-line); }
.vt-win .vt-dot { width: 9px; height: 9px; border-radius: 50%; }
.vt-win .vt-dot.r { background: #e5605a; } .vt-win .vt-dot.y { background: #e6b93f; } .vt-win .vt-dot.g { background: #59b869; }
.vt-win img { width: 100%; display: block; }
.vt-win-dark { background: var(--vt-hero-surface); border: 1px solid var(--vt-hero-line); box-shadow: 0 32px 62px -22px rgba(0,0,0,.6); }

.vt-shot-grid { display: flex; gap: clamp(1rem, 2.2vw, 1.6rem); flex-wrap: wrap; justify-content: center; margin-top: 2rem; }
.vt-shot { margin: 0; width: min(280px, 100%); }
.vt-shot figcaption { text-align: center; margin-top: 0.6rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; color: var(--vt-ink-soft); }

img.vt-zoomable { cursor: zoom-in; transition: filter 0.2s ease; }
img.vt-zoomable:hover { filter: brightness(1.04); }

/* ---------- steps ---------- */
.vt-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 1.8rem; }
@media (max-width: 900px) { .vt-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vt-steps { grid-template-columns: 1fr; } }
.vt-step { background: var(--vt-surface); border: 1px solid var(--vt-line); border-radius: 14px; padding: 1.5rem 1.3rem; box-shadow: 0 14px 30px -24px var(--vt-shadow); position: relative; }
.vt-step .vt-num { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--vt-accent); display: block; margin-bottom: 0.4rem; line-height: 1; }
.vt-step h3 { margin: 0 0 0.3rem; font-size: 0.98rem; color: var(--vt-ink); font-weight: 700; }
.vt-step p { margin: 0; font-size: 0.9rem; line-height: 1.48; color: var(--vt-ink-soft); }
@media (min-width: 901px) {
  .vt-step:not(:last-child)::after { content: "→"; position: absolute; right: -1.1rem; top: 1.3rem; color: var(--vt-line); font-size: 1.1rem; }
}

/* ---------- feature grid ---------- */
.vt-grid8 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.8rem; }
@media (max-width: 980px) { .vt-grid8 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vt-grid8 { grid-template-columns: 1fr; } }
.vt-cell { background: var(--vt-surface); border: 1px solid var(--vt-line); border-top: 3px solid var(--vt-accent); border-radius: 14px; padding: 1.3rem 1.2rem; min-height: 9rem; box-shadow: 0 14px 30px -26px var(--vt-shadow); }
.vt-cell h3 { margin: 0 0 0.5rem; font-size: 0.94rem; color: var(--vt-accent); font-weight: 700; }
.vt-cell p { margin: 0; font-size: 0.85rem; line-height: 1.46; color: var(--vt-ink-soft); }

/* ---------- benefits ---------- */
.vt-benefits { columns: 2; column-gap: 2.4rem; margin-top: 1.6rem; }
@media (max-width: 760px) { .vt-benefits { columns: 1; } }
.vt-benefit { break-inside: avoid; display: flex; gap: 0.7rem; padding: 0.7rem 0; border-top: 1px solid var(--vt-line); }
.vt-benefit:first-child { border-top: none; }
.vt-benefit .vt-mark { width: 1.5rem; height: 1.5rem; flex-shrink: 0; border-radius: 6px; margin-top: 0.15rem; background: var(--vt-signal); color: #fff; font-weight: 800; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; }
.vt-benefit p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: var(--vt-ink-soft); }

/* ---------- use cases (columnas con divisor) ---------- */
.vt-usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 1.8rem; }
@media (max-width: 860px) { .vt-usecase-grid { grid-template-columns: 1fr; gap: 1.6rem; } }
.vt-usecase { padding: 0 1.8rem; }
.vt-usecase:first-child { padding-left: 0; }
.vt-usecase:last-child { padding-right: 0; }
@media (min-width: 861px) { .vt-usecase:not(:last-child) { border-right: 1px solid var(--vt-line); } }
.vt-usecase .vt-icon { width: 28px; height: 28px; stroke: var(--vt-accent); margin-bottom: 0.7rem; }
.vt-usecase h4 { margin: 0 0 0.4rem; font-size: 1.05rem; font-weight: 800; color: var(--vt-ink); }
.vt-usecase p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--vt-ink-soft); }

/* ---------- integraciones ---------- */
.vt-equip-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; margin-top: 1.8rem; }
@media (max-width: 980px) { .vt-equip-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .vt-equip-grid { grid-template-columns: repeat(2, 1fr); } }
.vt-equip { padding: 1.1rem 1rem; border: 1px solid var(--vt-line); border-top: 3px solid var(--vt-accent); border-radius: 14px; background: var(--vt-surface); box-shadow: 0 14px 30px -24px var(--vt-shadow); }
.vt-equip h4 { margin: 0 0 0.3rem; font-size: 0.9rem; color: var(--vt-ink); font-weight: 700; }
.vt-equip p { margin: 0; font-size: 0.8rem; color: var(--vt-ink-soft); line-height: 1.42; }
.vt-note-line { margin-top: 1.6rem; font-size: 0.85rem; color: var(--vt-ink-soft); border-left: 3px solid var(--vt-accent); padding-left: 0.9rem; }

/* ---------- gestionpos card ---------- */
.vt-pos-card { max-width: 320px; text-align: center; padding: 2.2rem 1.8rem; margin: 0 auto; border: 1px solid var(--vt-line); border-top: 3px solid var(--vt-accent); border-radius: 14px; background: var(--vt-surface); box-shadow: 0 14px 30px -26px var(--vt-shadow); }
.vt-pos-card img { width: 120px; height: auto; margin: 0 auto 1rem; display: block; }
.vt-pos-card p { font-size: 0.95rem; color: var(--vt-ink-soft); margin: 0; }

/* ---------- contacto ---------- */
.vt-contact-info a, .vt-contact-info div { color: var(--vt-hero-ink); font-size: 1.05rem; display: block; margin-bottom: 0.4rem; }
.vt-contact-info a:hover { color: var(--vt-hero-accent); }
.vt-contact-info h4 { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--vt-hero-accent-soft); margin: 0 0 0.6rem; }

.vt-form { background: var(--vt-hero-surface); border: 1px solid var(--vt-hero-line); border-radius: 16px; padding: 1.8rem; }
.vt-form label { color: var(--vt-hero-muted); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.3rem; }
.vt-form .form-control { background: var(--vt-hero-bg); border: 1px solid var(--vt-hero-line); color: var(--vt-hero-ink); }
.vt-form .form-control:focus { background: var(--vt-hero-bg); border-color: var(--vt-hero-accent); color: var(--vt-hero-ink); box-shadow: 0 0 0 0.2rem rgba(79, 157, 255, 0.25); }
.vt-form .form-control::placeholder { color: var(--vt-hero-muted); opacity: 0.6; }

/* ---------- footer ---------- */
.vt-footer { background: var(--vt-hero-bg); color: var(--vt-hero-muted); border-top: 1px solid var(--vt-hero-line); padding: 1.6rem 0; font-size: 0.85rem; }
.vt-footer a { color: var(--vt-hero-muted); }
.vt-footer a:hover { color: var(--vt-hero-ink); }

/* ---------- lightbox ---------- */
#vt-lightbox {
  position: fixed; inset: 0; z-index: 1050; display: flex; align-items: center; justify-content: center;
  padding: 4vh 4vw; background: rgba(9, 12, 18, 0.92); opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
#vt-lightbox.open { opacity: 1; pointer-events: auto; }
#vt-lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7); cursor: zoom-out; }
#vt-lightbox .vt-lightbox-close {
  all: unset; position: absolute; top: 1.4rem; right: 1.6rem; width: 2.4rem; height: 2.4rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; color: #f2f5fa; background: rgba(242, 245, 250, 0.12);
  font-size: 1.3rem; line-height: 1; cursor: pointer;
}
#vt-lightbox .vt-lightbox-close:hover { background: rgba(242, 245, 250, 0.22); }

@media (prefers-reduced-motion: reduce) {
  body.vt-landing * { scroll-behavior: auto; }
}
