/* ==========================================================================
   Skyward Manpower — global stylesheet
   ========================================================================== */

:root {
  --navy:        #0A0F2C;
  --navy-2:      #070A22;
  --brand:       #1A237E;
  /* accent sobre fondo claro (y fondo de botones con texto blanco) */
  --azure:            #1A237E;
  --azure-rgb:        26, 35, 126;
  /* accent sobre fondo oscuro: heroes, bandas navy y degradados de marca */
  --azure-light:      #D9D9D9;
  --azure-light-rgb:  217, 217, 217;
  --azure-soft:       #D9D9D9;
  --ink:         #0F1430;
  --ink-2:       #1A1F3D;
  --muted:       #5B6079;
  --muted-2:     #8A90AC;
  --line:        #E6E8F0;
  --line-2:      #E1E4F0;
  --line-3:      #D5D9E8;
  --bg-soft:     #F5F6FA;
  --white:       #ffffff;
  --maxw:        1340px;
  --pad:         44px;
  --display:     'Carlito', sans-serif;
  --body:        'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

/* ha de cubrir la nav fija en su estado compacto (13px + 54px de logo) para que
   los anclajes (#services, #about…) no aterricen por debajo de ella */
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--white);
  font-family: var(--body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--azure); color: #fff; }

img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- accessibility helpers ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 1000;
  transform: translateY(-160%); transition: transform .2s ease;
  background: var(--brand); color: #fff; text-decoration: none;
  padding: 12px 20px; border-radius: 4px; font-weight: 600; font-size: 15px;
}
.skip-link:focus { transform: translateY(0); outline: 3px solid var(--azure-light); outline-offset: 2px; }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 2px; }

/* ---------- keyframes ---------- */
@keyframes fv-marquee   { from { transform: translateX(0); }      to { transform: translateX(-50%); } }
@keyframes fv-kenburns  { from { transform: scale(1.02); }        to { transform: scale(1.35); } }
@keyframes fv-scrollcue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(15px); opacity: 0; } 100% { opacity: 0; } }
@keyframes fv-haze      { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes fv-float     { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ---------- layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; width: 100%; }
.section { padding: 140px var(--pad); }
.section--tight { padding: 120px var(--pad); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); }
.section--brand-grad { background: linear-gradient(135deg, var(--brand), var(--navy)); }
.rel { position: relative; }
.z2 { position: relative; z-index: 2; }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--brand); font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--azure); }
.eyebrow--light { color: var(--azure-soft); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 30px; height: 2px; background: var(--azure); }

.h2 {
  font-family: var(--display); font-weight: 700; color: var(--brand);
  font-size: clamp(28px, 3.4vw, 46px); line-height: 1.04;
  letter-spacing: -1px; margin: 0;
}
.h2--light { color: #fff; }
.accent { color: var(--azure); }
.accent--light { color: var(--azure-light); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 16px 28px; cursor: pointer; border: none;
  font-family: inherit;
  transition: background .25s ease, color .25s ease, box-shadow .3s ease, transform .3s cubic-bezier(.22,.61,.36,1);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(10,15,44,.18); }
.btn:active { transform: translateY(-1px); }
.btn i { transition: transform .25s ease; }
.btn:hover i { transform: translateX(5px); }
.btn-group .btn:hover { transform: none; box-shadow: none; }
.btn--primary { background: var(--azure); color: #fff; }
.btn--primary:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--navy); color: #fff; }
.btn--ghost { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.26); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.16); box-shadow: none; }
.btn-group { display: flex; width: max-content; border: 1px solid rgba(255,255,255,.26); }
.btn-group .btn { border: none; }
.btn-group .btn + .btn { border-left: 1px solid rgba(255,255,255,.26); }
.link-arrow {
  text-decoration: none; color: var(--azure); font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; transition: color .2s;
}
.link-arrow:hover { color: var(--brand); }

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 130; background: transparent; pointer-events: none;
}
.progress__bar {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--azure), var(--azure-light));
  box-shadow: 0 0 10px rgba(var(--azure-light-rgb),.6);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad);
  border-bottom: 1px solid rgba(255,255,255,0);
  transition: background .35s ease, padding .35s ease, border-color .35s ease;
}
.nav--solid { background: rgba(10,15,44,.96); border-bottom-color: rgba(255,255,255,.1); padding: 16px var(--pad); }
.nav.is-scrolled { background: rgba(10,15,44,.96); border-bottom-color: rgba(255,255,255,.1); padding: 13px var(--pad); }
.nav__logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.nav__logo img { height: 54px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__link {
  text-decoration: none; color: #fff; font-size: 15px; font-weight: 500;
  letter-spacing: .3px; padding: 9px 15px; transition: color .2s;
}
.nav__link:hover, .nav__link--active { color: var(--azure-light); }
.nav__link--active { font-weight: 600; }
.nav__cta {
  text-decoration: none; background: var(--azure); color: #fff; font-size: 15px;
  font-weight: 600; padding: 12px 22px; letter-spacing: .4px; text-transform: uppercase;
  transition: background .2s, color .2s; flex: none;
}
.nav__cta:hover { background: #fff; color: var(--brand); }

/* services dropdown */
.nav__item { position: relative; }
.nav__caret { font-size: 9px; transition: transform .25s; margin-left: 5px; }
.nav__item:hover .nav__caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 6px; min-width: 280px;
  background: #fff; border: 1px solid var(--line-2);
  box-shadow: 0 24px 50px rgba(15,20,48,.18); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.nav__item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown__item { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 12px 14px; transition: background .18s; }
.dropdown__item:hover { background: var(--bg-soft); }
.dropdown__icon { flex: none; width: 36px; height: 36px; background: #F0F3FB; display: grid; place-items: center; color: var(--azure); font-size: 14px; }
.dropdown__label { display: block; color: var(--brand); font-weight: 700; font-size: 14px; }
.dropdown__sub { display: block; color: var(--muted-2); font-size: 12px; margin-top: 1px; }

/* mobile nav toggle (hidden on desktop) */
.nav__burger { display: none; background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; padding: 8px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--navy);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero--full { height: 100vh; min-height: 640px; }
.hero--tall { min-height: 66vh; align-items: flex-end; padding-bottom: 60px; }
.hero--mid { min-height: 62vh; align-items: flex-end; padding-bottom: 60px; }
.hero--pad { padding: 150px var(--pad) 70px; }
.hero__bg { position: absolute; inset: -6% 0 0 0; will-change: transform; }
.hero__bg img { width: 100%; height: 112%; object-fit: cover; filter: saturate(1.08) contrast(1.04) brightness(.9); animation: fv-kenburns 24s ease-in-out infinite alternate; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,15,44,.62) 0%, rgba(10,15,44,.2) 36%, rgba(10,15,44,.5) 72%, rgba(8,12,36,.94) 100%); }
.hero__overlay--simple { background: linear-gradient(180deg, rgba(10,15,44,.62), rgba(10,15,44,.3) 40%, rgba(8,12,36,.95)); }
.hero__halo { position: absolute; inset: 0; background: radial-gradient(54% 50% at 16% 36%, rgba(var(--azure-light-rgb),.42), transparent 62%); animation: fv-haze 9s ease-in-out infinite; }
.hero__halo--r { background: radial-gradient(50% 70% at 80% 30%, rgba(var(--azure-light-rgb),.34), transparent 60%); animation: none; }
.hero__accent { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--azure-light), var(--brand)); z-index: 4; }
.hero__mark { position: absolute; top: 20%; right: 6%; width: 180px; opacity: .12; }
.hero__inner { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 0 var(--pad); }
.hero__inner--top { padding-top: 25vh; max-width: var(--maxw); }
.hero__crumb { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.6); font-size: 13px; margin-bottom: 24px; }
.hero__crumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.hero__crumb a:hover { color: #fff; }
.hero__crumb .cur { color: var(--azure-light); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 14px; color: var(--azure-soft); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 26px; }
.hero__eyebrow::before { content: ""; width: 44px; height: 2px; background: var(--azure); }
.hero__title { font-family: var(--display); font-weight: 700; color: #fff; font-size: clamp(42px, 6vw, 90px); line-height: .97; letter-spacing: -2px; margin: 0 0 28px; }
.hero__title--sm { font-size: clamp(40px, 5.4vw, 82px); letter-spacing: -2px; margin-bottom: 22px; }
.hero__sub { color: rgba(255,255,255,.84); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; max-width: 560px; margin: 0 0 40px; font-weight: 300; }
.hero__sub--nomargin { margin-bottom: 0; }
.hero__cta-row { display: flex; }
.hero__scrollcue { position: absolute; bottom: 118px; left: 50%; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,.6); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scrollcue .track { width: 1px; height: 24px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.hero__scrollcue .track::after { content: ""; position: absolute; inset: 0; background: var(--azure); animation: fv-scrollcue 1.8s ease-in-out infinite; }

/* hero cards row (home) */
.hero__cards { position: relative; z-index: 3; border-top: 1px solid rgba(255,255,255,.16); margin-top: 42px; backdrop-filter: blur(2px); }
.hero__cards-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(2, 1fr); }
.hero-card { text-decoration: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 28px 26px 32px; border-right: 1px solid rgba(255,255,255,.16); transition: background .3s; }
.hero-card:hover { background: rgba(var(--azure-light-rgb),.16); }
.hero-card__title { font-family: var(--display); font-weight: 700; color: #fff; font-size: 20px; margin-bottom: 7px; }
.hero-card__desc { color: rgba(255,255,255,.66); font-size: 13.5px; line-height: 1.5; margin: 0; font-weight: 300; max-width: 230px; }
.hero-card__arrow { color: var(--azure-light); font-size: 15px; margin-top: 4px; }

/* ---------- marquee ---------- */
/* capabilities bar (home, under hero) */
.capbar {
  background: var(--navy-2);
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 26px 0;
}
.capbar__inner { display: flex; align-items: center; gap: 18px 44px; flex-wrap: wrap; }
.capbar__label {
  display: inline-flex; align-items: center; gap: 14px; flex: none;
  color: var(--azure-light); font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
}
.capbar__label::before { content: ""; width: 30px; height: 2px; background: var(--azure); }
.capbar__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0;
}
.capbar__list li {
  display: inline-flex; align-items: center; color: rgba(255,255,255,.82);
  font-family: var(--display); font-weight: 600; font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: 1px; text-transform: uppercase; transition: color .25s ease;
}
.capbar__list li:hover { color: #fff; }
.capbar__list li:not(:last-child)::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--azure);
  margin: 0 24px; flex: none; opacity: .85;
}
@media (max-width: 620px) {
  .capbar__list li:not(:last-child)::after { margin: 0 16px; }
}

/* ---------- reveal (JS toggles inline transform to none) ---------- */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .85s cubic-bezier(.22,.61,.36,1), transform .85s cubic-bezier(.22,.61,.36,1); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- grids / lines ---------- */
.grid { display: grid; }
.grid-lines { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid-lines--soft { border-color: var(--line-3); }
.cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cell--soft { border-right-color: var(--line-3); border-bottom-color: var(--line-3); }

/* about */
.about__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 90px; align-items: start; }
.sticky { position: sticky; top: 110px; }
.lead { color: var(--ink-2); font-size: 20px; line-height: 1.65; margin: 0 0 26px; }
.body { color: var(--muted); font-size: 16px; line-height: 1.75; margin: 0 0 38px; }
.body--tight { margin-bottom: 18px; }
.about__points { list-style: none; margin: 0 0 38px; padding: 0; display: grid; gap: 16px; }
.about__points li { position: relative; padding-left: 26px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.about__points li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; background: var(--azure); }
.about__points strong { color: var(--brand); font-weight: 700; }
.callout { border-top: 2px solid var(--azure); padding: 22px 0 0; margin-bottom: 46px; }
.callout__title { font-weight: 700; color: var(--brand); font-size: 16px; margin-bottom: 6px; }
.callout__title i { color: var(--azure); margin-right: 10px; }
.callout p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }
.about__media { position: relative; aspect-ratio: 4/3.4; overflow: hidden; background: var(--brand); }
.about__media .img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.about__media .grad { position: absolute; inset: 0; background: linear-gradient(160deg, transparent 50%, rgba(26,35,126,.4)); }
.about__media .mark { position: absolute; bottom: 18px; right: 18px; width: 54px; opacity: .92; }

