/* ============================================================
   VISA — fichas de visa y páginas internas (compartido)
   ------------------------------------------------------------
   GENERADO — no editar a mano.
   Fuente: assets-src/shared/visa.css
   Regenerar: npm run assets:build   ·   verificar: npm run assets:check
   ============================================================ */

/* ============================================================
   RUMBO — Visa landing (EB-2 NIW) page-specific styles
   Builds on rumbo.css + quiz.css
   ============================================================ */

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.breadcrumb a { color: rgba(255,255,255,.6); transition: color .18s ease; }
.breadcrumb a:hover { color: var(--sky); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .5; }
.breadcrumb .cur { color: var(--sky); }

/* Visa hero */
.visa-hero { position: relative; overflow: hidden; background: radial-gradient(120% 130% at 80% 0%, var(--navy-700), var(--navy) 45%, var(--navy-deep)); color: #fff; padding: clamp(40px,6vw,64px) 0 clamp(56px,8vw,88px); }
.visa-hero canvas.starfield { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.visa-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px,5vw,56px); align-items: center; }
.visa-tag { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 22px; }
.visa-tag svg { width: 16px; height: 16px; }
.visa-hero h1 { color: #fff; }
.visa-hero .lead { color: rgba(255,255,255,.8); margin-top: 20px; max-width: 560px; }
.visa-hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* Hero fact card */
.fact-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-card); padding: 28px; backdrop-filter: blur(8px); }
.fact-card h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--sky); margin-bottom: 18px; }
.fact-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); }
.fact-row:first-of-type { border-top: none; }
.fact-row .fic { width: 38px; height: 38px; border-radius: 11px; background: rgba(var(--accent-rgb),.14); display: flex; align-items: center; justify-content: center; flex: none; }
.fact-row .fic svg { width: 19px; height: 19px; }
.fact-row .ft { font-weight: 800; font-size: 16px; color: #fff; }
.fact-row .fs { font-size: 13px; color: rgba(255,255,255,.62); margin-top: 1px; }

/* Who-qualifies routes */
.qualify-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.qualify-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px; position: relative; }
.qualify-card .route { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.qualify-card h3 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 6px; }
.qualify-card > p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.qlist li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; font-size: 15px; font-weight: 500; }
.qlist li .qstar { width: 21px; height: 21px; flex: none; color: var(--blue); margin-top: 1px; }
.qualify-or { display: flex; align-items: center; justify-content: center; }
.qualify-or span { background: var(--navy); color: #fff; font-weight: 800; font-size: 13px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.qualify-full { grid-column: span 2; }
.qualify-full .crit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 8px; }
.crit { display: flex; align-items: center; gap: 11px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 600; font-size: 14px; }
.crit .qstar { width: 19px; height: 19px; color: var(--blue); flex: none; }

