/* ============================================================
   CERTIFICACIONES — Carreras CENECOOP × CertiProf
   ============================================================ */

.cert { background: var(--bg); }

/* ---------- HERO ---------- */
.cert-hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; padding: 56px 0 68px; }
.cert-hero-bg {
  position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 88% 18%, rgba(255,224,0,.22), transparent 60%),
    radial-gradient(ellipse 55% 75% at 8% 85%, rgba(144,192,32,.28), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--blue-800) 75%);
}
.cert-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.cert-cobrand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; letter-spacing: .04em; font-size: 14px; color: #fff; }
.cert-x { color: var(--lime-bright); font-size: 17px; }
.cert-h1 { font-size: clamp(30px, 4vw, 50px); color: #fff; margin: 16px 0 14px; line-height: 1.1; }
.cert-h1 .hl { color: var(--yellow); }
.cert-sub { font-size: 17px; color: rgba(255,255,255,.85); max-width: 38ch; margin: 0 0 26px; }
.cert-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cert-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.cert-ghost:hover { background: rgba(255,255,255,.16); }
.cert-stats { display: flex; gap: 36px; margin-top: 32px; flex-wrap: wrap; }
.cert-stat strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--yellow); line-height: 1; }
.cert-stat span { font-size: 12.5px; opacity: .82; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }

/* showcase del hero — tarjeta de "carrera" */
.cert-showcase { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.cert-showcase-halo {
  position: absolute; width: 480px; height: 480px; border-radius: 50%; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(168,214,47,.35), rgba(255,224,0,.12) 45%, transparent 68%);
  filter: blur(6px);
}
.cert-showcase-pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: .12; animation: certSpin 110s linear infinite; }
@keyframes certSpin { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cert-showcase-pin { animation: none; } }
.cert-card-demo {
  position: relative; z-index: 2; width: min(420px, 100%);
  background: #fff; border-radius: 24px; padding: 26px 26px 22px;
  box-shadow: 0 36px 80px rgba(1,30,16,.45), 0 8px 24px rgba(0,0,0,.2);
  transform: rotate(-1.5deg);
}
.cert-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.cert-card-tag { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--blue-800); }
.cert-card-count { font-family: var(--font-body); font-weight: 700; font-size: 12px; color: var(--blue-800); background: color-mix(in oklab, var(--lime) 32%, white); padding: 5px 11px; border-radius: var(--r-pill); }
.cert-card-path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: relative; }
.cert-card-path::before { content: ""; position: absolute; top: 50px; left: 18%; right: 18%; height: 3px; background: linear-gradient(90deg, var(--lime), var(--blue-700)); border-radius: 4px; z-index: 0; }
.cert-card-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cert-card-num { width: 22px; height: 22px; border-radius: 50%; background: var(--blue-700); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.cert-card-step .cert-seal { width: 112px; height: 112px; }
.cert-card-step strong { font-family: var(--font-display); font-size: 13px; color: var(--blue-800); margin-top: 10px; }
.cert-card-step span { font-size: 11.5px; color: var(--slate-500); }
.cert-card-foot { margin-top: 22px; background: var(--bg); border-radius: var(--r); padding: 13px 16px; }
.cert-card-foot-k { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--blue-700); font-weight: 800; margin-bottom: 3px; }
.cert-card-foot-v { font-family: var(--font-display); font-size: 15px; color: var(--ink); }
.cert-float-pill {
  position: absolute; z-index: 3; top: 18px; right: 4px;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  background: var(--yellow); color: var(--ink); font-family: var(--font-body); font-weight: 800; font-size: 12.5px;
  padding: 9px 14px; border-radius: var(--r-pill); box-shadow: var(--sh-md); transform: rotate(3deg);
}

/* badge / sello de credencial */
.cert-badge { display: flex; align-items: center; justify-content: center; position: relative; }
.cert-seal { position: relative; width: 100%; height: 100%; }
.cert-seal-svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 7px 16px rgba(1,61,32,.2)); }
.cert-seal-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0 8px; }
.cert-seal-sigla { font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--blue-800); line-height: 1.02; text-align: center; max-width: 66px; letter-spacing: -.01em; }
.cert-badge.orb .cert-seal-sigla { font-size: 9.5px; max-width: 44px; gap: 1px; }
.cert-badge.orb .cert-seal-in { gap: 1px; }

