/* CRM Shortcodes — skins: Cierre (editorial) + Norte (ops) */

.crm-wrap{max-width:1120px;margin:0 auto;padding:0 22px}
.crm-kicker{font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;opacity:.7;margin:0 0 8px}
.crm-kicker--on-dark{opacity:.85}
.crm-lead{font-size:1.08rem;line-height:1.45;opacity:.8;margin:0 0 1rem;max-width:40ch}
.crm-pill{display:inline-flex;padding:.35rem .7rem;border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.crm-tag{font-size:.68rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.crm-go{font-weight:700;font-size:.9rem}
.crm-actions{display:flex;flex-wrap:wrap;gap:.6rem}
.crm-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;font-weight:700;padding:.85rem 1.25rem;text-decoration:none!important;border:2px solid transparent;cursor:pointer;transition:.15s}
.crm-btn--primary{ }
.crm-btn--ghost{background:transparent}
.crm-hl{ }

/* callouts */
.crm-callout{padding:18px 20px;margin:1.2rem 0;border:2px solid;width:100%;max-width:100%;box-sizing:border-box}
.crm-callout__t{display:block;font-size:1.15rem;margin-bottom:6px}
.crm-callout__b p{margin:0 0 .5rem}
.crm-callout__b p:last-child{margin:0}

/* Pasos / lista: grid propio, a prueba de .prose ol/ul del tema */
.crm-pasos,.crm-lista{list-style:none!important;margin:0 0 1.2rem;padding:0;width:100%;max-width:100%;counter-reset:none}
.crm-pasos li,.crm-lista li{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  gap:12px!important;
  padding:14px 16px!important;
  margin:0 0 10px!important;
  border:2px solid;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  align-items:start;
}
.crm-pasos li::before,.crm-lista li::before{content:none!important;display:none!important}
.crm-pasos__n{font-weight:800;font-size:.85rem;line-height:1.2;padding-top:2px}
.crm-pasos strong{display:block;margin-bottom:4px}
.crm-pasos p{margin:0;opacity:.8}
.crm-lista li{grid-template-columns:minmax(0,1fr)!important;padding-left:2.2em!important;position:relative}
.crm-lista li::before{
  content:"▸"!important;display:block!important;position:absolute;left:.7em;top:14px;
  font-weight:800;color:inherit;
}

.crm-duo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:1.2rem 0;width:100%;max-width:100%}
@media(max-width:700px){.crm-duo{grid-template-columns:1fr}}
.crm-duo>div{padding:16px;border:2px solid;min-width:0;box-sizing:border-box}
.crm-duo h3{margin:0 0 6px;font-size:1.1rem}
.crm-duo p{margin:0;opacity:.8;font-size:.95rem}

.crm-faq{width:100%;max-width:100%}
.crm-faq details{border:2px solid;margin:0 0 8px;padding:0;width:100%;box-sizing:border-box}
.crm-faq summary{cursor:pointer;list-style:none;padding:14px 16px;font-weight:700}
.crm-faq summary::-webkit-details-marker{display:none}
.crm-faq p{margin:0;padding:0 16px 14px;opacity:.8}

.crm-cta{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:18px 20px;margin:1.5rem 0;border:2px solid;width:100%;max-width:100%;box-sizing:border-box}
.crm-cta strong{display:block;font-size:1.15rem;margin-bottom:4px}
.crm-cta p{margin:0;opacity:.8}
.crm-cta__actions{display:flex;gap:.5rem;flex-wrap:wrap}

.crm-related{margin:2rem 0;width:100%;max-width:100%}
.crm-related__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media(max-width:800px){.crm-related__grid{grid-template-columns:1fr}}
.crm-related a{display:block;padding:16px;border:2px solid;min-height:120px;text-decoration:none!important;transition:.12s;min-width:0;box-sizing:border-box}
.crm-related h3{margin:8px 0 0;font-size:1.1rem}

/* Dentro de .prose del tema: aislar shortcodes del estilo de listas del tema */
.prose .crm-pasos,
.prose .crm-lista,
.prose .crm-duo,
.prose .crm-faq,
.prose .crm-callout,
.prose .crm-cta,
.prose .crm-related,
.prose .crm-stats{
  max-width:100%!important;
  width:100%!important;
}
.prose .crm-pasos li,
.prose .crm-lista li{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  border:2px solid!important;
  background:inherit;
  padding:14px 16px!important;
}
.prose .crm-lista li{grid-template-columns:minmax(0,1fr)!important}
/* Anular contador/▸ del tema en pasos (tienen número propio) */
.prose .crm-pasos li::before{
  content:none!important;
  display:none!important;
  counter-increment:none!important;
}
/* Lista: mantener flecha del shortcode, no la del tema en grid de 28px */
.prose .crm-lista li::before{
  content:"▸"!important;
  display:block!important;
  position:absolute!important;
  left:.7em!important;top:14px!important;
  width:auto!important;height:auto!important;
  grid-column:auto!important;
}
.prose .crm-pasos,
.prose .crm-lista{
  counter-reset:none!important;
}

