/* Estilos compartidos de las páginas de categoría (/empleo-aeropuerto/categoria/*) */
:root {
  --blue-50: #eff6ff; --blue-100: #dbeafe; --blue-600: #2563eb; --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; --radius: 14px;
}
* { 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 { 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.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); }
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; } .brand-mark { width: 32px; height: 32px; } }

.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; }

.cat-hero { background: linear-gradient(160deg, var(--blue-950) 0%, var(--blue-900) 55%, var(--blue-600) 130%); padding-top: 52px; padding-bottom: 52px; }
.cat-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; }
.cat-hero-icon svg { width: 28px; height: 28px; stroke: white; }
.cat-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.cat-title { font-size: clamp(28px, 4.4vw, 42px); font-weight: 800; color: white; max-width: 640px; margin-bottom: 14px; }
.cat-lede { font-size: 16.5px; color: rgba(255,255,255,0.78); max-width: 580px; }

section { padding-top: 56px; padding-bottom: 56px; }
@media (max-width: 600px) { section { padding-top: 40px; padding-bottom: 40px; } }
.section-head { max-width: 700px; 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; }

/* Bloque clave (seguridad subcontratada) */
.key-box { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.key-box svg { width: 20px; height: 20px; stroke: var(--blue-600); flex-shrink: 0; margin-top: 2px; }
.key-box p { font-size: 15px; color: var(--blue-950); }
.key-box strong { font-weight: 700; }

.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; }

.companies-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px) { .companies-grid { grid-template-columns: 1fr; } }
.company-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.company-card.featured { border-color: var(--blue-400); background: var(--blue-50); }
.company-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.company-card .tag { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--blue-100); color: var(--blue-950); margin-bottom: 10px; }
.company-card p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 12px; }
.company-card a.mini-link { font-size: 13px; font-weight: 700; color: var(--blue-600); display: inline-flex; align-items: center; gap: 5px; }

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

.salary-dark { background: var(--blue-950); border-radius: var(--radius); padding: 24px; color: white; margin-top: 18px; }
.salary-dark .num { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 26px; }
.salary-dark .note { font-size: 12.5px; color: rgba(255,255,255,0.6); margin: 4px 0 16px; }
.salary-rows { display: flex; flex-direction: column; gap: 8px; }
.salary-rows 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-rows div:last-child { border-bottom: none; }
.salary-rows strong { color: white; }

.info-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .info-two-col { grid-template-columns: 1fr; } }

.cta-closing { background: linear-gradient(135deg, var(--blue-950) 0%, var(--blue-900) 100%); border-radius: 20px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-closing h2 { color: white; font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 8px; }
.cta-closing p { color: rgba(255,255,255,0.75); font-size: 14.5px; max-width: 440px; }
@media (max-width: 600px) { .cta-closing { padding: 28px 24px; } }

.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-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 { width: 44px; height: 44px; border-radius: 11px; background: var(--ink); flex-shrink: 0; overflow: hidden; padding: 7px; }
.aroshift-logo 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); }

.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; }

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; } }

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; }
}
