/* ==========================================================================
   GOLDEN LIFE — Carreras
   Sistema visual según Manual de Marca 2025 (Daletrazo Studio)
   Paleta: Limed Sand #AF8C5A · Salomie #FEDC92 · Kaitoke Green #003E1D
           Stratos Blue #00103D · Blanco #FFFFFF · Negro #020202
   Tipografía: Gotham (→ Montserrat) + script manuscrito (→ Allura)
   ========================================================================== */

/* ─── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  /* Paleta oficial */
  --sand:     #AF8C5A;
  --salomie:  #FEDC92;
  --kaitoke:  #003E1D;
  --stratos:  #00103D;
  --white:    #FFFFFF;
  --black:    #020202;

  /* Derivados (tonos de la paleta) */
  --green-deep: #001A0C;
  --green-mid:  #0A5A2E;
  --bg:      var(--black);
  --bg-2:    #07130C;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --text:    var(--white);
  --text-2:  rgba(255, 255, 255, 0.74);
  --text-3:  rgba(255, 255, 255, 0.46);
  --line:    rgba(175, 140, 90, 0.20);
  --line-2:  rgba(175, 140, 90, 0.38);
  --gold-grad: linear-gradient(100deg, #AF8C5A 0%, #FEDC92 48%, #AF8C5A 100%);
  --err: #F08A6E;

  /* Alias usados por estilos en línea existentes */
  --brass: var(--salomie);
  --gold-400: var(--salomie);
  --neutral-400: var(--text-2);
  --neutral-500: var(--text-3);

  --sans:   'Montserrat', 'Gotham', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --script: 'Allura', 'Brush Script MT', cursive;
  --mono:   'Montserrat', sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1240px;
}

/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(0, 62, 29, .75), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgba(0, 62, 29, .38), transparent 60%),
    radial-gradient(800px 500px at 100% 85%, rgba(0, 16, 61, .35), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body > * { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--sand); color: var(--black); }
:focus-visible { outline: 2px solid var(--salomie); outline-offset: 3px; }

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.mono { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }

/* Texto con degradé dorado (aplicación de la paleta del manual) */
.gold-text, .hero-title em, .section-title em, .closing h2 em, .principles .num {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ─── HEADER ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(2, 2, 2, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-content { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 16px; }
.logo-img { height: 52px; width: auto; display: block; transition: transform .5s var(--ease), filter .4s; }
.logo:hover .logo-img { transform: translateY(-1px) scale(1.03); filter: drop-shadow(0 0 14px rgba(254, 220, 146, .35)); }
.logo-svg { display: none; }
.logo-info { display: flex; align-items: center; gap: 10px; }
.logo-name { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.logo-tag {
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--sand); padding-left: 16px; border-left: 1px solid var(--line-2);
}

.header-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--salomie);
  padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(175, 140, 90, .08);
  transition: background .3s, border-color .3s;
}
a.header-badge:hover { background: rgba(175, 140, 90, .18); border-color: var(--salomie); }
.pulse-dot-green, .pulse-dot-gold {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--salomie); flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(254, 220, 146, .6);
  animation: pulse 2.2s ease-out infinite;
}
.pulse-dot-gold { background: var(--sand); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(254, 220, 146, .55); }
  70% { box-shadow: 0 0 0 9px rgba(254, 220, 146, 0); }
  100% { box-shadow: 0 0 0 0 rgba(254, 220, 146, 0); }
}

