/* Estilos compartidos de las páginas de perfil (/empleo-aeropuerto/perfil/*) */
:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-900: #1e3a5f;
  --blue-950: #172554;
  --ink: #14181f;
  --ink-soft: #4b5160;
  --ink-faint: #8891a3;
  --paper: #ffffff;
  --paper-alt: #f7f9fc;
  --line: #e4e9f1;
  --amber: #d97706;
  --amber-bg: #fff7e8;
  --green: #16a34a;
  --green-bg: #f0fdf4;
  --radius: 14px;
}
.section-pad { padding-top: 56px; padding-bottom: 56px; }
@media (max-width: 600px) { .section-pad { padding-top: 40px; padding-bottom: 40px; } }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
h1, h2, h3, .display { font-family: 'Outfit', system-ui, sans-serif; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 18px; } }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue-600); color: white; padding: 12px 20px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 24px; top: 16px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; }

/* ============ HEADER (idéntico a home) ============ */
header.site { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 50; }
.site-bar { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 19px; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand small { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 500; font-size: 11px; color: var(--ink-faint); letter-spacing: 0.02em; }
nav.primary { display: flex; align-items: center; gap: 28px; }
nav.primary a { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
nav.primary a:hover { color: var(--blue-600); border-color: var(--blue-400); }
.nav-toggle { display: none; }
@media (max-width: 880px) {
  nav.primary { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
}
@media (max-width: 600px) {
  .site-bar { padding-top: 14px; padding-bottom: 14px; gap: 12px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
}

/* ============ BREADCRUMB ============ */
.breadcrumb { background: var(--paper-alt); border-bottom: 1px solid var(--line); }
.breadcrumb-inner { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-faint); flex-wrap: wrap; }
.breadcrumb-inner a { color: var(--ink-soft); font-weight: 500; }
.breadcrumb-inner a:hover { color: var(--blue-600); }
.breadcrumb-inner span.current { color: var(--ink); font-weight: 600; }

/* ============ HERO PERFIL ============ */
.pf-hero {
  background: linear-gradient(160deg, var(--blue-950) 0%, var(--blue-900) 55%, var(--blue-600) 130%);
  padding-top: 52px;
  padding-bottom: 52px;
}
.pf-hero-icon {
  width: 56px; height: 56px;
  border-radius: 13px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.pf-hero-icon svg { width: 28px; height: 28px; stroke: white; }
.pf-hero-kicker { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-400); margin-bottom: 10px; display: block; }
h1.pf-hero-title { font-size: clamp(28px, 4.4vw, 42px); font-weight: 800; color: white; max-width: 640px; margin-bottom: 14px; }
.pf-hero-lede { font-size: 16.5px; color: rgba(255,255,255,0.78); max-width: 580px; margin-bottom: 26px; }
.pf-tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); color: white; }

/* ============ SECTION GENERIC ============ */
section { padding-top: 56px; padding-bottom: 56px; }
@media (max-width: 600px) { section { padding-top: 40px; padding-bottom: 40px; } }
.section-head { max-width: 680px; margin-bottom: 28px; }
.kicker { font-size: 13px; font-weight: 700; color: var(--blue-950); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
h2.section-title { font-size: clamp(22px, 3vw, 28px); font-weight: 700; margin-bottom: 10px; }
.section-desc { color: var(--ink-soft); font-size: 15.5px; }

/* ============ FUNCIONES ============ */
.tasks-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 700px) { .tasks-grid { grid-template-columns: 1fr; } }
.task-chip { display: flex; align-items: flex-start; gap: 10px; background: var(--paper-alt); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: 14px; color: var(--ink-soft); }
.task-chip svg { width: 17px; height: 17px; stroke: var(--blue-600); flex-shrink: 0; margin-top: 2px; }

/* ============ REQUISITOS / SALARIO (dos columnas) ============ */
.info-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .info-cols { grid-template-columns: 1fr; } }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card h3 { font-size: 16.5px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.info-card h3 .ico { width: 32px; height: 32px; border-radius: 8px; background: var(--blue-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-card h3 .ico svg { width: 16px; height: 16px; stroke: var(--blue-950); }
.info-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.info-card li { font-size: 13.5px; color: var(--ink-soft); display: flex; align-items: flex-start; gap: 8px; }
.info-card li svg { width: 15px; height: 15px; stroke: var(--blue-600); flex-shrink: 0; margin-top: 2px; }

.salary-box { background: var(--blue-950); border-radius: var(--radius); padding: 24px; color: white; }
.salary-box h3 { color: white; }
.salary-box h3 { display: flex; align-items: center; gap: 10px; }
.salary-box h3 .ico { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.salary-box h3 .ico svg { width: 16px; height: 16px; stroke: white; }
.salary-range { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 26px; margin-bottom: 4px; }
.salary-note { font-size: 12.5px; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.salary-pluses { display: flex; flex-direction: column; gap: 8px; }
.salary-pluses div { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.85); padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.salary-pluses div:last-child { border-bottom: none; }
.salary-pluses strong { color: white; font-weight: 700; }

/* ============ EMPRESAS QUE CONTRATAN ============ */
.who-hires { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.company-row { display: flex; gap: 12px; flex-wrap: wrap; }
.company-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 18px 10px 10px;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  transition: border-color .15s, transform .15s;
}
.company-chip:hover { border-color: var(--blue-400); transform: translateY(-2px); }
.company-chip.has-logo { padding: 8px 16px; }
.company-chip .chip-logo { height: 28px; width: auto; display: block; }
.company-chip .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--blue-100); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: var(--blue-950); flex-shrink: 0; }

/* ============ BANDA CTA FINAL (única foto) ============ */
.closing-cta { border-radius: 20px; overflow: hidden; position: relative; min-height: 200px; display: flex; align-items: center; }
.closing-cta-bg { position: absolute; inset: 0; z-index: 0; }
.closing-cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.closing-cta-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue-950) 0%, rgba(23,37,84,0.85) 45%, rgba(23,37,84,0.2) 100%); }
.closing-cta-content { position: relative; z-index: 1; padding: 32px 36px; max-width: 480px; }
.closing-cta-content h2 { color: white; font-size: clamp(19px, 2.4vw, 24px); margin-bottom: 9px; }
.closing-cta-content p { color: rgba(255,255,255,0.78); font-size: 14px; margin-bottom: 18px; }
@media (max-width: 600px) { .closing-cta-content { padding: 26px 22px; max-width: 100%; } }

