/* Secciones de la landing (escritorio primero; ver responsive.css) */

/* ── Tipografía de sección ── */
.eyebrow { font-size: var(--fs-sm); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-aqua-ink); margin-bottom: var(--s-4); }
.eyebrow--on-dark { color: var(--c-aqua); }
.section { padding: var(--section-y) 0; }
.section--tight { padding-top: calc(var(--section-y) * .75); }
.section--warm { background: var(--c-surface-2); }
.section__head { max-width: 760px; margin-bottom: var(--s-12); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: var(--fs-h2); margin-bottom: var(--s-5); }
.section__lead { font-size: var(--fs-lg); color: var(--c-ink-2); max-width: 62ch; }
.section__head--center .section__lead { margin-inline: auto; }
.section__text { margin-top: var(--s-5); color: var(--c-ink-2); max-width: 60ch; }
.motto { margin-top: var(--s-8); font-size: var(--fs-xl); font-weight: 700; color: var(--c-ink); }
.note-line { margin-top: var(--s-4); color: var(--c-ink-2); }

.split-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }

/* ── Hero ── */
.hero { padding: clamp(48px, 6vw, 96px) 0 var(--section-y); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.35fr); gap: clamp(40px, 4.5vw, 72px); align-items: center; }
.hero__title { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -0.025em; margin-bottom: var(--s-6); }
.hero__lead { font-size: var(--fs-lg); color: var(--c-ink-2); max-width: 36ch; margin-bottom: var(--s-8); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-8); }
.checks { display: grid; gap: var(--s-3); }
.checks li { display: flex; align-items: center; gap: var(--s-3); font-weight: 600; }
.checks .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--c-surface-2); color: var(--brand-petrol); stroke-width: 3; }
/* El producto es protagonista: la captura sangra hacia el borde derecho de la ventana. */
.hero__visual { position: relative; margin-right: calc((100vw - min(var(--container), 100vw - 2 * var(--gutter))) / -2); }
.capture--hero { border-radius: var(--r-lg) 0 0 var(--r-lg); border-right: 0; }

/* ── Concepto: tu negocio → tu sistema ── */
.concept { display: grid; justify-items: center; gap: var(--s-3); padding: var(--s-10); border-radius: var(--r-xl); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--shadow-2); }
.concept__node { padding: var(--s-3) var(--s-6); border-radius: var(--r-pill); font-weight: 700; font-size: var(--fs-lg); }
.concept__node--start { background: var(--c-surface-2); }
.concept__node--end { background: var(--c-primary-strong); color: var(--c-on-primary); }
.concept__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); width: 100%; }
.concept__list li { padding: var(--s-3) var(--s-4); border-radius: var(--r-md); border: 1px solid var(--c-line); text-align: center; font-weight: 600; }
.concept__arrow { width: 2px; height: 28px; background: var(--c-line-strong); position: relative; }
.concept__arrow::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 10px; height: 10px; border-right: 2px solid var(--c-line-strong); border-bottom: 2px solid var(--c-line-strong); transform: translateX(-50%) rotate(45deg); }

/* ── Flujo (sección protagonista) ── */
.section--feature { background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-surface-2) 100%); }
.flow { display: flex; align-items: center; justify-content: center; gap: var(--s-4); margin: 0 auto var(--s-12); flex-wrap: wrap; }
.flow > li { display: flex; align-items: center; gap: var(--s-4); }
.flow > li + li::before { content: ""; width: 32px; height: 2px; background: var(--c-line-strong); }
.flow__sources { flex-direction: column; align-items: stretch !important; gap: var(--s-2) !important; }
.flow__pill { display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-4); border-radius: var(--r-pill); background: var(--c-surface); border: 1px solid var(--c-line); font-weight: 600; }
.flow__pill .icon { width: 20px; height: 20px; color: var(--c-aqua-ink); }
.flow__step { padding: var(--s-3) var(--s-6); border-radius: var(--r-pill); background: var(--c-surface); border: 1px solid var(--c-line); font-weight: 700; }
.flow__step--done { background: var(--c-aqua); border-color: var(--c-aqua); color: var(--brand-navy); }

/* ── Pedidos en línea: marco de teléfono genérico ── */
.split-2--media-right > :last-child { justify-self: center; }
.device { width: min(316px, 100%); margin: 0; padding: 11px; border-radius: 42px; background: var(--c-ink); box-shadow: var(--shadow-3); }
.device img { display: block; width: 100%; height: auto; border-radius: 31px; }
.mini-list { display: grid; gap: var(--s-4); margin-top: var(--s-8); }
.mini-list li { display: flex; align-items: center; gap: var(--s-3); font-weight: 600; }
.mini-list .icon { color: var(--c-aqua-ink); }

