/* ============================================================
   BuscasTrabajo CV — Design System (port del handoff hi-fi)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --blue-900: #071633; --blue-800: #0b2350; --blue-700: #103174;
  --blue-600: #1846b0; --blue-500: #2358d6; --blue-400: #4d7df0;
  --blue-200: #b9cdf7; --blue-100: #e4edfd; --blue-50: #f2f6fe;
  --gold-600: #c98a06; --gold-500: #f2b705; --gold-400: #ffc828;
  --gold-200: #ffe6a0; --gold-50: #fff8e6;
  --ink: #0d1830; --ink-soft: #2b3754; --slate: #56627d; --slate-2: #7c87a1;
  --line: #e6e9f2; --line-2: #eef1f8; --paper: #fbfaf8; --paper-2: #f5f6fb; --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(13,24,48,.06), 0 1px 3px rgba(13,24,48,.05);
  --shadow: 0 4px 14px rgba(13,24,48,.07), 0 2px 6px rgba(13,24,48,.05);
  --shadow-lg: 0 18px 48px rgba(11,35,80,.14), 0 6px 18px rgba(13,24,48,.07);
  --shadow-blue: 0 16px 40px rgba(35,88,214,.28);
  --shadow-gold: 0 10px 26px rgba(242,183,5,.32);
  --r-sm: 8px; --r: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --maxw: 1180px; --gut: clamp(20px, 5vw, 40px);
  --serif: 'Schibsted Grotesk', system-ui, sans-serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--sans); color: var(--ink-soft); background: var(--paper); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5 { font-family: var(--serif); color: var(--ink); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; margin: 0; }
p { margin: 0; }
input, select, textarea { font: inherit; }
::selection { background: var(--gold-200); color: var(--ink); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.eyebrow { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-500); display: inline-flex; align-items: center; gap: 9px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--gold-500); }
.eyebrow--center { justify-content: center; }
.h-sec { font-size: clamp(30px, 4.4vw, 46px); margin-top: 14px; letter-spacing: -0.028em; }
.sub-sec { color: var(--slate); font-size: clamp(16px, 1.6vw, 19px); max-width: 62ch; margin-top: 14px; }
.head-center { text-align: center; }
.head-center .sub-sec { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--sans); font-weight: 700; font-size: 16px; padding: 14px 24px; border-radius: var(--r-pill); transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; white-space: nowrap; line-height: 1; }
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: var(--gold-500); color: var(--ink); box-shadow: var(--shadow-gold); }
.btn--gold:hover { background: var(--gold-400); transform: translateY(-2px); color: var(--ink); }
.btn--blue { background: var(--blue-500); color: #fff; box-shadow: var(--shadow-blue); }
.btn--blue:hover { background: var(--blue-600); transform: translateY(-2px); color: #fff; }
.btn--ghost { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); color: #fff; }
.btn--outline { background: #fff; color: var(--blue-600); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--blue-200); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 14.5px; }
.btn--lg { padding: 17px 30px; font-size: 17px; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--blue-600); font-size: 15px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,250,248,.82); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 800; color: var(--ink); font-size: 19px; letter-spacing: -0.02em; }
.brand__mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(150deg, var(--blue-500), var(--blue-700)); display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 17px; box-shadow: var(--shadow-sm); position: relative; }
.brand__mark::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border-radius: 5px; background: var(--gold-500); border: 2.5px solid var(--paper); }
.brand small { color: var(--blue-500); font-weight: 800; font-size: inherit; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.nav__links a { font-weight: 600; font-size: 15px; color: var(--ink-soft); padding: 9px 13px; border-radius: var(--r-sm); transition: background .15s ease, color .15s ease; }
.nav__links a:hover { background: var(--blue-50); color: var(--blue-600); }
.nav__links a.is-active { color: var(--blue-600); background: var(--blue-50); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; color: var(--ink); }
.nav__toggle svg { width: 26px; height: 26px; }
.mobile-menu { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #c3cee6; padding-block: 64px 30px; }
.site-footer a { color: #c3cee6; transition: color .15s ease; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: #8497bd; margin-top: 16px; max-width: 30ch; font-size: 15px; }
.footer-col h4 { color: #fff; font-size: 15px; font-family: var(--sans); font-weight: 700; letter-spacing: .02em; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 15px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: #7185a8; }
.footer-bottom a { color: #7185a8; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 26px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Template card ---------- */
.tpl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.tpl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.tpl-card__thumb { position: relative; aspect-ratio: 1 / 1.16; background: var(--paper-2); padding: 18px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line-2); }
.tpl-card__badge { position: absolute; top: 14px; left: 14px; z-index: 3; background: var(--gold-500); color: var(--ink); font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--r-pill); }
.tpl-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tpl-card__cat { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-500); }
.tpl-card__title { font-size: 19px; font-weight: 800; color: var(--ink); font-family: var(--serif); }
.tpl-card__desc { font-size: 14.5px; color: var(--slate); flex: 1; }
.tpl-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.tpl-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tpl-tag { font-size: 12px; font-weight: 600; color: var(--slate); background: var(--paper-2); border: 1px solid var(--line); padding: 4px 9px; border-radius: var(--r-pill); }