/* ---------- brand image shapes (isotype-style notched frames) ---------- */
.imgshape--tr { clip-path: polygon(0 0, 78% 0, 78% 16%, 100% 16%, 100% 100%, 0 100%); }
.imgshape--tl { clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%, 0 16%, 22% 16%); }
.imgshape--br { clip-path: polygon(0 0, 100% 0, 100% 84%, 78% 84%, 78% 100%, 0 100%); }
.imgshape--bl { clip-path: polygon(0 0, 100% 0, 100% 100%, 22% 100%, 22% 84%, 0 84%); }
@media (max-width: 640px) {
  .imgshape--tr, .imgshape--tl, .imgshape--br, .imgshape--bl { clip-path: none; }
}

.value { padding: 26px; transition: background .25s; }
.value:hover { background: var(--bg-soft); }
.value i { color: var(--azure); font-size: 20px; }
.value__title { font-weight: 700; color: var(--brand); font-size: 16px; margin: 14px 0 5px; }
.value p { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin: 0; }
/* el fondo pasa a navy, así que icono, título y texto tienen que invertirse también:
   sin esto se quedan en var(--azure) / var(--brand) / var(--muted) e ilegibles */
.value--invert:hover { background: var(--navy); }
.value--invert:hover i { color: var(--azure-light); }
.value--invert:hover .value__title { color: #fff; }
.value--invert:hover p { color: rgba(255,255,255,.72); }

/* stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid rgba(255,255,255,.14); }
.stat { padding: 6px 30px; border-right: 1px solid rgba(255,255,255,.14); }
.stat__num { display: flex; align-items: baseline; font-family: var(--display); font-weight: 700; color: #fff; font-size: clamp(38px, 4.4vw, 60px); line-height: 1; letter-spacing: -1px; }
.stat__num .accent { color: var(--azure-light); }
.stat__label { color: rgba(255,255,255,.62); font-size: 13px; font-weight: 500; margin-top: 14px; letter-spacing: .4px; text-transform: uppercase; }
.stats-band { position: relative; overflow: hidden; padding: 100px var(--pad) 92px; background: linear-gradient(120deg, var(--navy) 0%, #141C4A 100%); }
.stats-band__halo { position: absolute; inset: 0; background: radial-gradient(50% 70% at 78% 50%, rgba(var(--azure-light-rgb),.3), transparent 65%); }
.stats-band__mark { position: absolute; right: 3%; top: 54%; transform: translateY(-50%); width: 280px; opacity: .06; }

/* ---------- home: services panels ----------
   Antes era una pista horizontal movida por scroll (sección de 380vh + sticky +
   translateX desde JS). Ahora es una rejilla normal que fluye con la página. */
.hscroll { position: relative; background: var(--bg-soft); padding: 96px 0 100px; }
.hscroll__head { padding: 0 var(--pad) 44px; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hscroll__headrow { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.hscroll__title { font-family: var(--display); font-weight: 700; color: var(--brand); font-size: clamp(26px, 3vw, 42px); line-height: 1.0; letter-spacing: -1px; margin: 0; max-width: 640px; }
.hscroll__viewport { max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 0 var(--pad); }
.hscroll__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hpanel { width: auto; height: 460px; position: relative; overflow: hidden; background: var(--brand); text-decoration: none; color: inherit; cursor: pointer; }
.hpanel .img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
a.hpanel:hover .img { transform: scale(1.06); }
.hpanel .grad { position: absolute; inset: 0; background: linear-gradient(175deg, rgba(10,15,44,.15) 0%, rgba(10,15,44,.4) 45%, rgba(8,12,36,.95) 100%); }
.hpanel__tag { position: absolute; top: 24px; left: 24px; background: var(--azure); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; padding: 8px 14px; text-transform: uppercase; }
.hpanel__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px; }
.hpanel__name { font-family: var(--display); font-weight: 700; color: #fff; font-size: 28px; margin: 0 0 12px; }
.hpanel__desc { color: rgba(255,255,255,.78); font-size: 14.5px; line-height: 1.6; margin: 0 0 20px; }
.hpanel__link { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; color: var(--azure-light); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.hpanel__link:hover { color: #fff; }
.hpanel--pillars { width: auto; background: var(--azure); padding: 38px; display: flex; flex-direction: column; justify-content: center; }
.hpanel--pillars .mark { position: absolute; right: -12%; top: -8%; width: 60%; opacity: .12; }
.hpanel--pillars h3 { font-family: var(--display); font-weight: 700; color: #fff; font-size: 26px; margin: 0 0 24px; line-height: 1.08; position: relative; }
.pillar-list { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.28); position: relative; }
.pillar { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.28); color: #fff; }
.pillar i { width: 20px; text-align: center; }
.pillar span { font-size: 14.5px; font-weight: 600; }

/* zoom statement */
.zoom { position: relative; height: 70vh; background: var(--navy); overflow: hidden; }
.zoom__sticky { position: sticky; top: 0; height: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.zoom__bg { position: absolute; inset: 0; will-change: transform; }
.zoom__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) brightness(.6); }
.zoom__veil { position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(var(--azure-light-rgb),.32), rgba(8,12,36,.82)); }
.zoom__inner { position: relative; z-index: 2; text-align: center; max-width: 980px; padding: 0 var(--pad); }
.zoom__title { font-family: var(--display); font-weight: 700; color: #fff; font-size: clamp(34px, 5vw, 72px); line-height: 1.06; letter-spacing: -1.5px; margin: 0; text-wrap: balance; text-shadow: 0 2px 50px rgba(0,0,0,.3); }

/* globe (home) */
.globe-sec { position: relative; background: var(--navy-2); overflow: hidden; }
.globe-sec__halo { position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 45%, rgba(var(--azure-light-rgb),.22), transparent 62%); }
.globe-sec__canvas { position: absolute; inset: 0; z-index: 1; }
.globe-sec__grid { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 120px var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; pointer-events: none; }
.globe-sec__title { font-family: var(--display); font-weight: 700; color: #fff; font-size: clamp(32px, 4vw, 60px); line-height: 1.0; letter-spacing: -1.5px; margin: 0 0 22px; }
.globe-sec__sub { color: rgba(255,255,255,.78); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; max-width: 440px; margin: 0 0 36px; font-weight: 300; }
.globe-sec .btn { pointer-events: auto; }
.globe-sec__hint-wrap { display: flex; justify-content: flex-end; align-items: flex-end; height: 100%; min-height: 420px; }
.globe-sec__hint { display: inline-flex; align-items: center; gap: 11px; color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; border: 1px solid rgba(255,255,255,.18); padding: 11px 18px; background: rgba(7,10,34,.4); backdrop-filter: blur(2px); }
.globe-sec__hint i { color: var(--azure-light); }

/* ---------- recruitment / services / training sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.split--center { align-items: center; }
.chip-wrap { display: flex; flex-wrap: wrap; }
.chip { color: var(--brand); font-size: 13.5px; font-weight: 600; padding: 13px 20px; transition: background .2s, color .2s; }
.chip:hover { background: var(--azure); color: #fff; }
.steplist { border-top: 1px solid var(--line); }
.step { display: flex; gap: 24px; align-items: flex-start; padding: 24px 8px; border-bottom: 1px solid var(--line); transition: padding-left .25s, background .25s; }
.step:hover { padding-left: 20px; background: var(--bg-soft); }
.step__num { flex: none; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--azure); width: 34px; }
.step__title { font-weight: 700; color: var(--brand); font-size: 17px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin: 0; }

.panel-dark { background: var(--navy); padding: 46px; position: relative; overflow: hidden; }
.panel-dark__halo { position: absolute; inset: 0; background: radial-gradient(70% 60% at 90% 10%, rgba(var(--azure-light-rgb),.22), transparent 60%); }
.panel-dark h3 { font-family: var(--display); font-weight: 700; color: #fff; font-size: 22px; margin: 0 0 24px; position: relative; }
.panel-light { background: #fff; padding: 46px; }
.panel-light h3 { font-family: var(--display); font-weight: 700; color: var(--brand); font-size: 22px; margin: 0 0 24px; }
.check-list { display: grid; gap: 15px; position: relative; }
.check-list .row { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.check-list--dark .row { color: rgba(255,255,255,.82); }
.check-list--dark .row i { color: var(--azure-light); margin-top: 3px; }
.check-list--dark .row strong { color: #fff; }
.check-list--light .row { color: #3A4060; }
.check-list--light .row i { color: var(--azure); margin-top: 3px; }
.check-list--light .row strong { color: var(--brand); }

.feature { padding: 38px 32px; transition: background .25s; background: #fff; }
.feature i { color: var(--azure); font-size: 26px; }
.feature h3 { font-weight: 700; font-size: 18px; margin: 20px 0 8px; color: var(--brand); }
.feature p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }
.feature--invert:hover { background: var(--navy); }
.feature--invert:hover i { color: var(--azure-light); }
.feature--invert:hover h3 { color: #fff; }
.feature--invert:hover p { color: rgba(255,255,255,.72); }

/* benefits (dark grid) */
.benefit { padding: 30px 28px; transition: background .25s; }
.benefit i { color: var(--azure-light); font-size: 20px; }
.benefit__title { font-weight: 700; color: #fff; font-size: 16px; margin: 14px 0 6px; }
.benefit p { color: rgba(255,255,255,.62); font-size: 13.5px; line-height: 1.55; margin: 0; }
.benefit:hover { background: rgba(var(--azure-light-rgb),.12); }
.grid-lines--light-on-dark { border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.cell--light-on-dark { border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }

/* training extras */
.course { padding: 34px 30px; transition: background .25s; background: #fff; }
.course i { color: var(--azure); font-size: 24px; }
.course h3 { font-weight: 700; font-size: 18px; margin: 18px 0 8px; color: var(--brand); }
.course p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0 0 16px; }
.badge { display: inline-block; border: 1px solid var(--azure); color: var(--azure); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 5px 11px; }
.course--invert:hover { background: var(--navy); color: #fff; }
.course--invert:hover h3 { color: #fff; }
.table { border-top: 2px solid var(--azure); }
.table__head, .table__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 16px; }
.table__head { padding: 14px 8px; border-bottom: 1px solid var(--line); color: var(--muted-2); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.table__row { padding: 20px 8px; border-bottom: 1px solid var(--line); align-items: center; transition: padding-left .25s, background .25s; }
.table__row:hover { padding-left: 18px; background: var(--bg-soft); }
.table__row .c { color: var(--brand); font-weight: 700; font-size: 16px; }
.table__row .m { color: var(--muted); font-size: 14px; }
.table__row .d { color: var(--azure); font-weight: 600; font-size: 14px; white-space: nowrap; }
/* positions table (recruitment): Position | Description | link */
.table--positions { counter-reset: posrow; }
.table--positions .table__head, .table--positions .table__row { grid-template-columns: 1fr auto; }
.table--positions .table__head span:first-child { padding-left: 60px; }
.table--positions .table__row { counter-increment: posrow; align-items: center; }
.table--positions .c { display: flex; align-items: center; gap: 18px; }
.table--positions .pos-info { display: flex; flex-direction: column; gap: 4px; }
.table--positions .pos-title { color: var(--brand); font-weight: 700; font-size: 16px; }
.table--positions .pos-desc { color: var(--muted); font-size: 14px; line-height: 1.5; }
.table--positions .c::before {
  content: counter(posrow, decimal-leading-zero); flex: none;
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(var(--azure-rgb),.10); color: var(--azure);
  font-family: var(--display); font-weight: 700; font-size: 14px;
  transition: background .25s ease, color .25s ease;
}
.table--positions .table__row:hover .c::before { background: var(--azure); color: #fff; }
.table--positions .d { display: flex; align-items: center; justify-content: flex-end; gap: 18px; white-space: nowrap; }
.table--positions .d a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--brand); font-weight: 700; }
.table--positions .d a:hover { color: var(--azure); }
.table--positions .d i { transition: transform .25s ease; }
.table--positions .table__row:hover .d i { transform: translateX(4px); }
.pos-request { background: var(--azure); color: #fff; border: 0; border-radius: 40px; padding: 9px 20px; cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.pos-request:hover { background: var(--brand); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(10,15,44,.16); }
@media (max-width: 620px) {
  .table--positions .table__head span:first-child { padding-left: 0; }
}
.cert { padding: 34px 30px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.cert__icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--brand), var(--azure)); display: grid; place-items: center; color: #fff; font-size: 20px; }
.cert__title { font-weight: 700; color: var(--brand); font-size: 17px; }
.cert p { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 0; }
.pathway { display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding: 26px 8px; border-bottom: 1px solid var(--line); transition: padding-left .25s, background .25s; }
.pathway:hover { padding-left: 18px; background: var(--bg-soft); }
.pathway__ic { width: 48px; height: 48px; border: 1px solid var(--azure); display: grid; place-items: center; color: var(--azure); font-size: 18px; }
.pathway__title { font-weight: 700; color: var(--brand); font-size: 18px; margin-bottom: 5px; }
.pathway p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* services deep dives (services page) */
.deepdive { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.deepdive__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-bottom: 1px solid var(--line-2); background: #fff; }
.deepdive__media { position: relative; min-height: 360px; background: var(--brand); overflow: hidden; }
.deepdive__media .img { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(1.05) brightness(.94); }
.deepdive__media .grad { position: absolute; inset: 0; background: linear-gradient(160deg, transparent, rgba(26,35,126,.5)); }
.deepdive__tag { position: absolute; top: 24px; left: 24px; background: var(--azure); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; padding: 8px 14px; text-transform: uppercase; }
.deepdive__mark { position: absolute; bottom: 24px; right: 24px; width: 50px; opacity: .85; }
.deepdive__text { padding: 54px 56px; display: flex; flex-direction: column; justify-content: center; }
.deepdive__text h3 { font-family: var(--display); font-weight: 700; color: var(--brand); font-size: 32px; margin: 0 0 6px; letter-spacing: -.5px; }
.deepdive__sub { color: var(--azure); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; }
.deepdive__text p.d { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin: 0 0 26px; }
.deepdive__points { display: grid; gap: 0; border-top: 1px solid var(--line); }
.deepdive__point { display: flex; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); color: #3A4060; font-size: 14.5px; line-height: 1.5; }
.deepdive__point i { color: var(--azure); }

/* about group cards */
.gcard { padding: 38px 34px; transition: background .25s; }
.gcard:hover { background: var(--bg-soft); }
.gcard__tag { display: inline-block; border: 1px solid var(--azure); color: var(--azure); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 11px; margin-bottom: 18px; }
.gcard h3 { font-family: var(--display); font-weight: 700; color: var(--brand); font-size: 24px; margin: 0 0 10px; }
.gcard p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* history timeline */
.timeline { border-top: 1px solid var(--line-3); }
.tl { display: grid; grid-template-columns: 165px 1fr; gap: 24px; padding: 28px 8px; border-bottom: 1px solid var(--line-3); transition: padding-left .25s, background .25s; }
.tl:hover { padding-left: 18px; background: #EEF1F8; }
.tl__year { font-family: var(--display); font-weight: 700; color: var(--azure); font-size: 21px; line-height: 1.25; }
.tl__title { font-weight: 700; color: var(--brand); font-size: 18px; margin-bottom: 5px; }
.tl p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }
@media (max-width: 620px) {
  .tl { grid-template-columns: 1fr; gap: 8px; padding: 24px 8px; }
}

/* avotest callout band */
.band { padding: 90px var(--pad); position: relative; overflow: hidden; }
.band__halo { position: absolute; inset: 0; background: radial-gradient(50% 70% at 82% 40%, rgba(var(--azure-light-rgb),.3), transparent 60%); }
.band__mark { position: absolute; left: -2%; bottom: -30%; width: 280px; opacity: .06; }
.band__inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.band__label { color: var(--azure-light); font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 14px; }
.band__label i { margin-right: 10px; }
.band__text { color: #fff; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.4; font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -.5px; }

/* generic CTA strip */
.cta { background: var(--brand); padding: 80px 56px; position: relative; overflow: hidden; }
.cta--navy { background: var(--navy); }
.cta__mark { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: 200px; opacity: .14; }
.cta--navy .cta__mark { opacity: .07; }
.cta__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 50px; flex-wrap: wrap; }
.cta__title { font-family: var(--display); font-weight: 700; color: #fff; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.04; letter-spacing: -1px; margin: 0 0 10px; }
.cta__sub { color: rgba(255,255,255,.85); font-size: 17px; line-height: 1.5; margin: 0; }

/* locations teaser (home) */
.loc-teaser__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; margin-bottom: 54px; }
.loc-region { padding: 34px 32px; transition: background .25s; }
.loc-region:hover { background: rgba(var(--azure-light-rgb),.12); }
.loc-region__top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.loc-region__name { color: #fff; font-family: var(--display); font-weight: 700; font-size: 22px; }
.loc-region__count { color: var(--azure-light); font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; }
.loc-region__codes { display: flex; flex-wrap: wrap; gap: 8px; }
.code { border: 1px solid rgba(255,255,255,.24); color: rgba(255,255,255,.82); font-size: 12px; font-weight: 600; letter-spacing: 1px; padding: 5px 9px; }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: start; }
.info-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info { display: flex; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info__ic { flex: none; width: 46px; height: 46px; background: #F0F3FB; display: grid; place-items: center; color: var(--azure); font-size: 18px; }
.info__label { color: var(--muted-2); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 3px; }
.info__value { color: var(--brand); font-size: 15.5px; font-weight: 600; }
.hq { margin-top: 30px; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 18px 44px rgba(15,20,48,.07); }
.hq__map { height: 210px; background: var(--bg-soft); }
.hq__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.hq__body { padding: 24px 26px; }
.hq__label { display: inline-flex; align-items: center; gap: 9px; color: var(--azure); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.hq__addr { color: #3A4060; font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.hq__dir { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 700; font-size: 13.5px; text-decoration: none; transition: color .2s ease; }
.hq__dir:hover { color: var(--azure); }
.hq__dir i { font-size: 11px; transition: transform .2s ease; }
.hq__dir:hover i { transform: translate(2px, -2px); }
.form-card { background: var(--navy); padding: 48px; position: relative; overflow: hidden; }
.form-card__halo { position: absolute; inset: 0; background: radial-gradient(60% 50% at 100% 0%, rgba(var(--azure-light-rgb),.24), transparent 60%); }
.form { position: relative; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; color: rgba(255,255,255,.7); font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  padding: 14px 15px; color: #fff; font-family: inherit; font-size: 15px; outline: none;
  transition: border-color .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--azure); }
.field select option { color: var(--ink-2); }
.form .btn { justify-content: center; }
.form-success { text-align: center; padding: 70px 10px; }
.form-success__ic { width: 66px; height: 66px; background: var(--azure); display: grid; place-items: center; margin: 0 auto 22px; font-size: 30px; color: #fff; }
.form-success h3 { font-family: var(--display); color: #fff; font-size: 26px; margin: 0 0 10px; }
.form-success p { color: rgba(255,255,255,.7); font-size: 15px; margin: 0; }

/* ---------- contact message card (fvforms, light) ---------- */
.msgcard { background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 30px 70px rgba(15,20,48,.10); padding: 44px; position: relative; }
.msgcard__title { font-family: var(--display); font-weight: 700; color: var(--brand); font-size: 26px; letter-spacing: .5px; text-transform: uppercase; margin: 0 0 6px; }
.msgcard__sub { color: var(--muted); font-size: 15px; margin: 0 0 26px; }
.msgcard__rule { border: 0; border-top: 1px solid var(--line); margin: 0 0 30px; }
.msgform { display: grid; gap: 20px; }
.msgform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.msgfield label { display: block; color: var(--brand); font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.msgfield .req { color: #E5484D; margin-left: 2px; }
.msgfield__wrap { position: relative; }
.msgfield__wrap > i { position: absolute; left: 15px; top: 15px; color: var(--muted-2); font-size: 14px; pointer-events: none; z-index: 1; }
.msgfield__wrap--select::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 16px; top: 15px; color: var(--muted-2); font-size: 12px; pointer-events: none; }
.msgform input:not([type="checkbox"]), .msgform select, .msgform textarea {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 13px 16px 13px 42px; font-family: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.msgform textarea { resize: vertical; min-height: 150px; }
.msgform input::placeholder, .msgform textarea::placeholder { color: var(--muted-2); }
.msgform input:focus, .msgform select:focus, .msgform textarea:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 3px rgba(var(--azure-rgb),.12); }
.msgcheck { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 14px; line-height: 1.5; cursor: pointer; }
.msgcheck input[type="checkbox"] {
  -webkit-appearance: auto; appearance: auto;
  width: 18px; height: 18px; min-width: 18px; flex: none;
  margin: 2px 0 0; padding: 0; background: none; border: 0; border-radius: 0;
  accent-color: var(--azure); cursor: pointer;
}
.msgcheck a { color: var(--azure); font-weight: 700; }
.msgform__submit { width: 100%; justify-content: center; border-radius: 40px; padding: 18px 28px; margin-top: 4px; }
.msgcard .alert-loading, .msgcard .alert-success, .msgcard .alert-error { margin-top: 18px; padding: 14px 18px; border-radius: 10px; font-size: 14px; }
.msgcard .alert-loading { background: #EAF2FF; color: var(--brand); }
.msgcard .alert-success { background: #E7F7EE; color: #1B7F4B; }
.msgcard .alert-error { background: #FDECEC; color: #C0392B; }
@media (max-width: 620px) {
  .msgcard { padding: 28px; }
  .msgform__row { grid-template-columns: 1fr; }
}
.hidden { display: none !important; }
.dept { padding: 38px 34px; transition: background .25s; }
.dept:hover { background: var(--bg-soft); }
.dept__ic { width: 48px; height: 48px; background: var(--navy); display: grid; place-items: center; color: var(--azure-light); font-size: 19px; }
.dept h3 { font-family: var(--display); font-weight: 700; color: var(--brand); font-size: 21px; margin: 20px 0 8px; }
.dept p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0 0 16px; }
.dept a { text-decoration: none; color: var(--azure); font-size: 14px; font-weight: 600; }

/* ---------- locations page ---------- */
.loc-hero { background: linear-gradient(135deg, var(--brand), var(--navy)); }
.loc-summary { display: flex; gap: 0; margin-top: 46px; border-left: 1px solid rgba(255,255,255,.16); width: max-content; }
.loc-summary__item { border-right: 1px solid rgba(255,255,255,.16); padding: 6px 36px 6px 26px; }
.loc-summary__num { font-family: var(--display); font-weight: 700; color: var(--azure-light); font-size: 44px; line-height: 1; }
.loc-summary__label { color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 8px; }
.map-wrap { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: stretch; }
.map-side { background: #fff; border: 1px solid var(--line-2); max-height: 620px; overflow-y: auto; }
.region { border-bottom: 1px solid #EEF0F6; }
.region__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: transparent; border: none; cursor: pointer; padding: 20px; font-family: inherit; transition: background .2s; }
.region.is-open .region__head { background: rgba(var(--azure-rgb),.08); }
.region__name { display: flex; align-items: center; gap: 11px; color: var(--azure); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.region__meta { display: flex; align-items: center; gap: 12px; }
.region__count { background: #EAF2FF; color: var(--azure); border: 1px solid #C5DCFF; font-size: 12px; font-weight: 700; padding: 3px 11px; }
.region__caret { color: var(--muted-2); font-size: 11px; transition: transform .3s; }
.region.is-open .region__caret { transform: rotate(180deg); }
.region__body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.region.is-open .region__body { max-height: 1800px; }
.airport { width: 100%; text-align: left; display: block; background: none; border: none; border-top: 1px solid #EEF0F6; cursor: pointer; padding: 15px 20px; font-family: inherit; transition: background .2s; }
.airport:hover { background: var(--bg-soft); }
.airport__name { display: flex; align-items: center; gap: 10px; color: var(--brand); font-weight: 600; font-size: 14.5px; margin-bottom: 3px; }
.airport__name i { color: var(--muted-2); font-size: 12px; }
.airport__name .star { color: var(--azure); }
.airport__addr { color: var(--muted-2); font-size: 12.5px; line-height: 1.4; padding-left: 22px; }
.map { min-height: 620px; border: 1px solid var(--line-2); background: #EAEEF5; position: relative; z-index: 0; isolation: isolate; }
.lmap .leaflet-popup-content-wrapper { background: #fff; color: var(--brand); border-radius: 0; box-shadow: 0 18px 40px rgba(15,20,48,.22); }
.lmap .leaflet-popup-tip { background: #fff; }
.lmap .leaflet-popup-content { margin: 14px 16px; font-family: var(--body); }
.lmap .leaflet-control-zoom a { background: #fff; color: var(--brand); border-color: var(--line-2); border-radius: 0; }
.lmap .leaflet-control-zoom a:hover { background: var(--azure); color: #fff; }
.lmap .leaflet-bar { border: 1px solid var(--line-2); box-shadow: 0 6px 18px rgba(15,20,48,.15); }
.map-popup__name { font-weight: 700; font-size: 14px; margin-bottom: 4px; color: var(--brand); }
.map-popup__addr { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.detail { display: grid; grid-template-columns: repeat(2, 1fr); }
.detail__cell { padding: 38px 34px; }
.detail__top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.detail__name { font-family: var(--display); font-weight: 700; color: var(--brand); font-size: 24px; }
.detail__count { font-family: var(--display); font-weight: 700; color: var(--azure); font-size: 36px; line-height: 1; }
.detail p.note { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0 0 22px; }
.detail__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.detail__item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.detail__city { color: var(--brand); font-size: 14px; font-weight: 500; }
.detail__code { color: var(--muted-2); font-size: 12px; font-weight: 700; letter-spacing: 1px; }

/* ---------- section headers ---------- */
.head { max-width: 680px; margin: 0 0 50px; }
.head--center { margin: 0 auto 50px; text-align: center; }
.head p { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 14px 0 0; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }

/* ---------- footer ---------- */
.footer { background: var(--navy-2); padding: 54px var(--pad) 34px; }
.footer__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__logo { flex: none; }
.footer__logo img { height: 30px; }
.footer__links { display: flex; gap: 2px; flex-wrap: wrap; }
.footer__link { color: rgba(255,255,255,.6); text-decoration: none; font-size: 14px; padding: 8px 13px; transition: color .2s; }
.footer__link:hover { color: var(--azure-light); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; }
.footer__bottom div { color: rgba(255,255,255,.4); font-size: 13px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 4px; }
.footer__legal .footer__link { font-size: 13px; padding: 4px 10px; }

/* ---------- services: per-company body text + feature tags ---------- */
.svc-rich p { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin: 0 0 20px; }
.svc-rich p:last-child { margin-bottom: 0; }
.svc-tags { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.svc-tags li {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px;
  background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: 40px;
  color: var(--brand); font-size: 13px; font-weight: 600; line-height: 1;
  transition: border-color .2s ease, background .2s ease;
}
.svc-tags li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--azure); flex: none; }
.svc-tags li:hover { border-color: var(--azure); background: #fff; }

/* ---------- legal / prose pages ---------- */
.legal { color: var(--muted); font-size: 16px; line-height: 1.75; }
.legal__updated { color: var(--muted-2); font-size: 14px; margin: 0 0 34px; }
.legal h2 { font-family: var(--display); color: var(--brand); font-size: 24px; line-height: 1.2; margin: 42px 0 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { color: var(--brand); font-size: 18px; margin: 26px 0 8px; }
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 18px; padding-left: 22px; }
.legal li { margin-bottom: 4px; }
.legal a { color: var(--azure); }
.legal a:hover { color: var(--brand); }
.legal h2 + p, .legal h3 + p { margin-top: 0; }
.legal strong { color: var(--brand); }
.legal em { color: var(--muted-2); font-style: italic; }
/* tabla de cookies: con scroll propio para que no desborde en móvil */
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 26px; font-size: 14.5px; display: block; overflow-x: auto; }
.legal thead th { text-align: left; color: var(--brand); font-weight: 700; border-bottom: 2px solid var(--azure); padding: 10px 14px 10px 0; white-space: nowrap; }
.legal tbody td { border-bottom: 1px solid var(--line); padding: 11px 14px 11px 0; vertical-align: top; }
.legal tbody tr:last-child td { border-bottom: none; }

/* ---------- página de error 404 ---------- */
/* Ocupa el alto del dispositivo. 100dvh descuenta la barra del navegador en móvil;
   100vh queda como reserva para navegadores que no lo soporten. */
.errorpage {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100dvh;
  display: grid; place-items: center;
  padding: 120px var(--pad) 80px;
  background: linear-gradient(135deg, var(--brand), var(--navy));
}
.errorpage__halo { position: absolute; inset: 0; background: radial-gradient(50% 60% at 70% 35%, rgba(var(--azure-light-rgb),.28), transparent 62%); }
.errorpage__mark { position: absolute; left: -4%; bottom: -18%; width: 340px; opacity: .07; }
.errorpage__inner { position: relative; z-index: 2; max-width: 680px; text-align: center; }
.errorpage__inner .hero__eyebrow { justify-content: center; }
.errorpage__title {
  font-family: var(--display); font-weight: 700; color: #fff;
  font-size: clamp(38px, 6vw, 76px); line-height: 1.02; letter-spacing: -1.5px; margin: 0 0 20px;
}
.errorpage__sub { color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.6; margin: 0 0 36px; }
.errorpage .btn-group { justify-content: center; }
@media (max-width: 620px) {
  .errorpage { padding: 100px var(--pad) 60px; }
  .errorpage__mark { width: 220px; }
}

/* ---------- utility spacing ---------- */
.mt0 { margin-top: 0; }
.mt32 { margin-top: 32px; }
.mt36 { margin-top: 36px; }
.mb14 { margin-bottom: 14px; }
.mb40 { margin-bottom: 40px; }
.mb50 { margin-bottom: 50px; }
.mb60 { margin-bottom: 60px; }
.mb80 { margin-bottom: 80px; }
.section--nopad-top { padding-top: 0; }
.section--pb60 { padding-bottom: 60px; }
.section--pb70 { padding-bottom: 70px; }
.section--pt60 { padding-top: 60px; }

/* grid column helpers */
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) {
  .cols-3, .cols-4, .cols-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .cols-2, .cols-3, .cols-4, .cols-5 { grid-template-columns: 1fr; }
}

/* heading size modifiers */
.h2--xl { font-size: clamp(32px, 3.6vw, 52px); }
.h2--lg { font-size: clamp(30px, 3.4vw, 48px); }
.h2--md { font-size: clamp(28px, 3.2vw, 44px); }
.h2--sm { font-size: clamp(26px, 3vw, 40px); }
.h2--contact { font-size: clamp(34px, 4vw, 58px); }
.h2--loc { font-size: clamp(32px, 3.8vw, 54px); }
.gap24 { margin-bottom: 24px; }
.gap22 { margin-bottom: 22px; }
.gap18 { margin-bottom: 18px; }
.body--17 { font-size: 17px; }
.lead-max { max-width: 420px; }
.split--wide { grid-template-columns: .8fr 1.2fr; gap: 64px; }
.split--wide2 { grid-template-columns: .8fr 1.2fr; gap: 70px; }
.split--wide3 { grid-template-columns: .85fr 1.15fr; gap: 70px; }
.head--w640 { max-width: 640px; }
.head--w680 { max-width: 680px; }

/* framed panel (border box) */
.framed { border: 1px solid var(--line); }
.framed--soft { border: 1px solid var(--line-2); }

/* group border tint on soft grids */
.grid-lines--l2 { border-color: var(--line-2); }
.cell--l2 { border-right-color: var(--line-2); border-bottom-color: var(--line-2); }

/* interior stat strip (services / training) */
.stat--strip { padding: 34px 30px; }
.stat__big { font-family: var(--display); font-weight: 700; color: #fff; font-size: 32px; line-height: 1; letter-spacing: -.5px; }
.stat__big--sm { font-size: 30px; }
.stat--strip .stat__label { margin-top: 10px; }
.dark-hairline { border-top: 1px solid rgba(255,255,255,.1); }
.dark-hairline-l { border-left: 1px solid rgba(255,255,255,.1); }

/* process step cells (recruitment) */
.step-cell { min-height: 200px; }
.step-cell__num { font-family: var(--display); font-weight: 700; color: var(--azure); font-size: 26px; margin-bottom: 16px; }
.step-cell__title { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.top-accent { border-top: 2px solid var(--azure); }

/* upcoming sessions mini-list (home training teaser) */
.mini-sessions { max-width: 340px; border-left: 2px solid var(--azure); padding-left: 22px; }
.mini-session { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mini-session .c { color: var(--brand); font-weight: 600; font-size: 14px; }
.mini-session .d { color: var(--muted); font-size: 13px; }

.field-label-plain { margin-bottom: 14px; color: var(--brand); font-weight: 700; font-size: 15px; }
.center-row { display: flex; justify-content: center; }
.mt50 { margin-top: 50px; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--navy); color: #fff; }
.hero__mark--low { top: 28%; }
.deepdive__row--rev .deepdive__text { order: 1; }
.deepdive__row--rev .deepdive__media { order: 2; }
.border-soft { border-color: var(--line-2); }
.clip { overflow: hidden; }
.flex-end { display: flex; justify-content: flex-end; }
.hero__eyebrow--center { justify-content: center; }
.max-1100 { max-width: 1100px; }
.max-680 { max-width: 680px; }
.pb120 { padding-bottom: 120px; }
.pb110 { padding-bottom: 110px; }
.pt0 { padding-top: 0; }
.mb36 { margin-bottom: 36px; }
.about-quote { font-family: var(--display); font-weight: 700; color: var(--brand); font-size: clamp(26px, 3vw, 40px); line-height: 1.25; letter-spacing: -1px; margin: 0; text-wrap: balance; }
.band__flex { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.section-band2 { padding: 90px var(--pad); overflow: hidden; position: relative; }
.h2--46 { font-size: clamp(28px, 3.2vw, 46px); }
.h2--session { font-size: clamp(24px, 2.6vw, 36px); }
.p-onlight { color: rgba(255,255,255,.72); font-size: 16.5px; line-height: 1.7; margin: 0; }
.body--165 { font-size: 16.5px; margin: 0; }
.btn-group--faint { border-color: rgba(255,255,255,.2); }
.btn-group--faint2 { border-color: rgba(255,255,255,.4); }
.process-grid { grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--azure); border-left: 1px solid var(--line-3); }
.ic-azure { color: var(--azure); margin-right: 14px; }
.sec-map { padding: 60px var(--pad) 90px; background: var(--bg-soft); }
.sec-detail { padding: 90px var(--pad) 110px; }
.sec-contact { padding-top: 100px; padding-bottom: 100px; background: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  :root { --pad: 22px; }
  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,15,44,.98); border-top: 1px solid rgba(255,255,255,.1);
    padding: 10px 0;
  }
  .nav__links.is-open .nav__link { padding: 14px 22px; }
  .nav__links.is-open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: rgba(255,255,255,.04); margin: 0 12px 8px; }
  .nav__links.is-open .dropdown__label { color: #fff; }
  .nav__burger { display: block; }
  .about__grid, .split, .contact__grid, .globe-sec__grid, .loc-teaser__grid { grid-template-columns: 1fr; gap: 40px; }
  .training__head { margin-bottom: 44px; }
  .sticky { position: static; }
  .stats, .detail { grid-template-columns: repeat(2, 1fr); }
  .deepdive__row { grid-template-columns: 1fr; }
  .deepdive__media { min-height: 240px; }
  .globe-sec__hint-wrap { display: none; }
  .map-wrap { grid-template-columns: 1fr; }
  .hscroll { padding: 70px 0 74px; }
  .hscroll__track { grid-template-columns: repeat(2, 1fr); }
  .hpanel { height: 420px; }
}

@media (max-width: 620px) {
  .stats, .detail, .form__row, .table__head, .table__row { grid-template-columns: 1fr; }
  .table--positions .table__head, .table--positions .table__row { grid-template-columns: 1fr; }
  .table__head { display: none; }
  .table__row { gap: 4px; padding: 18px 8px; }
  /* a 54px el logo mide 256px de ancho y no cabe junto a la hamburguesa en pantallas de 320px */
  .nav__logo img { height: 44px; }
  .hero__cards-inner { grid-template-columns: 1fr; }
  .hero-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.16); }
  .cta__inner, .head-row, .hscroll__headrow { flex-direction: column; align-items: flex-start; }
  .hscroll__track { grid-template-columns: 1fr; }
  .hpanel { height: 380px; }
  .deepdive__text { padding: 34px 26px; }
  .panel-dark, .panel-light, .form-card { padding: 30px; }
}

/* ---------- home: "positions we place" total ---------- */
.positions-total { display: flex; flex-direction: column; }
.positions-total__num {
  font-family: var(--display); font-weight: 700; color: var(--azure);
  font-size: clamp(72px, 9vw, 132px); line-height: .9; letter-spacing: -3px;
}
.positions-total__label {
  color: var(--brand); font-weight: 700; font-size: clamp(18px, 2vw, 24px);
  letter-spacing: .5px; margin-top: 10px;
}
.positions-total__desc { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 12px 0 0; max-width: 340px; }

/* ---------- process stepper (recruitment / home) ---------- */
.process-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; --step-ring: var(--bg-soft); }
.process-steps--on-white { --step-ring: var(--white); }
.process-steps::before {
  content: ""; position: absolute; top: 28px; left: 12%; right: 12%;
  height: 2px; background: var(--line-3); z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; padding: 0 14px; }
.process-step__badge {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 20px;
  display: grid; place-items: center; background: var(--brand); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 19px;
  box-shadow: 0 0 0 6px var(--step-ring); transition: background .25s, transform .25s;
}
.process-step:hover .process-step__badge { background: var(--azure); transform: translateY(-5px); }
.process-step__title { font-weight: 700; color: var(--brand); font-size: 16px; margin-bottom: 6px; }
.process-step p { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 0; }

@media (max-width: 980px) {
  .positions-total { flex-direction: row; align-items: baseline; gap: 18px; flex-wrap: wrap; }
  .positions-total__desc { flex-basis: 100%; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 34px 12px; }
  .process-steps::before { display: none; }
}
@media (max-width: 620px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-step { text-align: left; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 0; align-items: start; }
  .process-step__badge { margin: 0; box-shadow: none; }
}

/* ---------- training section (home) ---------- */
.training { position: relative; overflow: clip; }
.training__halo {
  position: absolute; top: -140px; right: -180px; width: 660px; height: 660px;
  background: radial-gradient(circle, rgba(var(--azure-rgb),.10), transparent 62%);
  pointer-events: none; z-index: 0;
}
.training__head { max-width: 720px; margin: 0 0 60px; }
.training__sub {
  max-width: 580px; margin: 24px 0 0; color: var(--muted);
  font-size: 16.5px; line-height: 1.6;
}

/* courses sub-header */
.training__coursehead {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  flex-wrap: wrap; margin-bottom: 30px;
}
.training__coursetitle {
  font-family: var(--display); font-weight: 700; color: var(--brand);
  font-size: 22px; letter-spacing: -.4px; margin: 0;
  display: inline-flex; align-items: center; gap: 14px;
}
.training__coursetitle::before { content: ""; width: 30px; height: 2px; background: var(--azure); }

.course-carousel { position: relative; padding: 0 6px; margin-top: 8px; }
.course-carousel__track {
  display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 8px 2px 12px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.course-carousel__track::-webkit-scrollbar { display: none; }
.course-slide {
  flex: 0 0 auto; width: min(88vw, 348px); scroll-snap-align: start;
  position: relative; background: #fff; border: 1px solid var(--line-2); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .35s ease, transform .35s ease, border-color .35s ease;
}
/* azure accent bar that grows across the top on hover */
.course-slide::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 5;
  background: linear-gradient(90deg, var(--azure), var(--azure-light));
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.course-slide:hover { box-shadow: 0 28px 56px rgba(15,20,48,.16); transform: translateY(-8px); border-color: transparent; }
.course-slide:hover::before { transform: scaleX(1); }
.course-slide__media {
  position: relative; display: block; height: 210px; overflow: hidden;
  background: linear-gradient(135deg, var(--brand), var(--azure));
}
.course-slide__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.course-slide:hover .course-slide__media img { transform: scale(1.08); }
/* dark scrim over the image for tag legibility + depth */
.course-slide__scrim {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(120% 90% at 82% 6%, rgba(255,255,255,.20), transparent 52%),
    linear-gradient(to top, rgba(10,15,44,.78), rgba(10,15,44,.18) 48%, transparent 74%);
}
/* full-card click target over the image */
.course-slide__cover { position: absolute; inset: 0; z-index: 2; }
/* location + date overlaid on the base of the image */
.course-slide__meta {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 3;
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 7px; pointer-events: none;
}
.course-slide__meta li {
  display: inline-flex; align-items: center; gap: 9px;
  color: rgba(255,255,255,.78); font-size: 13px; font-weight: 600;
  text-shadow: 0 1px 8px rgba(10,15,44,.5);
}
.course-slide__meta li i { color: rgba(255,255,255,.78); font-size: 12.5px; width: 15px; text-align: center; flex: none; }
.course-slide__body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.course-slide__title {
  font-family: var(--display); font-weight: 700;
  font-size: 21px; line-height: 1.22; margin: 0 0 10px;
}
.course-slide__title a { color: var(--brand); text-decoration: none; transition: color .25s ease; }
.course-slide:hover .course-slide__title a { color: var(--azure); }
.course-slide__desc { flex: 1; color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0 0 20px; }
.course-slide__link {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line);
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
}
.course-slide__link i { color: var(--azure); font-size: 12px; transition: transform .25s ease; }
.course-slide:hover .course-slide__link i { transform: translateX(5px); }
/* card footer: View course + More info */
.course-slide__actions { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 16px; }
.course-slide__actions .course-slide__link { margin-top: 0; padding-top: 0; border-top: 0; }
.course-slide__more { margin-left: auto; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; transition: color .2s ease; }
.course-slide__more:hover { color: var(--brand); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(10,15,44,.62); backdrop-filter: blur(3px); }
.modal__dialog { position: relative; z-index: 1; width: 100%; max-width: 660px; max-height: 92vh; overflow-y: auto; }
.modal__close { position: absolute; top: 14px; right: 18px; z-index: 2; background: none; border: 0; font-size: 30px; line-height: 1; color: var(--muted-2); cursor: pointer; transition: color .2s ease; }
.modal__close:hover { color: var(--brand); }
.course-carousel__nav {
  position: absolute; top: 113px; transform: translateY(-50%); z-index: 4;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2);
  background: #fff; color: var(--brand); cursor: pointer; display: grid; place-items: center;
  font-size: 15px; box-shadow: 0 10px 26px rgba(15,20,48,.16); transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.course-carousel__nav:hover { background: var(--azure); color: #fff; border-color: var(--azure); }
.course-carousel__nav--prev { left: -8px; }
.course-carousel__nav--next { right: -8px; }
.course-carousel__dots { display: flex; justify-content: center; gap: 9px; margin-top: 24px; }
.course-carousel__dot { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; background: var(--line-3); cursor: pointer; transition: background .2s ease, width .2s ease, border-radius .2s ease; }
.course-carousel__dot.is-active { background: var(--azure); width: 22px; border-radius: 5px; }
@media (max-width: 620px) {
  .course-carousel__nav { display: none; }
  .training__sub { font-size: 15.5px; }
}

/* course grid (training page) — reuses the .course-slide image card in a responsive grid */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.course-grid .course-slide { width: auto; }
/* shown instead of the grid while no course is open for booking */
.course-empty { display: flex; align-items: flex-start; gap: 20px; max-width: 680px; padding: 32px 34px; background: var(--bg-soft); border-left: 2px solid var(--azure); }
.course-empty i { color: var(--azure); font-size: 24px; line-height: 1.5; flex: none; }
.course-empty p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0; }
.course-empty a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.course-empty a:hover { color: var(--azure); }
@media (max-width: 620px) {
  .course-empty { flex-direction: column; gap: 14px; padding: 26px 24px; }
}
@media (max-width: 900px) {
  .course-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .course-grid { grid-template-columns: 1fr; }
}
button.code--toggle { background: none; cursor: pointer; font-family: inherit; }
button.code--toggle:hover { border-color: #fff; color: #fff; }
.code--extra[hidden] { display: none; }

/* ---------- Jobs (listing + detail) ---------- */
.jobs { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.jobs__bar { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; color: var(--muted); font-size: 14px; }
.jobs__count strong { color: var(--brand); font-family: var(--display); font-size: 20px; margin-right: 4px; }
.job-card { position: relative; background: #fff; border: 1px solid var(--line); padding: 16px 22px 14px; margin-bottom: 10px; transition: box-shadow .25s, transform .25s, border-color .25s; }
.job-card::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 4px; background: var(--azure); transform: scaleY(0); transform-origin: top; transition: transform .25s; }
.job-card:hover { box-shadow: 0 14px 34px rgba(26,35,126,.10); transform: translateY(-2px); border-color: var(--line-3); }
.job-card:hover::before { transform: scaleY(1); }
.job-card[hidden], .jobs__empty[hidden] { display: none; }
.job-card__ref { display: inline-block; color: var(--muted-2); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px; }
.job-card__title { font-family: var(--display); font-size: 20px; line-height: 1.25; margin: 0 0 8px; }
.job-card__title a { color: var(--brand); text-decoration: none; }
.job-card__title a:hover { color: var(--azure); }
.job-card__meta { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 8px; }
.job-card__meta li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--brand); font-size: 12.5px; font-weight: 600; }
.job-card__meta i { color: var(--azure); }
.job-card__desc { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0 0 10px; }
.job-card__link { display: inline-flex; align-items: center; gap: 8px; color: var(--azure); font-weight: 700; font-size: 14px; text-decoration: none; }
.job-card__link i { transition: transform .25s ease; }
.job-card:hover .job-card__link i { transform: translateX(5px); }
.jobs__filters { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--azure); padding: 20px 22px; }
.jobs__filters-title { font-family: var(--display); font-size: 22px; color: var(--brand); margin: 0 0 6px; }
.jobs__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted-2); margin: 12px 0 5px; }
.jobs__input { width: 100%; padding: 11px 13px; border: 1px solid var(--line-3); background: #fff; color: var(--brand); font: inherit; font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.jobs__input:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 3px rgba(var(--azure-light-rgb), .18); }
.jobs__reset { margin-top: 22px; background: none; border: 0; padding: 0; color: var(--azure); font-weight: 700; font-size: 13px; cursor: pointer; }
.jobs__pager { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.jobs__pager button { min-width: 40px; padding: 9px 13px; border: 1px solid var(--line-3); background: #fff; color: var(--brand); font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.jobs__pager button.is-current, .jobs__pager button:hover { background: var(--azure); border-color: var(--azure); color: #fff; }
.jobs__empty { background: #fff; border: 1px dashed var(--line-3); padding: 40px; text-align: center; color: var(--muted); }

.job-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; list-style: none; padding: 0; }
.job-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.9); font-size: 13px; font-weight: 600; }
.job-chips i { color: var(--azure-light); }
.job-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.job-detail__main { background: #fff; border: 1px solid var(--line); padding: 40px 44px; }
.job-detail__heading { font-family: var(--display); font-size: 24px; color: var(--brand); margin: 0 0 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.job-detail__body > :first-child { margin-top: 0; }
.job-detail__side { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--azure); padding: 20px 22px; }
.job-detail__facts { margin: 0 0 26px; }
.job-detail__facts dt { color: var(--muted-2); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 16px; }
.job-detail__facts dt:first-child { margin-top: 0; }
.job-detail__facts dd { margin: 5px 0 0; color: var(--brand); font-weight: 600; }
.job-detail__side .btn { width: 100%; justify-content: center; }
.job-detail__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--azure); font-weight: 600; font-size: 14px; text-decoration: none; }
@media (max-width: 900px) {
  .jobs, .job-detail { grid-template-columns: 1fr; gap: 28px; }
  .jobs__filters { order: -1; position: static; }
  .job-detail__side { position: static; }
  .job-detail__main { padding: 28px 22px; }
  .job-card { padding: 22px 20px; }
}
.jobs-section { padding-top: 40px; padding-bottom: 56px; }
.job-section { padding-top: 40px; padding-bottom: 64px; }
.job-detail { gap: 28px; grid-template-columns: minmax(0, 1fr) 320px; }
.job-detail__main { padding: 28px 32px; }
.job-detail__heading { font-size: 22px; margin-bottom: 16px; padding-bottom: 12px; }
.job-detail__body { font-size: 15px; line-height: 1.65; }
.job-detail__body h2, .job-detail__body h3, .job-detail__body h4 { margin: 22px 0 8px; font-size: 18px; }
.job-detail__body p { margin: 0 0 12px; }
.job-detail__body ul, .job-detail__body ol { margin: 0 0 14px; }
.job-detail__side { padding: 22px; }
.job-detail__facts { margin-bottom: 20px; }
.job-detail__facts dt { margin-top: 12px; }
@media (max-width: 900px) { .job-detail__main { padding: 22px 20px; } }
.job-others { margin-top: 44px; }
.job-others__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.job-others__title { font-family: var(--display); font-size: 24px; color: var(--brand); margin: 0; }
.job-others__all { color: var(--azure); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.job-others__all i { margin-left: 6px; transition: transform .25s ease; }
.job-others__all:hover i { transform: translateX(4px); }
.job-others__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.job-mini { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-top: 3px solid transparent; text-decoration: none; transition: box-shadow .25s, transform .25s, border-top-color .25s; }
.job-mini:hover { box-shadow: 0 12px 28px rgba(26,35,126,.10); transform: translateY(-2px); border-top-color: var(--azure); }
.job-mini__ref { color: var(--muted-2); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.job-mini__title { color: var(--brand); font-family: var(--display); font-size: 17px; font-weight: 700; line-height: 1.3; }
.job-mini__meta { display: flex; flex-direction: column; gap: 3px; color: var(--muted); font-size: 13px; }
.job-mini__meta i { color: var(--azure); margin-right: 7px; }
.job-mini__link { margin-top: auto; padding-top: 6px; color: var(--azure); font-weight: 700; font-size: 13px; }
.job-mini__link i { margin-left: 6px; transition: transform .25s ease; }
.job-mini:hover .job-mini__link i { transform: translateX(4px); }
@media (max-width: 900px) { .job-others__grid { grid-template-columns: 1fr; } }
@media (min-width: 901px) and (max-width: 1100px) { .job-others__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.msgfield__cv { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; min-height: 50px; padding: 8px 16px 8px 42px; background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: 10px; transition: border-color .2s, box-shadow .2s; }
.msgfield__cv:hover, .msgfield__cv:focus-within { border-color: var(--azure); }
.msgfield__cv > i { top: 50%; transform: translateY(-50%); }
.msgfield__cv fvforms-adjunto { display: block; flex: 1 1 auto; min-width: 0; }
.msgfield__hint { color: var(--muted-2); font-size: 12px; margin-left: auto; }
/* Other vacancies now live in the right column, under the Apply card */
.job-detail__col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.job-detail__col .job-detail__side { position: static; }
.job-detail__col .job-others { margin-top: 0; }
.job-detail__col .job-others__head { margin-bottom: 12px; }
.job-detail__col .job-others__title { font-size: 20px; }
.job-detail__col .job-others__grid { grid-template-columns: 1fr; gap: 10px; }
.job-detail__col .job-mini { padding: 14px 16px; }
.job-detail__col .job-mini__title { font-size: 16px; }
@media (min-width: 901px) { .job-detail__col .job-others__grid { grid-template-columns: 1fr; } }
/* Summary card: the main call to action of the page */
.job-detail__col .job-detail__side { background: linear-gradient(160deg, var(--brand) 0%, #141b63 100%); border: 0; border-top: 4px solid var(--azure-light); padding: 30px 28px; box-shadow: 0 18px 40px rgba(20,27,99,.22); color: #fff; }
.job-detail__side-title { font-family: var(--display); font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.18); }
.job-detail__col .job-detail__facts { margin-bottom: 26px; }
.job-detail__col .job-detail__facts dt { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: rgba(255,255,255,.62); }
.job-detail__col .job-detail__facts dt:first-of-type { margin-top: 0; }
.job-detail__col .job-detail__facts dt i { color: var(--azure-light); font-size: 12px; }
.job-detail__col .job-detail__facts dd { margin: 6px 0 0; color: #fff; font-size: 18px; font-weight: 700; line-height: 1.3; }
.job-detail__col .job-detail__side .btn { padding-top: 16px; padding-bottom: 16px; font-size: 15px; }
.job-detail__col .job-detail__back { color: rgba(255,255,255,.8); }
.job-share { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.job-share__label { display: block; margin-bottom: 10px; color: rgba(255,255,255,.62); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.job-share__links { display: flex; flex-wrap: wrap; gap: 8px; }
.job-share__links a, .job-share__links button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff; font-size: 15px; cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.job-share__links a:hover, .job-share__links button:hover { background: #fff; border-color: #fff; color: var(--brand); transform: translateY(-2px); }
.job-share__copied { display: block; margin-top: 10px; color: var(--azure-light); font-size: 13px; font-weight: 600; }
.job-share__copied[hidden] { display: none; }
@media (min-width: 901px) { .job-detail { grid-template-columns: minmax(0, 1fr) 390px; } }
/* Jobs heroes: soft, blurred photo so the title stays the focus */
.hero--blur .hero__bg img { filter: blur(7px) saturate(.9) brightness(.7); }
.hero--blur .hero__overlay { background: linear-gradient(180deg, rgba(10,15,44,.55), rgba(10,15,44,.72)); }

/* ==========================================================================
   Mobile fixes — kept last so they win over the desktop rules above
   ========================================================================== */
@media (max-width: 900px) {
  .jobs, .job-detail { grid-template-columns: 1fr; gap: 24px; }
  .jobs__filters { order: -1; position: static; }
  .job-detail__col .job-detail__side { padding: 24px 22px; }
  .job-detail__main { padding: 22px 20px; min-width: 0; }
  .job-detail__body { overflow-wrap: anywhere; }
  .job-detail__body img, .job-detail__body table { max-width: 100%; }
  .job-detail__body table { display: block; overflow-x: auto; }
  .job-section, .jobs-section { padding-top: 28px; padding-bottom: 44px; }
  .job-others__head { flex-wrap: wrap; }
}
@media (max-width: 620px) {
  /* recruitment process: badge on the left, title + text stacked on the right */
  .process-step__badge { grid-row: 1 / span 2; }
  .process-step > :not(.process-step__badge) { grid-column: 2; min-width: 0; }
  .process-step__title { margin-bottom: 2px; }

  .modal { padding: 10px; }
  .modal__dialog { max-height: 94vh; }
  .msgform__row { grid-template-columns: 1fr; gap: 20px; }
  .msgfield__cv { padding-right: 12px; }
  .msgfield__hint { margin-left: 0; flex-basis: 100%; }
  .job-card__title { font-size: 18px; }
}
@media (max-width: 480px) {
  /* keep logo, burger and CTA on one line */
  .nav { gap: 8px; }
  .nav__logo img { height: 38px; }
  .nav__cta { padding: 9px 12px; font-size: 12px; letter-spacing: .2px; }
  .nav__burger { padding: 6px; font-size: 18px; }
}

/* ==========================================================================
   Mobile menu + home hero (≤ 980px)
   ========================================================================== */
.nav__cta--menu { display: none; }
@media (max-width: 980px) {
  /* the CTA moves into the dropdown */
  .nav > .nav__cta { display: none; }
  .nav__burger { display: grid; place-items: center; width: 44px; height: 44px; font-size: 22px; padding: 0; margin-right: -8px; }
  .nav--open { background: rgba(10,15,44,.98); }

  .nav__links.is-open {
    padding: 8px var(--pad) 28px; max-height: calc(100vh - 72px); overflow-y: auto;
    box-shadow: 0 24px 40px rgba(5,8,28,.45);
  }
  .nav__links.is-open .nav__link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0; font-size: 18px; font-weight: 600; letter-spacing: .2px;
    border-bottom: 1px solid rgba(255,255,255,.09);
  }
  .nav__links.is-open .nav__link::after { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 11px; color: var(--azure-light); opacity: .8; }
  .nav__links.is-open .nav__cta--menu {
    display: flex; align-items: center; justify-content: center; margin-top: 24px;
    padding: 16px 22px; font-size: 14px; letter-spacing: 1.5px;
  }

  /* home hero: grows with its content instead of being locked to the screen height */
  .hero--full { height: auto; min-height: 100svh; min-height: 100vh; }
  .hero__inner--top { padding-top: 130px; padding-bottom: 8px; }
  .hero--full .hero__title { font-size: clamp(36px, 10vw, 56px); letter-spacing: -1px; line-height: 1.02; margin-bottom: 22px; }
  .hero--full .hero__sub { margin-bottom: 32px; }
  .hero--full .hero__eyebrow { margin-bottom: 22px; letter-spacing: 2.5px; }
  .hero__cards { margin-top: 64px; }
  .hero-card { padding: 26px 4px 28px; }
}
@media (max-width: 620px) {
  /* CTA buttons stacked, full width */
  .hero--full .btn-group { flex-direction: column; width: 100%; }
  .hero--full .btn-group .btn { width: 100%; justify-content: space-between; padding: 18px 22px; }
  .hero--full .btn-group .btn + .btn { border-left: none; border-top: 1px solid rgba(255,255,255,.26); }
  .hero__cta-row { display: block; }
}
@media (max-width: 480px) {
  .nav__logo img { height: 40px; }
}

/* home hero tweaks (responsive) */
@media (max-width: 980px) {
  .hero__eyebrow::before { display: none; }
}
@media (max-width: 620px) {
  .hero--full .hero__title { font-size: 13vw; }
}