/* ── Funciones: 6 tarjetas ── */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.card { height: 100%; padding: var(--s-8); border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--shadow-1); transition: box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.card:hover { box-shadow: var(--shadow-2); border-color: var(--c-aqua-strong); }
@media (prefers-reduced-motion: no-preference) { .card:hover { transform: translateY(-2px); } }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: var(--s-5); border-radius: var(--r-md); background: var(--c-surface-2); color: var(--c-aqua-ink); }
.card__title { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
.card p { color: var(--c-ink-2); }

/* ── A tu medida: tratamiento especial (azul profundo, no negro) ── */
.section--measure { background: var(--c-ink); color: var(--c-on-dark); }
.section--measure .section__lead { color: var(--c-on-dark-2); }
.measure { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.toggles { display: grid; gap: var(--s-3); margin-top: var(--s-10); }
.toggles__row { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.toggles dt { font-weight: 600; }
.state { display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--s-4); border-radius: var(--r-pill); font-weight: 700; white-space: nowrap; }
.state--off { background: rgba(255, 255, 255, .14); color: var(--c-on-dark); }
.state--on { background: var(--c-aqua); color: var(--brand-navy); }
.state--custom { background: var(--c-primary); color: var(--c-on-primary); }
.measure__close { margin-top: var(--s-8); font-size: var(--fs-lg); font-weight: 700; }

/* ── Paquetes (sin precios) ── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.plan { height: 100%; padding: var(--s-10) var(--s-8); border-radius: var(--r-xl); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--shadow-1); }
.plan__name { font-size: var(--fs-xl); margin-bottom: var(--s-2); }
.plan__desc { color: var(--c-ink-2); margin-bottom: var(--s-6); min-height: 3.2em; }
.plan__list { display: grid; gap: var(--s-3); padding-top: var(--s-6); border-top: 1px solid var(--c-line); }
.plan__list li { position: relative; padding-left: var(--s-8); }
.plan__list li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--c-aqua-strong); border-bottom: 2.5px solid var(--c-aqua-strong); transform: rotate(-45deg); }
.plans__more { max-width: 680px; margin: var(--s-12) auto 0; text-align: center; }
.plans__more-title { font-size: var(--fs-xl); margin-bottom: var(--s-2); }
.plans__more p { color: var(--c-ink-2); }

/* ── Figura con leyenda (WhatsApp) ── */
.figure { width: min(380px, 100%); }
.figure__caption { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--c-ink-2); text-align: center; font-style: italic; }

/* ── Implementación: 4 pasos ── */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); counter-reset: none; }
.step { padding: var(--s-8) var(--s-6); border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-line); }
.step__n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--s-5); border-radius: 50%; background: var(--c-primary-strong); color: var(--c-on-primary); font-weight: 700; font-size: var(--fs-lg); }
.step__title { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
.step p { color: var(--c-ink-2); }
/* Paso 3 destacado: «No empiezas con una pantalla vacía» */
.step--highlight { background: var(--c-surface); border: 2px solid var(--c-primary); box-shadow: var(--shadow-2); }
.step__hook { margin-bottom: var(--s-2); font-weight: 700; color: var(--c-ink) !important; }
.step__data { margin-top: var(--s-4); padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--c-surface-2); color: var(--c-ink) !important; font-size: var(--fs-sm); font-weight: 600; line-height: 1.7; }
.step__close { margin-top: var(--s-4); font-size: var(--fs-sm); font-weight: 700; color: var(--c-primary-ink) !important; }
.steps { align-items: start; }

/* ── CTA final ── */
.section--cta { padding: var(--section-y) 0 calc(var(--section-y) * 1.1); }
.cta-final { display: grid; justify-items: center; text-align: center; gap: var(--s-6); max-width: 820px; }
.cta-final .section__title { margin-bottom: 0; }
.cta-final__micro { font-size: var(--fs-sm); color: var(--c-ink-2); }

/* ═══════════════ 0D.7 · consolidación comercial ═══════════════ */

.section__subtitle { font-size: var(--fs-h3); margin-bottom: var(--s-3); }
.note-line--small { font-size: var(--fs-sm); max-width: 60ch; }
.note-line--center { text-align: center; margin-inline: auto; max-width: 62ch; }

/* Flujo con 4 canales */
.flow__sources { display: grid !important; grid-template-columns: repeat(2, auto); }

