/* ============================================================
   empresas.css — Estilos compartidos de todas las páginas
   de empresa y categoría de BPLANAIR360
   ============================================================ */

/* ============ VARIABLES ============ */
: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;
}

/* ============ RESET Y BASE ============ */
.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%; display: block; }
button { font-family: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 18px; } }

/* ============ ACCESIBILIDAD ============ */
.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 ============ */
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 ============ */
.co-hero {
  background: linear-gradient(160deg, var(--blue-950) 0%, var(--blue-900) 55%, var(--blue-600) 130%);
  padding-top: 52px;
  padding-bottom: 52px;
  position: relative;
}
.co-hero-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }

/* Logo: sin fondo, sin margen. Solo cambia height en el HTML de cada página */
.co-hero-logo {
  display: block;
  height: 56px; /* valor por defecto; sobreescribir con style="height:Xpx" en cada página */
  width: auto;
  flex-shrink: 0;
}
.co-hero-logo img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
}
@media (max-width: 480px) {
  .co-hero-logo { height: 40px; }
}

.co-hero-kicker { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-400); }
h1.co-hero-title { font-size: clamp(28px, 4.4vw, 42px); font-weight: 800; color: white; max-width: 640px; margin-bottom: 14px; }
.co-hero-lede { font-size: 16.5px; color: rgba(255,255,255,0.78); max-width: 580px; margin-bottom: 30px; }
.popular-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.popular-label { font-size: 13px; color: rgba(255,255,255,0.55); }
.popular-chip { font-size: 13px; font-weight: 600; color: white; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); padding: 6px 14px; border-radius: 999px; transition: background .15s; }
.popular-chip:hover { background: rgba(255,255,255,0.2); }

/* ============ SECCIONES GENÉRICAS ============ */
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; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.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; }

/* ============ WHO HIRES (quién contrata) ============ */
.who-hires { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Variante A: who-grid (condor, iberia, ryanair, vueling, volotea, wizzair) */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .who-grid { grid-template-columns: 1fr; } }
.who-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.who-card .badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }
.who-card.direct .badge { background: var(--green-bg); color: var(--green); }
.who-card.indirect .badge { background: var(--amber-bg); color: var(--amber); }
.who-card h3 { font-size: 17px; margin-bottom: 8px; }
.who-card p { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.who-card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.who-card li { font-size: 13.5px; color: var(--ink-soft); display: flex; align-items: flex-start; gap: 8px; }
.who-card li svg { width: 15px; height: 15px; stroke: var(--blue-600); flex-shrink: 0; margin-top: 2px; }
.who-card .mini-cta { font-size: 13.5px; font-weight: 700; color: var(--blue-600); display: inline-flex; align-items: center; gap: 6px; }

/* Variante B: role-grid (menzies, swissport, south-ground-services, azul-handling) */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .role-grid { grid-template-columns: 1fr; } }
.role-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.role-card h3 { font-size: 16px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.role-card .ico { width: 34px; height: 34px; border-radius: 9px; background: var(--blue-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.role-card .ico svg { width: 18px; height: 18px; stroke: var(--blue-950); }
.role-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ============ NOTE BOX ============ */
.note-box { margin-top: 18px; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 16px 20px; font-size: 13.5px; color: var(--blue-950); display: flex; gap: 12px; align-items: flex-start; }
.note-box svg { width: 18px; height: 18px; stroke: var(--blue-600); flex-shrink: 0; margin-top: 1px; }

/* ============ POR QUÉ TRABAJAR AQUÍ ============ */
.why-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 760px) { .why-row { grid-template-columns: repeat(2, 1fr); } }
.why-item .ico { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-50); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.why-item .ico svg { width: 26px; height: 26px; stroke: var(--blue-950); }
.why-item h3 { font-size: 15.5px; margin-bottom: 6px; }
.why-item p { font-size: 13px; color: var(--ink-soft); }

/* ============ PROCESO DE SELECCIÓN ============ */
.process-track { display: flex; flex-direction: column; gap: 0; }
.process-step { display: flex; gap: 18px; padding-bottom: 24px; position: relative; }
.process-step:not(:last-child)::before { content: ''; position: absolute; left: 14px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.process-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-950); color: white; display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 13px; flex-shrink: 0; z-index: 1; }
.process-step h4 { font-size: 15.5px; margin-bottom: 4px; }
.process-step p { font-size: 13.5px; color: var(--ink-soft); }
.req-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 10px; }
@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; }
.stat-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.stat-box { flex: 1; min-width: 140px; background: var(--blue-950); color: white; border-radius: var(--radius); padding: 18px 20px; }
.stat-box .num { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 24px; }
.stat-box .lbl { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 2px; }

/* ============ USP ROW ============ */
.usp-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 760px) { .usp-row { grid-template-columns: 1fr 1fr; } }
.usp-item { display: flex; gap: 12px; align-items: flex-start; }
.usp-item .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.usp-item .ico svg { width: 19px; height: 19px; stroke: var(--blue-950); }
.usp-item h4 { font-size: 13.5px; margin-bottom: 3px; }
.usp-item p { font-size: 12px; color: var(--ink-soft); }

/* ============ ÁREAS ============ */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .areas-grid { grid-template-columns: 1fr; } }
.area-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, transform .15s, box-shadow .15s; }
.area-card:hover { border-color: var(--blue-400); transform: translateY(-3px); box-shadow: 0 14px 26px -18px rgba(37,99,235,0.35); }
.area-icon-block { aspect-ratio: 16/9; width: 100%; background: var(--blue-50); display: flex; align-items: center; justify-content: center; }
.area-icon-block .ico-badge { width: 44px; height: 44px; border-radius: 11px; background: white; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px -6px rgba(37,99,235,0.25); }
.area-icon-block .ico-badge svg { width: 21px; height: 21px; stroke: var(--blue-950); }
.area-body { padding: 16px 18px 18px; }
.area-body h4 { font-size: 14.5px; margin-bottom: 5px; }
.area-body p { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 10px; }
.area-body .go { font-size: 12.5px; font-weight: 700; color: var(--blue-600); display: inline-flex; align-items: center; gap: 5px; }

/* ============ BANDA CTA FINAL ============ */
.closing-cta { border-radius: 20px; overflow: hidden; position: relative; min-height: 220px; 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: 36px 40px; max-width: 480px; }
.closing-cta-content h2 { color: white; font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 10px; }
.closing-cta-content p { color: rgba(255,255,255,0.78); font-size: 14.5px; margin-bottom: 20px; }
@media (max-width: 600px) { .closing-cta-content { padding: 28px 24px; 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-outline { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--blue-600); color: var(--blue-600); font-weight: 700; font-size: 14.5px; padding: 11.5px 22px; border-radius: 10px; transition: background .15s, color .15s; }
.btn-outline:hover { background: var(--blue-600); color: white; }
.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-outline svg, .btn-on-dark svg { width: 15px; height: 15px; }

/* ============ RELACIONADAS ============ */
.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 ============ */
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; } }