/* ---------- CV preview (CSS puro) ---------- */
.cv { --accent: var(--blue-500); --accent-soft: var(--blue-100); width: 100%; max-width: 230px; aspect-ratio: 1 / 1.414; background: #fff; border-radius: 5px; box-shadow: 0 10px 30px rgba(13,24,48,.16), 0 2px 8px rgba(13,24,48,.08); overflow: hidden; font-family: var(--sans); transition: transform .25s ease; container-type: inline-size; }
.tpl-card:hover .cv { transform: translateY(-2px) scale(1.015); }
.cv * { box-sizing: border-box; }
.cv .bar { height: 3.2px; border-radius: 2px; background: #d7dbe6; }
.cv .bar.s { width: 40%; } .cv .bar.m { width: 65%; } .cv .bar.l { width: 88%; } .cv .bar.xl { width: 100%; }
.cv .bars { display: flex; flex-direction: column; gap: 4px; }
.cv .h { font-weight: 800; color: var(--accent); letter-spacing: .04em; text-transform: uppercase; font-size: 5.3cqw; margin-bottom: 4px; }
.cv .pad { padding: 7%; }
.cv--ats .name { font-family: var(--serif); font-weight: 800; color: var(--ink); font-size: 8.2cqw; letter-spacing: -.01em; }
.cv--ats .role { color: var(--accent); font-weight: 700; font-size: 4.6cqw; margin-top: 2px; }
.cv--ats .rule { height: 2px; background: var(--accent); margin: 6% 0 6%; border-radius: 2px; }
.cv--ats .block { margin-bottom: 7%; }
.cv--ats .meta { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 4px; }
.cv--ats .chip { height: 6px; width: 22%; border-radius: 3px; background: var(--accent-soft); }
.cv--side { display: grid; grid-template-columns: 38% 62%; }
.cv--side .side { background: var(--accent); padding: 8% 7%; color: #fff; }
.cv--side .side .avatar { width: 60%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.22); margin: 0 auto 8%; }
.cv--side .side .h { color: rgba(255,255,255,.95); font-size: 5cqw; }
.cv--side .side .bar { background: rgba(255,255,255,.42); }
.cv--side .side .block { margin-bottom: 9%; }
.cv--side .main { padding: 8% 7%; }
.cv--side .main .name { font-family: var(--serif); font-weight: 800; color: var(--ink); font-size: 7cqw; line-height: 1; }
.cv--side .main .role { color: var(--accent); font-weight: 700; font-size: 4cqw; margin: 2px 0 7%; }
.cv--side .main .block { margin-bottom: 7%; }
.cv--band .band { background: var(--accent); color: #fff; padding: 9% 7% 8%; }
.cv--band .band .name { font-family: var(--serif); font-weight: 800; font-size: 8cqw; }
.cv--band .band .role { font-weight: 600; font-size: 4.4cqw; opacity: .9; margin-top: 2px; }
.cv--band .band .dots { display: flex; gap: 5px; margin-top: 6%; }
.cv--band .band .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); }
.cv--band .body { padding: 7%; }
.cv--band .body .h { font-size: 5cqw; }
.cv--band .body .block { margin-bottom: 7%; }
.cv--band .body .two { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; }
.cv--min .top { text-align: center; padding-bottom: 6%; border-bottom: 1px solid #e3e6ef; margin-bottom: 7%; }
.cv--min .name { font-family: var(--serif); font-weight: 800; color: var(--ink); font-size: 8cqw; letter-spacing: .02em; }
.cv--min .role { color: var(--slate); font-weight: 600; font-size: 4.2cqw; letter-spacing: .18em; text-transform: uppercase; margin-top: 3px; }
.cv--min .h { color: var(--ink); font-size: 5cqw; border-bottom: 1px solid var(--accent); padding-bottom: 3px; display: inline-block; }
.cv--min .block { margin-bottom: 7%; }
.cv.theme-blue { --accent: #2358d6; --accent-soft: #d7e2fb; }
.cv.theme-navy { --accent: #0b2350; --accent-soft: #ccd6ea; }
.cv.theme-emerald { --accent: #0a7d5a; --accent-soft: #c6ecdf; }
.cv.theme-graphite { --accent: #2b3242; --accent-soft: #d6d9e2; }
.cv.theme-gold { --accent: #b8870a; --accent-soft: #f6e6bc; }
.cv.theme-plum { --accent: #6a2c91; --accent-soft: #e6d4f1; }
.cv.theme-teal { --accent: #0d6e7a; --accent-soft: #c9e9ec; }

/* ---------- Email capture ---------- */
.capture { background: radial-gradient(900px 400px at 100% 0%, rgba(35,88,214,.5), transparent 60%), linear-gradient(135deg, var(--blue-800), var(--blue-900)); border-radius: var(--r-xl); color: #fff; overflow: hidden; position: relative; box-shadow: var(--shadow-lg); }
.capture::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 0% 100%, rgba(242,183,5,.18), transparent 55%); pointer-events: none; }
.capture__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; position: relative; z-index: 1; }
.capture__left { padding: clamp(32px, 4vw, 56px); }
.capture__left .eyebrow { color: var(--gold-400); }
.capture__left .eyebrow::before { background: var(--gold-400); }
.capture__left h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); margin-top: 14px; }
.capture__left p { color: #b9cdf7; margin-top: 12px; }
.capture__list { display: grid; gap: 12px; margin-top: 24px; }
.capture__list li { display: flex; align-items: flex-start; gap: 11px; color: #e4edfd; font-weight: 500; }
.capture__list .ck { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-500); color: var(--ink); display: grid; place-items: center; font-size: 12px; font-weight: 900; margin-top: 2px; }
.capture__list .ck svg { width: 13px; height: 13px; }
.capture__right { padding: clamp(28px, 3.4vw, 44px); background: rgba(255,255,255,.04); border-left: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; justify-content: center; }
.form-card { background: #fff; border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-lg); }
.form-card h3 { color: var(--ink); font-size: 20px; }
.form-card p.note { color: var(--slate); font-size: 13.5px; margin-top: 6px; }
.field { display: block; margin-top: 14px; }
.field .lbl { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.input, .select { width: 100%; padding: 13px 15px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font-size: 15px; transition: border-color .15s ease, box-shadow .15s ease; }
.input:focus, .select:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 4px var(--blue-100); background: #fff; }
.consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 14px; font-size: 12.5px; color: var(--slate); }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--blue-500); }
.form-card .btn { width: 100%; margin-top: 16px; }
.form-foot { font-size: 12px; color: var(--slate-2); margin-top: 12px; text-align: center; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; position: relative; box-shadow: var(--shadow-sm); }
.step__num { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); font-family: var(--serif); font-weight: 800; font-size: 20px; margin-bottom: 16px; border: 1px solid var(--blue-100); }
.step h3 { font-size: 20px; }
.step p { color: var(--slate); margin-top: 8px; font-size: 15.5px; }

/* ---------- Cat cards ---------- */
.cat-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.cat-card__ic { flex: none; width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.cat-card__ic svg { width: 26px; height: 26px; }
.cat-card h3 { font-size: 17px; }
.cat-card p { font-size: 13.5px; color: var(--slate); margin-top: 2px; }
.cat-card .n { margin-left: auto; font-weight: 800; color: var(--slate-2); font-size: 14px; font-family: var(--serif); }

/* ---------- Guide cards ---------- */
.guide-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.guide-card__media { aspect-ratio: 16/10; position: relative; display: grid; place-items: center; overflow: hidden; }
.guide-card__body { padding: 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.guide-card__kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--blue-500); }
.guide-card h3 { font-size: 20px; line-height: 1.18; }
.guide-card p { color: var(--slate); font-size: 14.5px; flex: 1; }
.guide-card__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--slate-2); margin-top: 4px; }
.guide-card__meta svg { width: 15px; height: 15px; }
.media-grad-1 { background: linear-gradient(135deg, #1846b0, #2358d6 60%, #4d7df0); }
.media-grad-2 { background: linear-gradient(135deg, #0b2350, #103174); }
.media-grad-3 { background: linear-gradient(135deg, #103174, #2358d6); }
.media-grad-4 { background: linear-gradient(135deg, #1846b0, #6a2c91); }
.media-pattern { position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(255,255,255,.25) 1px, transparent 1.4px); background-size: 16px 16px; }
.media-ic { position: relative; z-index: 1; color: rgba(255,255,255,.92); }
.media-ic svg { width: 48px; height: 48px; }

/* ---------- Country chips ---------- */
.country-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.country-chip { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 9px 16px 9px 12px; font-weight: 600; font-size: 14.5px; color: var(--ink-soft); transition: transform .16s ease, box-shadow .16s ease, border-color .16s; }
.country-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--blue-200); color: var(--blue-600); }
.country-chip img { border-radius: 3px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s; }
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: 17.5px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ic { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; transition: transform .2s, background .2s; font-size: 18px; font-weight: 700; }
.faq__item[open] summary .ic { transform: rotate(45deg); background: var(--blue-500); color: #fff; }
.faq__item .ans { padding: 0 24px 22px; color: var(--slate); font-size: 15.5px; }

/* ---------- Ads ---------- */
.ad-slot { max-width: var(--maxw); margin-inline: auto; min-height: 100px; border: 1px dashed var(--line); border-radius: var(--r); background: var(--paper-2); display: grid; place-items: center; color: var(--slate-2); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.ad-rail { position: sticky; top: 92px; }

/* ---------- Trust / stats / crumbs ---------- */
.trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; }
.trust__item { display: inline-flex; align-items: center; gap: 9px; color: var(--slate); font-weight: 600; font-size: 14.5px; }
.trust__item svg { width: 18px; height: 18px; color: var(--blue-500); }
.stat-row { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.stat b { display: block; font-family: var(--serif); font-weight: 800; font-size: clamp(24px, 3vw, 34px); color: var(--ink); letter-spacing: -.02em; }
.stat span { font-size: 13.5px; color: var(--slate); font-weight: 500; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--slate-2); font-weight: 600; flex-wrap: wrap; }
.crumb a:hover { color: var(--blue-600); }
.crumb svg { width: 14px; height: 14px; opacity: .6; }

/* ---------- Prose ---------- */
.prose { max-width: 720px; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: 28px; margin-top: 44px; }
.prose h3 { font-size: 21px; margin-top: 32px; }
.prose p { color: var(--ink-soft); font-size: 17.5px; line-height: 1.72; }
.prose ul { display: grid; gap: 12px; }
.prose ul li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.prose ul li::before { content: ""; position: absolute; left: 6px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
.prose ol { padding-left: 22px; display: grid; gap: 10px; color: var(--ink-soft); }
.prose blockquote { border-left: 4px solid var(--blue-500); background: var(--blue-50); padding: 18px 24px; border-radius: 0 var(--r) var(--r) 0; font-size: 18px; color: var(--ink); font-weight: 500; margin: 20px 0 0; }
.prose a { color: var(--blue-600); font-weight: 600; }
.callout { background: var(--gold-50); border: 1px solid var(--gold-200); border-radius: var(--r); padding: 20px 24px; display: flex; gap: 14px; }
.callout .ic { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--gold-500); color: var(--ink); display: grid; place-items: center; font-weight: 900; }
.callout p { font-size: 15.5px; color: var(--ink-soft); }

/* ---------- Tabs ---------- */
.pill-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-tab { padding: 9px 18px; border-radius: var(--r-pill); font-weight: 600; font-size: 14.5px; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); transition: all .15s ease; display: inline-flex; align-items: center; gap: 7px; }
.pill-tab:hover { border-color: var(--blue-200); color: var(--blue-600); }
.pill-tab.is-active { background: var(--blue-500); color: #fff; border-color: var(--blue-500); }
.pill-tab img { border-radius: 2px; }

/* ============================================================
   PÁGINAS
   ============================================================ */

/* Home hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 520px at 78% -10%, rgba(77,125,240,.55), transparent 60%), radial-gradient(800px 600px at -5% 110%, rgba(242,183,5,.12), transparent 55%), linear-gradient(160deg, var(--blue-800) 0%, var(--blue-900) 75%); color: #fff; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.hero__tag { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 7px 15px 7px 11px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 600; color: #e4edfd; }
.hero__tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px rgba(242,183,5,.25); }
.hero h1 { color: #fff; font-size: clamp(38px, 6vw, 66px); line-height: 1.02; margin-top: 22px; letter-spacing: -0.035em; }
.hero h1 .accent { color: var(--gold-400); }
.hero p.lede { color: #c3d3f5; font-size: clamp(17px, 1.8vw, 20px); margin-top: 20px; max-width: 48ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 32px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.13); }
.hero__trust .ti { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: #c3d3f5; font-weight: 500; }
.hero__trust .ti b { color: #fff; font-family: var(--serif); }
.hero__art { position: relative; height: 100%; min-height: 420px; display: grid; place-items: center; }
.cv-fan { position: relative; width: min(420px, 90%); aspect-ratio: 1; }
.cv-fan .cv { position: absolute; max-width: 210px; }
.cv-fan .cv:nth-child(1) { left: 4%; top: 12%; transform: rotate(-9deg); z-index: 1; }
.cv-fan .cv:nth-child(2) { left: 26%; top: 0; transform: rotate(0deg); z-index: 3; box-shadow: 0 26px 60px rgba(0,0,0,.35); }
.cv-fan .cv:nth-child(3) { left: 50%; top: 14%; transform: rotate(8deg); z-index: 2; }
.cv-fan__badge { position: absolute; z-index: 4; bottom: 6%; left: 50%; transform: translateX(-50%); background: #fff; color: var(--ink); border-radius: var(--r-pill); padding: 11px 18px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); font-weight: 700; font-size: 14px; white-space: nowrap; }
.cv-fan__badge .ic { width: 30px; height: 30px; border-radius: 50%; background: var(--gold-500); color: var(--ink); display: grid; place-items: center; font-weight: 900; }
.cv-fan__badge .ic svg { width: 18px; height: 18px; }
.feat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.feat-head .link-arrow { margin-bottom: 6px; }

/* Page head */
.page-head { background: linear-gradient(160deg, var(--blue-800), var(--blue-900)); color: #fff; padding-block: clamp(40px,6vw,72px); }
.page-head .crumb, .page-head .crumb a { color: #a9bce4; }
.page-head h1 { color: #fff; font-size: clamp(32px,5vw,52px); margin-top: 16px; }
.page-head p { color: #bcceef; font-size: clamp(16px,1.7vw,19px); max-width: 60ch; margin-top: 14px; }
.page-head .stat-row { margin-top: 28px; }
.page-head .stat b { color: #fff; }
.page-head .stat span { color: #9fb4dc; }

/* Galería de plantillas */
.gallery { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.filters-bar { position: sticky; top: 80px; z-index: 10; background: var(--paper); padding-block: 16px; margin-bottom: 4px; }
.results-count { font-size: 14.5px; color: var(--slate); font-weight: 600; margin: 6px 0 20px; }
.side-rail .ad-slot { min-height: 600px; margin: 0; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.side-card h3 { font-size: 19px; }
.side-card p { font-size: 14px; color: var(--slate); margin-top: 8px; }
.side-card .input { margin-top: 14px; }
.side-card .btn { width: 100%; margin-top: 10px; }

/* Detalle de plantilla */
.detail { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px,4vw,60px); align-items: start; padding-block: clamp(32px,4vw,52px); }
.preview-stage { background: linear-gradient(160deg, var(--paper-2), #eef1f8); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px,5vw,56px); display: grid; place-items: center; position: sticky; top: 90px; }
.preview-stage .cv { max-width: 320px; }
#previewCv { width: 100%; max-width: 320px; display: flex; justify-content: center; }
.detail__cat { color: var(--blue-500); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.detail h1 { font-size: clamp(30px,4vw,44px); margin-top: 10px; }
.detail .lede { color: var(--slate); font-size: 18px; margin-top: 14px; }
.detail .price-row { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.price-free { font-family: var(--serif); font-weight: 800; font-size: 30px; color: var(--ink); }
.price-tag { background: var(--gold-50); color: var(--gold-600); border: 1px solid var(--gold-200); font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: var(--r-pill); }
.dl-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.incl { display: grid; gap: 12px; margin-top: 28px; }
.incl li { display: flex; align-items: flex-start; gap: 11px; color: var(--ink-soft); font-weight: 500; }
.incl .ck { flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; }
.incl .ck svg { width: 15px; height: 15px; }
.spec { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 28px; }
.spec .s { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.spec .s b { display: block; font-family: var(--serif); color: var(--ink); font-size: 16px; }
.spec .s span { font-size: 12.5px; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.theme-swatches { display: flex; gap: 8px; margin-top: 10px; }
.sw { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.sw.is-active { box-shadow: 0 0 0 2px var(--blue-500); }

/* Guías hub */
.featured-guide { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); }
.featured-guide__media { position: relative; min-height: 300px; display: grid; place-items: center; }
.featured-guide__body { padding: clamp(28px,4vw,48px); display: flex; flex-direction: column; justify-content: center; }
.featured-guide__body h2 { font-size: clamp(24px,3vw,34px); margin: 12px 0 14px; }
.featured-guide__body p { color: var(--slate); font-size: 17px; }
.featured-guide__meta { display: flex; gap: 14px; align-items: center; color: var(--slate-2); font-size: 13.5px; margin: 20px 0 24px; }
.tag-badge { display: inline-block; background: var(--blue-50); color: var(--blue-600); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--r-pill); }

/* Artículo (guía) */
.art-hero { background: linear-gradient(160deg, var(--blue-800), var(--blue-900)); color: #fff; padding-block: clamp(40px,6vw,72px); }
.art-hero .crumb, .art-hero .crumb a { color: #a9bce4; }
.art-hero .tag-badge { background: rgba(255,255,255,.12); color: #fff; margin: 18px 0 16px; }
.art-hero h1 { color: #fff; font-size: clamp(30px,4.6vw,50px); max-width: 18ch; }
.art-hero .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: #bcceef; font-size: 14.5px; margin-top: 22px; }
.art-hero .meta .au { display: flex; align-items: center; gap: 10px; }
.art-hero .meta .avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,var(--gold-400),var(--gold-600)); display: grid; place-items: center; color: var(--ink); font-weight: 800; }
.art-layout { display: grid; grid-template-columns: 220px minmax(0,1fr) 300px; gap: clamp(28px,4vw,52px); align-items: start; padding-block: clamp(36px,5vw,64px); }
.toc { position: sticky; top: 92px; }
.toc h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 14px; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); color: var(--slate); font-size: 14.5px; font-weight: 500; transition: all .15s; }
.toc a:hover, .toc a.is-active { color: var(--blue-600); border-color: var(--blue-500); }
.art-rail { position: sticky; top: 92px; display: grid; gap: 20px; }
.art-rail .ad-slot { min-height: 300px; margin: 0; }
.rail-card { background: var(--blue-900); color: #fff; border-radius: var(--r-lg); padding: 24px; }
.rail-card h3 { color: #fff; font-size: 18px; }
.rail-card p { color: #b9cdf7; font-size: 14px; margin-top: 8px; }
.rail-card .input { margin-top: 12px; }
.rail-card .btn { width: 100%; margin-top: 10px; }

/* Consejos */
.tip-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.tip-card .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 18px; }
.tip-card .ic svg { width: 26px; height: 26px; }
.tip-card h3 { font-size: 20px; }
.tip-card p { color: var(--slate); margin-top: 8px; font-size: 15px; }
.country-detail { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px,3vw,40px); }
.country-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.ctry-body { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 18px; }
.ctry-fact h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-500); font-family: var(--sans); }
.ctry-fact p { color: var(--ink-soft); margin-top: 6px; font-size: 15.5px; }
.ctry-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.ctry-head img { border-radius: 4px; }
.ctry-head h3 { font-size: 24px; }
.ctry-panel[hidden] { display: none; }

/* Recursos */
.res-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.res-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.res-card__top { display: flex; align-items: center; justify-content: space-between; }
.res-card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.res-card .ic svg { width: 27px; height: 27px; }
.res-card .ftype { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-2); background: var(--paper-2); border: 1px solid var(--line); padding: 5px 10px; border-radius: var(--r-pill); }
.res-card h3 { font-size: 19px; }
.res-card p { color: var(--slate); font-size: 14.5px; flex: 1; }
.res-card .dlbtn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-600); font-size: 15px; }
.res-card .dlbtn svg { width: 17px; height: 17px; }
.ic-blue { background: var(--blue-50); color: var(--blue-600); }
.ic-gold { background: var(--gold-50); color: var(--gold-600); }
.ic-emerald { background: #e3f3ee; color: #0a7d5a; }
.ic-plum { background: #f1e8f7; color: #6a2c91; }
.lead-banner { background: linear-gradient(135deg, var(--gold-50), #fff); border: 1px solid var(--gold-200); border-radius: var(--r-xl); padding: clamp(28px,4vw,48px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.lead-banner h2 { font-size: clamp(24px,3vw,32px); }
.lead-banner p { color: var(--slate); margin-top: 10px; max-width: 46ch; }
.lead-banner form { display: flex; gap: 10px; flex-wrap: wrap; }
.lead-banner .input { min-width: 240px; width: auto; }

/* ---------- WP admin bar fix ---------- */
body.admin-bar .site-header { top: 32px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) { .art-layout { grid-template-columns: minmax(0,1fr) 300px; } .toc { display: none; } }
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) { .gallery { grid-template-columns: 1fr; } .side-rail { display: none; } }
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta .btn--text { display: none; }
  .capture__grid { grid-template-columns: 1fr; }
  .capture__right { border-left: none; border-top: 1px solid rgba(255,255,255,.1); }
  .steps { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .mobile-menu.is-open { display: block; position: fixed; inset: 72px 0 0; z-index: 49; background: var(--paper); padding: 20px var(--gut); overflow-y: auto; animation: fade .2s ease; }
  .mobile-menu a { display: block; padding: 15px 4px; font-size: 18px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { width: 100%; margin-top: 18px; }
}
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .preview-stage { position: static; } }
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { min-height: 380px; order: 2; margin-top: 8px; }
  .cv-fan { width: min(380px, 100%); }
}
@media (max-width: 820px) { .art-layout { grid-template-columns: 1fr; } .art-rail { display: none; } .featured-guide { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .ctry-body { grid-template-columns: 1fr; } .lead-banner { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tpl-grid-2 { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
}
@media (max-width: 420px) { .cv-fan .cv { max-width: 150px; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); animation: reveal .6s cubic-bezier(.2,.7,.3,1) forwards; }
  @keyframes reveal { to { opacity: 1; transform: none; } }
}
