/* ================================
   FBOS Landing v1.0
   Mobile-first minimal system
================================ */

/* Reset básico */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #ffffff;
  color: #111111;
}

/* Contenedor principal */
.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 18px 60px;
}

/* ---------------- HERO ---------------- */

.hero {
  padding: 18px 0 10px;
}

h1 {
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.lead {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  max-width: 62ch;
  opacity: 0.9;
}

/* ---------------- SECCIONES ---------------- */

.section {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

h2 {
  font-size: 18px;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 15px;
  margin: 0 0 8px;
}

/* ---------------- GRID & CARDS ---------------- */

.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr; /* mobile-first */
}

.card {
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 14px;
  padding: 16px;
  background: #ffffff;
}

/* ---------------- BOTONES ---------------- */

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn:hover {
  border-color: rgba(0, 0, 0, 0.35);
}

.btn.ghost {
  background: transparent;
}

.btn.ghost:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

/* ---------------- FORMULARIO ---------------- */

.form {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

input,
textarea,
select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  font: inherit;
  width: 100%;
}

textarea {
  resize: vertical;
}

.fine {
  font-size: 12px;
  opacity: 0.75;
  min-height: 16px;
}

/* ---------------- FLUJO (Cómo funciona) ---------------- */

.flow {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

.step {
  flex: 1 1 180px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 12px;
  padding: 14px;
  min-width: 160px;
}

.step strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

.step .desc {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.75;
}

.kicker {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid #111111;
  border-radius: 999px;
  font-size: 12px;
}

.arrow {
  display: none; /* oculto en mobile */
  align-self: center;
  opacity: 0.5;
}

/* ---------------- MANIFIESTO ---------------- */

blockquote {
  border-left: 3px solid rgba(0, 0, 0, 0.25);
  padding-left: 15px;
  margin: 0;
  opacity: 0.85;
}

/* ---------------- FOOTER ---------------- */

.foot {
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 12px;
  opacity: 0.65;
}

/* ================================
   Desktop refinements
================================ */

@media (min-width: 820px) {

  h1 {
    font-size: 40px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Ventajas en 3 columnas */
  #ventajas .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow {
    flex-wrap: nowrap;
  }

  .arrow {
    display: block;
  }
/* --- Micro-tipografía: bloque Problema --- */

#problema p {
  margin: 0 0 14px;
  line-height: 1.55;
  font-size: 15px;
}

#problema p:last-child {
  margin-bottom: 0;
}
   #problema p:nth-child(3),
#problema p:nth-child(4) {
  opacity: 0.9;
}
/* ===============================
   Alignment: Manifiesto / Infra / CTA
================================ */

/* Manifiesto */
#manifiesto blockquote {
  border-left: 2px solid rgba(0, 0, 0, 0.16);
  padding-left: 14px;
  margin-top: 10px;
  line-height: 1.6;
  font-size: 16px;
}

/* Infraestructura moderna */
.list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  max-width: 560px;
}

.item {
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  opacity: 0.92;
}

/* CTA final */
#cta-final .fine {
  margin: 6px 0 14px;
  max-width: 60ch;
}

#cta-final .cta-row {
  margin-top: 0;
}