/* ─── HOME · HERO ────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(56px, 8vw, 110px) 0 0; overflow: hidden; isolation: isolate; }
/* Ondas de seda (referencia visual de la portada del manual) */
.hero::before {
  content: ''; position: absolute; inset: -20% -10% 0 20%; z-index: -2;
  background:
    radial-gradient(60% 80% at 70% 30%, rgba(10, 90, 46, .55), transparent 65%),
    repeating-linear-gradient(115deg, transparent 0 46px, rgba(254, 220, 146, .045) 47px 48px, transparent 49px 120px);
  -webkit-mask-image: radial-gradient(70% 80% at 65% 35%, #000 20%, transparent 75%);
          mask-image: radial-gradient(70% 80% at 65% 35%, #000 20%, transparent 75%);
}
.hero::after {
  content: ''; position: absolute; width: 780px; height: 780px; right: -180px; top: -140px; z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(175, 140, 90, .18);
  box-shadow: 0 0 0 70px rgba(175, 140, 90, .03), 0 0 0 140px rgba(175, 140, 90, .02);
}
.hero-mark {
  position: absolute; right: clamp(-20px, 4vw, 80px); top: clamp(24px, 6vw, 80px);
  width: clamp(180px, 26vw, 380px); height: auto; z-index: -1;
  opacity: .9; filter: drop-shadow(0 20px 60px rgba(254, 220, 146, .22));
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--sand); margin-bottom: clamp(20px, 3vw, 32px);
}
.eyebrow::before { content: ''; width: 36px; height: 2px; background: var(--gold-grad); border-radius: 2px; }

.hero-title {
  font-weight: 800;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 1.02; letter-spacing: -.035em;
  max-width: 14ch;
}
.hero-title em {
  font-family: var(--script); font-style: normal; font-weight: 400;
  font-size: 1.28em; letter-spacing: 0; line-height: .9; padding-right: .12em;
}
.hero-title .line { display: block; }

.hero-foot {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px);
  align-items: end;
  margin-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.hero-subtitle { font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.75; color: var(--text-2); max-width: 54ch; font-weight: 300; }
.hero-meta {
  list-style: none; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 6px 22px;
}
.hero-meta li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.hero-meta li:last-child { border-bottom: 0; }
.hero-meta span:first-child { color: var(--text-3); }
.hero-meta span:last-child { color: var(--salomie); }

.horizon { height: 2px; background: var(--gold-grad); transform-origin: left; border-radius: 2px; }

/* ─── HOME · VACANTES ────────────────────────────────────────────────────── */
.vacantes-section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-title {
  font-weight: 800;
  font-size: clamp(34px, 4.8vw, 62px); line-height: 1.04; letter-spacing: -.03em;
}
.section-title em { font-family: var(--script); font-style: normal; font-weight: 400; font-size: 1.22em; letter-spacing: 0; padding-right: .1em; }
.section-title sup {
  font-size: 14px; font-weight: 600; letter-spacing: .08em; color: var(--sand);
  vertical-align: top; margin-left: 10px; position: relative; top: .8em;
  -webkit-text-fill-color: var(--sand);
}
.section-note { max-width: 40ch; color: var(--text-2); font-size: 15px; font-weight: 300; }

.job-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.job-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 210px 150px 88px;
  gap: 24px; align-items: center;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(0, 62, 29, .34), rgba(255, 255, 255, .02) 60%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  isolation: isolate; overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.job-row::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(175, 140, 90, .22), rgba(254, 220, 146, .08) 50%, transparent 85%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.job-row:hover, .job-row:focus-visible {
  border-color: var(--sand); transform: translateY(-3px);
  box-shadow: 0 18px 50px -18px rgba(175, 140, 90, .38);
}
.job-row:hover::before, .job-row:focus-visible::before { opacity: 1; }
.job-num {
  font-size: 15px; font-weight: 800; letter-spacing: .06em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.job-main h3 {
  font-weight: 700;
  font-size: clamp(19px, 1.8vw, 24px); line-height: 1.2; letter-spacing: -.015em;
  transition: color .3s;
}
.job-row:hover .job-main h3 { color: var(--salomie); }
.job-main p { margin-top: 8px; max-width: 62ch; font-size: 14px; color: var(--text-2); line-height: 1.65; font-weight: 300; }
.job-dept, .job-mode { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.job-mode { display: inline-flex; align-items: center; gap: 10px; }
.job-go {
  justify-self: end;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--black); background: var(--gold-grad);
  padding: 11px 18px; border-radius: 999px;
  display: inline-flex; gap: 8px; transition: gap .45s var(--ease), box-shadow .4s;
}
.job-go i { font-style: normal; display: inline-block; transition: transform .45s var(--ease); }
.job-row:hover .job-go i { transform: translateX(5px); }
.job-row:hover .job-go { box-shadow: 0 8px 26px -6px rgba(254, 220, 146, .55); }

/* ─── HOME · CULTURA ─────────────────────────────────────────────────────── */
.why-section { padding: clamp(72px, 10vw, 128px) 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(0, 62, 29, .22), transparent); }
.why-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 96px); }
.why-intro p:not(.eyebrow) { margin-top: 22px; color: var(--text-2); max-width: 34ch; font-weight: 300; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; list-style: none; }
.principles li {
  padding: 30px 28px 34px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .4s, transform .5s var(--ease), background .4s;
}
.principles li:hover { border-color: var(--sand); transform: translateY(-4px); background: var(--surface-2); }
.principles .num { font-family: var(--script); font-style: normal; font-size: 40px; line-height: 1; display: inline-block; padding-right: .1em; }
.principles h3 { font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; margin: 12px 0 10px; }
.principles p { font-size: 14.5px; color: var(--text-2); line-height: 1.7; font-weight: 300; }

