/* ============================================================================
   GoVoomy · Landing AFILIADOS (negocios) — estilos específicos de esta página
   ----------------------------------------------------------------------------
   Solo contiene lo propio de esta landing (hero, mockups internos, pasos,
   testimonios, formulario, FAQ). Los tokens, layout, botones, cards, navbar
   y footer vienen de ../shared/govoomy-brand.css — aquí NO se redefinen.
   ========================================================================== */

/* ---------- 1. HERO ---------- */
.af-hero {
  background:
    radial-gradient(60% 80% at 88% 10%, rgba(243,146,25,.10), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(46,124,184,.10), transparent 60%),
    var(--gv-white);
  overflow: hidden;
}
.af-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}
.af-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.af-hero__chips { display: flex; flex-wrap: wrap; gap: 12px; }

/* Verticales soportadas */
.af-verticals { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 30px; }
.af-verticals__label { font-weight: 600; color: var(--gv-ink-500); font-size: .92rem; }
.af-verticals__list { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.af-verticals__list li { display: inline-flex; align-items: center; gap: 8px; color: var(--gv-navy-800);
  font-weight: 600; font-size: .92rem; }
.af-verticals__list svg { color: var(--gv-orange-500); }

/* Centrar el mockup del hero */
.af-hero__art { display: flex; justify-content: center; }

/* ---------- 2. Mockup interno del teléfono (panel del comercio) ---------- */
.af-app { display: flex; flex-direction: column; height: 100%; background: var(--gv-paper);
  font-family: var(--gv-font-body); padding: 40px 14px 14px; gap: 12px; }
.af-app__top { display: flex; align-items: flex-start; justify-content: space-between; }
.af-app__hello { display: block; font-size: .7rem; color: var(--gv-ink-400); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; }
.af-app__name { font-family: var(--gv-font-display); color: var(--gv-navy-900); font-size: 1rem; }
.af-app__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gv-success);
  box-shadow: 0 0 0 4px var(--gv-success-bg); flex: none; margin-top: 4px; }

.af-app__alert { display: flex; align-items: center; justify-content: space-between;
  background: var(--gv-orange-50); border: 1px solid var(--gv-orange-100); border-radius: 12px; padding: 8px 12px; }
.af-app__badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .72rem;
  color: #fff; background: var(--gv-grad-warm); padding: 4px 10px; border-radius: var(--gv-r-pill); }
.af-app__badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: gv-pulse-ring 1.6s ease-out infinite; }
.af-app__time { font-size: .7rem; color: var(--gv-ink-400); font-weight: 600; }

.af-app__orders { display: flex; flex-direction: column; gap: 8px; }
.af-order { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 2px;
  background: #fff; border: 1px solid var(--gv-line); border-radius: 12px; padding: 9px 11px; }
.af-order--new { border-color: var(--gv-orange-400); box-shadow: 0 0 0 3px rgba(243,146,25,.10); }
.af-order__id { font-family: var(--gv-font-display); font-weight: 700; font-size: .76rem; color: var(--gv-navy-800); }
.af-order__total { grid-row: 1 / span 2; align-self: center; justify-self: end; font-family: var(--gv-font-display);
  font-weight: 800; font-size: .92rem; color: var(--gv-orange-600); }
.af-order__items { grid-column: 1; font-size: .72rem; color: var(--gv-ink-500); line-height: 1.3; }

.af-app__summary { margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  background: var(--gv-navy-900); border-radius: 14px; padding: 11px 13px; color: #fff; }
.af-app__summary-label { display: block; font-size: .66rem; color: #9DB3CE; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em; }
.af-app__summary-num { font-family: var(--gv-font-display); font-size: 1.05rem; }
.af-app__cta { font-family: var(--gv-font-display); font-weight: 700; font-size: .74rem; color: #fff;
  background: var(--gv-grad-warm); border: none; border-radius: var(--gv-r-pill); padding: 8px 13px; cursor: default; }

/* ---------- 3. Stats ---------- */
.af-stats { text-align: center; }

/* ---------- 4. Beneficios ---------- */
.af-benefits { margin-top: clamp(34px, 5vw, 52px); }

/* ---------- 5. Cómo funciona — pasos numerados con conectores ---------- */
.af-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(40px, 6vw, 60px); counter-reset: paso;
}
.af-step { position: relative; padding-top: 8px; }
/* Conector horizontal entre pasos (desktop) */
.af-step::after {
  content: ''; position: absolute; top: 30px; left: calc(50% + 34px); right: calc(-50% + 34px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--gv-line) 0 8px, transparent 8px 16px);
}
.af-step:last-child::after { display: none; }
.af-step__num {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  font-family: var(--gv-font-display); font-weight: 800; font-size: 1.5rem; color: #fff;
  background: var(--gv-grad-warm); box-shadow: var(--gv-shadow-warm); margin-bottom: 16px; position: relative; z-index: 1;
}
.af-step h3 { margin-bottom: .3em; }
.af-step p { color: var(--gv-ink-500); margin: 0; }

/* ---------- 6. Infografía de flujo (laptop) ---------- */
.af-flow { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 5vw, 60px); }
.af-flow__steps { margin-top: 20px; display: grid; gap: 12px; }
.af-flow__steps li { display: flex; gap: 10px; color: var(--gv-ink-700); }
.af-flow__steps strong { color: var(--gv-orange-600); }
.af-flow__art { display: flex; justify-content: center; }

