/* Landing de Soy Lici: marca en brand/README.md (índigo, Sora en títulos, Inter en texto). */
:root {
  --indigo: #4f46e5;
  --indigo-700: #4338ca;
  --indigo-50: #eef2ff;
  --lavender: #a5b4fc;
  --slate: #0f172a;
  --text: #1e293b;
  --muted: #475569;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --green-bg: #dcfce7;
  --green-text: #166534;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 12px 32px rgba(15, 23, 42, 0.08);
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Sora", "Inter", system-ui, sans-serif;
  color: var(--slate);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }
a { color: var(--indigo); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; justify-content: center; }

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--slate);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--lavender); outline-offset: 2px; border-radius: 6px; }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 1.5px solid transparent;
}
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-700); }
.btn-ghost { color: var(--slate); border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--lavender); color: var(--indigo); }

.btn-whatsapp { background: #25d366; color: #0b3d1f; }
.btn-whatsapp:hover { background: #1fb457; }
.btn svg { width: 20px; height: 20px; }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* Encabezado */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand img { height: 36px; width: auto; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-nav a:hover { color: var(--indigo); }

/* Hero */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  color: var(--indigo);
  background: var(--indigo-50);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); }
.accent { color: var(--indigo); }
.lead { font-size: 19px; color: var(--muted); margin-top: 20px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 18px; }

.hero-visual { position: relative; display: grid; gap: 16px; }
.mock-card, .mock-message {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.mock-card { padding: 22px 24px; position: relative; }
.mock-tag {
  position: absolute;
  top: -11px;
  right: 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 10px;
}
.mock-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.verdict { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; border-radius: 999px; padding: 3px 12px; }
.verdict-apta { background: var(--green-bg); color: var(--green-text); }
.verdict .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.verdict .score { border-left: 1px solid rgba(22, 101, 52, 0.3); padding-left: 8px; }
.mock-close { font-size: 14px; color: var(--muted); }
.mock-title { font-size: 19px; margin-top: 14px; }
.mock-meta { font-size: 14px; color: var(--muted); margin-top: 6px; }
.mock-reasons { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: 15px; }
.mock-reasons li { display: flex; align-items: center; gap: 10px; }
.ok {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green-text);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.mock-message { display: flex; gap: 14px; padding: 18px 20px; margin-left: 32px; font-size: 15px; }
.mock-message img { width: 36px; height: 36px; flex-shrink: 0; }
.mock-from { font-weight: 600; color: var(--slate); font-size: 14px; margin-bottom: 2px; }

/* Cifras */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-alt); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.stats strong { display: block; font-family: "Sora", sans-serif; font-size: 26px; color: var(--slate); letter-spacing: -0.02em; }
.stats span { font-size: 15px; color: var(--muted); }

/* Secciones */
.section { padding: 88px 0; }
.section-alt { background: var(--surface-alt); }
.section-title { font-size: clamp(28px, 3.6vw, 38px); text-align: center; }
.section-lead { color: var(--muted); font-size: 18px; text-align: center; margin: 14px auto 0; max-width: 40em; }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-n {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--indigo);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
}
.steps h3, .feature h3 { font-size: 20px; margin-bottom: 8px; }
.steps p, .feature p { color: var(--muted); font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--indigo);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 14px;
}

.area-list { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.area-list li {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
}

details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-top: 12px; }
details:first-of-type { margin-top: 36px; }
summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--slate);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--indigo); line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 22px 20px; color: var(--muted); }

.cta-final { background: var(--indigo-50); }

.not-found { min-height: 60vh; display: flex; align-items: center; }
.not-found h1 { font-size: clamp(30px, 4.4vw, 44px); margin-top: 6px; }
.not-found-mark { margin: 0 auto 22px; width: 96px; height: 96px; }

/* Pie */
.site-footer { background: var(--slate); color: #cbd5e1; padding: 36px 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 15px; }
.site-footer img { height: 32px; width: auto; }

/* Tableta */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 560px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav { display: none; }
}

/* Móvil */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 48px; }
  .lead { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .mock-message { margin-left: 0; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 64px 0; }
  .steps, .features { grid-template-columns: 1fr; }
  .header-row { min-height: 60px; }
  .brand img { height: 30px; }
}
