/* Cadichon — tema editorial para un cabinet de conseil.
   Se apoya en las variables --w-* de Webs › Diseño; añade --cj-* para el oro y el navy profundo. */
:root {
  --cj-ink: #0d1726; --cj-ink-2: #14233a; --cj-gold: var(--w-accent); --cj-gold-soft: color-mix(in srgb, var(--w-accent) 14%, transparent);
  --cj-shadow: 0 1px 2px rgba(13,23,38,.05), 0 12px 32px -12px rgba(13,23,38,.18);
  --cj-ease: cubic-bezier(.2,.7,.2,1);
}
html { scroll-behavior: smooth; }
.theme-cadichon { font-feature-settings: "ss01", "cv11"; letter-spacing: -.003em; }
.theme-cadichon h1, .theme-cadichon h2, .theme-cadichon h3 { font-weight: 600; letter-spacing: -.015em; }
.theme-cadichon ::selection { background: var(--cj-gold); color: #fff; }
.cj-skip { position: absolute; left: 12px; top: -60px; background: var(--cj-ink); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 200; }
.cj-skip:focus { top: 12px; }
.theme-cadichon .w-main { padding: 0; }
.theme-cadichon :focus-visible { outline: 2px solid var(--cj-gold); outline-offset: 3px; }

/* ───────── Botones ───────── */
.cj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .95rem; letter-spacing: .01em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--cj-ease), background .2s, color .2s, border-color .2s, box-shadow .25s; line-height: 1.1; }
.cj-btn:hover { transform: translateY(-2px); }
.cj-btn-gold { background: var(--cj-gold); color: #fff !important; box-shadow: 0 10px 24px -10px var(--cj-gold); }
.cj-btn-gold:hover { background: color-mix(in srgb, var(--cj-gold) 88%, #000); }
.cj-btn-dark { background: var(--cj-ink); color: #fff !important; }
.cj-btn-dark:hover { background: var(--cj-ink-2); }
.cj-btn-ghost { background: transparent; color: var(--w-text) !important; border-color: color-mix(in srgb, var(--w-text) 28%, transparent); }
.cj-btn-ghost:hover { border-color: var(--cj-gold); color: var(--cj-gold) !important; }
.cj-on-dark .cj-btn-ghost, .cj-hero .cj-btn-ghost { color: #fff !important; border-color: rgba(255,255,255,.35); }
.cj-on-dark .cj-btn-ghost:hover, .cj-hero .cj-btn-ghost:hover { border-color: var(--cj-gold); color: var(--cj-gold) !important; }
.cj-link { color: var(--cj-gold); font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.cj-link:hover i { transform: translateX(4px); } .cj-link i { transition: transform .25s var(--cj-ease); }

/* ───────── Cabecera ───────── */
.cj-header { background: color-mix(in srgb, var(--w-header-bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.cj-header.is-scrolled { border-bottom-color: var(--w-border); box-shadow: 0 8px 28px -18px rgba(13,23,38,.35); }
.cj-header-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.cj-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.cj-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--cj-ink); color: var(--cj-gold); font-family: var(--w-font-heading); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; box-shadow: inset 0 0 0 1.5px var(--cj-gold); flex: none; }
.cj-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.cj-brand-text strong { font-family: var(--w-font-heading); font-size: 1.18rem; font-weight: 700; letter-spacing: .01em; }
.cj-brand-text small { font-size: .68rem; text-transform: uppercase; letter-spacing: .2em; color: var(--w-muted); margin-top: 3px; }
.cj-nav { margin-left: auto; gap: 2px; }
.cj-nav > a, .cj-drop > a { white-space: nowrap; padding: 9px 12px; border-radius: 999px; font-size: .93rem; font-weight: 500; position: relative; display: inline-flex; align-items: center; gap: 5px; }
.cj-nav > a:hover, .cj-drop > a:hover { background: color-mix(in srgb, var(--w-header-text) 6%, transparent); }
.cj-nav > a.is-active, .cj-drop > a.is-active { color: var(--cj-gold); background: transparent; }
.cj-nav > a.is-active::after, .cj-drop > a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--cj-gold); border-radius: 2px; }
.cj-nav-cta { white-space: nowrap; margin-left: 10px; padding: 11px 20px !important; font-size: .88rem !important; }
.cj-nav-cta::after { display: none !important; }
.cj-drop { position: relative; }
.cj-drop-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; background: var(--w-bg); border: 1px solid var(--w-border); border-radius: 14px; padding: 8px; box-shadow: var(--cj-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .22s var(--cj-ease); }
.cj-drop:hover .cj-drop-menu, .cj-drop:focus-within .cj-drop-menu { opacity: 1; visibility: visible; transform: none; }
.cj-drop-menu a { display: block; padding: 10px 14px; border-radius: 9px; font-size: .92rem; color: var(--w-text); }
.cj-drop-menu a:hover, .cj-drop-menu a.is-active { background: var(--cj-gold-soft); color: var(--cj-ink); }
.cj-burger { border-radius: 50%; }

/* ───────── Piezas comunes de página ───────── */
.cj-wrap { width: 100%; max-width: var(--w-container); margin: 0 auto; padding: 0 24px; }
.cj-section { padding: clamp(64px, 9vw, 112px) 0; }
.cj-section.alt { background: var(--w-surface); }
.cj-section.dark, .cj-on-dark { background: var(--cj-ink); color: #dfe3ea; }
.cj-section.dark h2, .cj-section.dark h3, .cj-on-dark h2, .cj-on-dark h3 { color: #fff; }
.cj-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--cj-gold); }
.cj-eyebrow::before { content: ""; width: 32px; height: 1.5px; background: currentColor; }
.cj-center { text-align: center; } .cj-center .cj-eyebrow { justify-content: center; } .cj-center .cj-eyebrow::before { display: none; }
.cj-h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.12; margin: 0 0 18px; }
.cj-lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.7; color: var(--w-muted); max-width: 60ch; }
.cj-center .cj-lead { margin-left: auto; margin-right: auto; }
.cj-on-dark .cj-lead, .cj-section.dark .cj-lead { color: #aeb6c4; }
.cj-head { max-width: 760px; margin-bottom: 52px; } .cj-head.cj-center { margin-left: auto; margin-right: auto; }
.cj-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; } .cj-center .cj-actions { justify-content: center; }

/* Hero */
.cj-hero { position: relative; overflow: hidden; background: var(--cj-ink); color: #fff; padding: clamp(72px, 11vw, 150px) 0 clamp(64px, 9vw, 120px); isolation: isolate; }
.cj-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 480px at 82% 8%, color-mix(in srgb, var(--cj-gold) 30%, transparent), transparent 62%), radial-gradient(700px 500px at 0% 100%, rgba(60,90,150,.35), transparent 60%); }
.cj-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); }
.cj-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.cj-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.04; margin: 0 0 24px; color: #fff; font-weight: 600; }
.cj-hero h1 em { font-style: italic; color: var(--cj-gold); font-weight: 500; }
.cj-hero .cj-lead { color: #b9c1cf; max-width: 54ch; }
.cj-portrait { position: relative; }
.cj-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 220px 220px 18px 18px; display: block; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.cj-portrait::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1.5px solid var(--cj-gold); border-radius: 220px 220px 18px 18px; z-index: -1; opacity: .7; }
.cj-badge { position: absolute; left: -22px; bottom: 34px; background: var(--w-bg); color: var(--cj-ink); padding: 14px 18px; border-radius: 14px; box-shadow: var(--cj-shadow); display: flex; align-items: center; gap: 12px; font-size: .85rem; line-height: 1.3; }
.cj-badge i { font-size: 1.7rem; color: var(--cj-gold); } .cj-badge b { display: block; font-size: .95rem; }
.cj-pagehero { background: var(--cj-ink); color: #fff; padding: clamp(60px, 8vw, 104px) 0 clamp(48px, 6vw, 76px); position: relative; overflow: hidden; isolation: isolate; }
.cj-pagehero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 360px at 85% 0%, color-mix(in srgb, var(--cj-gold) 26%, transparent), transparent 65%); }
.cj-pagehero h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.08; margin: 0 0 16px; color: #fff; max-width: 20ch; }
.cj-pagehero .cj-lead { color: #b9c1cf; }

/* Cifras */
.cj-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--w-border); border-bottom: 1px solid var(--w-border); background: var(--w-bg); }
.cj-stat { padding: 34px 28px; border-left: 1px solid var(--w-border); } .cj-stat:first-child { border-left: 0; }
.cj-stat b { display: block; font-family: var(--w-font-heading); font-size: 2.3rem; line-height: 1; color: var(--cj-ink); } .cj-stat span { display: block; margin-top: 10px; font-size: .82rem; color: var(--w-muted); text-transform: uppercase; letter-spacing: .12em; }