/* ─── HOME · CIERRE ──────────────────────────────────────────────────────── */
.closing {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(254, 220, 146, .16), transparent 60%),
    linear-gradient(135deg, var(--kaitoke), #001A0C 70%);
  padding: clamp(72px, 10vw, 136px) 0;
  border-top: 1px solid var(--line-2);
}
.closing::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(115deg, transparent 0 60px, rgba(254, 220, 146, .05) 61px 62px, transparent 63px 140px);
}
.closing .eyebrow { color: var(--salomie); }
.closing h2 { font-weight: 800; font-size: clamp(38px, 6vw, 84px); line-height: 1; letter-spacing: -.035em; max-width: 14ch; }
.closing h2 em { font-family: var(--script); font-style: normal; font-weight: 400; font-size: 1.25em; letter-spacing: 0; padding-right: .1em; }
.closing-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.link-line {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--black); background: var(--gold-grad);
  padding: 18px 30px; border-radius: 999px;
  transition: gap .45s var(--ease), box-shadow .4s, transform .4s var(--ease);
}
.link-line:hover { gap: 20px; box-shadow: 0 14px 40px -10px rgba(254, 220, 146, .55); transform: translateY(-2px); }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer { padding: 40px 0; background: var(--black); border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer .logo-img { height: 58px; }
.footer-copy { font-size: 11.5px; font-weight: 400; letter-spacing: .08em; color: var(--text-3); }
.site-footer .logo-tag { display: none; }

/* ─── BOTONES ────────────────────────────────────────────────────────────── */
.cta-gold-btn, .btn-next, .btn-submit, .btn-nav-next, .btn-nav-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 18px 34px;
  background: var(--gold-grad); background-size: 160% 100%; background-position: 0 0;
  color: var(--black);
  border: 0; border-radius: 999px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer;
  transition: background-position .6s var(--ease), box-shadow .4s, gap .45s var(--ease), transform .4s var(--ease);
}
.cta-gold-btn:hover, .btn-next:hover, .btn-submit:hover, .btn-nav-next:hover, .btn-nav-submit:hover {
  background-position: 100% 0; gap: 22px; transform: translateY(-2px);
  box-shadow: 0 14px 40px -10px rgba(254, 220, 146, .55);
}
.cta-gold-btn svg { display: none; }
.cta-gold-btn-full { width: 100%; justify-content: space-between; }
.btn-submit:disabled { opacity: .6; cursor: wait; }
.arr { font-family: var(--sans); font-size: 15px; line-height: 1; }

.btn-back, .btn-nav-back {
  background: none; border: 0; padding: 12px 4px;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3); cursor: pointer; transition: color .25s;
}
.btn-back:hover, .btn-nav-back:hover { color: var(--salomie); }

/* ─── VACANTE · DETALLE ──────────────────────────────────────────────────── */
.job-detail-main { padding-bottom: clamp(72px, 10vw, 128px); }
.breadcrumb-nav { padding: 32px 0 0; }
.breadcrumb-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3); transition: color .25s, gap .45s var(--ease);
}
.breadcrumb-btn svg { display: none; }
.breadcrumb-btn:hover { color: var(--salomie); gap: 14px; }

.job-header-hero {
  position: relative; isolation: isolate;
  margin-top: 24px;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px);
  border: 1px solid var(--line-2); border-radius: 28px;
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(254, 220, 146, .13), transparent 60%),
    linear-gradient(135deg, rgba(0, 62, 29, .85), rgba(0, 26, 12, .75));
  overflow: hidden;
}
.job-header-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(115deg, transparent 0 60px, rgba(254, 220, 146, .045) 61px 62px, transparent 63px 140px);
}
.job-meta-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 28px; }
.badge-tag-dept, .badge-tag-loc, .badge-tag-mode {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-2);
  padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(2, 2, 2, .35);
}
.badge-tag-dept { color: var(--black); background: var(--gold-grad); border-color: transparent; font-weight: 700; }
.job-headline {
  font-weight: 800;
  font-size: clamp(32px, 5vw, 66px); line-height: 1.05; letter-spacing: -.03em;
  max-width: 20ch; margin-bottom: 40px;
}

