/* Cosmos Manpower Services — layout modelled on the ayk.global structure,
   palette and type from the Cosmos English website brief. */
:root {
  --blue: #173F89;
  --blue-dark: #0f2c63;
  --orange: #E96520;
  --orange-text: #b84a10;
  --text: #172534;
  --muted: #526375;
  --bg: #FFFFFF;
  --light: #F1F5FA;
  --border: #DCE3EB;
  --radius: 8px;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Instrument Sans", system-ui, sans-serif; font-size: 16px; line-height: 26px;
}
h1, h2, h3, h4 { font-family: "Outfit", system-ui, sans-serif; color: var(--blue); letter-spacing: 0; margin: 0 0 16px; }
h1 { font-size: 48px; line-height: 56px; font-weight: 700; }
h2 { font-size: 32px; line-height: 40px; font-weight: 700; }
h3 { font-size: 22px; line-height: 30px; font-weight: 600; }
p { margin: 0 0 16px; }
a { color: var(--blue); }
img { max-width: 100%; display: block; }
.container { max-width: calc(var(--max) + 64px); margin: 0 auto; padding: 0 32px; }
.section { padding: 80px 0; }
.section.light { background: var(--light); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--muted); text-transform: uppercase; margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 32px; height: 3px; background: var(--orange); }
.center .eyebrow { justify-content: center; }
.lead { font-size: 18px; line-height: 30px; color: var(--muted); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 6px; font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid var(--blue); cursor: pointer; font-family: inherit; transition: background .2s, color .2s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-light { background: #fff; color: var(--blue); border-color: #fff; }
.btn-light:hover { background: var(--light); }
.btn-ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--blue); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.link-arrow:hover { text-decoration: underline; }

/* Top contact strip (AYK-style bg-primary bar) */
.topbar { background: var(--blue); color: #fff; font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar a, .topbar span { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { text-decoration: underline; }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar i { color: #ffb489; }

/* Navbar */
.navbar { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(23,37,52,.05); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 56px; height: 56px; object-fit: contain; }
.brand-name { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 20px; line-height: 22px; color: var(--blue); }
.brand-name small { display: block; font-family: "Instrument Sans", sans-serif; font-weight: 500; font-size: 12px; color: var(--muted); }
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-link { white-space: nowrap; display: flex; align-items: center; gap: 6px; padding: 10px 10px; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; background: none; border: 0; cursor: pointer; font-family: inherit; border-radius: 6px; }
.nav-link:hover, .nav-link[aria-current="page"], .nav-link.active { color: var(--blue); }
.nav-link[aria-current="page"], .nav-link.active { box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.nav-link .fa-chevron-down { font-size: 11px; transition: transform .2s; }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 300px; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--blue); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 16px 32px rgba(23,37,52,.12); padding: 8px; list-style: none; margin: 0; display: none; }
.has-dd.open > .dropdown { display: block; }
@media (hover: hover) and (min-width: 1280px) { .has-dd:hover > .dropdown { display: block; } }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: var(--text); text-decoration: none; border-radius: 6px; font-size: 15px; min-height: 44px; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--light); color: var(--blue); }
.dropdown a i { color: var(--blue); width: 18px; text-align: center; }
.dropdown .dd-all { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }
.dropdown .dd-all a { font-weight: 600; color: var(--blue); }
.nav-cta { display: flex; gap: 8px; }
.nav-cta .btn { white-space: nowrap; min-height: 44px; padding: 8px 14px; font-size: 15px; }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--border); background: #fff; border-radius: 6px; font-weight: 600; color: var(--blue); font-family: inherit; font-size: 15px; cursor: pointer; }

@media (max-width: 1279px) {
  .menu-toggle { display: inline-flex; }
  .nav-wrap { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 16px 32px rgba(23,37,52,.12); max-height: calc(100vh - 84px); overflow-y: auto; padding: 12px 20px 20px; }
  .navbar.open .nav-wrap { display: block; }
  .nav-menu { flex-direction: column; align-items: stretch; }
  .nav-link { width: 100%; justify-content: space-between; padding: 12px 8px; }
  .nav-link[aria-current="page"], .nav-link.active { box-shadow: inset 3px 0 0 var(--orange); padding-left: 14px; }
  .dropdown { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--border); border-radius: 0; margin-left: 8px; min-width: 0; }
  .has-dd.open .fa-chevron-down { transform: rotate(180deg); }
  .nav-cta { margin-top: 12px; flex-direction: column; }
  .nav-cta .btn { width: 100%; }
}
@media (min-width: 1280px) { .nav-wrap { display: flex; align-items: center; gap: 12px; } .nav-emp { display: none !important; } .brand-name { max-width: 180px; } }

