/* Whitby Auckland Manpower — shared styles */
:root {
  --navy: #0b2a5b;
  --navy-dark: #071d40;
  --blue: #1557b0;
  --blue-light: #e8f0fb;
  --gold: #d4a24c;
  --gold-light: #f0c877;
  --text: #1d2a3f;
  --muted: #5b6b82;
  --line: #e2e8f1;
  --soft: #f4f7fb;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(11, 42, 91, .10);
  --wrap: 1200px;
  --head: "Montserrat", sans-serif;
  --body: "Poppins", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--white); line-height: 1.65; font-size: 15px; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.gold { color: var(--gold); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: var(--white); padding: 8px 12px; z-index: 100; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 6px; font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; border: 2px solid transparent; cursor: pointer; transition: .2s; }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy); }
.btn-gold:hover { filter: brightness(1.07); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--blue); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* Header */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 72px; width: auto; }
.top-contact { display: flex; align-items: center; gap: 28px; }
.top-contact .btn { white-space: nowrap; }
.contact-item { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 13px; line-height: 1.3; }
.contact-item i { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; font-size: 14px; }
.contact-item strong { display: block; white-space: nowrap; font-weight: 600; font-size: 14px; }
.contact-item small { color: var(--muted); }

.navbar { background: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(11, 42, 91, .06); }
.navbar .wrap { display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 0; }
.nav-links a { display: block; padding: 9px 15px; border-radius: 5px; color: var(--navy); font-weight: 500; font-size: 14px; }
.nav-links a:hover { background: var(--blue-light); }
.nav-links a.active { background: var(--blue); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; color: var(--navy); padding: 12px 4px; cursor: pointer; }

/* Home hero */
.hero { position: relative; color: var(--white); background: linear-gradient(90deg, var(--navy-dark) 0%, rgba(11, 42, 91, .92) 38%, rgba(11, 42, 91, .35) 75%, rgba(11, 42, 91, .15) 100%), url(../images/hero.jpg) center right / cover no-repeat; }
.hero .wrap { padding-top: 80px; padding-bottom: 80px; }
.hero h1 { color: var(--white); font-size: clamp(32px, 5vw, 56px); font-weight: 800; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 span { display: block; background: linear-gradient(180deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h2 { color: var(--white); font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; max-width: 560px; }
.hero p { max-width: 520px; opacity: .9; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 28px 0 50px; }
.hero-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 900px; }
.hero-features div { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.35; }
.hero-features i { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-size: 18px; }
.hero-features strong { display: block; font-size: 14px; }

/* Inner page hero */
.page-hero { color: var(--white); background-color: var(--navy); background-position: center; background-size: cover; }
.page-hero .wrap { padding-top: 70px; padding-bottom: 70px; }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4vw, 46px); font-weight: 800; text-transform: uppercase; }
.page-hero p { max-width: 640px; opacity: .9; margin: 0; }
.crumbs { font-size: 13px; margin-bottom: 12px; color: var(--gold-light); }
.crumbs a { color: var(--white); }

