/* ============================================================
   Mi Huellita QR — estilos de la landing
   Se apoya en style.css (paleta azul #0284c7 + verde #10b981,
   fuente Plus Jakarta Sans) y agrega la composición de landing.
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(2, 132, 199, .20), transparent 60%),
    radial-gradient(820px 460px at -6% 0%, rgba(16, 185, 129, .16), transparent 55%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-inner {
  max-width: 1060px; margin: 0 auto; padding: 60px 16px 48px;
  display: grid; grid-template-columns: 1.04fr .96fr; gap: 46px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(2, 132, 199, .10); color: #0369a1;
  border: 1px solid rgba(2, 132, 199, .25);
  padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .02em;
}
.hero h1 {
  font-size: clamp(28px, 4.3vw, 44px); font-weight: 800; line-height: 1.14;
  letter-spacing: -1px; margin: 18px 0 14px; color: #0f172a;
}
.hero-sub { font-size: 17px; color: #475569; max-width: 500px; margin-bottom: 26px; }
.hero-sub strong { color: #0f172a; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-link { font-size: 14px; font-weight: 700; color: #0369a1; }
.microcopy { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 20px; font-size: 13px; color: #475569; font-weight: 600; }
.microcopy span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Visual (ficha pública) ---------- */
.hero-visual { display: flex; justify-content: center; }
.ficha {
  width: 320px; background: #fff; border: 1px solid var(--border); border-radius: 22px;
  box-shadow: 0 24px 60px -24px rgba(2, 132, 199, .45); overflow: hidden;
}
.ficha-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--border); background: #f8fafc;
}
.ficha-top .dots { display: flex; gap: 5px; }
.ficha-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; display: block; }
.ficha-top .app { font-size: 12.5px; font-weight: 700; color: #0369a1; }
.ficha-body { padding: 16px; }
.ficha-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ficha-avatar { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, #e0f2fe, #bae6fd); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.ficha-name { font-weight: 800; font-size: 18px; color: #0f172a; }
.ficha-meta { font-size: 13px; color: #64748b; }
.qr-wrap {
  display: flex; align-items: center; gap: 14px; padding: 12px;
  background: #f8fafc; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px;
}
.qr { width: 66px; height: 66px; flex: none; }
.qr-note { font-size: 12.5px; color: #64748b; line-height: 1.4; }
.owner-call {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 12px;
  background: linear-gradient(135deg, #0284c7, #0369a1); color: #fff; font-weight: 700; font-size: 14px;
  text-decoration: none; margin-bottom: 12px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #e0f2fe; color: #0369a1; }
.chip.green { background: #d1fae5; color: #065f46; }
.ficha-note { padding: 10px 16px; background: #d1fae5; color: #065f46; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; }

/* ---------- Barra de confianza ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--border); padding: 20px 16px; }
.trust-inner { max-width: 1060px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #0f172a; }
.trust-item .ic { color: #059669; }

/* ---------- Secciones ---------- */
.section { padding: 72px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 42px; }
.section-head .eyebrow { color: #0284c7; font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.section-head h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; letter-spacing: -.6px; margin: 10px 0 12px; }
.section-head p { color: #64748b; }

/* pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px 22px; box-shadow: var(--shadow); }
.step .step-num {
  width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 17.5px; margin-bottom: 8px; color: #0f172a; }
.step p { color: #64748b; font-size: 14.5px; }
.step .badge { margin-top: 10px; }

/* beneficios */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px 22px; box-shadow: var(--shadow); }
.feature .fic {
  width: 46px; height: 46px; border-radius: 12px; background: #e0f2fe; display: flex;
  align-items: center; justify-content: center; font-size: 23px; margin-bottom: 14px;
}
.feature:nth-child(even) .fic { background: #d1fae5; }
.feature h3 { font-size: 16.5px; margin-bottom: 7px; color: #0f172a; }
.feature p { color: #64748b; font-size: 14px; }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; overflow: hidden; box-shadow: var(--shadow); }
.faq summary { padding: 16px 20px; cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; color: #0f172a; }
.faq summary::after { content: "+"; font-size: 20px; color: #0284c7; font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq .fa { padding: 0 20px 16px; color: #64748b; font-size: 14.5px; }

/* ---------- Acceso (login / activación) ---------- */
.auth-section { padding: 72px 16px; }
.auth-head { text-align: center; max-width: 620px; margin: 0 auto 30px; }
.auth-head h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -.5px; margin-bottom: 8px; }
.auth-head p { color: #64748b; }
.access-card { max-width: 560px; margin: 0 auto; }

/* gate del QR (activación) */
.qr-gate-box {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 2px dashed #0284c7; border-radius: 14px; padding: 20px; text-align: center; margin-bottom: 14px;
}
.qr-gate-box h3 { color: #0369a1; margin: 6px 0; font-size: 16.5px; }

/* banner de sesión iniciada */
.logged-banner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  background: #ecfdf5; border: 1.5px solid #6ee7b7; border-radius: 16px; padding: 16px 20px;
  max-width: 560px; margin: 0 auto 24px;
}

/* ---------- Footer ---------- */
.footer { background: #0f172a; color: #cbd5e1; padding: 44px 16px; }
.footer-inner { max-width: 1060px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13.5px; }
.footer-inner .brand { color: #fff; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.footer-inner a { color: #7dd3fc; }

/* botones de hero reutilizables */
.btn.white { background: #fff; color: #0f172a; font-weight: 800; box-shadow: 0 8px 20px -8px rgba(15, 23, 42, .35); }
.btn.outline-white { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }

/* ---------- Responsive ---------- */
@media (max-width: 840px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
  .hero-visual { order: -1; }
  .steps, .features { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