.job-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 88px); padding-top: clamp(48px, 6vw, 80px); }
.job-main-column { display: flex; flex-direction: column; }

.detail-section { padding: 38px 0 42px; border-top: 1px solid var(--line); }
.detail-section:first-child { border-top: 0; padding-top: 0; }
.detail-intro-p { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.65; font-weight: 300; color: var(--white); }
.detail-heading {
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.02em;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 16px;
}
.detail-heading::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: var(--gold-grad); flex-shrink: 0; }

.custom-list { list-style: none; }
.custom-list li {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font-size: 15.5px; line-height: 1.65; color: var(--text-2); font-weight: 300;
}
.custom-list li:last-child { border-bottom: 0; }
.item-icon-box { display: block; padding-top: 1px; }
.item-icon-box svg { display: none; }
.item-icon-box::before { content: '—'; color: var(--salomie); font-weight: 700; }
.item-icon-box.check::before { content: '✓'; color: var(--salomie); font-weight: 700; }
.item-icon-box.cross::before { content: '×'; color: var(--err); font-size: 19px; line-height: 1.3; }

.tools-badge-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 20px; }
.tool-chip-badge {
  display: inline-flex; align-items: center;
  padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .02em; color: var(--white);
  background: var(--surface);
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.tool-chip-badge svg { display: none; }
.tool-chip-badge:hover { background: var(--gold-grad); color: var(--black); border-color: transparent; transform: translateY(-2px); }
.tool-note-text { font-size: 14.5px; color: var(--text-3); font-weight: 300; }

.warning-box {
  background: linear-gradient(135deg, rgba(240, 138, 110, .08), rgba(240, 138, 110, .02)) !important;
  border: 1px solid rgba(240, 138, 110, .35) !important;
  border-radius: var(--radius);
  padding: 34px clamp(20px, 3vw, 38px) 38px !important;
  margin-top: 16px;
}
.warning-box .detail-heading { color: var(--err) !important; }
.warning-box .detail-heading::before { background: var(--err); }

.job-sidebar-column { position: relative; }
.sidebar-sticky-card { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 18px; }
.sidebar-panel { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 30px; background: var(--surface); }
.sidebar-panel:first-child {
  background:
    radial-gradient(400px 220px at 100% 0%, rgba(254, 220, 146, .16), transparent 65%),
    linear-gradient(145deg, var(--kaitoke), #001A0C);
  border-color: var(--sand);
}
.sidebar-panel h3 { font-weight: 800; font-size: 21px; line-height: 1.25; letter-spacing: -.015em; margin-bottom: 14px; }
.sidebar-panel p { font-size: 14.5px; line-height: 1.7; color: var(--text-2); margin-bottom: 26px; font-weight: 300; }
.panel-kicker, .sidebar-panel > div[style] {
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sand); margin-bottom: 14px;
}
.sidebar-meta-list { display: flex; flex-direction: column; }
.meta-item { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.meta-item:last-child { border-bottom: 0; }
.meta-k { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.meta-v { color: var(--white); text-align: right; font-weight: 500; }

/* ─── FORMULARIO ─────────────────────────────────────────────────────────── */
.form-page-layout { padding-bottom: clamp(72px, 10vw, 120px); min-height: 80vh; }
.form-shell { max-width: 780px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

.form-intro-card {
  margin-top: 24px;
  padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 60px);
  border: 1px solid var(--line-2); border-radius: 28px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(254, 220, 146, .12), transparent 65%),
    linear-gradient(145deg, rgba(0, 62, 29, .8), rgba(0, 26, 12, .7));
}
.form-intro-card .badge-tag-dept { display: inline-flex; margin-bottom: 28px; }
.form-intro-card .badge-tag-dept::before { content: 'Postulación ·'; margin-right: 8px; opacity: .7; }
.form-intro-title {
  font-weight: 800;
  font-size: clamp(30px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 28px;
}
.form-intro-desc { font-size: 16px; line-height: 1.8; color: var(--text-2); margin-bottom: 40px; padding-top: 28px; border-top: 1px solid var(--line-2); font-weight: 300; }

.form-progress-bar-wrap { height: 6px; background: rgba(175, 140, 90, .18); border-radius: 6px; margin: 48px 0 14px; overflow: hidden; position: relative; }
.form-progress-bar-fill { height: 100%; background: var(--gold-grad); border-radius: 6px; transition: width .6s var(--ease); box-shadow: 0 0 16px rgba(254, 220, 146, .5); }
.progress-meta {
  display: flex; justify-content: space-between; margin-bottom: 44px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3);
}
.progress-percentage { color: var(--salomie); }

.form-step { display: none; }
.form-step.active { display: block; animation: stepIn .55s var(--ease) both; }
.step-subtitle { font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--text-2); margin-bottom: 32px; }

.field-group { margin-bottom: 42px; }
.field-label { display: block; font-weight: 700; font-size: clamp(18px, 2vw, 23px); line-height: 1.3; letter-spacing: -.015em; color: var(--white); margin-bottom: 18px; }
.field-required { color: var(--salomie); margin-left: 3px; }
.field-group p[style] { font-size: 14px !important; color: var(--text-3) !important; }

.field-input, .field-select, .field-textarea {
  width: 100%;
  font-family: var(--sans); font-size: 16px; font-weight: 400; color: var(--white);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 16px 18px;
  outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field-textarea { min-height: 150px; resize: vertical; line-height: 1.65; }
.field-input:focus, .field-select:focus, .field-textarea:focus {
  border-color: var(--salomie); background: rgba(254, 220, 146, .05);
  box-shadow: 0 0 0 4px rgba(254, 220, 146, .1);
}
.field-input::placeholder, .field-textarea::placeholder { color: var(--text-3); }
.field-select {
  cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23FEDC92' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.field-select option { background: #07130C; color: var(--white); }

.radio-group, .checkbox-group { display: flex; flex-direction: column; gap: 10px; }
.radio-item, .checkbox-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .025);
  font-size: 15.5px; font-weight: 400; color: var(--text-2); cursor: pointer; user-select: none;
  transition: color .25s, background .3s, border-color .3s, transform .4s var(--ease);
}
.radio-item:hover, .checkbox-item:hover { color: var(--white); border-color: var(--sand); transform: translateX(4px); }
.radio-item.selected, .checkbox-item.selected {
  color: var(--white); border-color: var(--salomie);
  background: linear-gradient(90deg, rgba(175, 140, 90, .22), rgba(175, 140, 90, .06));
}
.radio-item input, .checkbox-item input {
  -webkit-appearance: none; appearance: none; flex-shrink: 0;
  width: 20px; height: 20px; margin: 0;
  border: 1.5px solid var(--sand); background: transparent; cursor: pointer;
  display: grid; place-content: center;
  transition: border-color .25s;
}
.radio-item input { border-radius: 50%; }
.checkbox-item input { border-radius: 6px; }
.radio-item input::before, .checkbox-item input::before {
  content: ''; width: 10px; height: 10px; background: var(--gold-grad);
  transform: scale(0); transition: transform .3s var(--ease);
}
.radio-item input::before { border-radius: 50%; }
.checkbox-item input::before { border-radius: 3px; }
.radio-item input:checked, .checkbox-item input:checked { border-color: var(--salomie); }
.radio-item input:checked::before, .checkbox-item input:checked::before { transform: scale(1); }

.conditional-field { display: none; margin-top: 20px; padding: 6px 0 4px 22px; border-left: 2px solid var(--sand); }
.conditional-field.visible { display: block; animation: fadeIn .4s ease both; }

.form-nav, .form-nav-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line);
}