/* sections */
.crm-hero{padding:48px 0 32px;border-bottom:3px solid}
.crm-hero__title{font-size:clamp(2.6rem,7vw,5.5rem);line-height:.9;margin:12px 0 20px;max-width:14ch}
.crm-hero__deck{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:end}
@media(max-width:800px){.crm-hero__deck{grid-template-columns:1fr}}
.crm-stamp{border:3px solid;padding:16px;text-align:center;transform:rotate(-5deg);font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;max-width:170px;justify-self:end}

.crm-stats{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:3px solid}
@media(max-width:800px){.crm-stats{grid-template-columns:1fr 1fr}}
.crm-stats__cell{padding:20px 16px;border-right:1px solid}
.crm-stats__cell:last-child{border-right:0}
.crm-stats__n{font-size:clamp(1.6rem,3vw,2.4rem);font-weight:800;line-height:1}
.crm-stats__l{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;margin-top:6px;opacity:.7}

.crm-band{padding:64px 0}
.crm-band h2{font-size:clamp(1.8rem,4vw,3rem);max-width:16ch;margin:0 0 24px}
.crm-manifesto{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0;border-top:1px solid}
@media(max-width:800px){.crm-manifesto{grid-template-columns:1fr}}
.crm-manifesto li{display:grid;grid-template-columns:auto 1fr;gap:12px;padding:18px 16px 18px 0;border-bottom:1px solid;border-right:1px solid}
.crm-manifesto li:nth-child(2n){border-right:0;padding-left:16px}
.crm-manifesto__n{font-size:.75rem;font-weight:800}
.crm-manifesto strong{display:block;font-size:1.15rem;margin-bottom:4px}
.crm-manifesto p{margin:0;opacity:.75;font-size:.95rem}

.crm-quote{padding:40px 0;border-block:3px solid}
.crm-quote blockquote{margin:0;font-size:clamp(1.5rem,3vw,2.3rem);font-weight:700;line-height:1.15;max-width:18ch}
.crm-quote cite{display:block;margin-top:12px;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;font-style:normal;opacity:.7}

.crm-sec{padding:56px 0}
.crm-sec__head{margin-bottom:24px;padding-bottom:14px;border-bottom:2px solid}
.crm-sec__head h2{font-size:clamp(1.7rem,3vw,2.4rem);margin:6px 0}
.crm-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media(max-width:900px){.crm-cards{grid-template-columns:1fr}}
.crm-card{display:flex;flex-direction:column;gap:.45rem;padding:20px;border:2px solid;min-height:180px;text-decoration:none!important;transition:.12s}
.crm-card h3{margin:0;font-size:1.15rem}
.crm-card p{margin:0;opacity:.75;flex:1;font-size:.94rem}

.crm-process{display:grid;grid-template-columns:1fr 1fr;border:3px solid;overflow:hidden}
@media(max-width:800px){.crm-process{grid-template-columns:1fr}}
.crm-process__left{padding:32px 28px}
.crm-process__left h2{margin:8px 0 10px;font-size:clamp(1.5rem,3vw,2.1rem)}
.crm-process__step{display:grid;grid-template-columns:48px 1fr;gap:10px;padding:18px 20px;border-bottom:2px solid}
.crm-process__step:last-child{border-bottom:0}
.crm-process__step b{font-size:.85rem}
.crm-process__step h3{margin:0 0 4px;font-size:1.1rem}
.crm-process__step p{margin:0;opacity:.75;font-size:.92rem}

