/* brand_id: 2f5c220a-502f-41ec-8444-9b1430ee145d
   Publica tu vacante gratis: el wizard de vacantes de Reclut con la identidad de LM (tinta #2D2C2C, dorado #E0AA30, Raleway). */
.vg-body {
  --ink: #2D2C2C; --ink-deep: #222121; --gold: #E0AA30; --gold-hi: #EDC25E; --paper: #FFFFFF; --mist: #F4F4F2;
  --line: #E2E1DD; --line-strong: #C9C8C3; --muted: #5F5E5A; --muted-ink: #CAC8C2; --danger: #9B1C1C; --danger-soft: #FCEEEE;
  --ok: #1F6B45; --warn-bg: #FBF3DF; --warn-ink: #6B4E0F;
  --gutter: clamp(16px, 4vw, 56px); --ease: cubic-bezier(.2, .7, .2, 1);
  background: var(--mist);
}
.vg-wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.vg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vg-gold { color: var(--gold); }
.vg-eyebrow { margin: 0 0 12px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.vg-eyebrow--ink { color: var(--muted); }

/* ---------- apertura ---------- */
.vg-hero { background: var(--ink); color: var(--paper); padding-block: clamp(28px, 4vw, 56px) clamp(96px, 10vw, 140px); }
.vg-hero__grid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .vg-hero__grid { grid-template-columns: 1.25fr .9fr; } }
.vg-crumbs { display: flex; gap: 8px; font-size: .875rem; color: var(--muted-ink); margin-bottom: 20px; }
.vg-crumbs a { color: var(--muted-ink); }
.vg-hero h1 { margin: 0; color: var(--paper); font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.04; letter-spacing: -.02em; font-weight: 700; }
.vg-lead { margin: 18px 0 0; max-width: 34em; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; color: #E9E8E4; }
.vg-checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.vg-checks li { position: relative; padding-left: 32px; line-height: 1.5; color: #E9E8E4; }
.vg-checks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D2C2C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.vg-checks b { color: var(--paper); }
.vg-aside { margin: 24px 0 0; font-size: .9375rem; color: var(--muted-ink); }
.vg-aside a { color: var(--gold); font-weight: 600; }

.vg-preview { justify-self: center; width: min(360px, 100%); }
.vg-preview[hidden] { display: none; }
.vg-preview__tag { margin: 0 0 10px; font-size: .8125rem; font-weight: 600; color: var(--muted-ink); }
.vg-preview__card { background: var(--paper); color: var(--ink); border-radius: 16px; padding: 22px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); rotate: 1.2deg; transition: rotate .4s var(--ease); }
.vg-preview__card:hover { rotate: 0deg; }
.vg-preview__co { margin: 0; font-size: .875rem; font-weight: 600; color: var(--muted); }
.vg-preview__title { margin: 6px 0 0; font-size: 1.375rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.vg-preview__salary { margin: 8px 0 0; font-weight: 700; color: var(--ok); }
.vg-preview__chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vg-preview__chips li { padding: 4px 10px; border-radius: 999px; background: var(--mist); font-size: .8125rem; font-weight: 600; }
.vg-preview__apply { display: block; margin-top: 18px; padding: 12px; border-radius: 10px; background: var(--gold); text-align: center; font-weight: 700; }
.vg-preview__url { margin: 12px 0 0; font-size: .8125rem; color: var(--muted-ink); overflow-wrap: anywhere; }

/* ---------- formulario ---------- */
.vg-app { margin-top: clamp(-112px, -8vw, -72px); padding-bottom: clamp(56px, 8vw, 104px); }
.vg-app .vg-wrap { max-width: 900px; background: var(--paper); border-radius: 20px; box-shadow: 0 30px 70px -40px rgb(45 44 44 / .45); padding: clamp(20px, 4vw, 48px); }
.vg-stepper[hidden] { display: none; }
.vg-stepper ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; align-items: center; }
.vg-stepper li { display: flex; align-items: center; flex: 1; }
.vg-stepper li:last-child { flex: none; }
.vg-stepper li:not(:last-child)::after { content: ""; flex: 1; height: 2px; margin-inline: 10px; background: var(--line); border-radius: 2px; }
.vg-stepper li:has(.is-done)::after { background: var(--ink); }
.vg-stepper button { display: flex; align-items: center; gap: 10px; padding: 4px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: .9375rem; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.vg-stepper button:disabled { cursor: not-allowed; color: #9A9994; }
.vg-stepper button[aria-current="step"] { color: var(--ink); }
.vg-stepper__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-strong); font-size: .875rem; font-weight: 700; transition: background-color .2s, box-shadow .2s; }
.vg-stepper [aria-current="step"] .vg-stepper__n { background: var(--gold); color: var(--ink); box-shadow: 0 0 0 5px rgb(224 170 48 / .22); }
.vg-stepper .is-done .vg-stepper__n { background: var(--ink); color: var(--paper); box-shadow: none; }
@media (max-width: 640px) { .vg-stepper__l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .vg-stepper [aria-current="step"] .vg-stepper__l { position: static; width: auto; height: auto; clip: auto; } }

.vg-form { display: grid; gap: 0; }
.vg-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 20px; }
.vg-form:not(.vg-form--wizard) .vg-step + .vg-step { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.vg-form:not(.vg-form--wizard) .vg-nav button[type="button"] { display: none; }
.vg-step[hidden] { display: none; }
.vg-step legend { padding: 0; margin-bottom: 12px; font-size: clamp(1.4rem, 2.6vw, 1.875rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; outline: none; }
.vg-step__k { display: block; margin-bottom: 6px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vg-step__lead { margin: -6px 0 0; color: var(--muted); line-height: 1.55; }

.vg-field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.vg-field[hidden] { display: none; }
.vg-field label, .vg-label { font-size: .9375rem; font-weight: 600; margin: 0; }
.vg-label--section { margin-top: 8px; font-size: 1.0625rem; }
.vg-soft { color: var(--muted); font-weight: 500 !important; }
.vg-opt { font-weight: 500; font-size: .8125rem; color: var(--muted); }
.vg-field input, .vg-field select, .vg-field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--paper);
  color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4; transition: border-color .15s, box-shadow .15s;
}
.vg-field textarea { resize: vertical; min-height: 96px; }
.vg-field select { appearance: none; padding-right: 40px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D2C2C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; }
.vg-field input:hover, .vg-field select:hover, .vg-field textarea:hover { border-color: #8E8D88; }
.vg-field input:focus-visible, .vg-field select:focus-visible, .vg-field textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgb(224 170 48 / .35); }
.vg-field [aria-invalid="true"], .vg-money:has([aria-invalid="true"]) input { border-color: var(--danger); }
.vg-field--title input { min-height: 56px; font-size: 1.25rem; font-weight: 600; }
.vg-field--narrow { max-width: 360px; }
.vg-err { margin: 0; font-size: .875rem; font-weight: 600; color: var(--danger); }
.vg-err[hidden] { display: none; }
.vg-hint, .vg-count { margin: 0; font-size: .8125rem; color: var(--muted); }
.vg-count { justify-self: end; }
.vg-form:not(.vg-form--wizard) .vg-count { display: none; }

.vg-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .vg-grid { grid-template-columns: 1fr 1fr; } .vg-field--wide { grid-column: 1 / -1; } }
.vg-salary { display: grid; gap: 10px; }
.vg-row--salary { display: grid; gap: 14px; }
@media (min-width: 640px) { .vg-row--salary { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.vg-money { position: relative; }
.vg-money span { position: absolute; left: 14px; top: 50%; translate: 0 -50%; font-weight: 700; color: var(--muted); pointer-events: none; }
.vg-money input { padding-left: 28px; font-variant-numeric: tabular-nums; }
.vg-salary__preview { margin: 0; font-weight: 700; color: var(--ok); }
.vg-salary__preview[hidden] { display: none; }
.vg-note { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--warn-bg); color: var(--warn-ink); font-size: .875rem; line-height: 1.5; }
.vg-tel { display: flex; }
.vg-tel span { display: grid; place-items: center; padding-inline: 12px; border: 1.5px solid var(--line-strong); border-right: 0; border-radius: 10px 0 0 10px; background: var(--mist); font-size: .875rem; font-weight: 600; color: var(--muted); }
.vg-tel input { border-radius: 0 10px 10px 0; }

.vg-switches { display: grid; gap: 6px 18px; }
@media (min-width: 640px) { .vg-switches { grid-template-columns: 1fr 1fr; } }
.vg-switch { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 14px 6px 8px; border-radius: 999px; cursor: pointer; font-weight: 600; transition: background-color .15s; }
.vg-switch:hover { background: var(--mist); }
.vg-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vg-switch__ui { position: relative; flex: none; width: 42px; height: 24px; border-radius: 999px; background: var(--line-strong); transition: background-color .2s; }
.vg-switch__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); box-shadow: 0 1px 2px rgb(0 0 0 / .25); transition: translate .2s var(--ease); }
.vg-switch input:checked + .vg-switch__ui { background: var(--ink); }
.vg-switch input:checked + .vg-switch__ui::after { translate: 18px 0; background: var(--gold); }
.vg-switch input:focus-visible + .vg-switch__ui { box-shadow: 0 0 0 4px rgb(224 170 48 / .45); }
.vg-switch input:not(:checked) ~ [data-switch-label] { color: var(--muted); font-weight: 500; }