/* Variante con LOGO cargado: el <img> reemplaza al SVG procedural y a la
   sigla. Se mantiene el círculo blanco + sombra para que conviva con
   los sellos sin logo dentro del mismo grid. */
.cert-badge.has-logo {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 50%; padding: 6%;
  filter: drop-shadow(0 7px 16px rgba(1,61,32,.18));
}
.cert-seal-img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}

/* ---------- PILLS (sticky bajo el header) ---------- */
.cert-pills { position: sticky; top: 75px; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--slate-200); padding: 14px 0; }
.cert-pills-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.cert-pill { flex-shrink: 0; font-family: var(--font-body); font-weight: 700; font-size: 13.5px; padding: 9px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--slate-300); background: #fff; color: var(--slate-600); white-space: nowrap; transition: all .14s; text-decoration: none; display: inline-block; }
.cert-pill:hover { border-color: var(--green-600); color: var(--blue-700); }
.cert-pill.on { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }

/* ---------- INTRO + BENEFICIOS ---------- */
.cert-intro { padding: 60px 0 0; text-align: center; }
.cert-intro .section-title { max-width: 22ch; margin: 0 auto; }
.cert-intro-p { max-width: 44ch; margin: 14px auto 0; color: var(--slate-600); font-size: 17px; }
.cert-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.cert-benefit { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-lg); padding: 28px 24px; text-align: center; box-shadow: var(--sh-sm); }
.cert-benefit-ico { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--green-500)); }
.cert-benefit strong { display: block; font-family: var(--font-display); font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.cert-benefit p { margin: 0; font-size: 14.5px; color: var(--slate-500); }

/* ---------- CUADRÍCULA DE CARRERAS ---------- */
.cert-grid-sec { padding: 56px 0 8px; }
.cert-grid-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.cert-grid-count { font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--slate-500); }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cc-card { position: relative; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-lg); padding: 24px 22px 20px; cursor: pointer; display: flex; flex-direction: column; overflow: hidden; transition: transform .16s ease, box-shadow .16s ease, border-color .16s; text-decoration: none; }
.cc-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }
.cc-accent { position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.cc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 14px; }
.cc-cat { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; color: var(--blue-700); }
.cc-demanda { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 12px; font-weight: 700; color: var(--blue-800); background: color-mix(in oklab, var(--lime) 26%, white); padding: 4px 10px; border-radius: var(--r-pill); }
.cc-demanda.b2b { color: var(--slate-600); background: var(--slate-100); }
.cc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-600); }
.cc-demanda.b2b .cc-dot { background: var(--slate-400); }
.cc-title { font-size: 21px; line-height: 1.14; color: var(--navy-900); margin-bottom: 14px; }
.cc-role { background: var(--bg); border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 16px; }
.cc-role-k { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; color: var(--lime-600); margin-bottom: 4px; }
.cc-role strong { font-family: var(--font-display); font-size: 15px; color: var(--ink); line-height: 1.25; }
.cc-route { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 20px; }
.cc-chip { font-family: var(--font-display); font-weight: 800; font-size: 12px; color: var(--blue-800); border: 1.5px solid var(--slate-200); border-radius: var(--r-pill); padding: 5px 11px; }
.cc-route-sep { color: var(--lime-600); flex-shrink: 0; }
.cc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--slate-100); }
.cc-price-row { display: flex; align-items: baseline; gap: 8px; }
.cc-price-now { font-family: var(--font-display); font-weight: 800; font-size: 23px; color: var(--blue-700); letter-spacing: -.01em; }
.cc-price-was { font-size: 14px; color: var(--slate-400); text-decoration: line-through; font-weight: 600; }
.cc-save { display: block; font-size: 12px; font-weight: 700; color: var(--green-600); margin-top: 3px; }
.cc-go { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-weight: 800; font-size: 14px; color: var(--blue-700); white-space: nowrap; transition: gap .15s; }
.cc-card:hover .cc-go { gap: 10px; }