.crm-prices{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media(max-width:900px){.crm-prices{grid-template-columns:1fr}}
.crm-price{border:3px solid;padding:22px;display:flex;flex-direction:column}
.crm-price ul{list-style:none;margin:12px 0 16px;padding:0;flex:1}
.crm-price li{padding:8px 0;border-bottom:1px solid;font-size:.94rem}
.crm-price__amt{font-size:2.2rem;font-weight:800;margin:8px 0}

.crm-finale{padding:64px 0}
.crm-finale h2{font-size:clamp(2rem,5vw,3.4rem);max-width:12ch;margin:0 0 12px;line-height:.95}
.crm-finale p{opacity:.75;max-width:36ch}

.crm-ops-hero{padding:48px 0 36px}
.crm-ops-hero__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:36px;align-items:center}
@media(max-width:960px){.crm-ops-hero__grid{grid-template-columns:1fr}}
.crm-ops-hero h1{font-size:clamp(2.3rem,5vw,3.5rem);margin:12px 0;line-height:1.05}
.crm-ops-hero h1 em{font-style:normal}
.crm-ops{border-radius:24px;padding:18px}
.crm-ops__metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.crm-ops__m{padding:12px;border-radius:14px}
.crm-ops__n{font-size:1.4rem;font-weight:800}
.crm-ops__l{font-size:.72rem;opacity:.65;margin-top:2px}

.crm-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding:20px 22px}
.crm-chip{padding:10px 16px;border-radius:999px;font-weight:700;font-size:.88rem;border:1px solid}