.vg-consent { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; font-size: .9375rem; }
.vg-consent input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--ink); }

.vg-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.vg-form:not(.vg-form--wizard) .vg-step:not(.vg-step--summary) .vg-nav { display: none; }
.vg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; border: 0; border-radius: 12px; background: var(--ink); color: var(--paper); font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; transition: transform .2s var(--ease), background-color .2s; }
.vg-btn:hover { background: var(--ink-deep); transform: translateY(-1px); }
.vg-btn:focus-visible, .vg-link:focus-visible, .vg-stepper button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.vg-btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-strong); }
.vg-btn--ghost:hover { background: var(--mist); }
.vg-btn--gold { background: var(--gold); color: var(--ink); font-size: 1.0625rem; }
.vg-btn--gold:hover { background: var(--gold-hi); }
.vg-btn:disabled { opacity: .65; pointer-events: none; }
.vg-link { border: 0; background: none; padding: 4px 8px; border-radius: 6px; font: inherit; font-size: .875rem; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; cursor: pointer; }

/* ---------- resumen ---------- */
.vg-summary[hidden] { display: none; }
.vg-summary { display: grid; gap: 4px; }
.vg-sum__hero { padding: 20px; border-radius: 14px; background: var(--mist); }
.vg-sum__co { margin: 0; font-size: .875rem; font-weight: 600; color: var(--muted); }
.vg-sum__title { margin: 4px 0 0; font-size: 1.5rem; font-weight: 700; overflow-wrap: anywhere; }
.vg-sum__salary { margin: 6px 0 0; font-weight: 700; color: var(--ok); }
.vg-sum__hero .vg-preview__chips li { background: var(--paper); }
.vg-sum { padding-block: 16px; border-bottom: 1px solid var(--line); }
.vg-sum__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.vg-sum h3 { margin: 0; font-size: 1.0625rem; }
.vg-sum h4 { margin: 14px 0 4px; font-size: .9375rem; }
.vg-sum dl { display: grid; gap: 6px; margin: 10px 0 0; }
.vg-sum dl div { display: grid; grid-template-columns: minmax(110px, 30%) 1fr; gap: 12px; font-size: .9375rem; }
.vg-sum dt { color: var(--muted); }
.vg-sum dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.vg-sum__text { margin: 10px 0 0; white-space: pre-line; line-height: 1.55; overflow-wrap: anywhere; }
.vg-sum__empty { margin: 8px 0 0; font-style: italic; color: var(--muted); }

