/* ==========================================================
   SECCIONES — una por bloque de la página
   ========================================================== */

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--hero-from), var(--bg) 85%); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding-block: clamp(48px, 8vw, 96px);
}
.hero h1 {
  margin-top: 20px; font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 800; letter-spacing: -.035em;
}
.hero h1 em { font-style: normal; color: var(--brand-name); }
.hero-lead { margin-top: 20px; font-size: 1.12rem; color: var(--text-muted); max-width: 540px; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points {
  margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px;
  font-size: .875rem; color: var(--text-muted);
}
.hero-points li::before { content: '✔'; margin-right: 6px; color: var(--primary); }

.hero-grid > *, .contact-grid > * { min-width: 0; }

/* Maqueta de pantalla POS */
.mock {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.mock-bar {
  display: flex; align-items: center; gap: 6px; padding: 12px 16px;
  background: var(--surface-2); border-bottom: 1px solid var(--border);
  font-size: .75rem; color: var(--text-muted);
}
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--border); }
.mock-bar i:nth-child(1) { background: #ef6f6c; }
.mock-bar i:nth-child(2) { background: #f1c04f; }
.mock-bar i:nth-child(3) { background: #5ccf3a; }
.mock-bar span { margin-left: 10px; }
.mock-body { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; padding: 18px; }
.mock-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.product {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 10px 4px 8px; text-align: center; min-width: 0;
  border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border);
}
.product svg { width: 40px; height: 40px; margin-bottom: 4px; }
.pname { font-size: .68rem; font-weight: 600; line-height: 1.25; color: var(--text); }
.pprice { font-size: .7rem; font-weight: 800; color: var(--primary-soft-text); }

.mock-currency {
  margin-left: auto; display: flex; gap: 2px; padding: 2px;
  border-radius: 8px; background: var(--border);
}
.mock-currency button {
  border: 0; background: transparent; padding: 3px 9px; border-radius: 6px;
  font-size: .7rem; font-weight: 700; color: var(--text-muted);
}
.mock-currency button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.mock-ticket { display: flex; flex-direction: column; font-size: .75rem; color: var(--text-muted); }
.mock-ticket h4 { margin: 0 0 8px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.mock-ticket .line { display: flex; justify-content: space-between; padding: 4px 0; }
.mock-ticket .total {
  margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; font-weight: 800; font-size: .9rem; color: var(--text);
}
.mock-ticket .pay {
  margin-top: 10px; padding: 9px; text-align: center; border-radius: 8px;
  background: var(--primary); color: var(--on-primary); font-weight: 700;
}
.mock-caption { margin-top: 12px; text-align: center; font-size: .75rem; color: var(--text-muted); }

/* ---------- Módulos ---------- */
.grid-3 { margin-top: 48px; display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }

/* ---------- Plataformas ---------- */
.platforms { margin: 48px 0; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.platform {
  padding: 28px 20px; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.platform:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.platform .card-icon { margin-inline: auto; width: 56px; height: 56px; border-radius: 16px; }
.platform .card-icon svg { width: 28px; height: 28px; }
.platform h3 { margin-top: 16px; font-size: 1.15rem; font-weight: 800; }
.platform p { margin-top: 8px; font-size: .9rem; color: var(--text-muted); }
.platforms + .grid-3 { margin-top: 0; }

/* ---------- Banda de beneficios ---------- */
.band { background: var(--band-bg); color: var(--on-band); }
.band .section-title { color: var(--on-band); }
.band-grid { margin-top: 48px; display: grid; gap: 32px; grid-template-columns: repeat(4, 1fr); }
.band-num { font-size: 2.4rem; font-weight: 800; color: var(--brand-400); line-height: 1; }
.band-item h3 { margin-top: 12px; font-size: 1.05rem; font-weight: 700; }
.band-item p { margin-top: 8px; font-size: .9rem; color: var(--on-band-muted); }

/* ---------- Cobertura (Perú y Chile) ---------- */
.band .section-lead { color: var(--on-band-muted); }
.hero-points a { text-decoration: underline; text-underline-offset: 3px; }
.hero-points a:hover { color: var(--link); }
.offices { margin-top: 48px; display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.office {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 28px; border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--on-band) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--on-band) 18%, transparent);
}
.office-code {
  padding: 3px 10px; border-radius: 6px; margin-bottom: 8px;
  background: var(--brand-400); color: var(--brand-900);
  font-size: .75rem; font-weight: 800; letter-spacing: .1em;
}
.office h3 { font-size: 1.5rem; font-weight: 800; color: var(--on-band); }
.office-city { font-size: 1.05rem; font-weight: 600; color: var(--brand-400); }
.office-detail { margin-top: 8px; font-size: .9rem; color: var(--on-band-muted); }
.office-phone { margin: 14px 0 16px; font-weight: 700; color: var(--on-band); }
.office-phone:hover { color: var(--brand-400); }

/* ---------- Sectores ---------- */
.sectors { margin-top: 40px; display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.sector {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 24px 16px; text-align: center;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: border-color .2s, transform .2s, box-shadow .2s, background-color .2s;
}
.sector:hover {
  border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.sector-icon {
  display: grid; place-items: center;
  font-size: 2rem; line-height: 1;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}
.sector h3 { font-size: .95rem; font-weight: 600; }

/* ---------- Planes ---------- */
.plans { margin-top: 48px; display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 32px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.plan--featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.plan-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
  background: var(--primary); color: var(--on-primary); font-size: .72rem; font-weight: 700;
}
.plan h3 { font-size: 1.25rem; font-weight: 800; }
.plan-sub { margin-top: 4px; font-size: .88rem; color: var(--text-muted); }
.plan-price { margin-top: 20px; font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.plan ul { margin: 24px 0 32px; display: grid; gap: 10px; flex: 1; font-size: .92rem; color: var(--text-muted); }
.plan li::before { content: '✔'; margin-right: 8px; color: var(--primary); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { margin: 32px 0; display: grid; gap: 12px; font-size: .95rem; }
.contact-list strong { font-weight: 700; }
.contact-list li { color: var(--text-muted); }
.contact-list strong { color: var(--text); }
.form-card {
  padding: 28px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--band-bg); color: var(--on-band-muted); }
.footer-inner {
  padding-block: 40px; display: flex; flex-wrap: wrap; gap: 20px;
  align-items: center; justify-content: space-between; font-size: .875rem;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 56px; width: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .plans { grid-template-columns: 1fr 1fr; }
  .platforms { grid-template-columns: 1fr 1fr; }
  .offices { max-width: none; }
  .band-grid { grid-template-columns: 1fr 1fr; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .plans, .band-grid, .platforms, .offices { grid-template-columns: 1fr; }
  .sectors { gap: 12px; }
  .sector { padding: 20px 12px; }
  .sector-icon { font-size: 1.7rem; }
  .sector h3 { font-size: .875rem; }
  .hero-cta .btn { width: 100%; }
  .mock-body { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
