:root{
  /* Institucional QRO (RGB del manual) */
  --qro-blue: rgb(0, 85, 184);    /* Azul PANTONE 2935 C */
  --qro-green: rgb(63, 174, 42);  /* Verde PANTONE 361 C */
  --qro-orange: rgb(255, 76, 0);  /* Naranja PANTONE 1655 C */
  --qro-yellow: rgb(255, 206, 0); /* Amarillo PANTONE 116 C */
  --qro-purple: rgb(149, 53, 140);
  --qro-pink: rgb(213, 16, 103);
  --qro-black: rgb(17, 24, 32);   /* Para texto */

  /* UI Light (oficial) */
  --bg: #f6f8fc;          /* fondo general */
  --surface: #ffffff;     /* tarjetas */
  --text: #0f172a;        /* slate-900 */
  --muted: #475569;       /* slate-600 */
  --line: rgba(15,23,42,.12);

  --radius: 16px;
  --shadow: 0 10px 26px rgba(15,23,42,.10);

  /* Semánticos */
  --primary: var(--qro-blue);
  --success: var(--qro-green);
  --warning: var(--qro-yellow);
  --accent: var(--qro-orange);
}


*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a{color:inherit; text-decoration:none}
.container{max-width:460px; margin:0 auto; padding:16px 16px 28px}

.topbar{
  position:sticky; top:0; z-index:50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.topbar-inner{ padding:12px 16px; }
.brand{
  display:flex; align-items:center; gap:10px; min-width:0;
}
.logo{
  width:28px; height:28px; border-radius:10px;
  background: linear-gradient(135deg, var(--primary), var(--success));
  box-shadow: none; /* más sobrio */
}
.brand-text{min-width:0}
.brand-title{font-size:13px; font-weight:700; letter-spacing:.2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.brand-sub{font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}

.icon-btn{
  border:1px solid var(--line);
  background: #ffffff;
  color: var(--text);
}

.hero{
  background: var(--surface);
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.hero-media{
  position:relative;
  height:220px;
  background:#eaf0fb;
}
.hero-img{
  height:210px;
  background:
    linear-gradient(90deg, rgba(0,85,184,.18), rgba(63,174,42,.10));
  position:relative;
}
.hero-img::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(255,255,255,.90), rgba(255,255,255,0) 60%);
}
.hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.hero-scrim{
  position:absolute; inset:0;
  background: linear-gradient(to top,
    rgba(255,255,255,.92) 0%,
    rgba(255,255,255,.35) 45%,
    rgba(255,255,255,0) 75%);
}
.hero-body{padding:14px 14px 16px}
.h1{margin:0; font-size:28px; line-height:32px; letter-spacing:-.2px}
.p{margin:8px 0 0; font-size:16px; line-height:24px; color:var(--text)}
.small{margin:8px 0 0; font-size:13px; line-height:18px; color:var(--muted)}

.section{margin-top:18px}
.h2{margin:0 0 10px; font-size:18px; line-height:24px}
.divider{height:1px; background:var(--line); margin:14px 0}

.card{
  border:1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding:14px;
  box-shadow: var(--shadow);
}
.stack{display:flex; flex-direction:column; gap:12px}

.plan-card{position:relative; overflow:hidden}
.plan-card::before{
  content:"";
  position:absolute; inset:-2px;
  background: linear-gradient(135deg, rgba(59,130,246,.55), rgba(25,195,125,.35));
  filter: blur(18px);
  opacity:.45;
}
.plan-card > *{position:relative}

.meta{display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; color:var(--muted); font-size:13px}
.badge{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  font-size:13px;
  color:var(--text);
}

.btn{
  width:100%;
  border:0;
  border-radius:14px;
  padding:12px 14px;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  margin-top:12px;
}
.btn-primary-blue{
  background: var(--primary);
  color: #ffffff;
}
.btn-primary-green{
  background: var(--success);
  color: #ffffff;
}
.btn-secondary{
  background: #ffffff;
  color: var(--text);
  border:1px solid var(--line);
}

.list{
  display:flex; flex-direction:column; gap:10px;
}
.step{
  display:flex; gap:12px; align-items:flex-start;
  padding:12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.step-num{
  width:28px; height:28px; flex:0 0 28px;
  display:grid; place-items:center;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border:1px solid var(--line);
  font-weight:800;
}
.step-title{font-weight:800; margin:0; font-size:15px}
.step-desc{margin:4px 0 0; font-size:13px; color:var(--muted); line-height:18px}
.step-meta{margin:6px 0 0; font-size:12px; color:rgba(233,242,255,.75)}

.tip{
  margin-top:12px;
  border-radius:14px;
  padding:12px;
  border:1px solid rgba(25,195,125,.35);
  background: rgba(25,195,125,.10);
}
.tip strong{display:block; margin-bottom:6px}

.chips{display:flex; flex-wrap:wrap; gap:10px; margin-top:10px}
.chip{
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  color:var(--text);
  padding:10px 12px;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
}
.chip[aria-pressed="true"]{
  border-color: rgba(59,130,246,.65);
  background: rgba(59,130,246,.18);
}

.footer{
  margin-top:18px;
  border-top:1px solid var(--line);
  padding-top:14px;
  color:var(--muted);
  font-size:13px;
}
.feedback{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.feedback-actions{display:flex; gap:8px}
.small-link{color:rgba(233,242,255,.85); text-decoration:underline}