/* Tarjetas / rejillas */
.cj-grid { display: grid; gap: 24px; } .cj-grid-2 { grid-template-columns: repeat(2, 1fr); } .cj-grid-3 { grid-template-columns: repeat(3, 1fr); } .cj-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cj-card { position: relative; background: var(--w-bg); border: 1px solid var(--w-border); border-radius: 18px; padding: 34px 30px; transition: transform .35s var(--cj-ease), box-shadow .35s, border-color .25s; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.cj-card:hover { transform: translateY(-6px); box-shadow: var(--cj-shadow); border-color: color-mix(in srgb, var(--cj-gold) 55%, var(--w-border)); }
.cj-card .cj-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--cj-gold-soft); color: var(--cj-gold); font-size: 1.55rem; margin-bottom: 22px; }
.cj-card h3 { font-size: 1.32rem; margin: 0 0 10px; }
.cj-card p { color: var(--w-muted); margin: 0 0 22px; font-size: .98rem; line-height: 1.65; }
.cj-card .cj-link { margin-top: auto; }
.cj-card.dark { background: var(--cj-ink-2); border-color: rgba(255,255,255,.08); color: #cfd5e0; } .cj-card.dark h3 { color: #fff; } .cj-card.dark p { color: #9aa5b8; }
.cj-num { font-family: var(--w-font-heading); font-size: 3rem; line-height: 1; color: var(--cj-gold); opacity: .9; margin-bottom: 14px; display: block; }
.cj-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; } .cj-split.flip > :first-child { order: 2; }
.cj-split img.cj-photo { width: 100%; border-radius: 18px; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--cj-shadow); display: block; }
.cj-checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.cj-checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; line-height: 1.55; }
.cj-checks li::before { content: "\2713"; width: 24px; height: 24px; border-radius: 50%; background: var(--cj-gold-soft); color: var(--cj-gold); display: grid; place-items: center; font-size: .8rem; font-weight: 800; margin-top: 2px; }
.cj-checks b { color: var(--cj-ink); } .cj-on-dark .cj-checks b, .dark .cj-checks b { color: #fff; }
.cj-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.cj-step { position: relative; padding: 30px 28px 28px; border-top: 2px solid var(--cj-gold); background: var(--w-bg); border-radius: 0 0 16px 16px; box-shadow: 0 1px 0 var(--w-border), 0 0 0 1px var(--w-border) inset; }
.cj-step::before { counter-increment: s; content: "0" counter(s); font-family: var(--w-font-heading); font-size: 2.1rem; color: var(--cj-gold); display: block; margin-bottom: 8px; }
.cj-step h3 { font-size: 1.15rem; margin: 0 0 8px; } .cj-step p { margin: 0; color: var(--w-muted); font-size: .96rem; }
.cj-quote { max-width: 860px; margin: 0 auto; text-align: center; }
.cj-quote blockquote { margin: 0; font-family: var(--w-font-heading); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.3; font-style: italic; font-weight: 500; }
.cj-quote blockquote::before { content: "\201C"; display: block; font-size: 4.5rem; line-height: .6; color: var(--cj-gold); margin-bottom: 14px; }
.cj-quote cite { display: block; margin-top: 22px; font-style: normal; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cj-gold); }
.cj-cta-band { background: linear-gradient(135deg, var(--cj-ink) 0%, var(--cj-ink-2) 100%); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cj-cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; background: radial-gradient(circle, color-mix(in srgb, var(--cj-gold) 40%, transparent), transparent 70%); }
.cj-cta-band > * { position: relative; } .cj-cta-band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.3rem); } .cj-cta-band p { margin: 0; color: #b9c1cf; max-width: 52ch; }
.cj-price { background: var(--w-bg); border: 1px solid var(--w-border); border-radius: 22px; padding: 38px 34px; box-shadow: var(--cj-shadow); }
.cj-price .amount { font-family: var(--w-font-heading); font-size: 3.6rem; line-height: 1; color: var(--cj-ink); } .cj-price .amount small { font-size: 1rem; color: var(--w-muted); font-family: var(--w-font-body); }
.cj-note { font-size: .84rem; color: var(--w-muted); display: flex; gap: 8px; align-items: center; margin-top: 16px; }
.cj-book { max-width: 360px; margin: 0 auto; position: relative; } .cj-book img { width: 100%; border-radius: 6px 12px 12px 6px; box-shadow: -14px 24px 50px -12px rgba(13,23,38,.55), inset 6px 0 8px rgba(255,255,255,.15); display: block; transform: rotate(-2.5deg); transition: transform .5s var(--cj-ease); } .cj-book:hover img { transform: rotate(0) scale(1.02); }
.cj-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cj-contact-list a { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--w-border); border-radius: 16px; text-decoration: none; color: inherit; background: var(--w-bg); transition: .25s var(--cj-ease); }
.cj-contact-list a:hover { border-color: var(--cj-gold); transform: translateX(4px); box-shadow: var(--cj-shadow); }
.cj-contact-list i { width: 52px; height: 52px; display: grid; place-items: center; background: var(--cj-gold-soft); color: var(--cj-gold); border-radius: 14px; font-size: 1.5rem; }
.cj-contact-list small { display: block; color: var(--w-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; } .cj-contact-list b { font-size: 1.05rem; }

/* Entradas destacadas en la portada */
.cj-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; border-radius: 22px; overflow: hidden; background: var(--w-bg); border: 1px solid var(--w-border); text-decoration: none; color: inherit; transition: .35s var(--cj-ease); }
.cj-feature:hover { box-shadow: var(--cj-shadow); transform: translateY(-4px); }
.cj-feature img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }
.cj-feature-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.cj-feature-body h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.2; margin: 6px 0 14px; } .cj-feature-body p { color: var(--w-muted); margin: 0 0 20px; }