/* Cost / timeline */
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ct-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px; }
.ct-card .ct-ic { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(150deg,var(--wash),#D8E9FB); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: inset 0 0 0 1px rgba(var(--action-rgb),.2); }
.ct-card .ct-ic svg { width: 26px; height: 26px; }
.ct-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.ct-card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.ct-card .ct-big { font-weight: 800; font-size: 30px; color: var(--navy); letter-spacing: -.02em; margin: 6px 0; }
.ct-card .ct-big span { color: var(--blue); }

@media (max-width: 1000px) {
  .visa-hero-grid { grid-template-columns: 1fr; }
  .fact-card { max-width: 460px; }
}
@media (max-width: 860px) {
  .qualify-grid, .ct-grid { grid-template-columns: 1fr; }
  .qualify-or span { transform: rotate(90deg); }
  .qualify-full { grid-column: span 1; }
  .qualify-full .crit-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONSULT BOOKING PAGE
   ============================================================ */
.book-hero { background: radial-gradient(120% 130% at 80% 0%, var(--navy-700), var(--navy) 45%, var(--navy-deep)); color: #fff; }
.book-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px,5vw,64px); align-items: start; padding: clamp(48px,7vw,80px) 0; }
.book-left .visa-tag { margin-bottom: 22px; }
.book-left h1 { color: #fff; }
.book-left .lead { color: rgba(255,255,255,.8); margin-top: 18px; }
.book-bullets { margin-top: 28px; display: grid; gap: 14px; }
.book-bullets li { display: flex; align-items: flex-start; gap: 13px; font-size: 15.5px; font-weight: 500; color: rgba(255,255,255,.92); }
.book-bullets .qstar { width: 22px; height: 22px; color: var(--sky); flex: none; margin-top: 1px; }
.book-trust { margin-top: 32px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); display: flex; gap: 26px; flex-wrap: wrap; }
.book-trust .bt-num { font-weight: 800; font-size: 24px; }
.book-trust .bt-num .g { color: var(--sky); }
.book-trust .bt-lbl { font-size: 12.5px; color: rgba(255,255,255,.6); font-weight: 600; }

.book-card { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-lg); padding: clamp(26px,3vw,38px); color: var(--text); }
.book-card h2 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.book-card .bc-sub { font-size: 14px; color: var(--muted); margin: 6px 0 22px; }
.book-form { display: grid; gap: 16px; }
.bf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bf-field label { display: block; font-weight: 700; font-size: 13px; color: var(--navy); margin-bottom: 7px; }
.bf-field input, .bf-field select {
  width: 100%; padding: 14px 15px; border: 2px solid var(--line); border-radius: 13px;
  font-family: inherit; font-size: 15px; font-weight: 500; color: var(--navy); background: var(--surface);
  transition: border-color .16s ease; -webkit-appearance: none; appearance: none;
}
.bf-field select { background-image: var(--caret-svg); background-repeat: no-repeat; background-position: right 14px center; }
.bf-field input:focus, .bf-field select:focus { outline: none; border-color: var(--blue); }
.bf-field input::placeholder { color: #9AA7B5; }
.bf-field.err input, .bf-field.err select { border-color: var(--error); }
.bf-field .bf-err { display: none; color: #C22B2B; font-size: 12.5px; font-weight: 600; margin-top: 5px; }
.bf-field.err .bf-err { display: block; }
.bf-reassure { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.bf-reassure svg { width: 15px; height: 15px; flex: none; }
.book-success { text-align: center; padding: 16px 0; }
.book-success .bs-star { width: 84px; height: 84px; margin: 0 auto 16px; }
.book-success h2 { font-size: 24px; }
.book-success p { font-size: 15px; color: var(--muted); margin: 10px auto 22px; max-width: 380px; line-height: 1.6; }

/* What to expect strip */
.expect-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.expect-card { text-align: center; padding: 8px; }
.expect-card .ec-num { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.expect-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.expect-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }

@media (max-width: 1000px) { .book-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .bf-row { grid-template-columns: 1fr; } .expect-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ============================================================
   QUIÉNES SOMOS PAGE
   ============================================================ */
.about-hero { background: radial-gradient(120% 130% at 78% 0%, var(--navy-700), var(--navy) 45%, var(--navy-deep)); color: #fff; text-align: center; padding: clamp(56px,8vw,96px) 0; position: relative; overflow: hidden; }
.about-hero canvas.starfield { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.about-hero .wrap { position: relative; z-index: 2; max-width: 820px; }
.about-hero h1 { color: #fff; }
.about-hero .lead { color: rgba(255,255,255,.82); margin: 22px auto 0; max-width: 640px; }
.about-stats { display: flex; justify-content: center; gap: clamp(24px,5vw,56px); flex-wrap: wrap; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12); }
.about-stats .as-num { font-weight: 800; font-size: clamp(28px,4vw,40px); letter-spacing: -.02em; }
.about-stats .as-num .g { color: var(--sky); }
.about-stats .as-lbl { font-size: 13px; color: rgba(255,255,255,.62); font-weight: 600; }

.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.team-grid.cols-2 { grid-template-columns: repeat(2,1fr); }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow-sm); }
.team-photo { width: 100%; aspect-ratio: 1/1; border-radius: 16px; background: repeating-linear-gradient(135deg,#eef1f4,#eef1f4 11px,#e6eaef 11px,#e6eaef 22px); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; position: relative; overflow: hidden; }
.team-photo .tp-label { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11.5px; color: #8a93a0; background: rgba(255,255,255,.85); padding: 5px 10px; border-radius: 7px; }
.team-card h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.team-card .tc-role { font-size: 13px; font-weight: 600; color: var(--blue); margin-top: 2px; }
.team-card .tc-bio { font-size: 13.5px; color: var(--muted); margin-top: 12px; line-height: 1.55; }

.authority-feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px,5vw,56px); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: clamp(28px,4vw,44px); box-shadow: var(--shadow-md); }
.af-photo { aspect-ratio: 4/5; border-radius: 18px; background: linear-gradient(150deg,var(--navy-700),var(--navy-deep)); display: flex; align-items: center; justify-content: center; position: relative; }
.af-photo .afp-label { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); padding: 6px 12px; border-radius: 8px; }
.af-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.af-badge svg { width: 15px; height: 15px; color: var(--blue); }
.authority-feature h3 { font-size: clamp(22px,3vw,30px); font-weight: 800; letter-spacing: -.018em; }
.authority-feature p { font-size: 15px; color: var(--muted); line-height: 1.6; margin-top: 14px; }

.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.value-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.value-card .vc-ic { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(150deg,var(--wash),#D8E9FB); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; box-shadow: inset 0 0 0 1px rgba(var(--action-rgb),.2); }
.value-card .vc-ic svg { width: 24px; height: 24px; }
.value-card h4 { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.value-card p { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.55; }

@media (max-width: 860px) {
  .team-grid, .team-grid.cols-2, .value-grid { grid-template-columns: 1fr; }
  .authority-feature { grid-template-columns: 1fr; }
}

/* ============================================================
   CASOS APROBADOS PAGE
   ============================================================ */
.cases-hero { background: radial-gradient(120% 130% at 80% 0%, var(--navy-700), var(--navy) 45%, var(--navy-deep)); color: #fff; text-align: center; padding: clamp(48px,7vw,84px) 0; position: relative; overflow: hidden; }
.cases-hero canvas.starfield { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cases-hero .wrap { position: relative; z-index: 2; max-width: 760px; }
.cases-hero h1 { color: #fff; }
.cases-hero .lead { color: rgba(255,255,255,.82); margin: 20px auto 0; max-width: 600px; }

.filter-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 38px; }
.filter-chip { font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: var(--r-chip); border: 1.5px solid var(--line); background: var(--surface); color: var(--navy); white-space: nowrap; transition: all .16s ease; }
.filter-chip:hover { border-color: var(--blue); }
.filter-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.case-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-notice { position: relative; aspect-ratio: 4/3; background: repeating-linear-gradient(135deg,#f1f3f6,#f1f3f6 9px,#e9edf2 9px,#e9edf2 18px); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.case-notice::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 34px; background: var(--navy); opacity: .92; }
.case-notice::after { content: "U.S. Citizenship and Immigration Services"; position: absolute; top: 9px; left: 14px; right: 14px; font-size: 10px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.92); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case-stamp { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: rgba(43,182,115,.14); border: 1.5px solid var(--success); color: #1c8d59; font-weight: 800; font-size: 13px; padding: 9px 16px; border-radius: var(--r-chip); transform: rotate(-5deg); }
.case-stamp svg { width: 16px; height: 16px; }
.case-notice .nlabel { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 10.5px; color: #8a93a0; }
.case-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.case-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.case-avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; background: linear-gradient(150deg,var(--navy-700),var(--navy)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 15px; }
.case-name { font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.case-role { font-size: 12.5px; color: var(--muted); }
.case-visa { margin-left: auto; font-weight: 700; font-size: 11.5px; color: var(--blue); background: var(--wash); padding: 5px 11px; border-radius: var(--r-chip); white-space: nowrap; }
.case-quote { font-size: 13.5px; color: var(--text); line-height: 1.55; flex: 1; }
.case-foot { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--muted); font-weight: 600; }
.case-foot svg { width: 14px; height: 14px; }
.cases-empty { text-align: center; color: var(--muted); font-weight: 600; padding: 40px 0; display: none; }
.privacy-note { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; color: var(--muted); margin-top: 30px; font-weight: 500; }
.privacy-note svg { width: 16px; height: 16px; flex: none; }

@media (max-width: 920px) { .case-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .case-grid { grid-template-columns: 1fr; } }

/* ============================================================
   DESTINOS PAGE
   ============================================================ */
.dest-hero { background: radial-gradient(120% 130% at 80% 0%, var(--navy-700), var(--navy) 45%, var(--navy-deep)); color: #fff; text-align: center; padding: clamp(48px,7vw,84px) 0; position: relative; overflow: hidden; }
.dest-hero canvas.starfield { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dest-hero .wrap { position: relative; z-index: 2; max-width: 760px; }
.dest-hero h1 { color: #fff; }
.dest-hero .lead { color: rgba(255,255,255,.82); margin: 20px auto 0; max-width: 600px; }

.dest-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,52px); align-items: center; margin-bottom: clamp(40px,6vw,72px); }
.dest-block:last-child { margin-bottom: 0; }
.dest-block.rev .dest-media { order: 2; }
.dest-media { position: relative; aspect-ratio: 4/3; border-radius: var(--r-card); overflow: hidden; background: repeating-linear-gradient(135deg,#eef1f4,#eef1f4 11px,#e6eaef 11px,#e6eaef 22px); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.dest-media .dm-label { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; color: #8a93a0; background: rgba(255,255,255,.85); padding: 6px 12px; border-radius: 8px; }
.dest-flag { position: absolute; top: 16px; left: 16px; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(var(--brand-rgb),.85); padding: 7px 14px; border-radius: var(--r-chip); }
.dest-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.dest-tag.soon { color: var(--muted); }
.dest-tag svg { width: 14px; height: 14px; color: var(--blue); }
.dest-block h2 { font-size: clamp(24px,3.2vw,34px); font-weight: 800; letter-spacing: -.018em; }
.dest-block > div > p { font-size: 15px; color: var(--muted); line-height: 1.6; margin-top: 14px; }
.dest-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.dest-chips span { font-weight: 600; font-size: 13px; padding: 8px 14px; border-radius: var(--r-chip); border: 1.5px solid var(--line); color: var(--navy); white-space: nowrap; }
.dest-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .dest-block, .dest-block.rev { grid-template-columns: 1fr; }
  .dest-block.rev .dest-media { order: 0; }
}

/* ============================================================
   CÓMO FUNCIONA — vertical process
   ============================================================ */
.proc-list { max-width: 740px; margin: 0 auto; }
.proc-step { display: grid; grid-template-columns: 60px 1fr; gap: 24px; position: relative; padding-bottom: 34px; }
.proc-step:not(:last-child)::before { content: ""; position: absolute; left: 29px; top: 60px; bottom: 0; width: 2px; background: var(--line); }
.proc-num { width: 60px; height: 60px; border-radius: 50%; background: var(--surface); border: 2px solid var(--blue); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 22px; box-shadow: var(--shadow-sm); z-index: 1; }
.proc-step.final .proc-num { background: var(--blue); border-color: var(--blue); }
.proc-step.final .proc-num svg { width: 30px; height: 30px; color: #fff; }
.proc-body { padding-top: 6px; }
.proc-body h3 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.proc-body > p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin-top: 8px; }
.proc-tag { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 12px; color: var(--blue); background: var(--wash); padding: 6px 12px; border-radius: var(--r-chip); margin-top: 12px; }
.proc-tag svg { width: 13px; height: 13px; }

/* ============================================================
   RUMBO CLUB — services page
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.svc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.svc-ic { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(150deg,var(--wash),#D8E9FB); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: inset 0 0 0 1px rgba(var(--action-rgb),.2); }
.svc-ic svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.svc-card p { font-size: 14px; color: var(--muted); line-height: 1.55; margin-top: 8px; }

@media (max-width: 860px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .proc-step { grid-template-columns: 48px 1fr; gap: 16px; }
  .proc-num { width: 48px; height: 48px; font-size: 18px; }
  .proc-step:not(:last-child)::before { left: 23px; top: 48px; }
}

/* ============================================================
   RECURSOS / BLOG
   ============================================================ */
.blog-hero { background: radial-gradient(120% 130% at 80% 0%, var(--navy-700), var(--navy) 45%, var(--navy-deep)); color: #fff; text-align: center; padding: clamp(48px,7vw,80px) 0; position: relative; overflow: hidden; }
.blog-hero canvas.starfield { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.blog-hero .wrap { position: relative; z-index: 2; max-width: 720px; }
.blog-hero h1 { color: #fff; }
.blog-hero .lead { color: rgba(255,255,255,.82); margin: 18px auto 0; max-width: 560px; }

.post-cat { display: inline-block; font-weight: 700; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--wash); padding: 5px 11px; border-radius: var(--r-chip); }
.featured-post { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px,4vw,44px); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 40px; }
.featured-post .fp-cover { aspect-ratio: 16/11; background: repeating-linear-gradient(135deg,#eef1f4,#eef1f4 11px,#e6eaef 11px,#e6eaef 22px); display: flex; align-items: center; justify-content: center; position: relative; }
.featured-post .fp-cover .dm-label { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; color: #8a93a0; background: rgba(255,255,255,.85); padding: 6px 12px; border-radius: 8px; }
.featured-post .fp-body { padding: clamp(24px,3vw,40px) clamp(24px,3vw,40px) clamp(24px,3vw,40px) 0; }
.featured-post h2 { font-size: clamp(22px,2.6vw,30px); font-weight: 800; letter-spacing: -.018em; margin: 14px 0 10px; line-height: 1.18; }
.featured-post p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.featured-post .fp-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; font-size: 15px; color: var(--navy); }
.featured-post .fp-link svg { width: 17px; height: 17px; transition: transform .2s ease; }
.featured-post .fp-link:hover svg { transform: translateX(4px); }

.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-cover { aspect-ratio: 16/10; background: repeating-linear-gradient(135deg,#eef1f4,#eef1f4 11px,#e6eaef 11px,#e6eaef 22px); }
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; margin: 12px 0 8px; line-height: 1.28; }
.post-body p { font-size: 13.5px; color: var(--muted); line-height: 1.55; flex: 1; }
.post-foot { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.post-foot svg { width: 14px; height: 14px; }
.blog-empty { text-align: center; color: var(--muted); font-weight: 600; padding: 40px 0; display: none; }

@media (max-width: 860px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-post .fp-body { padding: 0 26px 28px; }
  .post-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ARTICLE TEMPLATE (single post)
   ============================================================ */
.art-hero { background: radial-gradient(120% 130% at 80% 0%, var(--navy-700), var(--navy) 45%, var(--navy-deep)); color: #fff; padding: clamp(36px,5vw,60px) 0 clamp(40px,6vw,64px); position: relative; overflow: hidden; }
.art-hero canvas.starfield { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.art-hero .wrap { position: relative; z-index: 2; max-width: 800px; }
.art-hero h1 { color: #fff; font-size: clamp(28px,4.2vw,46px); margin: 16px 0 0; }
.art-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; font-size: 13.5px; color: rgba(255,255,255,.7); font-weight: 600; }
.art-meta .am-author { display: flex; align-items: center; gap: 9px; }
.art-meta .am-author .aa-rose { width: 24px; height: 24px; }
.art-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.4); }

.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(32px,5vw,56px); align-items: start; }
.art-cover { aspect-ratio: 16/8; border-radius: var(--r-card); background: repeating-linear-gradient(135deg,#eef1f4,#eef1f4 11px,#e6eaef 11px,#e6eaef 22px); display: flex; align-items: center; justify-content: center; margin-bottom: 32px; }
.art-cover .dm-label { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; color: #8a93a0; background: rgba(255,255,255,.85); padding: 6px 12px; border-radius: 8px; }

.prose { max-width: 720px; }
.prose > p { font-size: 17px; line-height: 1.72; color: #333a42; margin-bottom: 20px; text-wrap: pretty; }
.prose > p.lead-p { font-size: 19px; color: var(--text); font-weight: 500; }
.prose h2 { font-size: clamp(22px,2.6vw,28px); font-weight: 800; letter-spacing: -.018em; color: var(--navy); margin: 40px 0 14px; scroll-margin-top: 90px; }
.prose h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin: 26px 0 10px; }
.prose ul.checks { margin: 14px 0 22px; display: grid; gap: 11px; }
.prose ul.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.55; color: #333a42; }
.prose ul.checks li .qstar { width: 21px; height: 21px; color: var(--blue); flex: none; margin-top: 1px; }
.prose strong { color: var(--navy); font-weight: 700; }
.prose .pull { border-left: 3px solid var(--blue); background: #fdfaf3; padding: 18px 22px; border-radius: 0 14px 14px 0; font-size: 17px; line-height: 1.6; color: var(--text); margin: 24px 0; }

.inline-cta { background: radial-gradient(120% 140% at 85% 0%, var(--navy-700), var(--navy) 60%, var(--navy-deep)); color: #fff; border-radius: var(--r-card); padding: 28px 30px; margin: 32px 0; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.inline-cta .ic-txt { flex: 1; min-width: 220px; }
.inline-cta h4 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.inline-cta p { font-size: 14px; color: rgba(255,255,255,.76); margin-top: 4px; }

.art-aside { position: sticky; top: 96px; display: grid; gap: 18px; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow-sm); }
.aside-card h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 14px; }
.aside-card.quiz-aside { background: radial-gradient(120% 140% at 85% 0%, var(--navy-700), var(--navy) 60%, var(--navy-deep)); color: #fff; text-align: center; }
.aside-card.quiz-aside .qa-rose { width: 44px; height: 44px; margin: 0 auto 12px; }
.aside-card.quiz-aside h4 { color: var(--sky); }
.aside-card.quiz-aside p { font-size: 14px; color: rgba(255,255,255,.78); margin-bottom: 16px; }
.aside-fact { display: flex; align-items: flex-start; gap: 11px; padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.aside-fact:first-of-type { border-top: none; padding-top: 0; }
.aside-fact .qstar { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 1px; }
.aside-toc a { display: block; font-size: 14px; font-weight: 600; color: var(--muted); padding: 7px 0; border-left: 2px solid var(--line); padding-left: 14px; margin-left: 2px; transition: all .16s ease; }
.aside-toc a:hover { color: var(--navy); border-color: var(--blue); }

.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; }
  .art-aside { position: static; grid-template-columns: 1fr 1fr; }
  .aside-toc { display: none; }
}
@media (max-width: 680px) {
  .art-aside { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
