/* Estilos SOLO de la home. Usa las variables del :root de review.css (tema unico). */

body.home { background: var(--bg-tint); color: var(--ink); }

.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 24px; }

/* ---------- cabecera ---------- */
.top {
  border-bottom: 1px solid var(--peach-line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 20;
}
.top-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.top .brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 19px; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.top .brand .mark { border-radius: 9px; flex: none; }
.top .brand em { font-style: normal; color: var(--brand-text); }
.top nav { margin-left: auto; display: flex; gap: 26px; font-size: 14.5px; font-weight: 600; }
.top nav a { color: var(--ink-dim); text-decoration: none; }
.top nav a:hover { color: var(--accent); }
.pill-brand {
  background: var(--brand); color: #fff; text-decoration: none; border-radius: 999px;
  padding: 11px 24px; font-size: 14.5px; font-weight: 800;
  transition: background 0.18s ease, transform 0.18s ease;
}
.pill-brand:hover { background: var(--brand-hover); color: #fff; transform: translateY(-1px); }

/* Menu compacto del movil: <details> nativo. */
.mnav { display: none; position: relative; }
.mnav summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px;
  display: grid; place-content: center; border-radius: 12px;
  border: 1px solid var(--peach-line); background: var(--card); color: var(--ink);
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav .i-close { display: none; }
.mnav[open] .i-open { display: none; }
.mnav[open] .i-close { display: block; }
.mnav-panel {
  position: absolute; right: 0; top: 54px; min-width: 230px;
  background: var(--card); border: 1px solid var(--peach-line); border-radius: 16px;
  box-shadow: 0 24px 50px -24px rgba(22, 30, 42, 0.45);
  padding: 8px; display: flex; flex-direction: column;
}
.mnav-panel a {
  padding: 13px 14px; border-radius: 10px; font-size: 15.5px; font-weight: 700;
  color: var(--ink-dim); text-decoration: none;
}
.mnav-panel a:hover, .mnav-panel a:focus-visible { background: var(--peach); color: var(--ink); }
.mnav-panel .mnav-cta { margin-top: 6px; background: var(--brand); color: #fff; text-align: center; }
.mnav-panel .mnav-cta:hover { background: var(--brand-hover); color: #fff; }

/* ---------- hero: degradado melocoton, centrado ---------- */
.hero { background: var(--grad-hero); padding: 64px 0 56px; text-align: center; }
.home h1 {
  margin: 0 auto; font-size: clamp(2.15rem, 6vw, 4rem); max-width: 17em;
  line-height: 1.06; letter-spacing: -0.03em; font-weight: 900;
}
.hero .lead { margin: 24px auto 0; max-width: 38em; font-size: 1.15rem; line-height: 1.65; color: #4b4b4b; }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }

.people {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 34px;
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--peach-line);
  border-radius: 999px; padding: 8px 20px 8px 8px; text-align: left;
}
.people .pics { display: flex; }
.people .pics .avatar { width: 46px; height: 46px; border: 3px solid #fff; margin-left: -10px; }
.people .pics .avatar:first-child { margin-left: 0; }
.people p { font-size: 0.9rem; line-height: 1.4; color: var(--ink); font-weight: 600; }
.people p span { display: block; font-weight: 500; color: var(--ink-dim); font-size: 0.82rem; }

.avatar {
  border-radius: 50%; flex: none; overflow: hidden;
  background: var(--peach-strong); color: var(--accent);
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px; letter-spacing: 0.02em;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }

.stats {
  display: flex; flex-wrap: nowrap; justify-content: center; gap: 0;
  margin: 40px auto 0;
}
.stats > div { padding: 0 28px; text-align: center; }
.stats > div + div { border-left: 1px solid rgba(22, 30, 42, 0.14); }
.stats b { display: block; white-space: nowrap; font-size: 1.55rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); }
.stats span { display: block; font-size: 0.82rem; color: var(--ink-dim); margin-top: 6px; }

/* ---------- bandas ---------- */
.band { padding: 76px 0; }
.band-peach { background: var(--peach); border-top: 1px solid var(--peach-line); border-bottom: 1px solid var(--peach-line); }
.head-c { text-align: center; max-width: 44em; margin: 0 auto 38px; }
.kicker {
  display: inline-block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.head-c h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 900; letter-spacing: -0.025em; }
.head-c p { margin-top: 14px; font-size: 1.05rem; color: var(--ink-dim); }

/* ---------- tarjetas de experto ---------- */
.expert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.card {
  background: var(--card); border: 1px solid var(--peach-line); border-radius: 20px;
  padding: 30px; display: flex; flex-direction: column;
  box-shadow: 0 30px 60px -44px rgba(241, 90, 35, 0.5);
}
.card-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.card-top .avatar { width: 64px; height: 64px; font-size: 18px; }
.card-top h3 { font-size: 1.55rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.card-top .role { font-size: 0.82rem; font-weight: 700; color: var(--accent); margin-top: 4px; }
.card > p { font-size: 0.98rem; line-height: 1.65; color: var(--ink-dim); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 4px; }
.chip {
  display: inline-flex; align-items: center;
  background: var(--peach); border: 1px solid var(--peach-line); color: var(--ink);
  border-radius: 999px; padding: 6px 14px; font-size: 0.8rem; font-weight: 600;
}
.covers { margin-top: 18px; padding: 16px 18px; background: var(--peach); border-radius: 14px; }
.covers b { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.covers ul { list-style: none; display: grid; gap: 8px; font-size: 0.95rem; color: var(--ink-dim); }
.covers li { display: flex; gap: 10px; align-items: flex-start; }
.covers li::before {
  content: "\2713"; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 800;
  display: grid; place-items: center; margin-top: 2px;
}
.cta-wrap { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-wrap .btn-acc, .cta-wrap .btn-ghost { text-align: center; }
.cta-wrap .btn-acc { font-size: 1.1rem; }
.status { font-size: 0.82rem; color: var(--ink-faint); text-align: center; }

/* ---------- metodo ---------- */
.answer {
  background: var(--card); border: 1px solid var(--peach-line); border-left: 5px solid var(--brand);
  border-radius: 16px; padding: 24px 28px; margin: 0 auto 34px; max-width: 56em;
}
.answer p { font-size: 1.05rem; line-height: 1.72; color: var(--ink); }
.criteria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; counter-reset: c; }
.criteria li {
  counter-increment: c; background: var(--peach); border: 1px solid #f5ede6; border-radius: 16px;
  padding: 22px 22px 22px; position: relative;
}
.criteria li::before {
  content: counter(c); display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 0.95rem; margin-bottom: 14px;
}
.criteria b { display: block; font-size: 1.05rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.criteria span { font-size: 0.93rem; line-height: 1.6; color: var(--ink-dim); }
.risk-note { margin: 28px auto 0; max-width: 56em; font-size: 0.9rem; color: var(--ink-faint); text-align: center; }

/* ---------- CTA final ---------- */
.final { background: var(--grad-foot); padding: 76px 0; }
.final-card {
  max-width: 640px; margin: 0 auto; background: #fff; border-radius: 24px; padding: 40px 34px;
  text-align: center; box-shadow: 0 40px 80px -50px rgba(241, 90, 35, 0.6);
}
.final-card h2 { font-size: clamp(1.7rem, 4.4vw, 2.4rem); font-weight: 900; letter-spacing: -0.025em; }
.final-card p { margin: 14px auto 0; color: var(--ink-dim); max-width: 30em; }
.final-card .btns { margin-top: 26px; }

@media (max-width: 900px) {
  .expert-grid { grid-template-columns: 1fr; }
  .criteria { grid-template-columns: 1fr 1fr; }
  .hero { padding: 44px 0 42px; }
  .top nav { display: none; }
  .top-in { gap: 14px; }
  .top .pill-brand { margin-left: auto; }
  .mnav { display: block; }
  .band { padding: 56px 0; }
  .final { padding: 56px 0; }
}
@media (max-width: 560px) {
  .criteria { grid-template-columns: 1fr; }
  .top .pill-brand { display: none; }
  .mnav { margin-left: auto; }
  .card { padding: 24px 20px; }
  .stats { flex-wrap: wrap; max-width: 340px; }
  .stats > div { padding: 0 16px; }
  .stats > div:last-child { border-left: 0; width: 100%; margin-top: 18px; }
  .people { text-align: left; padding-right: 16px; }
  .final-card { padding: 30px 20px; }
}