/* Sections */
.section { padding: 70px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: linear-gradient(180deg, var(--navy), var(--navy-dark)); color: var(--white); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section-head { margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; text-transform: uppercase; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }
.section.dark .section-head p { color: #c9d6ea; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.lead { font-size: 16px; color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Audience cards (candidates / employers) */
.audience { margin-top: -30px; position: relative; z-index: 2; }
.aud-card { display: grid; grid-template-columns: 45% 1fr; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.aud-card img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.aud-card .body { padding: 26px; }
.aud-card h3 { font-size: 24px; margin-bottom: 2px; }
.aud-card .sub { color: var(--gold); font-weight: 600; margin-bottom: 14px; }

.checks li { position: relative; padding-left: 28px; margin-bottom: 8px; font-size: 14px; }
.checks li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 9px; display: grid; place-items: center; }
.checks + .btn { margin-top: 12px; }

/* Icon tiles and cards */
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 14px; text-align: center; font-size: 14px; font-weight: 500; color: var(--navy); transition: .2s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile i { font-size: 30px; color: var(--blue); display: block; margin-bottom: 12px; }
.tile .ring { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; font-size: 20px; }
.tile .ring i { color: var(--white); font-size: 20px; margin: 0; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .2s; }
.card:hover { box-shadow: var(--shadow); }
.card i.icon { width: 54px; height: 54px; border-radius: 12px; background: var(--blue-light); color: var(--blue); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.card h3 { font-size: 19px; }
.card p { color: var(--muted); font-size: 14px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

/* Visa strip */
.visa-strip { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: center; }
.visa-strip img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Destinations */
.dest { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .25); color: var(--white); display: block; }
.dest img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: .4s; }
.dest:hover img { transform: scale(1.06); }
.dest .label { position: absolute; inset: auto 0 0 0; padding: 40px 12px 14px; text-align: center; background: linear-gradient(transparent, rgba(7, 29, 64, .95)); }
.dest strong { display: block; font-family: var(--head); font-size: 16px; text-transform: uppercase; }
.dest small { font-size: 12px; opacity: .9; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { text-align: center; position: relative; }
.step .num { position: absolute; top: 0; left: calc(50% - 58px); width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.step .ico { width: 70px; height: 70px; margin: 0 auto 12px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); display: grid; place-items: center; font-size: 26px; color: var(--blue); }
.step h4 { font-size: 16px; margin-bottom: 4px; }
.step p { font-size: 13px; color: var(--muted); margin: 0; }

/* Vertical timeline (process page) */
.timeline { max-width: 820px; margin: 0 auto; }
.timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding-bottom: 34px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 34px; top: 70px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .num { width: 70px; height: 70px; border-radius: 50%; background: var(--navy); color: var(--gold-light); font-family: var(--head); font-weight: 800; font-size: 22px; display: grid; place-items: center; }
.timeline h3 { margin-top: 10px; }
.timeline p { color: var(--muted); margin-bottom: 6px; }

/* CTA band */
.cta { background: linear-gradient(90deg, var(--blue), var(--navy)); color: var(--white); border-radius: var(--radius); padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: var(--white); margin: 0 0 6px; font-size: 26px; }
.cta p { margin: 0; opacity: .9; }

/* Notice */
.notice { background: #fff8ea; border-left: 4px solid var(--gold); padding: 16px 20px; border-radius: 6px; font-size: 14px; color: var(--text); }
.notice strong { color: var(--navy); }

/* Country blocks */
.country { display: grid; grid-template-columns: 420px 1fr; gap: 40px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.country:last-child { border-bottom: 0; }
.country:nth-child(even) { grid-template-columns: 1fr 420px; }
.country:nth-child(even) img { order: 2; }
.country img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tags span { background: var(--blue-light); color: var(--blue); padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 500; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; }
.faq summary { padding: 16px 20px; cursor: pointer; font-family: var(--head); font-weight: 600; color: var(--navy); }
.faq details p { padding: 0 20px 16px; margin: 0; color: var(--muted); }

/* Forms */
.form-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 14px; color: var(--text); background: var(--soft); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; background: var(--white); }
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 12px; color: var(--muted); margin: 14px 0 0; }

.info-list li { display: flex; gap: 14px; margin-bottom: 20px; }
.info-list i { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; }
.info-list strong { display: block; color: var(--navy); }
.map { width: 100%; height: 360px; border: 0; border-radius: var(--radius); }

/* Footer */
.footer { background: var(--navy-dark); color: #c9d6ea; font-size: 14px; }
.footer .wrap { padding-top: 60px; padding-bottom: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h4 { color: var(--white); font-size: 16px; margin-bottom: 16px; }
.footer a { color: #c9d6ea; }
.footer a:hover { color: var(--gold-light); }
.footer li { margin-bottom: 8px; }
.footer-logo { background: var(--white); border-radius: 8px; padding: 8px; display: inline-block; margin-bottom: 14px; }
.footer-logo img { height: 56px; width: auto; }
.footer .contact-item { color: #c9d6ea; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; }

/* Responsive */
@media (max-width: 1100px) {
  .grid-6, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; }
  .hero-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; width: 100%; padding-bottom: 12px; }
  .nav-links.open { display: flex; }
  .navbar .wrap { flex-wrap: wrap; }
}
@media (max-width: 960px) {
  .top-contact .contact-item { display: none; }
  .grid-2, .split, .visa-strip, .country { grid-template-columns: 1fr; }
  .country:nth-child(even) { grid-template-columns: 1fr; }
  .country:nth-child(even) img { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience { margin-top: 30px; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .wrap { padding: 0 16px; }
  .logo img { height: 52px; }
  .top-contact .btn { padding: 10px 14px; font-size: 11px; }
  .hero .wrap { padding-top: 50px; }
  .hero { background: linear-gradient(180deg, rgba(7, 29, 64, .92), rgba(11, 42, 91, .8)), url(../images/hero.jpg) center / cover no-repeat; }
  .hero-features, .grid-3, .grid-4, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .grid-6, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aud-card { grid-template-columns: 1fr; }
  .aud-card img { min-height: 0; aspect-ratio: 3 / 2; }
  .section { padding: 50px 0; }
  .form-box, .cta { padding: 24px; }
}
