/* ==========================================================================
   JOBHELP — Global Manpower | Overseas Recruitment Agency
   Public website styles (custom, no framework)
   Palette: navy #0B3768, dark navy #062B53, blue #0866CC, pale #F0F7FD,
            light border #D6E6F7
   ========================================================================== */

/* ---------- Fonts (local) ---------- */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Caveat';
  src: url('../fonts/caveat-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables & reset ---------- */
:root {
  --navy: #0B3768;
  --navy-dark: #062B53;
  --navy-deep: #04213F;
  --blue: #0866CC;
  --blue-dark: #0554A8;
  --blue-soft: #EAF3FC;
  --pale: #F0F7FD;
  --border: #D6E6F7;
  --text: #33475B;
  --muted: #5B7186;
  --white: #FFFFFF;
  --green: #1D9A55;
  --green-soft: #E7F7EE;
  --red: #D64545;
  --red-soft: #FDEDED;
  --amber: #C77700;
  --amber-soft: #FFF4E0;
  --shadow-sm: 0 1px 3px rgba(11, 55, 104, 0.07);
  --shadow-md: 0 6px 22px rgba(11, 55, 104, 0.10);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Poppins', 'Segoe UI', Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; }

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

/* Custom scrollbar for scrollable areas */
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: var(--pale); border-radius: 8px; }
*::-webkit-scrollbar-thumb { background: #B7D2EC; border-radius: 8px; }
*::-webkit-scrollbar-thumb:hover { background: #9BBFE3; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  z-index: 2000;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: 72px 0; }
.section--pale { background: var(--pale); }
.section--white { background: var(--white); }

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.section__title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.section__title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
}
.section__subtitle { color: var(--muted); font-size: 16px; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn i { font-size: 0.9em; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(8, 102, 204, 0.28); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); color: #fff; }
.btn--accent { background: #2F86E0; color: #fff; }
.btn--accent:hover { background: #4D9BE8; color: #fff; }
.btn--sm { padding: 9px 18px; font-size: 13.5px; }
.btn--lg { padding: 15px 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: 0.55; cursor: not-allowed; }

/* ---------- Alerts ---------- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  margin-bottom: 18px;
  border: 1px solid transparent;
}
.alert i { margin-top: 2px; font-size: 16px; }
.alert__close {
  margin-left: auto;
  background: none;
  border: 0;
  font-size: 20px;
  line-height: 1;
  color: inherit;
  opacity: 0.6;
  padding: 2px 4px;
}
.alert__close:hover { opacity: 1; }
.alert--success { background: var(--green-soft); border-color: #BFE6CF; color: #14683B; }
.alert--error { background: var(--red-soft); border-color: #F1C6C6; color: #A63232; }
.alert--info { background: var(--blue-soft); border-color: var(--border); color: #0E549B; }
.alert--warning { background: var(--amber-soft); border-color: #F0DCB4; color: #8A5B00; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { position: relative; z-index: 100; }

.topbar { background: var(--navy-dark); color: #fff; font-size: 13px; }
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding-block: 5px;
}
.topbar__tagline { color: rgba(255, 255, 255, 0.92); display: flex; align-items: center; gap: 8px; }
.topbar__tagline i { color: #7DB7EA; font-size: 11px; }
.topbar__right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.topbar__item {
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.topbar__item i { color: #7DB7EA; font-size: 12px; }
.topbar__item:hover { color: #fff; }
.topbar__divider { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.25); }
.topbar__socials { display: inline-flex; align-items: center; gap: 6px; }
.topbar__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  transition: background 0.18s ease, color 0.18s ease;
}
.topbar__social:hover { background: var(--blue); color: #fff; }

.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 110;
  box-shadow: 0 2px 10px rgba(11, 55, 104, 0.05);
}
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__logo { width: 46px; height: 46px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-size: 21px; font-weight: 700; color: var(--navy); letter-spacing: -0.2px; }
.brand__tag { font-size: 11.5px; color: var(--muted); letter-spacing: 0.4px; }
.brand:hover .brand__name { color: var(--blue); }

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  position: relative;
}
.nav__link:hover { color: var(--blue); }
.nav__link.is-active { color: var(--blue); font-weight: 600; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--blue);
}
.nav__cta--mobile { display: none; }

.navbar__cta { flex: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  border-radius: 8px;
}
.nav-toggle__bar {
  display: block;
  height: 2.6px;
  width: 100%;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  background: var(--pale);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 102, 204, 0.08) 0%, rgba(8, 102, 204, 0) 70%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 48px;
  align-items: center;
  padding: 64px 20px 72px;
}
.hero__content { position: relative; z-index: 2; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.hero__badge i { color: var(--blue); font-size: 14px; }

.hero__title {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.14;
  margin-bottom: 14px;
}
.hero__title span { color: var(--blue); }
.hero__subtitle { font-size: 17.5px; color: var(--muted); font-weight: 500; margin-bottom: 26px; }

.hero__license {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  max-width: 560px;
  margin-bottom: 30px;
}
.hero__license-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.hero__license-body { min-width: 0; }
.hero__license-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.hero__license-number { display: block; font-size: 21px; font-weight: 700; color: var(--navy); letter-spacing: 0.2px; }
.hero__license-note { display: block; font-size: 12px; color: var(--muted); }
.hero__license-verified {
  flex: none;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 12.5px;
  font-weight: 600;
  text-align: right;
}
.hero__license-verified i { font-size: 19px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__media { position: relative; z-index: 1; }
.hero__script {
  position: absolute;
  top: -4px;
  left: -26px;
  font-family: 'Caveat', cursive;
  font-size: 34px;
  font-weight: 600;
  color: var(--blue);
  transform: rotate(-7deg);
  z-index: 3;
  pointer-events: none;
  text-shadow: 0 1px 0 #fff;
}
.hero__media-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 5px solid var(--white);
  aspect-ratio: 10 / 8.2;
}
.hero__media-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(11, 55, 104, 0.08);
}

/* ==========================================================================
   JOB CATEGORIES (country cards)
   ========================================================================== */
.country-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px 22px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.country-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #B9D6F1;
}
.country-card__flag {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 0 4px var(--pale);
  margin-bottom: 16px;
}
.country-card__flag img { width: 100%; height: 100%; object-fit: cover; }
.country-card__name { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.country-card__cats {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.8;
}
.country-card .btn { margin-top: auto; }

/* ==========================================================================
   RECRUITMENT PROCESS
   ========================================================================== */
.process {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.process__step {
  flex: 1;
  text-align: center;
  min-width: 0;
}
.process__circle {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 31px;
  box-shadow: 0 8px 22px rgba(8, 102, 204, 0.32);
  position: relative;
}
.process__num {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--pale);
}
.process__step-title { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.process__step-title span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 2px;
}
.process__desc { font-size: 13.8px; color: var(--muted); max-width: 250px; margin: 0 auto; }
.process__arrow {
  flex: none;
  width: 40px;
  padding-top: 26px;
  text-align: center;
  color: #8FB9E4;
  font-size: 22px;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery { position: relative; }
.gallery__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 18px;
  scrollbar-width: thin;
}
.gallery__item {
  flex: 0 0 calc(25% - 13.5px);
  scroll-snap-align: start;
  position: relative;
}
.gallery__item a { display: block; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 2.9;
  object-fit: cover;
  transition: transform 0.35s ease;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item a::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  background: rgba(6, 43, 83, 0);
  opacity: 0;
  transition: background 0.25s ease, opacity 0.25s ease;
  border-radius: var(--radius);
}
.gallery__item a:hover::after, .gallery__item a:focus-visible::after { background: rgba(6, 43, 83, 0.45); opacity: 1; }
.gallery__caption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: rgba(6, 43, 83, 0.78);
  color: #fff;
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 7px;
  text-align: center;
  pointer-events: none;
}
.gallery__nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--blue);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
  z-index: 5;
}
.gallery__nav:hover { background: var(--blue); color: #fff; }
.gallery__nav[disabled] { opacity: 0.4; cursor: default; }
.gallery__nav[disabled]:hover { background: var(--white); color: var(--blue); }
.gallery__nav--prev { left: -12px; }
.gallery__nav--next { right: -12px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 43, 83, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  z-index: 1500;
  animation: fadeIn 0.2s ease;
}
.lightbox__img {
  max-width: min(92vw, 1100px);
  max-height: 78vh;
  border-radius: 10px;
  background: #fff;
}
.lightbox__caption { color: #fff; font-size: 15px; text-align: center; max-width: 700px; }
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  color: #fff;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease;
}
.lightbox__close:hover { background: var(--blue); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  color: #fff;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease;
}
.lightbox__nav:hover { background: var(--blue); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__counter { color: rgba(255, 255, 255, 0.7); font-size: 13px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.feature {
  text-align: center;
  padding: 26px 16px;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}
.feature:hover { background: rgba(255, 255, 255, 0.75); }
.feature__icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--blue);
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature__title { font-size: 16.5px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.feature__title span { display: block; }
.feature__desc { font-size: 13.5px; color: var(--muted); }

/* ==========================================================================
   INNER PAGE HEAD
   ========================================================================== */
.page-head {
  background: var(--pale);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
  text-align: center;
}
.page-head__title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.page-head__subtitle { color: var(--muted); font-size: 15.5px; max-width: 620px; margin: 0 auto; }
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--blue); font-weight: 500; }
.breadcrumb i { font-size: 9px; color: #9BB8D4; }

/* ==========================================================================
   JOBS LISTING
   ========================================================================== */
.jobs-layout { padding: 56px 0 72px; }

.filters {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  margin-bottom: 30px;
}
.filters__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr auto auto;
  gap: 12px;
  align-items: end;
}
.filters__field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.filters__actions { display: flex; gap: 10px; }

.jobs-count { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.jobs-count strong { color: var(--navy); }

.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.job-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #B9D6F1;
  transform: translateY(-2px);
}
.job-card__main { flex: 1 1 320px; min-width: 0; }
.job-card__title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.job-card__title { font-size: 17.5px; font-weight: 700; }
.job-card__title a { color: var(--navy); }
.job-card__title a:hover { color: var(--blue); }
.badge-featured {
  background: var(--amber-soft);
  color: var(--amber);
  border: 1px solid #F0DCB4;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13.5px;
  color: var(--muted);
}
.job-card__meta i { color: var(--blue); margin-right: 5px; font-size: 12px; }
.job-card__meta .meta-country { display: inline-flex; align-items: center; gap: 6px; }
.job-card__meta .meta-country img { width: 20px; height: 14px; object-fit: cover; border-radius: 2.5px; border: 1px solid var(--border); }
.job-card__side {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.job-card__facts { display: flex; gap: 26px; }
.job-card__fact { text-align: left; }
.job-card__fact-label { display: block; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; font-weight: 600; }
.job-card__fact-value { display: block; font-size: 14.5px; font-weight: 700; color: var(--navy); }
.job-card__fact-value.is-salary { color: var(--blue); }
.job-card__fact-value.is-closed { color: var(--red); }

.job-type-chip {
  background: var(--blue-soft);
  color: #0E549B;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 36px; flex-wrap: wrap; }
.pagination__btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.pagination__btn:hover { border-color: var(--blue); color: var(--blue); }
.pagination__btn.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination__btn.is-disabled { opacity: 0.45; pointer-events: none; }
.pagination__ellipsis { color: var(--muted); padding: 0 2px; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--white);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
}
.empty-state i { font-size: 44px; color: #B7D2EC; margin-bottom: 16px; }
.empty-state h3 { font-size: 19px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 20px; }

/* ==========================================================================
   JOB DETAILS
   ========================================================================== */
.job-detail-layout {
  padding: 52px 0 72px;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 28px;
  align-items: start;
}
.job-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px;
}
.job-detail-card + .job-detail-card { margin-top: 24px; }
.job-detail__header { border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 24px; }
.job-detail__title { font-size: 25px; font-weight: 700; line-height: 1.3; margin: 8px 0 12px; }
.job-detail__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--muted); }
.job-detail__meta i { color: var(--blue); margin-right: 5px; }
.job-detail__meta .meta-country { display: inline-flex; align-items: center; gap: 6px; }
.job-detail__meta .meta-country img { width: 22px; height: 15px; object-fit: cover; border-radius: 3px; border: 1px solid var(--border); }

.job-detail__section { margin-bottom: 26px; }
.job-detail__section h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.job-detail__section h2 i { color: var(--blue); font-size: 15px; }
.job-detail__section p { margin-bottom: 10px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 9px;
  font-size: 14.5px;
}
.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 9.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--pale);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
}

