/* =========================================================
   Easy Pass: shared site parts (every page)
   top bar, sticky menu, dropdown, page headers, job pages,
   forms, contact, long text, back-to-top
   Loaded after bold.css.
   ========================================================= */

/* ---- 1. Header: fixed, turns white when you scroll ---- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.site-header__inner { height: 80px; }
.site-header.is-scrolled { background: var(--white); box-shadow: 0 6px 24px rgba(17, 24, 39, .08); }
.site-header.is-scrolled .logo { color: var(--ink); }
.site-header.is-scrolled .logo__pass { color: var(--blue); }
.site-header.is-scrolled .logo__tag { color: var(--grey); }
.site-header.is-scrolled .menu-toggle { background: var(--soft); color: var(--ink); }
.nav { top: 80px; }

/* Thin information bar above the menu */
.topbar { border-bottom: 1px solid rgba(255, 255, 255, .14); color: #DCE6FF; font-size: .84rem; max-height: 44px; overflow: hidden; transition: max-height .25s, opacity .25s; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 42px; }
.topbar__info { display: flex; align-items: center; gap: 22px; min-width: 0; }
.topbar__info a, .topbar__info span, .topbar__social a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar a:hover { color: var(--white); }
.topbar svg { width: 15px; height: 15px; flex: 0 0 15px; opacity: .85; }
.topbar__social { display: flex; align-items: center; gap: 14px; }
.topbar .todo { background: rgba(250, 204, 21, .25); }
.topbar__hide-sm { display: none !important; }
@media (min-width: 760px) { .topbar__hide-sm { display: inline-flex !important; } }
.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; border: 0; }

/* Desktop menu colours when the header is white */
@media (min-width: 1180px) {
  .site-header.is-scrolled .nav > ul > li > a, .site-header.is-scrolled .drop-btn { color: var(--ink); }
  .site-header.is-scrolled .nav > ul > li > a:hover, .site-header.is-scrolled .drop-btn:hover { background: var(--cloud); }
  .site-header.is-scrolled .nav a[aria-current="page"] { background: var(--soft); color: var(--blue); }
}

/* ---- 2. "Services" dropdown ---- */
.has-drop { position: relative; }
.drop-btn { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; background: none; border: 0; cursor: pointer; padding: 14px 16px; border-radius: 12px; font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; color: var(--ink); text-align: left; }
.drop-btn svg { width: 16px; height: 16px; transition: transform .2s; }
.has-drop.is-open .drop-btn svg { transform: rotate(180deg); }
.nav .drop { display: none; list-style: none; margin: 0 0 6px; padding: 0 0 0 10px; }
.nav .has-drop.is-open .drop { display: block; }
.drop a { display: flex !important; flex-direction: column; gap: 1px; padding: 10px 14px !important; }
.drop strong { font-weight: 600; font-size: 1rem; }
.drop small { font-family: var(--font-body); font-size: .8rem; color: var(--grey); font-weight: 500; }
@media (min-width: 1180px) {
  .drop-btn { width: auto; color: #DCE6FF; font-size: .93rem; padding: 10px 12px; border-radius: 999px; }
  .drop-btn:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
  .nav .drop { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); min-width: 270px; padding: 10px; margin: 0; background: var(--white); border-radius: 18px; box-shadow: var(--shadow); }
  .nav .drop::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
  .nav .has-drop:hover .drop, .nav .has-drop:focus-within .drop { display: block; }
  .drop a { color: var(--ink) !important; border-radius: 12px !important; }
  .drop a:hover { background: var(--cloud) !important; }
}