/* Todos tus canales (dentro de la sección de flujo) */
.channels { margin-top: var(--s-16); }
.channels__title { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
.channels .mini-list { margin-top: var(--s-6); gap: var(--s-3); }
.channels .mini-list li { align-items: flex-start; }
.channels .mini-list .icon { flex: none; margin-top: 2px; }
.channels .device { width: min(300px, 100%); }

/* Comandero en tablet + Cocina */
.waiter { margin-bottom: var(--s-16); }
.capture--tablet { width: min(460px, 100%); justify-self: center; border-radius: var(--r-lg); box-shadow: var(--shadow-3); }
.kitchen-head { margin-bottom: var(--s-8); }

/* Funciones: 4 grupos con subcapacidades */
.groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); }
.group { height: 100%; padding: var(--s-8) var(--s-6); border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--shadow-1); }
.group__title { font-size: var(--fs-h3); margin-bottom: var(--s-4); }
.group__list { display: grid; gap: var(--s-2); }
.group__list li { position: relative; padding-left: var(--s-6); color: var(--c-ink-2); font-weight: 600; }
.group__list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--c-aqua); }
.groups > li:nth-child(even) .group__list li::before { background: var(--c-primary); }

/* Segundo ciclo: lo que entra al negocio */
.cycle { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--s-3); margin: 0 auto var(--s-10); }
.cycle__step { display: flex; align-items: center; gap: var(--s-3); }
.cycle__step + .cycle__step::before { content: ""; width: 24px; height: 2px; background: var(--c-line-strong); }
.cycle__pill { padding: var(--s-3) var(--s-5); border-radius: var(--r-pill); background: var(--c-surface-2); border: 1px solid var(--c-line); font-weight: 700; }
.cycle__pill--done { background: var(--c-aqua); border-color: var(--c-aqua); color: var(--brand-navy); }
.capture--mid { max-width: 920px; margin-inline: auto; }

/* Reportes */
.benefits { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s-3); margin: calc(-1 * var(--s-6)) auto var(--s-10); }
.benefits li { display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-5); border-radius: var(--r-pill); background: var(--c-surface); border: 1px solid var(--c-line); font-weight: 700; }
.benefits .icon { width: 20px; height: 20px; color: var(--c-primary-ink); }
.reports-more { margin-top: var(--s-16); }

/* Paquetes: el enfoque distingue el tipo de operación */
.plan__focus { font-size: var(--fs-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-primary-ink); margin-bottom: var(--s-2); }

/* Ritmo compacto para secciones de apoyo (el padding global --section-y no cambia). */
.section--compact { padding: calc(var(--section-y) * .62) 0; }
.section--compact .section__head { margin-bottom: var(--s-10); }
.capture--kitchen { max-width: 1100px; margin-inline: auto; }
.capture--reports, .capture--flow { max-width: 1000px; margin-inline: auto; }
.channels .device { width: min(200px, 100%); }
.channels, .reports-more { margin-top: var(--s-10); }
.figure--compact { width: min(330px, 100%); }
.plans__more { margin-top: var(--s-8); }

/* ─────────────── 0E.2 · Catálogo: productos, combos y promociones ───────────────
   Una sola composición dentro de Funciones: texto y Promociones a la izquierda,
   el pedido con el combo y el 2×1 a la derecha (ocupa las dos filas). */
.catalog-duo {
  display: grid; grid-template-columns: minmax(0, 1fr) 280px; grid-template-rows: auto auto; gap: var(--s-4) var(--s-8); align-items: end;
  max-width: 1100px; margin: var(--s-8) auto 0;
}
.catalog-duo__head { grid-column: 1; grid-row: 1; }
.catalog-duo__head .section__text { margin-top: var(--s-2); }
.catalog-duo__head { max-width: 760px; }
.capture--promos { grid-column: 1; grid-row: 2; margin: 0; }
.capture--bundle { grid-column: 2; grid-row: 1 / span 2; margin: 0; align-self: center; }

/* ─────────────── 0F.1 · Precios de los paquetes e implementación inicial ───────────────
   Paquetes = mensualidad (tarjetas blancas). Implementación = pago inicial único (bloque horizontal gris, sin «/ mes»). */
.plan__desc { margin-bottom: var(--s-4); }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s-1) var(--s-2); margin-bottom: var(--s-6); }
.plan__amount { font-size: clamp(2.25rem, 1.9rem + 1vw, 2.75rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--c-ink); }
.plan__period { font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink-2); white-space: nowrap; }
.plans__legal { margin: var(--s-6) auto 0; max-width: 62ch; text-align: center; font-size: var(--fs-sm); color: var(--c-ink-2); }