/* ---------- DETALLE OUTCOME-FIRST ---------- */
.cd { background: var(--bg); }
.cd-hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; padding: 24px 0 60px; }
.cd-hero-bg {
  position: absolute; inset: 0; opacity: .6; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 92% 30%, rgba(255,224,0,.18), transparent 60%),
    radial-gradient(ellipse 60% 80% at 6% 90%, rgba(144,192,32,.30), transparent 62%),
    linear-gradient(135deg, var(--navy-900), var(--blue-800) 78%);
}
.cd-back { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 14px; padding: 9px 15px; border-radius: var(--r-pill); margin-bottom: 26px; transition: background .15s; text-decoration: none; }
.cd-back:hover { background: rgba(255,255,255,.2); }
.cd-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .9fr; gap: 40px; align-items: start; }
.cd-badges { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.cd-cat { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--lime-bright); }
.cd-demanda { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 12.5px; font-weight: 700; color: var(--navy-900); background: var(--lime); padding: 5px 12px; border-radius: var(--r-pill); }
.cd-demanda.b2b { background: rgba(255,255,255,.18); color: #fff; }
.cd-demanda .cc-dot { background: var(--blue-800); }
.cd-eyebrow { display: block; font-family: var(--font-body); font-weight: 600; font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 14px; }
.cd-roles { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 12px; }
.cd-roles li { display: flex; align-items: center; gap: 13px; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 32px); color: #fff; line-height: 1.08; letter-spacing: -.01em; }
.cd-roles li svg { flex-shrink: 0; }
.cd-tagline { color: rgba(255,255,255,.82); font-size: 16.5px; max-width: 48ch; margin: 0; }

.cd-pricecard { background: #fff; border-radius: var(--r-lg); padding: 26px 24px; box-shadow: var(--sh-lg); color: var(--ink); position: sticky; top: 92px; }
.cd-pc-label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--blue-700); margin-bottom: 8px; }
.cd-pc-now { font-family: var(--font-display); font-weight: 900; font-size: 40px; color: var(--blue-800); line-height: 1; letter-spacing: -.02em; }
.cd-pc-b2b { font-size: 28px; }
.cd-pc-b2b-p { font-size: 14px; color: var(--slate-500); margin: 8px 0 0; }
.cd-pc-compare { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.cd-pc-compare .strike { font-size: 14px; color: var(--slate-400); text-decoration: line-through; font-weight: 600; }
.cd-pc-save { font-family: var(--font-body); font-weight: 800; font-size: 12.5px; color: var(--green-600); background: color-mix(in oklab, var(--lime) 30%, white); padding: 4px 10px; border-radius: var(--r-pill); }
.cd-pc-incl { list-style: none; padding: 18px 0; margin: 18px 0; border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); display: flex; flex-direction: column; gap: 10px; }
.cd-pc-incl li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--slate-600); font-weight: 600; }
.cd-pc-ghost { background: #fff; color: var(--blue-700); border: 1.5px solid var(--slate-300); margin-top: 10px; }
.cd-pc-ghost:hover { border-color: var(--blue-700); }
.cd-pc-note { display: block; text-align: center; font-size: 12px; color: var(--slate-400); margin-top: 12px; }

.cd-route-sec { padding: 56px 0 0; }
.cd-route-head { text-align: center; margin-bottom: 36px; }
.cd-route-head .section-title { margin-top: 6px; }
.cd-route-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 760px; margin: 0 auto; position: relative; }
.cd-route-strip::before { content: ""; position: absolute; top: 92px; left: 18%; right: 18%; height: 3px; background: linear-gradient(90deg, var(--lime), var(--blue-700)); border-radius: 4px; z-index: 0; }
.cd-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cd-step-num { font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--lime-600); margin-bottom: 12px; }
.cd-step .cert-seal { width: 92px; height: 92px; }
.cd-step strong { font-family: var(--font-display); font-size: 16px; color: var(--blue-800); margin-top: 14px; }
.cd-step span { font-size: 13.5px; color: var(--slate-500); }