/* Home hero — full-width photo, restrained blue overlay, no text card */
.hero { position: relative; color: #fff; min-height: 540px; display: flex; align-items: center; background: var(--blue-dark) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,44,99,.88) 0%, rgba(23,63,137,.65) 55%, rgba(23,63,137,.25) 100%); }
.hero .container { position: relative; z-index: 1; width: 100%; padding-top: 72px; padding-bottom: 72px; }
.hero-text { max-width: 660px; }
.hero h1 { color: #fff; font-size: 56px; line-height: 64px; margin-bottom: 12px; }
.hero .tagline { font-family: "Outfit", sans-serif; font-size: 24px; line-height: 32px; font-weight: 600; color: #fff; margin-bottom: 18px; display: inline-flex; align-items: center; gap: 12px; }
.hero .tagline::before { content: ""; width: 36px; height: 3px; background: var(--orange); }
.hero p { font-size: 18px; line-height: 30px; color: #e8eef8; }
.hero-features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-features span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 6px; font-size: 14px; }

/* Inner page banner (AYK breadcrumb band) */
.page-banner { background: var(--light); border-bottom: 1px solid var(--border); padding: 56px 0 48px; }
.page-banner.with-img { position: relative; background: var(--blue-dark) center/cover no-repeat; color: #fff; padding: 88px 0 72px; border: 0; }
.page-banner.with-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,44,99,.9) 0%, rgba(23,63,137,.7) 60%, rgba(23,63,137,.35) 100%); }
.page-banner.with-img .container { position: relative; z-index: 1; }
.page-banner.with-img h1 { color: #fff; }
.page-banner.with-img .lead { color: #e8eef8; }
.page-banner .lead { max-width: 760px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--border); }
.with-img .breadcrumb, .with-img .breadcrumb a { color: #dbe5f5; }
.with-img .breadcrumb li + li::before { color: #8fa6cf; }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Info split (AYK info-sec) */
.info-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.info-wrap.rev { grid-template-columns: 1fr 1.2fr; }
.info-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.info-img img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li i { color: var(--blue); margin-top: 5px; flex: none; }

/* Category / service grid (AYK industries-grid) */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.card:hover { box-shadow: 0 12px 28px rgba(23,37,52,.08); border-color: #c6d2e0; }
.card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--light); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 22px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 8px; }
.card-body h3 a { text-decoration: none; color: inherit; }
.card-body h3 a:hover { text-decoration: underline; }
.card-body p { color: var(--muted); flex: 1; margin-bottom: 8px; }
.card-icon { width: 52px; height: 52px; border-radius: 8px; background: var(--light); color: var(--blue); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.card .count { font-size: 13px; color: var(--muted); margin-bottom: 4px; }

/* Process steps (AYK process circles) */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 26px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--orange), var(--blue)); }
.steps.s4 { grid-template-columns: repeat(4, 1fr); }
.steps.s4::before { left: 12.5%; right: 12.5%; }
.steps.s6 { grid-template-columns: repeat(6, 1fr); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step .num { width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); display: grid; place-items: center; margin: 0 auto 14px; font-family: "Outfit", sans-serif; font-weight: 700; font-size: 20px; position: relative; z-index: 1; }
.step h3 { font-size: 17px; line-height: 24px; margin: 0; color: var(--text); }
.section.light .step .num { background: var(--light); }

/* Vertical timeline (Recruitment Process) */
.timeline-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 25px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.timeline li { position: relative; padding: 0 0 36px 80px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .num { position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: "Outfit", sans-serif; font-weight: 700; font-size: 20px; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--orange); }
.timeline h3 { margin: 10px 0 6px; }
.timeline p { color: var(--muted); margin: 0; }
.timeline .group-label { font-size: 13px; text-transform: uppercase; font-weight: 600; color: var(--orange-text); padding: 0 0 18px 80px; }
.side-panel { position: sticky; top: 108px; background: var(--light); border: 1px solid var(--border); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 28px; }
.side-panel h3 { margin-bottom: 8px; }
.side-panel .btn { width: 100%; margin-top: 8px; }

/* Checklists (Visa) */
.checklist-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: #fff; }
.checklist-box h3 { display: flex; gap: 12px; align-items: center; }
.checklist-box h3 i { width: 44px; height: 44px; border-radius: 8px; background: var(--light); display: grid; place-items: center; font-size: 18px; }
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.doc-list li:last-child { border-bottom: 0; }
.doc-list li i { color: var(--orange-text); margin-top: 5px; }

.flow { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 0; }
.flow li { flex: 1 1 0; min-width: 150px; position: relative; padding: 18px 20px 18px 16px; background: #fff; border: 1px solid var(--border); font-weight: 600; font-size: 15px; line-height: 22px; display: flex; gap: 10px; align-items: flex-start; }
.flow li + li { border-left: 0; }
.flow li span { color: var(--orange-text); font-family: "Outfit", sans-serif; font-weight: 700; }
.flow li:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.flow li:last-child { border-radius: 0 var(--radius) var(--radius) 0; }

.notice { border-left: 4px solid var(--orange); background: #fff7f2; padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; }
.notice strong { display: block; color: var(--text); margin-bottom: 4px; font-family: "Outfit", sans-serif; font-size: 18px; }
.notice p:last-child { margin: 0; }
.notice.blue { border-color: var(--blue); background: var(--light); }

/* Role directory */
.roles { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 40px; }
.roles.cols-3 { columns: 3; }
.roles li { break-inside: avoid; display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.roles li i { color: var(--blue); margin-top: 5px; width: 18px; text-align: center; flex: none; }
.roles li small { display: block; color: var(--muted); font-size: 14px; line-height: 22px; }
.roles-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.roles-head h2 { margin: 0; }
.tag-count { font-size: 14px; color: var(--muted); }

/* Search */
.search-box { position: relative; max-width: 520px; }
.search-box label { display: block; font-weight: 600; margin-bottom: 8px; }
.search-box input { width: 100%; min-height: 52px; padding: 12px 16px 12px 46px; border: 1px solid #b9c6d6; border-radius: 6px; font: inherit; color: var(--text); background: #fff; }
.search-box i { position: absolute; left: 16px; bottom: 17px; color: var(--muted); }
.empty-state { display: none; padding: 32px; text-align: center; border: 1px dashed #b9c6d6; border-radius: var(--radius); color: var(--muted); background: #fff; }
.empty-state.show { display: block; }

/* Split CTA (AYK request-manpower workforce boxes) */
.workforce-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.workforce-box { border-radius: var(--radius); padding: 40px; }
.workforce-box.dark { background: var(--blue); color: #fff; }
.workforce-box.dark h2, .workforce-box.dark h3 { color: #fff; }
.workforce-box.dark p { color: #dbe5f5; }
.workforce-box.lightbox { background: #fff; border: 1px solid var(--border); }
.workforce-box i.big { font-size: 30px; margin-bottom: 16px; display: block; color: #ffb489; }
.workforce-box.lightbox i.big { color: var(--blue); }

/* CTA band */
.cta-band { background: var(--blue); color: #fff; padding: 64px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #dbe5f5; margin: 0; max-width: 680px; }
.cta-band .btn-row { margin-top: 0; }

/* Related links */
.related { display: flex; flex-wrap: wrap; gap: 12px; }
.related a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--border); border-radius: 6px; text-decoration: none; font-weight: 600; background: #fff; }
.related a:hover { border-color: var(--blue); background: var(--light); }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 8px; font-size: 15px; }
.field .req { color: #b42318; margin-left: 2px; }
.field .opt { color: var(--muted); font-weight: 400; font-size: 14px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=date], .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #b9c6d6; border-radius: 6px; font: inherit; color: var(--text); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.field select[multiple] { min-height: 180px; padding: 8px; }
.field .hint { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 20px; }
.field .error { display: none; color: #b42318; font-size: 14px; margin-top: 6px; line-height: 20px; }
.field.invalid input, .field.invalid select, .field.invalid textarea, .field.invalid .upload { border-color: #b42318; }
.field.invalid .error { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.upload { border: 2px dashed #b9c6d6; border-radius: var(--radius); padding: 28px; text-align: center; background: var(--light); }
.upload i { font-size: 28px; color: var(--blue); margin-bottom: 8px; display: block; }
.upload input { margin-top: 10px; font: inherit; max-width: 100%; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: 15px !important; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--blue); }
.form-status { display: none; margin-top: 20px; padding: 16px 20px; border-radius: 6px; }
.form-status.show { display: block; }
.form-status.warn { background: #fff7f2; border: 1px solid #f3c3a6; color: var(--text); }
.form-status.err { background: #fef3f2; border: 1px solid #fecdca; color: #912018; }
.form-status.ok { background: #ecfdf3; border: 1px solid #abefc6; color: #05603a; }
.form-layout { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
.form-aside h2 { font-size: 28px; line-height: 36px; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 400px 1fr; gap: 48px; align-items: start; }
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-item i { width: 46px; height: 46px; border-radius: 8px; background: #fff2ea; color: var(--orange-text); display: grid; place-items: center; font-size: 18px; flex: none; }
.contact-item strong { display: block; font-family: "Outfit", sans-serif; font-size: 18px; color: var(--text); }
.contact-item a, .contact-item span { user-select: text; }

/* Terms */
.reading { max-width: 760px; margin: 0 auto; }
.terms-group { margin-bottom: 40px; }
.terms-group h2 { font-size: 26px; line-height: 34px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.terms-table { width: 100%; border-collapse: collapse; }
.terms-table th, .terms-table td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--border); }
.terms-table th { width: 38%; font-weight: 600; padding-right: 20px; }

/* About — leadership band */
.leader { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.leader-photo { aspect-ratio: 2/3; border-radius: var(--radius); overflow: hidden; background: var(--light); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader .name { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 22px; color: var(--text); margin: 24px 0 0; }
.leader .role { color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Footer (AYK footer-pro) */
.footer { background: #0f2c63; color: #dbe5f5; padding-top: 56px; font-size: 15px; }
.footer a { color: #dbe5f5; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-title { text-align: center; font-family: "Outfit", sans-serif; font-weight: 700; font-size: 26px; color: #fff; margin-bottom: 32px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.footer-title img { width: 52px; height: 52px; background: #fff; border-radius: 50%; padding: 4px; object-fit: contain; }
.footer-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 32px; }
.footer-contact > div { display: flex; gap: 14px; }
.footer-contact i { font-size: 20px; color: #ffb489; margin-top: 3px; }
.footer-contact strong { display: block; color: #fff; margin-bottom: 4px; }
.footer hr { border: 0; border-top: 1px solid rgba(255,255,255,.15); margin: 0; }
.footer-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding: 40px 0; }
.footer-cols h4 { color: #fff; font-size: 18px; margin-bottom: 14px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-cols li a { display: inline-block; padding: 3px 0; }
.footer-bottom { padding: 20px 0; font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .timeline-wrap, .form-layout, .contact-wrap { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .steps.s6 { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .steps.s6::before { display: none; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 48px 0; }
  h1 { font-size: 34px; line-height: 42px; }
  h2 { font-size: 26px; line-height: 34px; }
  .hero { min-height: 0; }
  .hero h1 { font-size: 38px; line-height: 46px; }
  .hero .tagline { font-size: 20px; line-height: 28px; }
  .hero .container { padding-top: 56px; padding-bottom: 56px; }
  .page-banner, .page-banner.with-img { padding: 40px 0 36px; }
  .topbar .tb-right { display: none; }
  .topbar .tb-left { gap: 14px; font-size: 13px; }
  .info-wrap, .info-wrap.rev, .workforce-wrap, .leader, .values { grid-template-columns: 1fr; gap: 32px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .roles, .roles.cols-3 { columns: 1; }
  .steps, .steps.s4, .steps.s6 { grid-template-columns: 1fr; gap: 0; }
  .steps::before { display: none; }
  .step { display: flex; align-items: center; gap: 16px; text-align: left; padding: 10px 0; }
  .step .num { margin: 0; flex: none; }
  .flow { flex-direction: column; }
  .flow li, .flow li + li { border-left: 1px solid var(--border); border-top: 0; }
  .flow li:first-child { border-top: 1px solid var(--border); border-radius: var(--radius) var(--radius) 0 0; }
  .flow li:last-child { border-radius: 0 0 var(--radius) var(--radius); }
  .form-grid { grid-template-columns: 1fr; }
  .form-card, .workforce-box { padding: 24px 20px; }
  .footer-contact, .footer-cols { grid-template-columns: 1fr; }
  .leader-photo { max-width: 280px; }
  .terms-table th { width: 45%; }
  .brand-name { font-size: 17px; }
  .brand-name small { display: none; }
  .brand img { width: 46px; height: 46px; }
}

/* Prevent grid children (file inputs, long inputs) from forcing horizontal overflow */
.form-layout > *, .contact-wrap > *, .timeline-wrap > *, .info-wrap > *, .form-grid > *, .grid > * { min-width: 0; }
.upload input[type=file] { width: 100%; }

/* Home hero — compact enquiry form (AYK-style hero box) */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-form { background: #fff; color: var(--text); border-radius: var(--radius); border-top: 4px solid var(--orange); padding: 24px 24px 20px; box-shadow: 0 20px 40px rgba(15,44,99,.25); }
.hero-form h2 { font-size: 22px; line-height: 28px; margin-bottom: 4px; }
.hero-form > p { color: var(--muted); font-size: 14px; line-height: 20px; margin-bottom: 14px; }
.hero-form .form-card { border: 0; padding: 0; background: none; }
.hero-form .form-grid { gap: 10px 12px; }
.hero-form .field label { font-size: 13px; margin-bottom: 4px; }
.hero-form .field input[type=text], .hero-form .field input[type=email], .hero-form .field input[type=tel], .hero-form .field select { min-height: 42px; padding: 8px 12px; font-size: 15px; }
.hero-form .field textarea { min-height: 64px; padding: 8px 12px; font-size: 15px; }
.hero-form .consent { font-size: 13px !important; line-height: 18px; }
.hero-form .consent input { width: 18px; height: 18px; margin-top: 0; }
.hero-form .btn-row { margin-top: 12px; }
.hero-form .btn { width: 100%; min-height: 46px; }
.hero-form .form-status { font-size: 14px; line-height: 20px; margin-top: 12px; padding: 12px 14px; }
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-form { max-width: 520px; }
}

/* Our Licence page */
.licence-wrap { align-items: start; }
.licence-figure { margin: 0; }
.licence-figure a { display: block; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 12px 28px rgba(23,37,52,.08); }
.licence-figure img { width: 100%; height: auto; }
.licence-figure figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; display: flex; gap: 8px; align-items: center; }

/* Footer — AYK-style layout (link dividers, wide categories column, coloured bottom bar) */
.footer { background: #0f2c63; padding-top: 56px; }
.footer-title { margin-bottom: 10px; }
.footer-about { max-width: 760px; margin: 0 auto 32px; text-align: center; color: #b9c8e6; font-size: 15px; line-height: 24px; }
.footer-contact a i { font-size: 14px; color: inherit; margin: 0 4px 0 0; }
.footer-cols { grid-template-columns: 1fr 1fr 2fr; gap: 24px 40px; padding: 40px 0 48px; }
.footer-cols h4 { font-size: 22px; line-height: 28px; color: #fff; margin-bottom: 18px; }
.footer-cols h4 a { color: #fff; }
.footer-cols h4.mt { margin-top: 32px; }
.footer-cols ul.flinks { gap: 0; }
.flinks li { border-bottom: 1px solid rgba(255,255,255,.12); }
.flinks li a { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 16px; color: #e8eef8; }
.flinks li a:hover { color: #fff; text-decoration: none; padding-left: 4px; transition: padding .15s; }
.flinks li a i { width: 18px; text-align: center; color: #ffb489; font-size: 14px; }
.flinks.two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.footer-bar { background: #c2410c; color: #fff; font-size: 14px; }
.footer-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 56px; padding-top: 12px; padding-bottom: 12px; }
.footer-bar a { color: #fff; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
.footer-bar a:hover { text-decoration: underline; color: #fff; }
@media (max-width: 1024px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols .fwide { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .footer-cols { grid-template-columns: 1fr; }
  .flinks.two { grid-template-columns: 1fr; }
  .footer-bar .container { justify-content: center; text-align: center; }
}

/* Footer — overseas recruitment regions with flags */
.flinks.regions li span { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 16px; color: #e8eef8; }
.flinks.regions li img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); flex: none; }
.flinks.regions li i { width: 20px; text-align: center; color: #ffb489; font-size: 14px; }
.footer-cols.no-regions { grid-template-columns: 1fr 1fr; }