.job-side { position: sticky; top: 96px; }
.job-side__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.job-side__card + .job-side__card { margin-top: 20px; }
.job-side__title { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.job-side__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}
.job-side__row:last-of-type { border-bottom: 0; }
.job-side__row dt { color: var(--muted); }
.job-side__row dd { font-weight: 600; color: var(--navy); text-align: right; }
.job-side__row dd.is-salary { color: var(--blue); }
.job-side__apply { margin-top: 18px; }
.job-side__note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 10px; }

.related-title { font-size: 21px; font-weight: 700; margin: 40px 0 18px; }

/* ==========================================================================
   FORMS (Apply / Contact)
   ========================================================================== */
.form-layout {
  padding: 52px 0 72px;
  display: grid;
  grid-template-columns: 1fr 2.1fr;
  gap: 28px;
  align-items: start;
}
.form-aside { position: sticky; top: 96px; }
.form-aside__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.form-aside__card + .form-aside__card { margin-top: 20px; }
.form-aside__title { font-size: 16.5px; font-weight: 700; margin-bottom: 14px; }
.mini-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
}
.mini-steps__num {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.mini-steps__text { font-size: 13.8px; }
.mini-steps__text strong { display: block; color: var(--navy); font-size: 14px; }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px;
}
.form-card__title { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.form-card__sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form-grid .form-field--full { grid-column: 1 / -1; }

.form-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-field label .req { color: var(--red); }
.form-field .field-hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 14.5px;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235B7186'%3E%3Cpath d='M12 15.5 5.5 9l1.1-1.1L12 13.3l5.4-5.4L18.5 9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
  padding-right: 36px;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3.5px rgba(8, 102, 204, 0.13);
}
.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid { border-color: var(--red); }
.field-error { display: block; color: var(--red); font-size: 12.5px; margin-top: 5px; }