.setup { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--s-8); margin-top: var(--s-12); padding: var(--s-10); border-radius: var(--r-xl); background: var(--c-surface-2); border: 1px solid var(--c-line); }
.setup__tag { display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-1) var(--s-4); border-radius: var(--r-pill); background: var(--c-surface); border: 1px solid var(--c-line); font-size: var(--fs-sm); font-weight: 700; color: var(--brand-petrol); margin-bottom: var(--s-4); }
.setup__tag .icon { width: 18px; height: 18px; }
.setup__title { font-size: var(--fs-xl); margin-bottom: var(--s-3); }
.setup__price, .setup__alt-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s-1) var(--s-2); }
.setup__amount { font-size: clamp(2.25rem, 1.9rem + 1vw, 2.75rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--c-ink); }
.setup__unit { font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink-2); white-space: nowrap; }
.setup__once { margin-top: var(--s-2); font-weight: 700; color: var(--brand-petrol); }
.setup__lead { margin-top: var(--s-4); color: var(--c-ink-2); max-width: 60ch; }
.setup__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--s-6); margin-top: var(--s-6); padding-top: var(--s-6); border-top: 1px solid var(--c-line-strong); }
.setup__list li { position: relative; padding-left: var(--s-8); }
.setup__list li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--brand-petrol); border-bottom: 2.5px solid var(--brand-petrol); transform: rotate(-45deg); }
.setup__side { display: grid; gap: var(--s-5); align-content: start; }
.setup__alt { padding: var(--s-6); border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-line); }
.setup__alt p + p { margin-top: var(--s-3); }
.setup__alt > p { color: var(--c-ink-2); }
.setup__alt-title { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.setup__alt-price { margin-bottom: var(--s-3); }
.setup__alt-amount { font-size: var(--fs-xl); font-weight: 700; line-height: 1; color: var(--c-ink); }
.setup__alt-excludes { color: var(--c-ink); }
.setup__pay { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-5) var(--s-6); border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-line); border-left: 4px solid var(--brand-petrol); }
.setup__pay > .icon { flex: none; width: 24px; height: 24px; margin-top: 2px; color: var(--brand-petrol); }
.setup__pay-title { font-size: var(--fs-md); margin-bottom: var(--s-2); }
.setup__pay p { color: var(--c-ink-2); font-size: var(--fs-sm); line-height: 1.55; }

@media (max-width: 960px) {
  .setup { grid-template-columns: minmax(0, 1fr); max-width: 720px; margin-inline: auto; padding: var(--s-8); }
}
@media (max-width: 640px) {
  .setup { padding: var(--s-6); gap: var(--s-6); margin-top: var(--s-10); }
  .setup__list { grid-template-columns: minmax(0, 1fr); gap: var(--s-2); }
  .setup__alt, .setup__pay { padding: var(--s-5); }
}
.setup__fine { margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--c-ink-2); max-width: 62ch; }
@media (max-width: 640px) {
  .setup { padding: var(--s-5) var(--s-4); }
  .setup__lead { font-size: var(--fs-md); }
  .setup__list { grid-template-columns: minmax(0, 1fr); gap: var(--s-2); margin-top: var(--s-5); padding-top: var(--s-5); }
  .setup__list li { padding-left: var(--s-6); }
  .setup__list li::before { left: 2px; }
  .setup__alt, .setup__pay { padding: var(--s-4); }
  .setup__pay { gap: var(--s-3); }
}
@media (max-width: 640px) {
  .setup__list, .setup__alt > p { font-size: var(--fs-sm); line-height: 1.45; }
  .setup__list li::before { top: .45em; }
  .setup__alt-title { font-size: var(--fs-md); }
}

/* ─────────────── 0F.1.1 · Renovación anual (dominio + alojamiento) y cierre comercial por WhatsApp ─────────────── */
.setup__renewal { margin-top: var(--s-5); padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--c-line); }
.setup__renewal-main { color: var(--c-ink); }
.setup__renewal-price { font-weight: 700; white-space: nowrap; }
.setup__renewal-note { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--c-ink-2); }
.plans-cta { max-width: 680px; margin: var(--s-12) auto 0; text-align: center; }
.plans-cta__title { font-size: var(--fs-xl); margin-bottom: var(--s-2); }
.plans-cta__text { color: var(--c-ink-2); margin-bottom: var(--s-6); }
.plans-cta__btn { min-height: 52px; padding: 0 var(--s-8); gap: var(--s-2); }
.plans-cta__btn .icon { width: 20px; height: 20px; flex: none; }
@media (max-width: 640px) {
  .setup__renewal { padding: var(--s-4); }
  .plans-cta { margin-top: var(--s-10); }
  .plans-cta__btn { width: 100%; padding: var(--s-3) var(--s-5); min-height: 56px; white-space: normal; text-align: center; line-height: 1.3; }
}