/* ============ BUTTONS ============ */
.btn-solid { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-600); color: white; font-weight: 700; font-size: 14.5px; padding: 13px 22px; border-radius: 10px; transition: background .15s; }
.btn-solid:hover { background: #1d4ed8; }
.btn-on-dark { display: inline-flex; align-items: center; gap: 8px; background: white; color: var(--blue-950); font-weight: 700; font-size: 14px; padding: 12px 20px; border-radius: 10px; transition: opacity .15s; }
.btn-on-dark:hover { opacity: 0.9; }
.btn-solid svg, .btn-on-dark svg { width: 15px; height: 15px; }

/* ============ OTROS PERFILES ============ */
.related-row { display: flex; gap: 12px; flex-wrap: wrap; }
.related-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); transition: border-color .15s, color .15s; }
.related-chip:hover { border-color: var(--blue-400); color: var(--blue-600); }

/* ============ AROSHIFT MENTION ============ */
.aroshift-strip { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.aroshift-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 30px; }
.aroshift-left { display: flex; align-items: center; gap: 16px; }
.aroshift-logo-placeholder { width: 44px; height: 44px; border-radius: 11px; background: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; padding: 7px; }
.aroshift-logo-placeholder img { width: 100%; height: 100%; object-fit: contain; }
.aroshift-left h3 { font-size: 15.5px; margin-bottom: 3px; }
.aroshift-left p { font-size: 13px; color: var(--ink-soft); }