.cd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 48px 0 8px; }
.cd-col { background: #fff; border: 1px solid var(--slate-200); border-top: 4px solid var(--lime); border-radius: var(--r); padding: 24px; }
.cd-col h3 { font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--blue-700); margin: 0 0 10px; }
.cd-col p { margin: 0; font-size: 15.5px; color: var(--slate-600); line-height: 1.55; }

.cd-foot-cta { margin-top: 48px; background: var(--lime); color: var(--navy-900); padding: 44px 0; }
.cd-foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cd-foot-cta h2 { font-size: clamp(22px, 2.6vw, 30px); color: var(--navy-900); margin: 0 0 8px; }
.cd-foot-cta p { margin: 0; max-width: 52ch; color: color-mix(in oklab, var(--navy-900) 80%, transparent); font-size: 15.5px; }
.cd-foot-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cd-foot-cta .cert-ghost { background: rgba(1,61,32,.08); color: var(--navy-900); border-color: rgba(1,61,32,.35); }
.cd-foot-cta .cert-ghost:hover { background: rgba(1,61,32,.16); }

/* ---------- CERTIFICACIONES INDIVIDUALES ---------- */
.ci-sec { padding: 64px 0; background: #fff; border-top: 1px solid var(--slate-200); }
.ci-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; margin-bottom: 24px; flex-wrap: wrap; }
.ci-head .section-title { margin: 6px 0 10px; }
.ci-sub { color: var(--slate-600); font-size: 16px; max-width: 56ch; margin: 0; }
.ci-cross { display: inline-flex; align-items: center; gap: 12px; background: var(--navy-900); color: #fff; border: none; border-radius: var(--r); padding: 14px 18px; text-align: left; cursor: pointer; transition: transform .15s, box-shadow .15s; flex-shrink: 0; max-width: 320px; text-decoration: none; }
.ci-cross:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.ci-cross span { display: flex; flex-direction: column; font-size: 12.5px; color: rgba(255,255,255,.78); line-height: 1.3; }
.ci-cross strong { font-family: var(--font-display); font-size: 14.5px; color: var(--lime-bright); }
.ci-cross > svg { color: var(--lime-bright); flex-shrink: 0; }

.ci-filters { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 26px; }

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

/* Paginador de certificaciones individuales */
.ci-paginator {
  display: flex; align-items: center; gap: 6px;
  margin-top: 28px; flex-wrap: wrap; justify-content: center;
}
.ci-pag-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 12px;
  background: #fff; border: 1px solid var(--slate-200); border-radius: 8px;
  color: var(--slate-700); text-decoration: none;
  font-weight: 700; font-size: 13px;
  transition: background .12s, border-color .12s, color .12s;
}
.ci-pag-btn:hover { background: #f4f7ff; border-color: var(--blue-600); color: var(--blue-700); }
.ci-pag-btn--active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; cursor: default; }
.ci-pag-btn--active:hover { background: var(--blue-700); color: #fff; }
.ci-pag-btn--disabled { color: #cbd1de; cursor: not-allowed; background: #fafbff; }
.ci-pag-btn--disabled:hover { background: #fafbff; border-color: var(--slate-200); color: #cbd1de; }
.ci-pag-ellipsis { color: #94a3b8; padding: 0 4px; }
.ci-pag-info { color: var(--slate-500); font-size: 12px; margin-left: 8px; }
.ci-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.ci-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: transparent; }

/* Cabecera con el sello centrado — estilo CertiProf. Fondo con leve
   gradient para que el sello resalte sin competir con el body blanco. */
.ci-seal-wrap {
  padding: 28px 20px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7f4 100%);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--slate-100);
}
.ci-seal { width: 100%; max-width: 240px; aspect-ratio: 1; height: auto; }

.ci-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ci-top { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.ci-area { font-family: var(--font-body); font-weight: 700; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--blue-700); }
.ci-nivel { font-size: 11px; font-weight: 700; color: var(--slate-500); background: var(--slate-100); padding: 3px 8px; border-radius: var(--r-pill); }
.ci-name { font-family: var(--font-display); font-size: 16px; color: var(--navy-900); line-height: 1.16; margin: 0 0 6px; }
.ci-desc { font-size: 13.5px; color: var(--slate-500); line-height: 1.45; margin: 0 0 12px; }
.ci-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--slate-500); font-weight: 600; margin-top: auto; }
.ci-meta span { display: inline-flex; align-items: center; gap: 4px; }
.ci-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--slate-200); }
.ci-price { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--blue-700); }