.phase-marker { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); margin-bottom: 40px; }
.phase-title { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); margin-bottom: 18px; }
.phase-check-list { list-style: none; margin-bottom: 22px; }
.phase-check-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 15px; color: var(--text-2); }
.check-icon { font-size: 0; width: 16px; display: inline-block; }
.check-icon::before { content: '✓'; font-size: 15px; font-weight: 700; color: var(--salomie); }
.phase-current { font-weight: 300; font-size: 20px; line-height: 1.4; color: var(--white); }
.phase-current strong { font-weight: 800; color: var(--salomie); }

.input-error { border-color: var(--err) !important; }
.radio-group.input-error, .checkbox-group.input-error { border-color: transparent !important; }
.radio-group.input-error .radio-item, .checkbox-group.input-error .checkbox-item { border-color: rgba(240, 138, 110, .5); }
.field-error-feedback {
  margin-top: 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--err);
  animation: fadeIn .3s ease both;
}

/* Pantalla de éxito */
.success-wrapper { animation: fadeIn 0.4s var(--ease) both; }
.success-screen, .success-card { padding: clamp(48px, 7vw, 96px) 0 40px; }
.success-badge { width: 64px; height: 64px; margin-bottom: 24px; display: inline-flex; align-items: center; justify-content: center; }
.success-check-svg { overflow: visible; }
.check-circle { stroke-dasharray: 170; stroke-dashoffset: 170; animation: strokeCircle 0.85s var(--ease) forwards; }
.check-path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: strokeCheck 0.55s var(--ease) 0.45s forwards; }
@keyframes strokeCircle { to { stroke-dashoffset: 0; } }
@keyframes strokeCheck { to { stroke-dashoffset: 0; } }
.success-screen .eyebrow { margin-bottom: 18px; animation: rise 0.7s var(--ease) both 0.2s; }
.success-title, .success-screen h2, .success-card h2 {
  font-weight: 800; font-size: clamp(32px, 5vw, 60px); line-height: 1.06; letter-spacing: -.03em;
  color: var(--white); margin-bottom: 22px; animation: rise 0.8s var(--ease) both 0.3s;
}
.success-desc, .success-screen p, .success-card p {
  font-size: 16.5px; line-height: 1.75; color: var(--text-2); font-weight: 300;
  margin-bottom: 32px; max-width: 62ch; animation: rise 0.8s var(--ease) both 0.4s;
}
.success-meta-card {
  background: var(--surface); border: 1px solid var(--line-2); border-left: 3px solid var(--salomie);
  border-radius: var(--radius-sm);
  padding: 22px 26px; margin-bottom: 36px;
  display: flex; flex-direction: column; gap: 12px;
  animation: rise 0.8s var(--ease) both 0.5s;
}
.meta-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 13.5px; flex-wrap: wrap; }
.meta-label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.meta-val { color: var(--white); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.success-actions { display: flex; gap: 16px; align-items: center; animation: rise 0.8s var(--ease) both 0.6s; }
.btn-home {
  display: inline-flex; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid var(--sand);
  color: var(--salomie);
  transition: color .3s, border-color .3s;
}
.btn-home:hover { color: var(--white); border-color: var(--white); }
.btn-submit.submitting { opacity: 0.8; cursor: wait; pointer-events: none; }

/* ─── MOVIMIENTO ─────────────────────────────────────────────────────────── */
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes stepIn  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes rise    { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes draw    { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero .eyebrow, .hero-title .line, .hero-foot > *, .job-header-hero > *, .form-intro-card > * {
  animation: rise .9s var(--ease) both;
}
.hero-title .line:nth-child(1) { animation-delay: .08s; }
.hero-title .line:nth-child(2) { animation-delay: .16s; }
.hero-title .line:nth-child(3) { animation-delay: .24s; }
.hero-foot > :nth-child(1) { animation-delay: .34s; }
.hero-foot > :nth-child(2) { animation-delay: .42s; }
.job-header-hero > :nth-child(2), .form-intro-card > :nth-child(2) { animation-delay: .08s; }
.job-header-hero > :nth-child(3), .form-intro-card > :nth-child(3) { animation-delay: .16s; }
.form-intro-card > :nth-child(4) { animation-delay: .24s; }
.horizon { animation: draw 1.4s var(--ease) both .5s; }

/* Revelado al hacer scroll (activado por main.js) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .job-row { grid-template-columns: 48px minmax(0, 1fr) 170px 88px; padding: 24px; }
  .job-mode { display: none; }
}
@media (max-width: 900px) {
  .hero-foot, .why-grid { grid-template-columns: 1fr; }
  .job-content-layout { grid-template-columns: 1fr; }
  .sidebar-sticky-card { position: static; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero-mark { opacity: .25; }
}
@media (max-width: 680px) {
  .header-content { height: 66px; }
  .logo-img { height: 44px; }
  .header-badge span:last-child { display: none; }
  .header-badge { padding: 10px 14px; }
  .logo-tag { display: none; }
  .job-row { grid-template-columns: 36px minmax(0, 1fr); gap: 8px 12px; padding: 22px 20px; }
  .job-dept { grid-column: 2; }
  .job-go { display: none; }
  .job-main p { display: none; }
  .principles { grid-template-columns: 1fr; }
  .form-nav .btn-next, .form-nav .btn-submit { padding: 15px 22px; }
}