/* ============ FOOTER (idéntico a home) ============ */
footer.site { background: var(--ink); color: rgba(255,255,255,0.6); padding-top: 48px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: white; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { font-size: 13.5px; transition: color .15s; }
.footer-grid a:hover { color: white; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .brand-mark { width: 32px; height: 32px; background: white; border-radius: 8px; padding: 4px; }
.footer-brand span { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 16px; color: white; }
footer.site p.tagline { font-size: 13.5px; max-width: 280px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12.5px; }
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ============ PREPARA TU CANDIDATURA ============ */
.cand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 820px) { .cand-grid { grid-template-columns: 1fr; } }
.cand-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--paper); }
.cand-wide { margin-bottom: 20px; }
.cand-card h3 { font-size: 16.5px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.cand-card h3 .ico { width: 32px; height: 32px; border-radius: 8px; background: var(--blue-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cand-card h3 .ico svg { width: 16px; height: 16px; stroke: var(--blue-950); }
.cand-card h3 .ico-red { background: #fee2e2; }
.cand-card h3 .ico-red svg { stroke: #b91c1c; }
.cand-filters { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.cand-filters li { display: flex; gap: 10px; align-items: flex-start; }
.cand-filters li > svg { width: 16px; height: 16px; stroke: var(--blue-600); flex-shrink: 0; margin-top: 3px; }
.cand-filters strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.cand-filters span { font-size: 13.5px; color: var(--ink-soft); }
.cand-hint { font-size: 13px; color: var(--ink-faint); margin-bottom: 12px; }
.kw-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.kw-chip {
  font: inherit; font-size: 13px; font-weight: 600; color: var(--blue-950);
  background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 8px;
  padding: 7px 11px; cursor: pointer; text-align: left; transition: background .15s, border-color .15s;
}
.kw-chip:hover { background: var(--blue-100); border-color: var(--blue-400); }
.kw-chip.is-copied { background: #dcfce7; border-color: #86efac; color: #166534; }
.kw-copy-all { font: inherit; font-size: 13px; font-weight: 700; color: white; background: var(--blue-600); border: 0; border-radius: 8px; padding: 9px 14px; cursor: pointer; }
.kw-copy-all:hover { background: #1d4ed8; }
.kw-feedback { margin-left: 10px; font-size: 13px; font-weight: 600; color: #166534; }
.cand-table { display: flex; flex-direction: column; }
.cand-row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.cand-row:first-child { border-top: 0; padding-top: 0; }
.cand-row .from { font-weight: 700; color: var(--ink); }
.cand-row .to { color: var(--ink-soft); font-style: italic; }
@media (max-width: 600px) { .cand-row { grid-template-columns: 1fr; gap: 4px; } }
.cand-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cand-list li { font-size: 13.5px; color: var(--ink-soft); display: flex; align-items: flex-start; gap: 8px; }
.cand-list li svg { width: 15px; height: 15px; stroke: var(--blue-600); flex-shrink: 0; margin-top: 2px; }
.cand-list-x li svg { stroke: #dc2626; }
.cand-list code { display: inline-block; max-width: 100%; font-size: 12.5px; background: var(--paper-alt); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; overflow-wrap: anywhere; }
.cand-alert { display: flex; gap: 12px; align-items: flex-start; background: #fef2f2; border: 1px solid #fca5a5; border-radius: var(--radius); padding: 16px 20px; font-size: 13.5px; color: #7f1d1d; }
.cand-alert svg { width: 18px; height: 18px; stroke: #dc2626; flex-shrink: 0; margin-top: 1px; }
.cand-alert strong { color: #b91c1c; }
.cand-row .to.tip { font-style: normal; }
.cand-row a { color: var(--blue-600); font-weight: 700; }
.cand-cv { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 20px 24px; }
.cand-cv strong { display: block; font-family: 'Outfit', sans-serif; font-size: 17px; color: var(--blue-950); margin-bottom: 3px; }
.cand-cv span { font-size: 13.5px; color: var(--ink-soft); }
.cand-cv .btn-solid svg { width: 15px; height: 15px; }

nav.primary a.nav-cv { color: #fff; background: #2563eb; padding: 7px 14px; border-radius: 8px; border-bottom: 0; }
nav.primary a.nav-cv:hover { color: #fff; background: #1d4ed8; }

@media (max-width: 880px) {
  body.nav-open nav.primary { display: flex; flex-direction: column; align-items: stretch; gap: 2px; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 10px 18px 18px; border-bottom: 1px solid #e4e9f1; box-shadow: 0 18px 30px -18px rgba(20,24,31,.35); z-index: 60; }
  body.nav-open nav.primary a { padding: 12px 6px; border-bottom: 1px solid #eef1f6; }
  body.nav-open nav.primary a.nav-cv { margin-top: 8px; text-align: center; border-bottom: 0; }
}