/* ---------- COMPARE ---------- */
.cert-compare { background: var(--navy-900); color: #fff; padding: 56px 0; text-align: center; }
.cert-compare-title { font-size: clamp(22px, 2.6vw, 30px); color: #fff; margin-bottom: 28px; }
.cert-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; max-width: 820px; margin: 0 auto; align-items: center; }
.cert-vs-box { padding: 22px 24px; border-radius: var(--r-lg); text-align: left; }
.cert-vs-box .cert-vs-tag { display: block; font-family: var(--font-display); font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.cert-vs-box p { margin: 0; font-size: 14.5px; }
.cert-vs-box.weak { background: rgba(255,255,255,.07); border: 1px dashed rgba(255,255,255,.28); color: rgba(255,255,255,.78); }
.cert-vs-box.strong { background: rgba(144,192,32,.18); border: 1.5px solid var(--lime); color: #fff; }
.cert-vs-box.strong .cert-vs-tag { color: var(--lime-bright); }
.cert-vs-arrow { font-size: 28px; color: var(--lime-bright); font-weight: 800; }

/* ---------- CTA BAND ---------- */
.cert-cta-band { background: var(--lime); color: var(--navy-900); padding: 48px 0; }
.cert-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cert-cta-band h2 { font-size: clamp(22px, 2.6vw, 30px); color: var(--navy-900); margin: 0 0 8px; }
.cert-cta-band p { margin: 0; max-width: 56ch; color: color-mix(in oklab, var(--navy-900) 80%, transparent); font-size: 15.5px; }
.cert-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cert-cta-band .cert-ghost { background: rgba(1,61,32,.08); color: var(--navy-900); border-color: rgba(1,61,32,.35); }
.cert-cta-band .cert-ghost:hover { background: rgba(1,61,32,.16); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .cert-hero-grid { grid-template-columns: 1fr; }
  .cert-showcase { min-height: 340px; order: -1; }
  .cert-benefits { grid-template-columns: 1fr; }
  .cert-vs { grid-template-columns: 1fr; }
  .cert-vs-arrow { transform: rotate(90deg); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .ci-grid { grid-template-columns: repeat(2, 1fr); }
  .cd-hero-grid { grid-template-columns: 1fr; }
  .cd-pricecard { position: static; }
  .cd-cols { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .cert-grid { grid-template-columns: 1fr; }
  .ci-grid { grid-template-columns: 1fr; }
  .cd-route-strip { grid-template-columns: 1fr; gap: 28px; }
  .cd-route-strip::before { display: none; }
}

/* Cards de carrera refactorizadas: la card ya no es un <a> envolvente
   sino un <article> con un <a class="cc-card-link"> en el área superior
   + un form de "agregar al carrito" independiente abajo. */
.cc-card-link {
  display: block; color: inherit; text-decoration: none;
  flex: 1;
}
.cc-add-form { margin: 0; }
.cc-add-btn {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  border: 1.5px solid var(--blue-700); background: var(--blue-700);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .15s;
}
.cc-add-btn:hover { background: var(--blue-800); border-color: var(--blue-800); transform: scale(1.04); }
.cc-add-btn:active { transform: scale(.94); }

/* Cards de cert individual: actions del foot */
.ci-foot-actions { display: flex; gap: 8px; align-items: center; }
.ci-add-form { margin: 0; }