/* Dashboard dentro de la laptop */
.af-dash { height: 100%; background: var(--gv-paper); display: flex; flex-direction: column; font-family: var(--gv-font-body); }
.af-dash__bar { display: flex; align-items: center; justify-content: space-between; padding: 7px 12px;
  background: var(--gv-navy-900); }
.af-dash__brand { color: #fff; font-family: var(--gv-font-display); font-weight: 700; font-size: .72rem; }
.af-dash__tabs { display: flex; gap: 5px; }
.af-dash__tabs i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); }
.af-dash__body { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.af-dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.af-dash__kpi { background: #fff; border: 1px solid var(--gv-line); border-radius: 10px; padding: 8px 10px; }
.af-dash__kpi span { display: block; font-size: .62rem; color: var(--gv-ink-400); font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; }
.af-dash__kpi strong { font-family: var(--gv-font-display); color: var(--gv-navy-900); font-size: 1.05rem; }
.af-dash__flow { width: 100%; margin-top: auto; }

/* ---------- 7. Testimonios ---------- */
.af-quotes { margin-top: clamp(34px, 5vw, 52px); }
.af-quote { display: flex; flex-direction: column; gap: 14px; }
.af-quote__stars { color: var(--gv-orange-500); letter-spacing: 2px; font-size: 1.05rem; }
.af-quote blockquote { margin: 0; color: var(--gv-ink-700); font-size: 1.02rem; line-height: 1.55; }
.af-quote blockquote strong { color: var(--gv-navy-900); }
.af-quote__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.af-quote__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--gv-font-display); font-weight: 800; color: #fff; background: var(--av, var(--gv-grad-warm)); }
.af-quote__author strong { display: block; color: var(--gv-navy-900); font-family: var(--gv-font-display); }
.af-quote__author small { color: var(--gv-ink-500); }

/* ---------- 8. Sin riesgo ---------- */
.af-norisk {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 32px);
  background: var(--gv-grad-cool); color: #EAF1F8; border-radius: var(--gv-r-xl);
  padding: clamp(28px, 4vw, 44px); box-shadow: var(--gv-shadow-lg); flex-wrap: wrap;
}
.af-norisk__icon { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(255,255,255,.14); color: #fff; }
.af-norisk__text { flex: 1; min-width: 260px; }
.af-norisk__text h2 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.af-norisk__text p { color: #C7D7EC; }

/* ---------- 9. Formulario de afiliación ---------- */
.af-signup { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.af-signup__bullets { margin-top: 22px; display: grid; gap: 14px; }
.af-signup__bullets li { display: flex; align-items: flex-start; gap: 12px; color: var(--gv-ink-700); font-weight: 500; }
.af-signup__bullets svg { flex: none; color: var(--gv-success); margin-top: 2px; }

.af-signup__form .gv-form {
  background: #fff; border: 1px solid var(--gv-line); border-radius: var(--gv-r-lg);
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--gv-shadow-md);
}
.af-form__title { margin-bottom: 18px; }
.af-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- 10. FAQ ---------- */
.af-faq__list { max-width: 780px; margin: clamp(30px, 4vw, 44px) auto 0; display: grid; gap: 12px; }
.af-faq__item { background: #fff; border: 1px solid var(--gv-line); border-radius: var(--gv-r-md);
  padding: 4px 6px; box-shadow: var(--gv-shadow-sm); transition: border-color .18s ease; }
.af-faq__item[open] { border-color: var(--gv-orange-400); }
.af-faq__item summary {
  list-style: none; cursor: pointer; padding: 16px 18px;
  font-family: var(--gv-font-display); font-weight: 700; color: var(--gv-navy-900);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.af-faq__item summary::-webkit-details-marker { display: none; }
/* Icono + / × construido con CSS */
.af-faq__item summary::after {
  content: '+'; flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.3rem; line-height: 1;
  background: var(--gv-orange-50); color: var(--gv-orange-600); transition: transform .2s ease;
}
.af-faq__item[open] summary::after { content: '−'; transform: rotate(180deg); }
.af-faq__item p { margin: 0; padding: 0 18px 18px; color: var(--gv-ink-500); }

/* ---------- 11. Footer ---------- */
.af-footer__claim { color: #9DB3CE; font-size: .95rem; margin-top: 14px; max-width: 32ch; }

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .af-hero__grid { grid-template-columns: 1fr; text-align: center; }
  .af-hero__art { order: -1; }
  .af-hero__cta, .af-hero__chips, .af-verticals { justify-content: center; }
  .af-flow { grid-template-columns: 1fr; }
  .af-flow__copy { text-align: center; }
  .af-flow__steps { text-align: left; max-width: 420px; margin-inline: auto; }
  .af-signup { grid-template-columns: 1fr; }
  /* Pasos en 2 columnas: ocultamos conectores horizontales */
  .af-steps { grid-template-columns: repeat(2, 1fr); }
  .af-step::after { display: none; }
}

@media (max-width: 600px) {
  .af-steps { grid-template-columns: 1fr; }
  .af-form__row { grid-template-columns: 1fr; }
  .af-norisk { flex-direction: column; text-align: center; align-items: center; }
  .af-verticals { justify-content: center; }
}