/* ───────── Blog (vistas del plugin, reestilizadas) ───────── */
.ctx-blog .w-main > .w-container:first-child { padding-top: 0; }
.ctx-blog .w-pagehead { text-align: left; background: var(--cj-ink); color: #fff; margin: 0 calc(50% - 50vw) 40px; padding: clamp(56px, 8vw, 100px) max(24px, calc(50vw - var(--w-container) / 2 + 24px)) clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.ctx-blog .w-pagehead::before { content: "ANALYSES"; display: block; font-size: .74rem; font-weight: 700; letter-spacing: .24em; color: var(--cj-gold); margin-bottom: 16px; }
.ctx-blog .w-pagehead::after { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -260px; background: radial-gradient(circle, color-mix(in srgb, var(--cj-gold) 28%, transparent), transparent 65%); pointer-events: none; }
.ctx-blog .w-pagehead h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); color: #fff; margin: 0 0 10px; } .ctx-blog .w-pagehead p { color: #aeb6c4; max-width: 62ch; font-size: 1.08rem; }
.theme-cadichon .w-toolbar { margin-bottom: 30px; }
.theme-cadichon .w-chip { padding: 8px 17px; font-size: .88rem; font-weight: 500; transition: .2s; }
.theme-cadichon .w-chip:hover { border-color: var(--cj-gold); color: var(--cj-gold); } .theme-cadichon .w-chip.is-current { background: var(--cj-ink); border-color: var(--cj-ink); color: #fff; }
.theme-cadichon .w-search { border-radius: 999px; padding-left: 6px; } .theme-cadichon .w-search button { background: transparent; }
.theme-cadichon .w-grid-3 { gap: 28px; }
.theme-cadichon .w-post-card { border-radius: 18px; border-color: var(--w-border); background: var(--w-bg); }
.theme-cadichon .w-post-card:hover { transform: translateY(-6px); box-shadow: var(--cj-shadow); border-color: color-mix(in srgb, var(--cj-gold) 50%, var(--w-border)); }
.theme-cadichon .w-card-media { aspect-ratio: 16 / 10; border-radius: 0; }
.theme-cadichon .w-card-media img { transition: transform .8s var(--cj-ease); } .theme-cadichon .w-post-card:hover .w-card-media img { transform: scale(1.05); }
.theme-cadichon .w-card-body { padding: 22px 24px 26px; gap: 8px; }
.theme-cadichon .w-post-card .w-meta { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--w-muted); margin: 0; }
.theme-cadichon .w-post-card .w-meta a { color: var(--cj-gold); text-decoration: none; }
.theme-cadichon .w-card-title { font-size: 1.28rem; line-height: 1.28; font-family: var(--w-font-heading); }
.theme-cadichon .w-card-text { font-size: .95rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.theme-cadichon .w-more { margin-top: auto; padding-top: 8px; color: var(--cj-gold); font-weight: 600; text-decoration: none; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }
.theme-cadichon .w-pager-link { border-radius: 999px; }
.theme-cadichon .w-pager-link.is-current { background: var(--cj-ink); border-color: var(--cj-ink); }
.ctx-blog .w-main > .w-container:not(.w-narrow):not(.w-related) { padding-bottom: 80px; }

/* Artículo */
.w-article { padding-top: 12px; }
.w-article-head { text-align: center; padding: clamp(32px, 5vw, 60px) 0 28px; }
.w-article-head .w-meta { text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 600; } .w-article-head .w-meta a { color: var(--cj-gold); text-decoration: none; }
.w-article-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.12; max-width: 24ch; margin: 14px auto 18px; }
.w-article-head .w-lead { font-family: var(--w-font-heading); font-style: italic; font-size: 1.25rem; line-height: 1.55; max-width: 56ch; margin: 0 auto; }
.w-article-cover { width: calc(100% + 2 * clamp(0px, 8vw, 150px)); max-width: none; margin: 8px calc(-1 * clamp(0px, 8vw, 150px)) 40px !important; border-radius: 20px !important; aspect-ratio: 16/9; object-fit: cover; box-shadow: var(--cj-shadow); }
.ctx-blog .w-narrow { max-width: 760px; }
.theme-cadichon .w-article .w-prose { font-size: 1.14rem; line-height: 1.85; color: color-mix(in srgb, var(--w-text) 92%, #fff); }
.theme-cadichon .w-prose > p:first-child::first-letter { font-family: var(--w-font-heading); float: left; font-size: 4.3rem; line-height: .82; padding: 8px 12px 0 0; color: var(--cj-gold); font-weight: 700; }
.theme-cadichon .w-prose p { margin: 0 0 1.35em; }
.theme-cadichon .w-prose h2 { font-size: 1.85rem; line-height: 1.22; margin: 2.2em 0 .6em; padding-top: .9em; border-top: 1px solid var(--w-border); }
.theme-cadichon .w-prose h3 { font-size: 1.35rem; margin: 1.8em 0 .5em; } .theme-cadichon .w-prose h4 { font-size: 1.1rem; margin: 1.6em 0 .4em; }
.theme-cadichon .w-prose a { color: var(--cj-gold); text-underline-offset: 3px; text-decoration-thickness: 1px; } .theme-cadichon .w-prose a:hover { text-decoration-thickness: 2px; }
.theme-cadichon .w-prose ul, .theme-cadichon .w-prose ol { padding-left: 1.3em; margin: 0 0 1.5em; } .theme-cadichon .w-prose li { margin-bottom: .55em; padding-left: .25em; } .theme-cadichon .w-prose li::marker { color: var(--cj-gold); font-weight: 700; }
.theme-cadichon .w-prose blockquote { margin: 2em 0; padding: 6px 0 6px 28px; border-left: 3px solid var(--cj-gold); font-family: var(--w-font-heading); font-size: 1.4rem; line-height: 1.5; font-style: italic; color: var(--cj-ink); }
.theme-cadichon .w-prose blockquote p { margin: 0; }
.theme-cadichon .w-prose img { border-radius: 14px; display: block; margin: 2em auto; }
.theme-cadichon .w-prose figure { margin: 2.2em 0; } .theme-cadichon .w-prose figcaption, .cj-caption { text-align: center; font-size: .85rem; color: var(--w-muted); margin-top: 10px; }
.theme-cadichon .w-prose hr { border: 0; height: 1px; background: var(--w-border); margin: 3em auto; max-width: 120px; }
.theme-cadichon .w-prose table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: .95rem; } .theme-cadichon .w-prose th, .theme-cadichon .w-prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--w-border); } .theme-cadichon .w-prose th { background: var(--w-surface); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.cj-embed { position: relative; aspect-ratio: 16/9; margin: 2.2em 0; border-radius: 16px; overflow: hidden; background: #000; box-shadow: var(--cj-shadow); } .cj-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cj-note-box { margin: 2em 0; padding: 22px 26px; background: var(--cj-gold-soft); border-left: 3px solid var(--cj-gold); border-radius: 0 14px 14px 0; font-size: 1.02rem; line-height: 1.7; } .cj-note-box p:last-child { margin-bottom: 0; }
.cj-cta-box { margin: 3em 0 1em; padding: 32px; border-radius: 20px; background: var(--cj-ink); color: #cfd5e0; text-align: center; } .cj-cta-box p { margin: 0 0 16px; color: inherit; } .cj-cta-box .cj-btn { margin-top: 6px; }
.theme-cadichon .w-prose .cj-btn { color: #fff; text-decoration: none; }
.w-back { margin-top: 44px; } .w-back a { color: var(--w-muted); font-weight: 500; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; } .w-back a:hover { color: var(--cj-gold); }
.w-related { padding-top: 40px; padding-bottom: 90px; } .w-related > h2 { font-size: 1.7rem; padding-top: 40px; border-top: 1px solid var(--w-border); margin-bottom: 26px; }
.cj-author { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: center; margin-top: 56px; padding: 26px; border: 1px solid var(--w-border); border-radius: 18px; background: var(--w-surface); }
.cj-author .cj-mark { width: 72px; height: 72px; font-size: 1.5rem; } .cj-author p { margin: 0; font-size: .95rem; color: var(--w-muted); line-height: 1.6; } .cj-author b { display: block; font-family: var(--w-font-heading); font-size: 1.15rem; color: var(--w-text); margin-bottom: 4px; }
.cj-textpage { padding-top: 64px; padding-bottom: 80px; }

/* ───────── Pie ───────── */
.cj-footer { padding: 0; background: var(--cj-ink); position: relative; }
.cj-foot-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 64px 0 52px; border-bottom: 1px solid rgba(255,255,255,.1); }
.cj-foot-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin: 0; max-width: 20ch; line-height: 1.15; }
.cj-foot-cols { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; padding: 52px 0 40px; }
.cj-footer .cj-brand { color: #fff; } .cj-footer .cj-brand-text small { color: #8791a3; }
.cj-foot-brand p { color: #98a2b3; margin: 20px 0 0; max-width: 40ch; font-size: .95rem; line-height: 1.7; }
.cj-footer h3 { color: #fff; opacity: 1; font-size: .74rem; letter-spacing: .22em; margin-bottom: 18px; font-family: var(--w-font-body); }
.cj-footer ul { gap: 11px; } .cj-footer li a { opacity: .78; font-size: .95rem; } .cj-footer li a:hover { opacity: 1; color: var(--cj-gold); text-decoration: none; }
.cj-foot-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: #b9c1cf; } .cj-foot-contact i { color: var(--cj-gold); font-size: 1.15rem; margin-top: 2px; }
.cj-footer .w-social a { border-color: rgba(255,255,255,.2); } .cj-footer .w-social a:hover { background: var(--cj-gold); border-color: var(--cj-gold); color: #fff; }
.cj-copy { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0; padding: 24px 0 32px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #7f8aa0; opacity: 1; }

/* Aparición suave */
.cj-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--cj-ease), transform .8s var(--cj-ease); }
.cj-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .cj-reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } * { transition-duration: .01ms !important; } }

/* ───────── Responsive ───────── */
@media (max-width: 1160px) { .cj-nav > a, .cj-drop > a { padding: 9px 9px; font-size: .9rem; } .cj-header-in { gap: 16px; } .cj-brand-text small { display: none; } }
@media (max-width: 1020px) {
  .cj-grid-3, .cj-grid-4, .cj-steps { grid-template-columns: repeat(2, 1fr); }
  .cj-stats { grid-template-columns: repeat(2, 1fr); } .cj-stat:nth-child(3) { border-left: 0; } .cj-stat:nth-child(n+3) { border-top: 1px solid var(--w-border); }
  .cj-hero-grid, .cj-split, .cj-feature { grid-template-columns: 1fr; } .cj-split.flip > :first-child { order: 0; }
  .cj-portrait { max-width: 380px; margin: 10px auto 0; } .cj-badge { left: 0; }
  .theme-cadichon .w-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cj-foot-cols { grid-template-columns: 1fr 1fr; } .cj-foot-brand { grid-column: 1 / -1; }
  .w-article-cover { width: 100%; margin: 8px 0 32px !important; }
}
@media (max-width: 880px) {
  .cj-header-in { min-height: 68px; } .cj-burger { display: inline-grid; place-items: center; margin-left: auto; }
  .cj-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--w-bg); border-bottom: 1px solid var(--w-border); padding: 12px 20px 22px; margin: 0; box-shadow: 0 24px 40px -20px rgba(13,23,38,.3); }
  .cj-header.nav-open .cj-nav { display: flex; }
  .cj-nav > a, .cj-drop > a { padding: 13px 10px; border-radius: 10px; } .cj-nav > a.is-active::after, .cj-drop > a.is-active::after { display: none; }
  .cj-drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 4px 14px; background: transparent; } .cj-drop > a .ph-caret-down { display: none; }
  .cj-nav-cta { margin: 10px 0 0; justify-content: center; padding: 14px 20px !important; }
}
@media (max-width: 640px) {
  .cj-grid-2, .cj-grid-3, .cj-grid-4, .cj-steps, .theme-cadichon .w-grid-3 { grid-template-columns: 1fr; }
  .cj-brand-text small { display: none; } .cj-foot-cols { grid-template-columns: 1fr; gap: 34px; }
  .cj-stat { padding: 24px 18px; } .cj-stat b { font-size: 1.8rem; }
  .cj-cta-band { text-align: left; } .cj-author { grid-template-columns: 1fr; }
  .theme-cadichon .w-prose > p:first-child::first-letter { font-size: 3.4rem; }
  .theme-cadichon .w-article .w-prose { font-size: 1.07rem; }
  .cj-wrap { padding: 0 20px; } .cj-hero .cj-actions .cj-btn, .cj-pagehero .cj-actions .cj-btn { width: 100%; }
}

/* Entradas sin imagen: bloque navy con el oro de la marca */
.theme-cadichon .w-card-ph { background: radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--cj-gold) 35%, transparent), transparent 60%), var(--cj-ink); color: var(--cj-gold); }

.cj-price .cj-checks b, .cj-section.dark .cj-price .cj-checks b { color: var(--cj-ink); }
.cj-footer { border-top: 3px solid var(--cj-gold); }
.ctx-page .cj-foot-cols { padding-top: 64px; }