/* ---- 3. Page header for inner pages ---- */
.page-hero { position: relative; overflow: hidden; background: var(--blue); color: var(--white); padding: 170px 0 72px; }
@media (min-width: 900px) { .page-hero { padding: 190px 0 96px; } }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(23, 37, 84, .94), rgba(37, 99, 235, .82) 55%, rgba(37, 99, 235, .55)); }
.page-hero--plain::before { background: radial-gradient(circle at 85% 0%, #3B82F6 0, transparent 45%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.4rem, 6.4vw, 4.2rem); font-weight: 800; margin: 14px 0 14px; }
.page-hero h1 .dot { color: var(--sun); }
.page-hero p { color: #DCE6FF; font-size: 1.12rem; max-width: 36em; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 0; font-size: .9rem; color: #BFD0FF; }
.crumbs a:hover { color: var(--white); }
.crumbs li + li::before { content: "›"; margin-right: 8px; opacity: .7; }
.crumbs [aria-current] { color: var(--white); font-weight: 600; }

/* ---- 4. Filter chips (jobs list) ---- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); cursor: pointer; }
.filter:hover { border-color: var(--ink); }
.filter.is-on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.country-head { display: flex; align-items: center; gap: 12px; margin: 8px 0 20px; }
.country-head h2 { font-size: 1.6rem; }
.country-head .tag { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--sun); border-radius: 999px; padding: 4px 10px; }
.job-grid { display: grid; gap: 18px; margin-bottom: 48px; }
@media (min-width: 640px) { .job-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .job-grid { grid-template-columns: repeat(3, 1fr); } }
.job__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--grey); font-size: .88rem; margin-top: 2px; }
.empty { color: var(--grey); padding: 24px 0; }

/* ---- 5. Job detail page ---- */
.job-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .job-layout { grid-template-columns: 1fr 360px; gap: 48px; } }
.job-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; margin-bottom: 36px; }
.job-photo img { width: 100%; height: 100%; object-fit: cover; }
.job-section { margin-bottom: 36px; }
.job-section h2 { font-size: 1.5rem; margin-bottom: 14px; }
.job-section p { color: #374151; font-size: 1.05rem; }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tick-list li { display: flex; gap: 12px; color: #374151; }
.tick-list li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.facts-card { position: sticky; top: 100px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.facts-card .job__pay { font-size: 2rem; }
.facts-card dl { margin: 20px 0 24px; display: grid; gap: 0; }
.facts-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.facts-card dt { color: var(--grey); }
.facts-card dd { margin: 0; font-weight: 600; text-align: right; }
.facts-card .btn { width: 100%; }

/* ---- 6. Forms ---- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 26px; box-shadow: var(--shadow); }
@media (min-width: 760px) { .form-card { padding: 36px; } }
.form-card h2 { font-size: 1.7rem; margin-bottom: 6px; }
.form-card > p { color: var(--grey); margin-bottom: 22px; }
.form-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--cloud); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; min-height: 50px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--grey); margin: 4px 0 20px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 20px; accent-color: var(--blue); }
.consent a { color: var(--blue); text-decoration: underline; }
.form-card .btn { width: 100%; }
.form-thanks { text-align: center; padding: 24px 8px; }
.form-thanks h2 { margin: 10px 0; }
.form-thanks p { color: var(--grey); }

/* ---- 7. Info cards, contact, notices ---- */
.cards-3 { display: grid; gap: 18px; }
@media (min-width: 860px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.cards-2 { display: grid; gap: 18px; }
@media (min-width: 760px) { .cards-2 { grid-template-columns: repeat(2, 1fr); } }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section--cloud .info-card { border-color: transparent; }
.info-card__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.info-card__icon svg { width: 26px; height: 26px; }
.info-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.info-card p { color: var(--grey); }
.info-card .tick-list { margin-top: 16px; }
.soon-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--sun); border-radius: 999px; padding: 4px 10px; margin-bottom: 14px; }

.notice { background: #FEF9C3; border-left: 5px solid var(--sun); border-radius: 14px; padding: 16px 20px; }
.notice--blue { background: var(--soft); border-color: var(--blue); }

.contact-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: .9fr 1.1fr; gap: 48px; } }
.channels { display: grid; gap: 12px; }
.channel { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; min-height: 70px; transition: border-color .2s, transform .2s; }
.channel:hover { border-color: var(--blue); transform: translateX(4px); }
.channel__icon { flex: 0 0 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--white); }
.channel__icon svg { width: 22px; height: 22px; }
.channel strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.channel small { color: var(--grey); word-break: break-word; }
.bg-facebook { background: #1877F2; } .bg-email { background: var(--blue); }
.office { margin-top: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.office__body { padding: 22px 24px; display: grid; gap: 14px; }
.office__row { display: flex; gap: 12px; }
.office__row svg { width: 20px; height: 20px; color: var(--blue); flex: 0 0 20px; margin-top: 3px; }
.office__row strong { display: block; font-family: var(--font-head); }
.office__row span { color: var(--grey); }
.map { aspect-ratio: 16 / 9; background: var(--cloud); display: grid; place-items: center; text-align: center; color: var(--grey); font-size: .92rem; padding: 20px; border-top: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* "Follow for new jobs" band */
.follow { display: grid; gap: 24px; align-items: center; background: var(--ink); color: var(--white); border-radius: 32px; padding: 40px 28px; }
@media (min-width: 860px) { .follow { grid-template-columns: 1fr auto; padding: 48px 52px; } }
.follow h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.follow h2 em { font-style: normal; color: var(--sun); }
.follow p { color: #9CA3AF; margin-top: 8px; max-width: 34em; }
.follow .btn-row { gap: 10px; }

/* ---- 8. Long text pages (terms, privacy) ---- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #374151; font-size: 1.02rem; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 1.2em; margin: 10px 0 0; display: grid; gap: 8px; }
.prose a { color: var(--blue); text-decoration: underline; }
.updated { color: var(--grey); font-size: .95rem; margin-bottom: 28px; }

/* ---- 9. FAQ groups ---- */
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-size: 1.4rem; margin-bottom: 6px; }

/* ---- 10. Back-to-top button ---- */
.to-top { position: fixed; left: 16px; bottom: 16px; z-index: 55; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); box-shadow: 0 8px 22px rgba(17, 24, 39, .18); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s; }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }

/* ---- 11. 404 page ---- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 140px 20px 80px; }
.notfound .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 22vw, 12rem); line-height: 1; color: var(--white); }
.notfound .big span { color: var(--sun); }
.notfound p { color: #DCE6FF; font-size: 1.15rem; margin: 12px auto 28px; max-width: 30em; }
.notfound .btn-row { justify-content: center; }

/* Homepage hero: room for the top bar */
.hero { padding-top: 168px; }
@media (min-width: 960px) { .hero { padding-top: 176px; } }

/* Menu "Apply now" keeps its button shape */
.nav .btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; color: var(--ink); }
.nav .btn:hover { background: #FDE047; }

/* Job cards: job type tag (top right) and short description */
.job__tag--type { left: auto; right: 14px; }
.job__summary { color: var(--grey); font-size: .95rem; margin-top: 2px; }
#job-detail > .btn { margin-top: 4px; }
.job-section p + p { margin-top: 14px; }

/* Job type labels (Seasonal / Contract), top right of the photo */
.job__types { position: absolute; top: 14px; right: 14px; display: flex; gap: 6px; }
.job__type { background: rgba(255, 255, 255, .95); border-radius: 999px; padding: 5px 12px; font-size: .78rem; font-weight: 700; }
.job__type--sun { background: var(--sun); }

/* Job categories: job title tags (tap to apply) */
.cat-card { scroll-margin-top: 110px; }
.job-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.job-chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; background: var(--cloud); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.job-chip:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.cat-card:hover { transform: none; }

/* ---- Category page: open positions and CV form ---- */
.sector__line { position: relative; z-index: 2; color: #E5E7EB; font-size: .95rem; margin-top: 4px; }
.positions { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.position { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 0 20px; background: var(--white); border: 1.5px solid var(--line); border-radius: 16px; font: inherit; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink); cursor: pointer; text-align: left; transition: border-color .2s, background .2s; }
.position small { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--blue); font-weight: 700; }
.position small svg { width: 16px; height: 16px; }
.position:hover, .position.is-on { border-color: var(--blue); background: var(--cloud); }
.file-field { position: relative; }
.file-field input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; left: 20px; top: 40px; }
.file-field__box { display: flex !important; align-items: center; gap: 12px; min-height: 54px; padding: 6px; border: 1.5px dashed var(--line); border-radius: 14px; background: var(--cloud); cursor: pointer; font-weight: 500 !important; margin: 0 !important; }
.file-field__box:hover { border-color: var(--blue); }
.file-field input[type=file]:focus-visible + .file-field__hint, .file-field:focus-within .file-field__box { border-color: var(--blue); }
.file-field__btn { background: var(--ink); color: var(--white); border-radius: 10px; padding: 9px 14px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.file-field__name { color: var(--grey); font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-field__hint { display: block; color: var(--grey); font-size: .82rem; margin-top: 6px; }

/* WhatsApp colour */
.bg-whatsapp { background: #25D366; }

/* ---- Corporate pages: About, FAQ, Terms, Privacy ---- */
.two-col { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.prose-lg p { color: #374151; font-size: 1.1rem; line-height: 1.75; }
.prose-lg p + p { margin-top: 16px; }
.mv { border-radius: var(--radius); padding: 36px 32px; color: var(--white); }
.mv--blue { background: var(--blue); }
.mv--ink { background: var(--ink); }
.mv__label { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; background: var(--sun); color: var(--ink); border-radius: 999px; padding: 5px 12px; margin-bottom: 18px; }
.mv h3 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); line-height: 1.25; margin-bottom: 14px; }
.mv p { color: #DCE6FF; }
.mv--ink p { color: #9CA3AF; }
.cards-4 { display: grid; gap: 18px; }
@media (min-width: 640px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }
.svc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.svc-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s; }
.svc-list a:hover { border-color: var(--blue); }
.svc-list strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.svc-list small { color: var(--grey); }
.svc-list em { font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; background: var(--cloud); color: var(--grey); border-radius: 999px; padding: 5px 10px; }
.svc-list em.svc-list__live { background: var(--sun); color: var(--ink); }
.legal { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) { .legal { grid-template-columns: 260px 1fr; gap: 64px; } }
.toc { background: var(--cloud); border-radius: 18px; padding: 22px 24px; }
@media (min-width: 960px) { .toc { position: sticky; top: 100px; } }
.toc__title { font-family: var(--font-head); font-weight: 700; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 7px; font-size: .93rem; color: var(--grey); }
.toc a:hover { color: var(--blue); }
.legal .prose h2, .legal .faq-group { scroll-margin-top: 110px; }
.legal .prose { max-width: 760px; }
.prose ul + p { margin-top: 14px; }
