/*
Theme Name: Pventa SaaS
Theme URI: https://pventa.co/
Author: Pventa
Description: Tema ligero y orientado a conversión para Sistema Punto de Venta.
Version: 1.0.0
Text Domain: pventa-saas
*/

:root {
  --pv-ink: #102a43;
  --pv-muted: #52667a;
  --pv-brand: #075f55;
  --pv-brand-dark: #064a43;
  --pv-accent: #f59e0b;
  --pv-mint: #e8f7f3;
  --pv-surface: #f6f9fb;
  --pv-line: #dce6ea;
  --pv-white: #fff;
  --pv-shadow: 0 22px 60px rgba(16, 42, 67, .13);
  --pv-radius: 18px;
  --pv-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--pv-ink); background: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.pv-container { width: min(calc(100% - 40px), var(--pv-width)); margin-inline: auto; }
.pv-section { padding: 92px 0; }
.pv-section--soft { background: var(--pv-surface); }
.pv-section--dark { background: var(--pv-ink); color: #fff; }
.pv-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--pv-brand); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pv-eyebrow::before { width: 26px; height: 3px; border-radius: 99px; background: var(--pv-accent); content: ""; }
.pv-heading { max-width: 760px; margin: 0; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.08; letter-spacing: -.04em; }
.pv-lead { max-width: 700px; margin: 18px 0 0; color: var(--pv-muted); font-size: 1.1rem; }
.pv-center { text-align: center; }
.pv-center .pv-heading, .pv-center .pv-lead { margin-inline: auto; }
.pv-center .pv-eyebrow { justify-content: center; }
.pv-btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; padding: 0 24px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.pv-btn:hover { transform: translateY(-2px); }
.pv-btn--primary { color: #fff; background: var(--pv-brand); box-shadow: 0 10px 24px rgba(7, 95, 85, .22); }
.pv-btn--primary:hover { background: var(--pv-brand-dark); }
.pv-btn--secondary { border-color: var(--pv-line); background: #fff; }
.pv-btn--secondary:hover { box-shadow: 0 10px 24px rgba(16, 42, 67, .08); }
.pv-btn--light { color: var(--pv-ink); background: #fff; }

.pv-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(220, 230, 234, .9); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.pv-nav { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 24px; }
.pv-logo { display: flex; align-items: center; gap: 11px; font-size: 1.05rem; font-weight: 900; letter-spacing: -.02em; }
.pv-logo__mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: #fff; background: var(--pv-brand); }
.pv-menu { display: flex; align-items: center; gap: 28px; color: #30495f; font-size: .94rem; font-weight: 700; }
.pv-menu a:hover { color: var(--pv-brand); }
.pv-nav__actions { display: flex; align-items: center; gap: 12px; }
.pv-menu-toggle { display: none; border: 0; background: transparent; font-size: 1.4rem; }

.pv-hero { position: relative; overflow: hidden; padding: 86px 0 72px; background: radial-gradient(circle at 88% 10%, #d9f5ed 0, transparent 35%), linear-gradient(180deg,#fff 0,#f8fbfc 100%); }
.pv-hero::before { position: absolute; top: -160px; left: -180px; width: 420px; height: 420px; border: 1px solid #e2efec; border-radius: 50%; content: ""; }
.pv-hero__grid { display: grid; align-items: center; grid-template-columns: 1.02fr .98fr; gap: 62px; }
.pv-hero h1 { max-width: 690px; margin: 0; font-size: clamp(2.75rem, 5.3vw, 5.2rem); line-height: .98; letter-spacing: -.06em; }
.pv-hero h1 span { color: var(--pv-brand); }
.pv-hero__copy { max-width: 680px; margin: 24px 0 0; color: var(--pv-muted); font-size: 1.17rem; }
.pv-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pv-trustline { display: flex; flex-wrap: wrap; gap: 18px; margin: 24px 0 0; padding: 0; color: #385269; font-size: .9rem; font-weight: 700; list-style: none; }
.pv-trustline li::before { margin-right: 7px; color: var(--pv-brand); content: "✓"; }

.pv-product { position: relative; padding: 18px; border: 1px solid rgba(255,255,255,.8); border-radius: 24px; background: rgba(255,255,255,.78); box-shadow: var(--pv-shadow); transform: rotate(1deg); }
.pv-product__bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 16px; color: #668096; font-size: .73rem; }
.pv-product__dots { display: flex; gap: 5px; }
.pv-product__dots i { width: 8px; height: 8px; border-radius: 50%; background: #b9c9d5; }
.pv-dashboard { display: grid; min-height: 390px; overflow: hidden; border-radius: 16px; background: #f4f8fa; grid-template-columns: 84px 1fr; }
.pv-dashboard__side { padding: 22px 15px; color: #fff; background: var(--pv-brand); }
.pv-dashboard__side strong { display: block; margin-bottom: 26px; font-size: .7rem; text-align: center; }
.pv-dashboard__side i { display: block; width: 38px; height: 7px; margin: 0 auto 18px; border-radius: 99px; background: rgba(255,255,255,.44); }
.pv-dashboard__main { padding: 25px; }
.pv-dashboard__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.pv-dashboard__head strong { font-size: 1rem; }
.pv-dashboard__head span { padding: 7px 11px; border-radius: 8px; color: var(--pv-brand); background: var(--pv-mint); font-size: .7rem; font-weight: 800; }
.pv-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.pv-stat { padding: 16px; border: 1px solid #e3ecef; border-radius: 12px; background: #fff; }
.pv-stat small { display: block; color: #73889a; font-size: .65rem; }
.pv-stat b { display: block; margin-top: 7px; font-size: 1rem; }
.pv-chart { display: flex; height: 142px; align-items: end; gap: 11px; margin-top: 17px; padding: 20px 18px 0; border: 1px solid #e3ecef; border-radius: 12px; background: #fff; }
.pv-chart i { flex: 1; min-width: 8px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg,#27a895,#087064); }
.pv-order { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 13px; border: 1px solid #e3ecef; border-radius: 12px; background: #fff; }
.pv-order__icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: #fff3d7; }
.pv-order span { color: #6b8192; font-size: .68rem; }
.pv-product__badge { position: absolute; right: -18px; bottom: 28px; padding: 12px 16px; border-radius: 12px; color: #fff; background: var(--pv-ink); box-shadow: 0 12px 30px rgba(16,42,67,.23); font-size: .78rem; font-weight: 800; transform: rotate(-1deg); }

.pv-proof { border-block: 1px solid var(--pv-line); background: #fff; }
.pv-proof__grid { display: grid; min-height: 100px; align-items: center; grid-template-columns: 1.25fr repeat(3,.75fr); gap: 20px; }
.pv-proof p { margin: 0; color: var(--pv-muted); font-weight: 700; }
.pv-proof strong { display: block; color: var(--pv-brand); font-size: 1.55rem; }
.pv-proof small { color: var(--pv-muted); }

.pv-cards { display: grid; margin-top: 42px; grid-template-columns: repeat(4,1fr); gap: 18px; }
.pv-card { padding: 28px; border: 1px solid var(--pv-line); border-radius: var(--pv-radius); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.pv-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(16,42,67,.09); }
.pv-card__icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 13px; color: var(--pv-brand); background: var(--pv-mint); font-size: 1.25rem; }
.pv-card h3 { margin: 20px 0 8px; font-size: 1.12rem; }
.pv-card p { margin: 0; color: var(--pv-muted); font-size: .94rem; }

.pv-dual { display: grid; margin-top: 46px; grid-template-columns: 1fr 1fr; gap: 24px; }
.pv-interface { position: relative; overflow: hidden; padding: 38px; border-radius: 24px; background: #fff; box-shadow: 0 20px 52px rgba(16,42,67,.08); }
.pv-interface--seller { color: #fff; background: var(--pv-brand); }
.pv-interface__tag { display: inline-block; padding: 7px 10px; border-radius: 8px; color: var(--pv-brand); background: var(--pv-mint); font-size: .72rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.pv-interface--seller .pv-interface__tag { color: #fff; background: rgba(255,255,255,.14); }
.pv-interface h3 { margin: 20px 0 10px; font-size: 1.65rem; }
.pv-interface p { margin: 0; color: var(--pv-muted); }
.pv-interface--seller p { color: #d9efea; }
.pv-checks { display: grid; margin: 26px 0 0; padding: 0; grid-template-columns: 1fr 1fr; gap: 11px 18px; list-style: none; }
.pv-checks li { position: relative; padding-left: 24px; font-size: .91rem; }
.pv-checks li::before { position: absolute; left: 0; color: var(--pv-accent); font-weight: 900; content: "✓"; }

.pv-features { display: grid; margin-top: 45px; grid-template-columns: repeat(3,1fr); gap: 18px; }
.pv-feature { padding: 26px 0; border-top: 1px solid var(--pv-line); }
.pv-feature strong { display: block; margin-bottom: 8px; font-size: 1.05rem; }
.pv-feature p { margin: 0; color: var(--pv-muted); font-size: .93rem; }

.pv-restaurant { display: grid; align-items: center; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.pv-restaurant__visual { display: grid; min-height: 390px; padding: 24px; border-radius: 24px; background: #fff; box-shadow: var(--pv-shadow); grid-template-columns: repeat(3,1fr); gap: 12px; }
.pv-table { display: grid; place-items: center; border: 1px solid var(--pv-line); border-radius: 16px; color: var(--pv-brand); background: var(--pv-surface); font-size: .78rem; font-weight: 900; }
.pv-table:nth-child(2), .pv-table:nth-child(5) { color: #8a5800; background: #fff4d8; }
.pv-table:nth-child(4) { color: #fff; background: var(--pv-brand); }

.pv-steps { display: grid; margin-top: 46px; grid-template-columns: repeat(3,1fr); gap: 30px; }
.pv-step { position: relative; padding: 30px; border: 1px solid var(--pv-line); border-radius: var(--pv-radius); }
.pv-step__number { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; color: #fff; background: var(--pv-brand); font-weight: 900; }
.pv-step h3 { margin: 18px 0 8px; }
.pv-step p { margin: 0; color: var(--pv-muted); }

.pv-dian { display: grid; align-items: center; grid-template-columns: 1fr .85fr; gap: 70px; }
.pv-dian__panel { padding: 34px; border: 1px solid #cfe3de; border-radius: 24px; background: #fff; box-shadow: var(--pv-shadow); }
.pv-dian__status { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--pv-line); }
.pv-status { padding: 7px 10px; border-radius: 999px; color: var(--pv-brand); background: var(--pv-mint); font-size: .76rem; font-weight: 900; }
.pv-invoice { display: grid; padding: 20px 0; grid-template-columns: 1fr auto; gap: 7px 20px; }
.pv-invoice small { color: var(--pv-muted); }
.pv-invoice strong:last-child { color: var(--pv-brand); }

.pv-pricing { display: grid; margin-top: 46px; grid-template-columns: 1fr 1fr; gap: 24px; }
.pv-price { position: relative; padding: 38px; border: 1px solid var(--pv-line); border-radius: 24px; background: #fff; box-shadow: 0 20px 48px rgba(16,42,67,.07); }
.pv-price--featured { border: 2px solid var(--pv-brand); }
.pv-price__label { position: absolute; top: 20px; right: 20px; padding: 7px 11px; border-radius: 999px; color: #fff; background: var(--pv-brand); font-size: .7rem; font-weight: 900; }
.pv-price h3 { margin: 0 0 4px; font-size: 1.45rem; }
.pv-price__amount { margin: 22px 0 4px; font-size: 2.75rem; font-weight: 900; letter-spacing: -.05em; }
.pv-price__amount sup { font-size: 1rem; letter-spacing: 0; }
.pv-price__amount span { color: var(--pv-muted); font-size: .9rem; font-weight: 600; letter-spacing: 0; }
.pv-price__annual { margin: 0 0 24px; color: var(--pv-brand); font-size: .88rem; font-weight: 800; }
.pv-price .pv-checks { grid-template-columns: 1fr; }
.pv-price .pv-btn { width: 100%; margin-top: 28px; }
.pv-setup { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 26px 30px; border-radius: 18px; color: #fff; background: var(--pv-ink); }
.pv-setup strong { font-size: 1.3rem; }
.pv-setup p { margin: 3px 0 0; color: #c9d7e1; }

.pv-faq { max-width: 840px; margin: 40px auto 0; }
.pv-faq details { padding: 21px 0; border-bottom: 1px solid var(--pv-line); }
.pv-faq summary { display: flex; cursor: pointer; align-items: center; justify-content: space-between; gap: 20px; font-weight: 850; list-style: none; }
.pv-faq summary::after { color: var(--pv-brand); font-size: 1.4rem; content: "+"; }
.pv-faq details[open] summary::after { content: "−"; }
.pv-faq p { margin: 14px 40px 0 0; color: var(--pv-muted); }

.pv-cta { padding: 70px 0; color: #fff; background: linear-gradient(135deg,var(--pv-brand),#063b42); }
.pv-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.pv-cta h2 { max-width: 700px; margin: 0; font-size: clamp(2rem,4vw,3.2rem); line-height: 1.08; letter-spacing: -.04em; }
.pv-cta p { max-width: 650px; margin: 14px 0 0; color: #d5f0ea; }
.pv-cta__actions { display: flex; flex: 0 0 auto; flex-direction: column; gap: 10px; }
.pv-footer { padding: 54px 0 28px; color: #b8c8d4; background: #0b2235; }
.pv-footer__grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 50px; }
.pv-footer .pv-logo { color: #fff; }
.pv-footer p { max-width: 430px; }
.pv-footer h3 { margin: 0 0 14px; color: #fff; font-size: .9rem; }
.pv-footer ul { margin: 0; padding: 0; list-style: none; }
.pv-footer li { margin: 8px 0; }
.pv-footer__bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.screen-reader-text { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(1px,1px,1px,1px); }

@media (max-width: 980px) {
  .pv-menu { display: none; }
  .pv-hero__grid, .pv-restaurant, .pv-dian { grid-template-columns: 1fr; }
  .pv-hero__grid { gap: 48px; }
  .pv-product { max-width: 650px; margin-inline: auto; }
  .pv-cards { grid-template-columns: 1fr 1fr; }
  .pv-proof__grid { grid-template-columns: 1fr repeat(3,1fr); }
  .pv-cta__inner { align-items: flex-start; flex-direction: column; }
  .pv-cta__actions { flex-direction: row; }
}

@media (max-width: 700px) {
  .pv-container { width: min(calc(100% - 28px), var(--pv-width)); }
  .pv-section { padding: 68px 0; }
  .pv-nav { min-height: 68px; }
  .pv-nav__actions .pv-btn--secondary { display: none; }
  .pv-nav__actions .pv-btn { min-height: 42px; padding: 0 13px; font-size: .78rem; }
  .pv-hero { padding: 58px 0; }
  .pv-hero h1 { font-size: clamp(2.55rem,13vw,4rem); }
  .pv-dashboard { min-height: 310px; grid-template-columns: 58px 1fr; }
  .pv-dashboard__main { padding: 16px; }
  .pv-stats { grid-template-columns: 1fr 1fr; }
  .pv-stat:last-child { display: none; }
  .pv-product__badge { right: -5px; }
  .pv-proof__grid { padding: 24px 0; grid-template-columns: 1fr 1fr; }
  .pv-proof__grid > div:first-child { grid-column: 1/-1; }
  .pv-cards, .pv-dual, .pv-features, .pv-steps, .pv-pricing, .pv-footer__grid { grid-template-columns: 1fr; }
  .pv-checks { grid-template-columns: 1fr; }
  .pv-interface, .pv-price { padding: 28px 24px; }
  .pv-setup { align-items: flex-start; flex-direction: column; }
  .pv-cta__actions { width: 100%; flex-direction: column; }
  .pv-cta__actions .pv-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
