/**
 * @project      Search Talent GO - Version 2 (V2)
 * @author       EARG
 * @copyright    Copyright (c) 2026 EARG / Search Talent GO. All rights reserved.
 * @license      Proprietary / Closed Source - LICENSE.txt
 * @status       CONFIDENTIAL & PROPRIETARY
 * @description  Este archivo forma parte del ecosistema core del ATS/CRM.
 *               Queda estrictamente prohibida su copia, modificación o distribución sin autorización.
 *
 * Public site + candidate portal. Mobile-first, official STG palette.
 * No inline styles anywhere (strict CSP): every visual rule lives here.
 */
:root {
  --oxford: #0F4C81;
  --oxford-dark: #0B3A63;
  --royal: #2855C0;
  --royal-dark: #1746C8;
  --gold: #FFD000;
  --gold-ink: #0B2F52;
  --white: #FFFFFF;
  --bg: #F5F7FA;
  --text: #344054;
  --muted: #667085;
  --line: #E4E7EC;
  --line-strong: #D0D5DD;
  --royal-soft: #EAF0FB;
  --ok: #067647; --ok-soft: #ECFDF3;
  --warn: #93370D; --warn-soft: #FFFAEB;
  --danger: #B42318; --danger-soft: #FEF3F2;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); }
a:hover { color: var(--royal-dark); }
h1, h2, h3, h4 { color: var(--oxford); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 2rem; } h2 { font-size: 1.5rem; } h3 { font-size: 1.15rem; } h4 { font-size: 1rem; }
p { margin: 0 0 .75em; }
.muted { color: var(--muted); } .small { font-size: .875rem; } .xs { font-size: .78rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--gold); color: var(--gold-ink); padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.boot { min-height: 60vh; display: grid; place-items: center; color: var(--muted); }

/* ---------- header ---------- */
.site-header { background: var(--oxford); color: var(--white); position: sticky; top: 0; z-index: 30; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-weight: 800; letter-spacing: .04em; font-size: 1rem; }
.brand:hover { color: var(--white); }
.brand img { width: auto; height: 40px; }   /* official white logo on the Oxford header/footer */
.brand .go { color: var(--gold); }
.menu-toggle { background: transparent; border: 1px solid rgba(255, 255, 255, .5); color: var(--white); border-radius: 10px; min-width: 44px; min-height: 44px; font-size: 1.2rem; cursor: pointer; }
.site-nav { display: none; flex-direction: column; gap: 4px; padding: 8px 0 16px; }
.site-nav.open { display: flex; }
.site-nav a { color: var(--white); text-decoration: none; padding: 10px 4px; font-weight: 600; border-radius: 8px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav .actions { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .site-nav, .site-nav.open { display: flex; flex-direction: row; align-items: center; gap: 20px; padding: 0; }
  .site-nav .actions { flex-direction: row; margin: 0 0 0 8px; }
  .site-header .bar { flex-wrap: nowrap; }
}
.site-header .bar.with-nav { flex-wrap: wrap; }
.site-header .nav-row { flex-basis: 100%; }
@media (min-width: 960px) { .site-header .nav-row { flex-basis: auto; } }

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--white); color: var(--text); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--bg); color: var(--text); }
.btn.primary { background: var(--royal); border-color: var(--royal); color: var(--white); }
.btn.primary:hover { background: var(--royal-dark); color: var(--white); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.btn.gold:hover { filter: brightness(.96); color: var(--gold-ink); }
.btn.ghost-light { background: transparent; border-color: #8FB0D6; color: var(--white); }
.btn.ghost-light:hover { background: rgba(255, 255, 255, .08); color: var(--white); }
.btn.danger { color: var(--danger); border-color: #FDA29B; }
.btn.small { min-height: 36px; padding: 6px 12px; font-size: .875rem; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.link { border: 0; background: none; color: var(--royal); padding: 0; min-height: 0; font-weight: 600; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.end { justify-content: flex-end; }
.stack { display: flex; flex-direction: column; gap: 12px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--text); }
input, select, textarea { width: 100%; font: inherit; color: var(--text); background: var(--white); border: 1px solid var(--line-strong); border-radius: 10px; min-height: 44px; padding: 10px 12px; }
textarea { min-height: 100px; resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--danger); }
.field { margin-bottom: 14px; }
.hint { color: var(--muted); font-size: .8rem; margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .full { grid-column: 1 / -1; } }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; color: var(--oxford); margin-bottom: 8px; }

/* ---------- surfaces ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; font-size: .92rem; }
.alert.error { background: var(--danger-soft); color: var(--danger); }
.alert.info { background: var(--royal-soft); color: var(--oxford); }
.alert.warn { background: var(--warn-soft); color: var(--warn); }
.alert.ok { background: var(--ok-soft); color: var(--ok); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--bg); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); border-color: #ABEFC6; }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: #FEDF89; }
.badge.danger { background: var(--danger-soft); color: var(--danger); border-color: #FECDCA; }
.badge.soon { background: #FFF3B0; color: var(--gold-ink); border-color: #FFE066; }
.empty { color: var(--muted); padding: 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 12px; background: var(--white); }
.loading { color: var(--muted); padding: 20px; }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--royal-soft); border: 5px solid var(--royal); box-sizing: border-box; }
.progress { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--royal); border-radius: 999px; }
.progress.gold > i { background: var(--gold); }

/* ---------- hero & sections ---------- */
.hero { background: var(--oxford); color: var(--white); }
.hero .inner { display: grid; gap: 28px; padding: 40px 0 48px; }
.hero h1 { color: var(--white); font-size: 2.1rem; }
.hero .lead { color: #DCE6F2; font-size: 1.1rem; max-width: 620px; }
.eyebrow { color: var(--gold); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: 10px; }
.hero .banner { border-radius: 16px; }
.search { background: var(--white); border-radius: 16px; padding: 12px; display: grid; gap: 8px; grid-template-columns: 1fr; color: var(--text); }
.search label { color: var(--text); }
@media (min-width: 720px) { .search { grid-template-columns: 2fr 1.4fr 1.2fr auto; align-items: end; } .search .field { margin: 0; } }
@media (min-width: 960px) { .hero .inner { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 64px 0 72px; } .hero h1 { font-size: 2.75rem; } }
.section { padding: 48px 0; }
.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 24px; }
.feature { display: flex; flex-direction: column; gap: 8px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--royal-soft); display: grid; place-items: center; flex: none; }
.icon svg { width: 24px; height: 24px; stroke: var(--royal); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-weight: 800; margin-bottom: 10px; }
.cta { background: var(--royal); color: var(--white); border-radius: 20px; padding: 32px 24px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta h2 { color: var(--white); margin: 0; }
.cta p { color: #E4ECFA; margin: 0; }
details.faq { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; }
details.faq + details.faq { margin-top: 10px; }
details.faq summary { cursor: pointer; font-weight: 700; color: var(--oxford); padding: 14px 0; min-height: 44px; }
details.faq p { padding-bottom: 14px; margin: 0; }

/* ---------- jobs ---------- */
.job { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.job h3 { margin: 0; font-size: 1.1rem; }
.job h3 a { color: var(--oxford); text-decoration: none; }
.job h3 a:hover { text-decoration: underline; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .875rem; }
.job .grow { flex: 1; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.prose { white-space: pre-line; }
.layout-2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .layout-2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; } }

/* ---------- services ---------- */
.service { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.service .price { font-size: 1.9rem; font-weight: 800; color: var(--text); line-height: 1.1; }
.service .grow { flex: 1; }
.seg { display: inline-flex; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { min-height: 40px; padding: 8px 16px; border-radius: 9px; border: 0; background: transparent; color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--oxford); color: var(--white); }
.sandbox { border: 2px dashed var(--gold); background: #FFFDF0; }

/* ---------- auth pages ---------- */
.auth-wrap { padding: 32px 0 56px; display: grid; place-items: start center; }
.auth-card { width: 100%; max-width: 520px; }

/* ---------- portal ---------- */
.portal-nav { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 64px; z-index: 20; }
.portal-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; overflow-x: auto; }
.portal-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; color: var(--muted); font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.portal-nav a[aria-current="page"] { color: var(--oxford); border-bottom-color: var(--gold); }
.portal { padding: 24px 0 56px; }
.kpi .v { font-size: 1.8rem; font-weight: 800; color: var(--oxford); line-height: 1.1; }
.kpi .l { color: var(--muted); font-size: .875rem; }
.item-block { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; background: var(--bg); }
.dropzone { border: 2px dashed var(--line-strong); border-radius: 16px; padding: 28px 16px; text-align: center; background: var(--white); cursor: pointer; display: block; font-weight: 400; }
.dropzone.over { border-color: var(--royal); background: var(--royal-soft); }
.dropzone strong { color: var(--royal); }
.score-big { font-size: 3rem; font-weight: 800; color: var(--oxford); line-height: 1; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- footer, toasts, dialog ---------- */
.site-footer { background: var(--oxford); color: #DCE6F2; padding: 32px 0; font-size: .9rem; }
.site-footer .cols { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer h4 { color: var(--white); }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 24px; padding-top: 16px; font-size: .8rem; }
#toasts { position: fixed; right: 16px; bottom: 16px; left: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; z-index: 60; pointer-events: none; }
.toast { background: var(--oxford); color: var(--white); padding: 12px 16px; border-radius: 10px; box-shadow: 0 8px 24px rgba(16, 24, 40, .2); max-width: 420px; font-size: .92rem; pointer-events: auto; }
.toast.error { background: var(--danger); }
dialog { border: 0; border-radius: 16px; padding: 0; width: min(560px, calc(100vw - 32px)); box-shadow: 0 20px 48px rgba(16, 24, 40, .25); color: var(--text); }
dialog::backdrop { background: rgba(10, 20, 40, .5); }
dialog .dlg { padding: 20px; }
.hero .full-row { grid-column: 1 / -1; }
.hero .inner.single { grid-template-columns: 1fr; padding: 32px 0 40px; }
#file-in:focus-visible + .dropzone { outline: 3px solid var(--royal); outline-offset: 2px; }
.grid > .card + .card { margin-top: 0; }
.section-head.row { max-width: none; }
#pv > * + * { margin-top: 16px; }

/* F-02 billing form in the checkout dialog */
.dlg .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .dlg .grid2 { grid-template-columns: 1fr; } }
.dlg .field .small { display: block; margin-top: 4px; }

/* driving licences by country (catalogue 05) */
.lic-row { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.lic-row:last-child { border-bottom: 0; }
.lic-exp { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.lic-exp input { width: auto; min-height: 36px; }

/* G1 shared geographic cascade: its level fields flow into the parent form grid */
.geo-cascade { display: contents; }
.geo-cascade [data-geo-pending] { grid-column: 1 / -1; margin-top: 0; }
.geo-cascade input[type=search] { margin-bottom: 6px; }
.hint.error { color: #b42318; }

/* C-1 step 1: phone with prefix, links, photo and address */
.phone-row { display: flex; gap: 6px; }
.phone-row select { flex: 0 0 auto; max-width: 48%; }
.phone-row input[data-prefix-other] { flex: 0 0 72px; }
.phone-row input[data-number] { flex: 1 1 auto; min-width: 0; }
.link-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.link-row input { flex: 1 1 220px; min-width: 0; }
.address-set { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px 0; }
.photo-grid { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: start; }
@media (max-width: 560px) { .photo-grid { grid-template-columns: 1fr; } }
.avatar-lg { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; border: 3px solid var(--line); }
.avatar-empty { display: flex; align-items: center; justify-content: center; background: var(--line); color: var(--muted, #667085); font-size: .85rem; }
#ph-canvas { display: block; max-width: 100%; border-radius: 8px; border: 1px solid var(--line); cursor: grab; touch-action: none; margin: 8px 0; }
.req-list { margin: 6px 0 0; padding-left: 20px; }

/* C-3 step 5-6: skill chips, search results, preset grids */
.chip-pending { border-style: dashed; opacity: .85; }
.chip [data-remove-skill] { background: none; border: 0; cursor: pointer; font-size: 1rem; margin-left: 4px; color: inherit; }
.skill-search { position: relative; }
.skill-results { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.skill-opt { border: 1px solid var(--line-strong); background: var(--white); border-radius: 999px; padding: 4px 12px; cursor: pointer; font: inherit; }
.skill-opt:hover, .skill-opt:focus-visible { border-color: var(--royal); color: var(--royal); }
.skill-propose { border-style: dashed; }
.soft-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 2px 12px; border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.chip { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 10px; background: var(--royal-soft); color: var(--oxford); font-size: .9rem; }

/* ---------- commercial plans landing (country × role) ---------- */
.plans-hero .inner.single { gap: 24px; }
.plans-selector { display: grid; gap: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; padding: 20px; }
.sel-group { display: grid; gap: 10px; }
.sel-label { font-weight: 700; color: #DCE6F2; font-size: .95rem; }
.seg-dark { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); flex-wrap: wrap; }
.seg-dark button { color: var(--white); }
.seg-dark button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); }
.role-cards { display: grid; gap: 12px; grid-template-columns: 1fr; }
.role-card { display: grid; gap: 6px; justify-items: start; text-align: left; padding: 18px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .3); background: var(--white); color: var(--text); font: inherit; cursor: pointer; }
.role-card strong { color: var(--oxford); font-size: 1.15rem; }
.role-card span:not(.icon) { color: var(--muted); font-size: .92rem; }
.role-card .icon { color: var(--royal); }
.role-card:hover { border-color: var(--gold); }
.role-card[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 208, 0, .45); }
.eyebrow.dark { color: var(--royal); }
.offer-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; }
.trial-band { border-left: 6px solid var(--gold); margin-bottom: 20px; }
.trial-band ul { margin: 0; padding-left: 18px; }
.plan-grid { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 10px; }
.plan-card + .plan-card { margin-top: 0; }
.plan-card h3 { margin: 0; }
.plan-card .btn.block { margin-top: auto; white-space: normal; text-align: center; }
.plan-card.recommended { border: 2px solid var(--royal); }
.plan-card.trial { background: var(--royal-soft); }
.plan-flag { position: absolute; top: -12px; right: 16px; background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: .78rem; border-radius: 999px; padding: 3px 10px; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.plan-price .amount { font-size: 1.6rem; font-weight: 800; color: var(--oxford); }
.plan-price .per, .plan-price .from { color: var(--muted); font-size: .9rem; }
.plan-price.pending .amount { font-size: 1.1rem; }
.plan-limits, .plan-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.plan-limits li, .plan-features li { display: flex; gap: 8px; align-items: flex-start; font-size: .93rem; }
.plan-limits li { font-weight: 700; color: var(--oxford); }
.plan-features li.soon, .plan-features li.contract { color: var(--muted); }
.plan-features .icon, .plan-limits .icon { flex: none; width: 18px; height: 18px; color: var(--ok); }
.plan-features li.soon .icon, .plan-features li.contract .icon { color: var(--muted); }
.tag { display: inline-block; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 8px; font-size: .75rem; color: var(--muted); background: var(--white); white-space: nowrap; }
.plans-note { margin-top: 16px; }
.compare-title { margin-top: 32px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.compare { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.compare th, .compare td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.compare thead th { background: var(--oxford); color: var(--white); }
.compare tbody th { text-align: left; font-weight: 600; color: var(--text); position: sticky; left: 0; background: var(--white); }
.compare .yes .icon { color: var(--ok); width: 18px; height: 18px; display: inline-block; }
.compare .no { color: var(--muted); }
@media (min-width: 720px) {
  .role-cards { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .plans-hero .inner.single { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .plan-grid { grid-template-columns: repeat(4, 1fr); }
  .plan-grid:has(> :nth-child(5)) { grid-template-columns: repeat(5, 1fr); }
}
.plan-features .icon, .plan-limits .icon, .compare .yes .icon { background: none; border-radius: 0; }
.plan-features .icon svg, .plan-limits .icon svg, .compare .yes .icon svg { width: 18px; height: 18px; }
.plan-features li.available .icon svg, .plan-limits .icon svg, .compare .yes .icon svg { stroke: var(--ok); }
.plan-features li.soon .icon svg, .plan-features li.contract .icon svg { stroke: var(--muted); }
.table-scroll { max-width: 100%; position: relative; }   /* contains the sr-only labels (absolute) */
.compare tbody th { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.plans-hero .inner.single { padding-left: 16px; padding-right: 16px; }

/* ---------- AI credit packs offered as an alternative (candidate store) ---------- */
dialog.ai-alt .dlg { max-width: 560px; }
.pack-list { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 8px; }
.pack-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.pack-list li > div { display: grid; }

/* =====================================================================
   B2B landing (#/) — adapted from the owner's design, official palette
   ===================================================================== */
.lp-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.lp-nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); border-bottom: 1px solid #E2E8F0; }
.lp-nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; position: relative; }
.lp-logo img { height: 48px; width: auto; display: block; }
.lp-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.lp-links a { text-decoration: none; color: #1E293B; font-size: 15px; font-weight: 500; white-space: nowrap; }
.lp-links a:hover, .lp-links a[aria-current="page"] { color: var(--royal); }
.lp-actions { display: flex; align-items: center; gap: 16px; }
.lp-mobile-only { display: none; }   /* company access inside the menu on phones (the navbar link is hidden there) */
.lp-login { text-decoration: none; color: var(--oxford); font-weight: 600; font-size: 15px; white-space: nowrap; }
.lp-menu { display: none; border: 1px solid #E2E8F0; background: #FFFFFF; color: var(--oxford); border-radius: 8px; min-width: 44px; min-height: 44px; font-size: 20px; cursor: pointer; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; font-size: 15px; font-weight: 700; border-radius: 8px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.lp-btn.primary { background: var(--royal); color: #FFFFFF; border: 1px solid var(--royal); box-shadow: 0 4px 14px rgba(40, 85, 192, .25); }
.lp-btn.primary:hover { background: #1E429F; color: #FFFFFF; }
.lp-btn.secondary { background: transparent; color: var(--oxford); border: 1.5px solid var(--oxford); }
.lp-btn.secondary:hover { background: rgba(15, 76, 129, .06); color: var(--oxford); }
.lp-btn.block { width: 100%; }
.lp-link { color: var(--royal); font-weight: 600; }
.lp-badge { display: inline-block; padding: 6px 14px; background: rgba(255, 208, 0, .18); color: var(--oxford); border: 1px solid rgba(255, 208, 0, .5); border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.lp-hero { padding: 72px 0 88px; background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%); }
.lp-hero-grid { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: center; }
.lp-hero h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.12; color: var(--oxford); letter-spacing: -.02em; margin: 0 0 20px; }
.lp-hero h1 span { color: var(--royal); }
.lp-lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; }
.lp-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 14px; }
.lp-cta.center { justify-content: center; }
.lp-note { font-size: .85rem; color: var(--muted); }
.lp-note.light { color: #C9D6E8; text-align: center; margin-top: 24px; }
.lp-shot { margin: 0; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 48px rgba(15, 76, 129, .14); }
.lp-shot-bar { background: var(--oxford); padding: 12px 18px; display: flex; gap: 8px; }
.lp-shot-bar span { width: 11px; height: 11px; border-radius: 50%; background: #FF5F56; }
.lp-shot-bar span:nth-child(2) { background: #FFBD2E; }
.lp-shot-bar span:nth-child(3) { background: #27C93F; }
.lp-shot img { display: block; width: 100%; height: auto; }
.lp-shot figcaption { font-size: .78rem; color: var(--muted); padding: 8px 14px; border-top: 1px solid #E2E8F0; background: var(--bg); }
.lp-trust { padding: 36px 0; border-top: 1px solid #E2E8F0; border-bottom: 1px solid #E2E8F0; text-align: center; background: #FFFFFF; }
.lp-trust p { font-weight: 600; color: var(--muted); margin: 0 0 14px; }
.lp-trust-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; font-weight: 800; color: var(--oxford); opacity: .7; text-transform: uppercase; letter-spacing: .04em; }
.lp-section { padding: 88px 0; background: #FFFFFF; }
.lp-section.alt { background: var(--bg); }
.lp-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.lp-head h2 { font-size: 2rem; font-weight: 800; color: var(--oxford); margin: 0 0 12px; }
.lp-head p { color: var(--muted); }
.lp-grid3 { display: grid; gap: 24px; grid-template-columns: 1fr; }
.lp-card { background: #FFFFFF; padding: 28px; border-radius: 12px; border: 1px solid #E2E8F0; transition: transform .2s, box-shadow .2s; }
.lp-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(15, 76, 129, .08); }
.lp-card h3 { color: var(--oxford); margin: 0 0 8px; }
.lp-card p { color: var(--text); margin: 0 0 8px; }
.lp-icon { width: 48px; height: 48px; background: var(--royal-soft); border-radius: 10px; display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }
.lp-pricing { display: grid; gap: 24px; grid-template-columns: 1fr; margin-bottom: 28px; }
.lp-price { position: relative; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 8px; }
.lp-price.featured { border: 2px solid var(--royal); box-shadow: 0 16px 32px rgba(40, 85, 192, .15); }
.lp-price h3 { color: var(--oxford); margin: 0; }
.lp-price .lp-btn { margin-top: auto; }
.lp-price-badge { position: absolute; top: -13px; right: 24px; background: var(--gold); color: var(--gold-ink); padding: 3px 12px; font-size: 12px; font-weight: 800; border-radius: 999px; }
.lp-amount { font-size: 1.7rem; font-weight: 800; color: var(--oxford); margin: 8px 0 0; }
.lp-amount small { font-size: .85rem; font-weight: 600; color: var(--muted); }
.lp-muted { color: var(--muted); margin: 0; }
.lp-center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lp-ai { background: var(--oxford); color: #FFFFFF; padding: 88px 0; }
.lp-ai .lp-head h2 { color: #FFFFFF; }
.lp-ai .lp-head p { color: #DCE6F2; }
.lp-ai-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: 22px; }
.lp-ai-card h3 { color: var(--gold); margin: 0 0 6px; font-size: 1.05rem; }
.lp-ai-card p { color: #E7EEF7; margin: 0; }
.lp-footer { background: var(--oxford); color: #FFFFFF; padding: 56px 0 28px; font-size: .92rem; }
.lp-foot-grid { display: grid; gap: 32px; grid-template-columns: 1fr; margin-bottom: 32px; }
.lp-foot-grid img { height: 40px; width: auto; margin-bottom: 12px; }
.lp-foot-grid p { color: rgba(255, 255, 255, .75); margin: 0 0 6px; }
.lp-foot-grid h4 { color: #FFFFFF; margin: 0 0 10px; }
.lp-foot-grid a { display: block; color: #FFFFFF; text-decoration: none; margin-bottom: 8px; }
.lp-foot-grid a:hover { color: var(--gold); }
.lp-foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px; text-align: center; color: rgba(255, 255, 255, .65); margin: 0; }
@media (max-width: 1179px) {
  .lp-menu { display: inline-flex; align-items: center; justify-content: center; order: 3; }
  .lp-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 12px; padding: 10px; box-shadow: 0 12px 30px rgba(15, 76, 129, .12); }
  .lp-links.open { display: flex; }
  .lp-links a { display: block; padding: 12px; }
  .lp-actions { margin-left: auto; }
}
@media (max-width: 640px) {
  .lp-actions .lp-login { display: none; }
  .lp-links .lp-mobile-only { display: list-item; }
  .lp-actions .lp-btn { padding: 10px 14px; font-size: 14px; }
  .lp-logo img { height: 40px; }
  .lp-hero h1 { font-size: 2rem; }
}
@media (min-width: 900px) {
  .lp-hero-grid { grid-template-columns: 1fr 1.05fr; }
  .lp-grid3 { grid-template-columns: repeat(3, 1fr); }
  .lp-pricing { grid-template-columns: repeat(4, 1fr); }
  .lp-foot-grid { grid-template-columns: 2fr repeat(3, 1fr); }
}
.lp-btn.whatsapp { background: #187A42; color: #FFFFFF; border: 1px solid #187A42; }   /* WhatsApp green, AA with white */
.lp-btn.whatsapp:hover { background: #126335; color: #FFFFFF; }
.lp-foot-grid p a { display: inline; margin: 0; }

/* ---------------------------------------------------------------- companies page (#/empresas) */
.empresas-page .plans-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
.empresas-page #lp-planes { scroll-margin-top: 80px; }
.emp-steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 24px; grid-template-columns: 1fr; }
.emp-steps li { background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 12px; padding: 28px; }
.emp-steps h3 { color: var(--oxford); margin: 12px 0 6px; }
.emp-steps p { margin: 0; color: var(--text); }
.emp-step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-weight: 800; }
.emp-faq-wrap { max-width: 860px; }
.emp-faq { display: grid; gap: 12px; }
.emp-faq details { background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 12px; padding: 0 20px; }
.emp-faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--oxford); list-style-position: outside; }
.emp-faq summary:focus-visible { outline: 3px solid var(--royal); outline-offset: 4px; border-radius: 6px; }
.emp-faq details p { margin: 0 0 18px; color: var(--text); }
@media (min-width: 900px) {
  .emp-steps { grid-template-columns: repeat(3, 1fr); }
}