/* ========== SKIN: CIERRE (editorial paper) ========== */
body.wp-theme-cierre{
  --crm-paper:#f4efe6; --crm-ink:#121212; --crm-lime:#c6ff3d; --crm-pink:#ff2e63; --crm-white:#fffdf8; --crm-line:#d9d0c0;
}
body.wp-theme-cierre .crm-btn{border-radius:0;font-family:inherit}
body.wp-theme-cierre .crm-btn--primary{background:var(--crm-lime);color:var(--crm-ink);border-color:var(--crm-ink);box-shadow:4px 4px 0 var(--crm-ink)}
body.wp-theme-cierre .crm-btn--primary:hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 var(--crm-ink);color:var(--crm-ink)}
body.wp-theme-cierre .crm-btn--ghost{border-color:var(--crm-ink);color:var(--crm-ink)}
body.wp-theme-cierre .crm-btn--ghost:hover{background:var(--crm-ink);color:var(--crm-paper)}
body.wp-theme-cierre .crm-btn--ghost-on-dark{border-color:var(--crm-paper);color:var(--crm-paper)}
body.wp-theme-cierre .crm-hl{background:var(--crm-lime)}
body.wp-theme-cierre .crm-hero{border-color:var(--crm-ink);background:var(--crm-paper)}
body.wp-theme-cierre .crm-stamp{border-color:var(--crm-pink);color:var(--crm-pink);background:rgba(255,255,255,.55)}
body.wp-theme-cierre .crm-stats{background:var(--crm-ink);color:var(--crm-paper);border-color:var(--crm-ink)}
body.wp-theme-cierre .crm-stats__cell{border-color:rgba(244,239,230,.15)}
body.wp-theme-cierre .crm-stats__n{color:var(--crm-lime)}
body.wp-theme-cierre .crm-band{background:var(--crm-ink);color:var(--crm-paper)}
body.wp-theme-cierre .crm-band em{color:var(--crm-lime);font-style:normal}
body.wp-theme-cierre .crm-manifesto,.body.wp-theme-cierre .crm-manifesto li{border-color:rgba(244,239,230,.18)}
body.wp-theme-cierre .crm-manifesto{border-color:rgba(244,239,230,.18)}
body.wp-theme-cierre .crm-manifesto li{border-color:rgba(244,239,230,.18)}
body.wp-theme-cierre .crm-manifesto__n{color:var(--crm-lime)}
body.wp-theme-cierre .crm-quote{background:var(--crm-lime);color:var(--crm-ink);border-color:var(--crm-ink)}
body.wp-theme-cierre .crm-sec__head{border-color:var(--crm-ink)}
body.wp-theme-cierre .crm-card{border-color:var(--crm-ink);background:var(--crm-white);color:var(--crm-ink)}
body.wp-theme-cierre .crm-card:hover{background:var(--crm-lime);box-shadow:4px 4px 0 var(--crm-ink);transform:translate(-2px,-2px)}
body.wp-theme-cierre .crm-tag,.body.wp-theme-cierre .crm-go{color:var(--crm-pink)}
body.wp-theme-cierre .crm-go{color:var(--crm-pink)}
body.wp-theme-cierre .crm-process{border-color:var(--crm-ink)}
body.wp-theme-cierre .crm-process__left{background:var(--crm-pink);color:#fff}
body.wp-theme-cierre .crm-process__step{border-color:var(--crm-ink);background:var(--crm-white)}
body.wp-theme-cierre .crm-process__step b{color:var(--crm-pink)}
body.wp-theme-cierre .crm-price{border-color:var(--crm-ink);background:var(--crm-white)}
body.wp-theme-cierre .crm-price--hot{background:var(--crm-ink);color:var(--crm-paper)}
body.wp-theme-cierre .crm-price li{border-color:var(--crm-line)}
body.wp-theme-cierre .crm-finale{background:var(--crm-ink);color:var(--crm-paper);border-top:3px solid var(--crm-lime)}
body.wp-theme-cierre .crm-finale h2 span{color:var(--crm-lime)}
body.wp-theme-cierre .crm-callout{border-color:var(--crm-ink);background:var(--crm-white);box-shadow:4px 4px 0 var(--crm-ink)}
/* Destacado = lima editorial (NO negro: el negro machaca el inicio del post) */
body.wp-theme-cierre .crm-callout--destacado{
  background:var(--crm-lime);color:var(--crm-ink);border-color:var(--crm-ink);box-shadow:5px 5px 0 var(--crm-ink)
}
body.wp-theme-cierre .crm-callout--destacado .crm-callout__b,
body.wp-theme-cierre .crm-callout--destacado .crm-callout__b p{color:var(--crm-ink);opacity:.9}
body.wp-theme-cierre .crm-callout--tip,
body.wp-theme-cierre .crm-callout--lime{background:var(--crm-lime);color:var(--crm-ink)}
body.wp-theme-cierre .crm-callout--nota{background:var(--crm-white);border-left:5px solid var(--crm-pink)}
body.wp-theme-cierre .crm-callout--ink{background:var(--crm-ink);color:var(--crm-paper);box-shadow:5px 5px 0 var(--crm-lime)}
body.wp-theme-cierre .crm-callout--ink .crm-callout__b p{color:rgba(244,239,230,.85)}
body.wp-theme-cierre .crm-callout--resumen{background:var(--crm-white);border-left:5px solid var(--crm-pink);box-shadow:4px 4px 0 var(--crm-ink)}
body.wp-theme-cierre .crm-pasos li,
body.wp-theme-cierre .crm-lista li,
body.wp-theme-cierre .crm-duo>div,
body.wp-theme-cierre .crm-faq details,
body.wp-theme-cierre .crm-related a{border-color:var(--crm-ink);background:var(--crm-white)}
body.wp-theme-cierre .crm-pasos__n{color:var(--crm-pink)}
/* CTA en post: no full-bleed negro opresivo; banda ink con aire */
body.wp-theme-cierre .crm-cta{background:var(--crm-ink);color:var(--crm-paper);border-color:var(--crm-ink);box-shadow:4px 4px 0 var(--crm-lime)}
body.wp-theme-cierre .crm-cta p{color:rgba(244,239,230,.8)}
body.wp-theme-cierre .crm-related a:hover{background:var(--crm-lime)}
body.wp-theme-cierre .crm-faq details[open] summary{background:var(--crm-lime)}

/* ========== SKIN: NORTE (ops navy) ========== */
body.wp-theme-norte{
  --crm-bg:#f5f6fa; --crm-ink:#071428; --crm-blue:#2f6bff; --crm-mint:#3df0c0; --crm-line:#d5dbe8; --crm-white:#fff;
}
body.wp-theme-norte .crm-btn{border-radius:999px}
body.wp-theme-norte .crm-btn--primary{background:var(--crm-blue);color:#fff;border-color:transparent;box-shadow:0 10px 28px rgba(47,107,255,.28)}
body.wp-theme-norte .crm-btn--primary:hover{filter:brightness(1.05);color:#fff}
body.wp-theme-norte .crm-btn--ghost{background:#fff;border-color:var(--crm-line);color:var(--crm-ink)}
body.wp-theme-norte .crm-btn--ghost:hover{border-color:var(--crm-blue);color:var(--crm-blue)}
body.wp-theme-norte .crm-btn--ghost-on-dark{border-color:rgba(255,255,255,.3);color:#fff;background:transparent}
body.wp-theme-norte .crm-pill{background:rgba(47,107,255,.1);color:var(--crm-blue);border:1px solid rgba(47,107,255,.25)}
body.wp-theme-norte .crm-hero{border:0;background:linear-gradient(180deg,#fff,var(--crm-bg));border-radius:0}
body.wp-theme-norte .crm-hero__title em,.body.wp-theme-norte .crm-ops-hero h1 em{color:var(--crm-blue);font-style:normal}
body.wp-theme-norte .crm-ops-hero h1 em{color:var(--crm-blue)}
body.wp-theme-norte .crm-stats{background:var(--crm-ink);color:#fff;border:0;border-radius:20px;margin:0 22px 20px;overflow:hidden}
body.wp-theme-norte .crm-stats__n{color:var(--crm-mint)}
body.wp-theme-norte .crm-stats__cell{border-color:rgba(255,255,255,.1)}
body.wp-theme-norte .crm-band{background:var(--crm-ink);color:#fff;border-radius:24px;margin:20px}
body.wp-theme-norte .crm-band em{color:var(--crm-mint);font-style:normal}
body.wp-theme-norte .crm-manifesto,.body.wp-theme-norte .crm-manifesto li{border-color:rgba(255,255,255,.12)}
body.wp-theme-norte .crm-manifesto{border-color:rgba(255,255,255,.12)}
body.wp-theme-norte .crm-manifesto li{border-color:rgba(255,255,255,.12)}
body.wp-theme-norte .crm-manifesto__n{color:var(--crm-mint)}
body.wp-theme-norte .crm-quote{background:linear-gradient(135deg,var(--crm-blue),#1a4fd6);color:#fff;border:0;border-radius:20px;margin:16px 22px}
body.wp-theme-norte .crm-sec__head{border-color:var(--crm-line)}
body.wp-theme-norte .crm-card{border-color:var(--crm-line);background:#fff;border-radius:20px}
body.wp-theme-norte .crm-card:hover{border-color:var(--crm-blue);box-shadow:0 14px 30px rgba(47,107,255,.12)}
body.wp-theme-norte .crm-tag,.body.wp-theme-norte .crm-go{color:var(--crm-blue)}
body.wp-theme-norte .crm-go{color:var(--crm-blue)}
body.wp-theme-norte .crm-process{border-color:var(--crm-line);border-radius:24px}
body.wp-theme-norte .crm-process__left{background:var(--crm-ink);color:#fff}
body.wp-theme-norte .crm-process__step{border-color:var(--crm-line);background:#fff}
body.wp-theme-norte .crm-process__step b{color:var(--crm-blue)}
body.wp-theme-norte .crm-price{border-color:var(--crm-line);background:#fff;border-radius:22px}
body.wp-theme-norte .crm-price--hot{background:var(--crm-ink);color:#fff;border-color:transparent}
body.wp-theme-norte .crm-price li{border-color:var(--crm-line)}
body.wp-theme-norte .crm-finale{background:linear-gradient(135deg,var(--crm-ink),#12305c);color:#fff}
body.wp-theme-norte .crm-ops{background:var(--crm-ink);color:#fff}
body.wp-theme-norte .crm-ops__m{background:rgba(255,255,255,.06)}
body.wp-theme-norte .crm-ops__n.mint{color:var(--crm-mint)}
body.wp-theme-norte .crm-ops__n.blue{color:#8eb0ff}
body.wp-theme-norte .crm-chips .crm-chip{background:#fff;border-color:var(--crm-line)}
body.wp-theme-norte .crm-callout{border-color:var(--crm-line);background:#fff;border-radius:16px;border-left:4px solid var(--crm-blue)}
body.wp-theme-norte .crm-callout--tip,.body.wp-theme-norte .crm-callout--lime{background:rgba(61,240,192,.12);border-left-color:var(--crm-mint)}
body.wp-theme-norte .crm-callout--destacado,.body.wp-theme-norte .crm-callout--ink{background:var(--crm-ink);color:#fff;border-color:transparent}
body.wp-theme-norte .crm-pasos li,.body.wp-theme-norte .crm-lista li,.body.wp-theme-norte .crm-duo>div,.body.wp-theme-norte .crm-faq details,.body.wp-theme-norte .crm-cta,.body.wp-theme-norte .crm-related a{border-color:var(--crm-line);background:#fff;border-radius:14px}
body.wp-theme-norte .crm-pasos__n{color:var(--crm-blue)}
body.wp-theme-norte .crm-cta{background:var(--crm-ink);color:#fff;border-color:transparent}
body.wp-theme-norte .crm-related a:hover{border-color:var(--crm-blue)}
body.wp-theme-norte .crm-faq details[open] summary{background:rgba(47,107,255,.08)}

/* showroom */
body.crm-showroom .crm-show-block{margin:28px 0;padding:20px;border:1px dashed rgba(0,0,0,.2)}
body.crm-showroom .crm-show-block code{display:block;background:rgba(0,0,0,.05);padding:10px;margin-bottom:12px;font-size:.8rem;overflow:auto}