.phone-group { display: flex; gap: 10px; }
.phone-group select { flex: 0 0 108px; }

.file-drop {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  text-align: center;
  background: var(--pale);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.file-drop:hover { border-color: var(--blue); }
.file-drop.is-drag { border-color: var(--blue); background: var(--blue-soft); }
.file-drop i { font-size: 26px; color: var(--blue); margin-bottom: 8px; display: block; }
.file-drop__text { font-size: 14px; }
.file-drop__text strong { color: var(--navy); }
.file-drop__hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.file-name {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--blue-soft);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--navy);
  margin-top: 10px;
  word-break: break-all;
}
.file-name.is-visible { display: flex; }
.file-name i { color: var(--blue); }
.file-name .file-remove { margin-left: auto; background: none; border: 0; color: var(--red); font-size: 15px; }

.consent-field { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text); }
.consent-field input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0 !important; width: 0 !important; }

.form-submit-row { margin-top: 26px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* Contact page */
.contact-layout { padding: 52px 0 72px; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 36px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card__label { font-size: 12.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 4px; }
.contact-card__value { font-size: 14.5px; font-weight: 600; color: var(--navy); word-break: break-word; }
.contact-card__value a { color: var(--navy); }
.contact-card__value a:hover { color: var(--blue); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 28px; align-items: start; }
.contact-info-list li {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14.5px;
}
.contact-info-list li:last-child { border-bottom: 0; }
.contact-info-list i {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-list strong { display: block; color: var(--navy); font-size: 13.5px; }
.map-frame {
  margin-top: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

/* Application success */
.success-hero { padding: 64px 0 72px; }
.success-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 44px 34px;
  text-align: center;
}
.success-card__icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-card h1 { font-size: 26px; margin-bottom: 10px; }
.success-card__ref {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--pale);
  border: 1.5px dashed var(--blue);
  border-radius: var(--radius-sm);
  padding: 13px 22px;
  margin: 18px 0 8px;
}
.success-card__ref-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.success-card__ref-number { font-size: 21px; font-weight: 700; color: var(--navy); letter-spacing: 1px; }
.success-card__ref-copy {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
}
.success-card__ref-copy:hover { background: var(--blue); color: #fff; }
.success-card__meta { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.next-steps { text-align: left; margin: 0 0 28px; }
.next-steps h2 { font-size: 17px; margin-bottom: 14px; }
.next-steps li { display: flex; gap: 12px; padding: 8px 0; font-size: 14px; align-items: flex-start; }
.next-steps li i { color: var(--green); margin-top: 4px; }
.success-card__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   GENERIC PAGE CONTENT (About / Privacy / Terms)
   ========================================================================== */
.page-content-wrap { padding: 56px 0 72px; }
.page-content { max-width: 860px; margin: 0 auto; }
.page-content h2 {
  font-size: 23px;
  font-weight: 700;
  margin: 34px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--blue);
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; }
.page-content p { margin-bottom: 14px; }
.page-content ul { margin: 0 0 16px 4px; }
.page-content ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.page-content ul li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--blue);
  font-size: 13px;
}
.page-content img { border-radius: var(--radius); border: 1px solid var(--border); margin: 10px 0; width: 100%; }
.page-content strong { color: var(--navy); }

.about-media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.mv-card {
  background: var(--pale);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.mv-card i { font-size: 26px; color: var(--blue); margin-bottom: 12px; display: inline-block; }
.mv-card h3 { margin: 0 0 8px !important; }
.mv-card p { margin: 0; font-size: 14.5px; }

/* CTA strip */
.cta-strip {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 16px;
  padding: 40px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 44px;
}
.cta-strip__text h2 { color: #fff; font-size: 24px; margin-bottom: 6px; }
.cta-strip__text p { color: rgba(255, 255, 255, 0.75); margin: 0; }

/* ==========================================================================
   404
   ========================================================================== */
.error-page { padding: 90px 0 100px; text-align: center; }
.error-page__code {
  font-size: 110px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -2px;
}
.error-page__code span { color: var(--blue); }
.error-page h1 { font-size: 26px; margin: 14px 0 10px; }
.error-page p { color: var(--muted); max-width: 460px; margin: 0 auto 28px; }
.error-page__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.78);
  margin-top: auto;
  position: relative;
}
.site-footer::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), #4D9BE8, var(--blue));
}
.footer__grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr 1.5fr 1.7fr;
  gap: 40px;
  padding: 56px 0 46px;
}
.footer__title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--blue);
}
.footer__about { font-size: 14px; line-height: 1.75; margin: 18px 0 20px; }
.footer__list li { margin-bottom: 10px; font-size: 14px; }
.footer__list a {
  color: rgba(255, 255, 255, 0.78);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__list a i { font-size: 11px; color: #7DB7EA; }
.footer__list a:hover { color: #fff; }
.footer__list--contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__list--contact i {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #7DB7EA;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.footer__socials { display: flex; gap: 9px; }
.footer__social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, transform 0.18s ease;
}
.footer__social:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

.footer-cta-card {
  position: relative;
  background: #0E4E96;
  border-radius: 14px;
  padding: 28px 26px;
  overflow: hidden;
}
.footer-cta-card__plane {
  position: absolute;
  right: -20px;
  bottom: -18px;
  width: 170px;
  height: 170px;
  color: rgba(255, 255, 255, 0.18);
  transform: rotate(-38deg);
  pointer-events: none;
}
.footer-cta-card__title { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.footer-cta-card__text { font-size: 13.8px; color: rgba(255, 255, 255, 0.82); margin-bottom: 20px; position: relative; }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 18px 0; }
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 13.5px; color: rgba(255, 255, 255, 0.62); }
.footer__legal { display: flex; gap: 8px; align-items: center; font-size: 13.5px; }
.footer__legal li + li::before { content: "|"; margin-right: 8px; color: rgba(255, 255, 255, 0.3); }
.footer__legal a { color: rgba(255, 255, 255, 0.75); }
.footer__legal a:hover { color: #fff; }

/* Brand override in footer */
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__tag { color: rgba(255, 255, 255, 0.65); }
.brand--footer:hover .brand__name { color: #fff; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 900;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .gallery__item { flex-basis: calc(33.333% - 12px); }
}

@media (max-width: 1024px) {
  .hero__title { font-size: 38px; }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .gallery__item { flex-basis: calc(50% - 9px); }
  .job-detail-layout { grid-template-columns: 1fr; }
  .job-side { position: static; }
  .form-layout { grid-template-columns: 1fr; }
  .form-aside { position: static; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .filters__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .navbar__cta { display: none; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 84vw);
    background: var(--white);
    box-shadow: -8px 0 30px rgba(11, 55, 104, 0.18);
    transform: translateX(105%);
    transition: transform 0.28s ease;
    padding: 84px 22px 30px;
    overflow-y: auto;
    z-index: 130;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { display: block; padding: 12px 14px; font-size: 15.5px; border-radius: 10px; }
  .nav__link.is-active { background: var(--blue-soft); }
  .nav__link.is-active::after { display: none; }
  .nav__cta--mobile { display: inline-flex; margin-top: 18px; }
  .nav-toggle { position: relative; z-index: 140; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(6, 43, 83, 0.55);
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
  }
  .nav-backdrop.is-visible { opacity: 1; visibility: visible; }

  .process { flex-direction: column; align-items: center; gap: 0; }
  .process__step { width: 100%; max-width: 460px; padding: 18px 0; }
  .process__arrow {
    width: auto;
    padding: 2px 0 8px;
    font-size: 22px;
    transform: rotate(90deg);
  }
  .hero__inner { grid-template-columns: 1fr; gap: 30px; padding-top: 46px; padding-bottom: 52px; }
  .hero__media { max-width: 620px; margin: 0 auto; width: 100%; }
  .hero__script { left: 6px; top: -30px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section__title { font-size: 27px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .topbar__tagline { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__right { justify-content: center; gap: 14px; }
  .page-head__title { font-size: 27px; }
  .jobs-layout { padding: 40px 0 56px; }
  .job-card { padding: 20px; }
  .job-card__facts { gap: 18px; }
  .form-card { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; padding: 46px 0 38px; }
  .footer__bottom-inner { justify-content: center; text-align: center; }
  .error-page__code { font-size: 84px; }
  .about-media-grid, .mv-grid { grid-template-columns: 1fr; }
  .cta-strip { padding: 32px 24px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .grid--4 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .gallery__item { flex-basis: calc(88% - 12px); }
  .hero__title { font-size: 31px; }
  .hero__subtitle { font-size: 15.5px; }
  .hero__media { margin-top: 0; }
  .hero__script { position: static; display: inline-block; transform: rotate(-4deg); margin: 0 0 -2px 2px; font-size: 25px; white-space: nowrap; }
  .hero__license { flex-wrap: wrap; padding: 14px; gap: 10px; }
  .hero__license-verified { margin-left: 60px; text-align: left; }
  .hero__actions .btn { width: 100%; }
  .country-card__cats { font-size: 13px; }
  .contact-cards { grid-template-columns: 1fr; }
  .filters__grid { grid-template-columns: 1fr; }
  .filters__actions { display: flex; }
  .filters__actions .btn { flex: 1; }
  .phone-group select { flex: 0 0 92px; }
  .topbar__item span { display: none; }
  .topbar__item i { font-size: 14px; }
  .topbar__divider { display: none; }
  .job-card__side { width: 100%; justify-content: space-between; }
  .success-card { padding: 34px 20px; }
  .success-card__ref { flex-wrap: wrap; justify-content: center; padding: 12px 14px; }
  .gallery__nav--prev { left: 2px; }
  .gallery__nav--next { right: 2px; }
  .to-top { right: 14px; bottom: 14px; }
}

@media (max-width: 380px) {
  .container { padding-inline: 16px; }
  .hero__title { font-size: 27px; }
  .grid--5 { grid-template-columns: 1fr; }
  .brand__name { font-size: 18px; }
  .brand__tag { font-size: 10.5px; }
  .brand__logo { width: 40px; height: 40px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