/* ---------- después y preguntas ---------- */
.vg-next, .vg-faq { padding-block: clamp(48px, 7vw, 96px); }
.vg-next { background: var(--paper); }
.vg-next h2, .vg-faq h2 { margin: 0; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.15; letter-spacing: -.01em; }
.vg-flow { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 800px) { .vg-flow { grid-template-columns: repeat(3, 1fr); } }
.vg-flow li { padding-top: 20px; border-top: 3px solid var(--ink); }
.vg-flow__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); font-weight: 700; }
.vg-flow h3 { margin: 14px 0 6px; font-size: 1.1875rem; }
.vg-flow p { margin: 0; line-height: 1.6; color: var(--muted); }
.vg-flow a, .vg-faq a { color: var(--ink); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.vg-faq__grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .vg-faq__grid { grid-template-columns: .8fr 1.2fr; } }
.vg-faq details { border-bottom: 1px solid var(--line-strong); }
.vg-faq summary { padding: 18px 0; font-weight: 700; font-size: 1.0625rem; cursor: pointer; }
.vg-faq details p { margin: 0 0 18px; line-height: 1.6; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { .vg-body * { transition: none !important; } .vg-preview__card { rotate: 0deg; } }
.vg-hero--done { padding-bottom: clamp(56px, 8vw, 96px); }
@media (max-width: 899px) { .vg-preview { display: none !important; } .vg-hero { padding-bottom: 96px; } }
