/* ===== Zebra Logistics — black & gold theme ===== */
:root {
  --gold: #d4a63a;
  --gold-light: #f2cd6b;
  --gold-dark: #a87b1e;
  --black: #0b0b0d;
  --dark: #141417;
  --dark-2: #1f1f24;
  --text: #2d2d33;
  --muted: #6b6b75;
  --bg-alt: #f6f4ef;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
  --gold-grad: linear-gradient(135deg, var(--gold-light), var(--gold) 50%, var(--gold-dark));
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; color: var(--text); line-height: 1.6; background: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.narrow { width: min(780px, 92%); }
.hidden { display: none !important; }
.gold { color: var(--gold); }

/* ===== NAV ===== */
.nav { position: sticky; top: 0; z-index: 20; background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 58px; width: auto; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a { font-weight: 500; color: var(--dark); position: relative; }
.nav nav a:not(.btn):hover { color: var(--gold-dark); }
.nav nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 3px; background: var(--gold); transition: right .25s; }
.nav nav a:not(.btn):hover::after { right: 0; }
.nav-cta { padding: 10px 18px !important; }
.menu-btn { display: none; background: none; border: 0; font-size: 1.7rem; cursor: pointer; color: var(--dark); }

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: 13px 26px; border-radius: 8px; font-weight: 600; border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .15s, box-shadow .2s, background .2s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-gold { background: var(--gold-grad); color: var(--black); box-shadow: 0 6px 18px rgba(212,166,58,.35); }
.btn-gold:hover { box-shadow: 0 8px 24px rgba(212,166,58,.5); }
.btn-outline { border-color: #fff; color: #fff; background: rgba(0,0,0,.25); }
.btn-outline:hover { background: #fff; color: var(--black); }
.btn-youtube { background: #e62117; color: #fff; }
.btn-sm { padding: 6px 12px; font-size: .85rem; }

/* ===== HERO ===== */
.hero { position: relative; color: #fff; min-height: calc(100vh - 76px); display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(90deg, rgba(8,8,10,.92) 0%, rgba(8,8,10,.7) 38%, rgba(8,8,10,.1) 70%), url('images/hero-black-gold-truck.jpg') center right / cover no-repeat; }
.hero-inner { padding: 90px 0 60px; }
.tagline { letter-spacing: 4px; font-size: 1.05rem; opacity: .9; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1.02; font-weight: 800; }
.hero h1 span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub-title { font-size: clamp(1.3rem, 2.4vw, 1.9rem); margin: 10px 0 14px; }
.hero-sub { max-width: 470px; color: #ddd; font-size: 1.08rem; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.values { background: linear-gradient(180deg, rgba(8,8,10,.55), rgba(8,8,10,.95)); padding: 26px 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.values-grid div { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 10px; }
.values-grid div + div { border-left: 1px solid rgba(255,255,255,.2); }
.v-icon { font-size: 2rem; filter: sepia(1) saturate(4) hue-rotate(5deg); }
.values-grid strong { font-size: .92rem; letter-spacing: .5px; line-height: 1.3; }

/* ===== SECTIONS ===== */
.section { padding: 90px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--black); color: #e8e8ea; }
.section.dark .section-title, .section.dark h2 { color: #fff; }
.eyebrow { color: var(--gold-dark); font-weight: 700; letter-spacing: 3px; font-size: .85rem; margin-bottom: 8px; }
.section.dark .eyebrow { color: var(--gold); }
.eyebrow.center { text-align: center; }
.section-title { text-align: center; font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: var(--black); margin-bottom: 44px; }

/* ===== ABOUT ===== */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--black); line-height: 1.2; margin-bottom: 16px; }
.about p { margin-bottom: 16px; }
.checklist { list-style: none; }
.checklist li { padding: 7px 0 7px 32px; position: relative; font-weight: 500; }
.checklist li::before { content: "✔"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 800; }

/* ===== CARDS & FORMS ===== */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; color: var(--text); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { border-top: 4px solid var(--gold); transition: transform .2s; }
.service:hover { transform: translateY(-5px); }
.service .icon { font-size: 2.1rem; margin-bottom: 10px; }
.service h3 { color: var(--black); margin-bottom: 6px; }

input, select, textarea { width: 100%; padding: 12px; border: 1px solid #d6d3cb; border-radius: 8px; font: inherit; margin-top: 5px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
label { font-weight: 600; font-size: .9rem; color: var(--dark-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid h3 { color: var(--black); font-size: 1.4rem; }
.inline-form { display: flex; gap: 12px; margin-bottom: 24px; }
.inline-form input { margin: 0; }
.estimate-box { background: #fdf7e7; border: 1px dashed var(--gold); padding: 12px 16px; border-radius: 8px; }
.estimate-box strong { color: var(--gold-dark); font-size: 1.25rem; }
.msg-success { color: #15803d; font-weight: 600; }
.msg-error { color: #b91c1c; font-weight: 600; }

/* ===== STATS ===== */
.stats { background: var(--gold-grad); color: var(--black); padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats strong { display: block; font-size: 2.3rem; font-weight: 800; }
.stats span { font-weight: 600; }

/* ===== FLEET GALLERY ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img { width: 100%; height: 230px; object-fit: cover; border-radius: 10px; cursor: zoom-in; transition: transform .25s, box-shadow .25s; }
.gallery img:hover { transform: scale(1.02); box-shadow: 0 0 0 3px var(--gold); }
.gallery img.wide { grid-column: span 2; grid-row: span 2; height: 476px; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; padding: 3%; cursor: zoom-out; }
.lightbox img { max-height: 92vh; border-radius: 8px; }

/* ===== TRACKING ===== */
.track-card h3 { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--black); }
.route { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-weight: 600; }
.route .line { flex: 1; height: 5px; background: #e6e2d8; border-radius: 4px; position: relative; overflow: hidden; }
.route .line i { position: absolute; inset: 0; background: var(--gold-grad); }
.timeline { list-style: none; border-left: 3px solid #e6e2d8; margin-top: 16px; padding-left: 20px; }
.timeline li { position: relative; margin-bottom: 14px; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--gold); }
.timeline small { color: var(--muted); }
.badge { padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: #e5e7eb; color: var(--dark); white-space: nowrap; }
.badge.in-transit { background: #dbeafe; color: #1d4ed8; }
.badge.delivered, .badge.hired, .badge.won { background: #dcfce7; color: #15803d; }
.badge.scheduled, .badge.new { background: #fef3c7; color: #a16207; }
.badge.delayed, .badge.lost, .badge.rejected { background: #fee2e2; color: #b91c1c; }
.badge.picked-up, .badge.contacted, .badge.interview { background: #ede9fe; color: #6d28d9; }

/* ===== CAREERS ===== */
.careers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.careers h2, .careers-grid h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.1; margin-bottom: 20px; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.perks div { background: var(--dark-2); border-left: 3px solid var(--gold); padding: 12px 14px; border-radius: 8px; font-weight: 600; }
.hiring-img { border-radius: var(--radius); margin-bottom: 16px; }
.recruiter a { color: var(--gold); font-weight: 700; }

/* ===== VIDEOS ===== */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.videos video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; background: #000; box-shadow: var(--shadow); border: 3px solid var(--gold); }

/* ===== YOUTUBE ===== */
.youtube { background: var(--black); color: #fff; padding: 70px 0; }
.youtube-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.youtube-inner img { border-radius: var(--radius); }
.youtube h2 { font-size: 2rem; margin-bottom: 10px; }
.youtube .yt { color: #ff3b30; }
.youtube p { color: #ccc; margin-bottom: 22px; }

/* ===== CONTACT INFO ===== */
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.contact-info .card { display: flex; align-items: center; gap: 16px; padding: 20px; border-left: 4px solid var(--gold); transition: transform .15s; }
.contact-info .card:hover { transform: translateY(-3px); }
.contact-info span { font-size: 1.8rem; }
.contact-info small { color: var(--muted); display: block; }
.contact-info strong { color: var(--black); line-height: 1.35; }
.nav-phone { font-weight: 700 !important; color: var(--gold-dark) !important; white-space: nowrap; }

/* ===== FOOTER ===== */
.footer { background: #050506; color: #a5a5ad; padding: 36px 0; font-size: .92rem; border-top: 3px solid var(--gold); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 54px; width: auto; filter: invert(1) hue-rotate(180deg); }
.footer-brand strong { color: #fff; letter-spacing: 2px; }
.footer a { color: var(--gold); }

/* ===== ADMIN ===== */
.admin-body { background: var(--bg-alt); }
.admin-wrap { padding: 40px 0; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 32px; }
.stat-cards .card { padding: 20px; border-top: 4px solid var(--gold); }
.stat-cards .card strong { display: block; font-size: 1.8rem; color: var(--black); }
.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs button { background: #e7e4dc; border: 0; padding: 10px 18px; border-radius: 8px; cursor: pointer; font-weight: 600; font-family: inherit; }
.tabs button.active { background: var(--black); color: var(--gold); }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid #ece9e1; font-size: .9rem; vertical-align: top; }
th { background: var(--black); color: var(--gold); }
td select { width: auto; margin: 0; padding: 6px; }
.table-wrap { overflow-x: auto; }
.login-box { max-width: 380px; margin: 100px auto; display: grid; gap: 12px; }
.btn-danger { background: #fee2e2; color: #b91c1c; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 16px 4%; gap: 14px; box-shadow: 0 10px 20px rgba(0,0,0,.1); }
  .nav nav.open { display: flex; }
  .about, .careers-grid, .youtube-inner { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
  .grid-3, .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img.wide { grid-column: span 2; grid-row: span 1; height: auto; }
  .stat-cards { grid-template-columns: repeat(3, 1fr); }
  .hero { background-position: 70% center; }
}
@media (max-width: 640px) {
  .values-grid, .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .values-grid div + div { border-left: 0; }
  .grid-3, .gallery, .form-grid, .perks, .videos, .stat-cards { grid-template-columns: 1fr; }
  .gallery img.wide { grid-column: span 1; }
  .values-grid div { justify-content: flex-start; gap: 10px; padding: 4px; }
  .values-grid strong { font-size: .76rem; }
  .v-icon { font-size: 1.5rem; }
  .videos { max-width: 340px; }
  .inline-form { flex-direction: column; }
  .logo img { height: 46px; }
  .hero { background: linear-gradient(180deg, rgba(8,8,10,.85), rgba(8,8,10,.6)), url('images/hero-black-gold-truck.jpg') 65% center / cover no-repeat; }
}

/* ===================================================================
   PAGE HEROES (gallery, apply)
   =================================================================== */
.page-hero, .apply-hero { color: #fff; padding: 70px 0 60px;
  background: linear-gradient(90deg, rgba(8,8,10,.94), rgba(8,8,10,.65)), url('images/hero-black-gold-truck.jpg') center / cover; }
.page-hero h1, .apply-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin-bottom: 10px; }
.page-hero p, .apply-hero p { color: #ddd; max-width: 620px; }
.apply-hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.btn-outline-dark { border-color: var(--black); color: var(--black); background: transparent; }
.btn-outline-dark:hover { background: var(--black); color: #fff; }
.btn-ghost { background: transparent; border: 2px dashed var(--gold); color: var(--gold-dark); }
.btn-ghost:hover { background: #fdf7e7; }

/* hiring announcement bar */
.hiring-bar { background: var(--black); color: #fff; text-align: center; font-size: .92rem; padding: 8px 4%; }
.hiring-bar a { color: var(--gold); font-weight: 700; margin-left: 8px; }

/* ===================================================================
   GALLERY PAGE
   =================================================================== */
.filter { justify-content: center; margin-bottom: 28px; }
.g-grid { columns: 3 300px; column-gap: 16px; }
.g-item { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: 10px; overflow: hidden; background: #000; cursor: zoom-in; }
.g-item img { width: 100%; transition: transform .3s, opacity .3s; }
.g-item:hover img { transform: scale(1.03); opacity: .9; }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; color: #fff; font-size: .88rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,.8)); opacity: 0; transition: opacity .25s; }
.g-item:hover figcaption { opacity: 1; }
.videos.five { grid-template-columns: repeat(5, 1fr); max-width: none; }
.lightbox { flex-direction: column; gap: 10px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 2.6rem; width: 54px; height: 70px; border-radius: 8px; cursor: pointer; }
.lb-nav.prev { left: 2%; } .lb-nav.next { right: 2%; }
.lb-cap { color: #ddd; }

/* ===================================================================
   DRIVER APPLICATION
   =================================================================== */
.apply-body { background: var(--bg-alt); }
.apply-nav { display: flex; align-items: center; gap: 18px; }
.apply-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 28px; padding: 36px 0 70px; align-items: start; }
.stepper { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; counter-reset: s; }
.stepper li { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; font-size: .8rem; color: var(--muted); position: relative; }
.stepper li::before { content: ""; position: absolute; top: 17px; left: -50%; width: 100%; height: 3px; background: #ddd8cc; z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper li span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #ddd8cc; font-weight: 700; z-index: 1; }
.stepper li em { font-style: normal; font-weight: 600; text-align: center; }
.stepper li.done span { background: var(--black); color: var(--gold); border-color: var(--black); }
.stepper li.done::before, .stepper li.active::before { background: var(--gold); }
.stepper li.active span { background: var(--gold-grad); border-color: var(--gold); color: var(--black); }
.stepper li.active em { color: var(--black); }

.apply-card { padding: 34px; }
.step { display: none; border: 0; }
.step.active { display: block; animation: fadeIn .25s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step legend { font-size: 1.45rem; font-weight: 800; color: var(--black); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.step h4 { margin: 22px 0 10px; color: var(--black); }
.step .form-grid { margin-bottom: 14px; }
.form-grid.g2 { grid-template-columns: 1fr 1fr; }
.form-grid.g3 { grid-template-columns: repeat(3, 1fr); }
.span2 { grid-column: span 2; } .span3 { grid-column: 1 / -1; }
.hint { background: #fdf7e7; border-left: 4px solid var(--gold); padding: 10px 14px; border-radius: 6px; font-size: .9rem; margin: 12px 0; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 8px 0; }
.check-line input { width: auto; margin-top: 4px; accent-color: var(--gold-dark); transform: scale(1.2); }
.invalid { outline: 2px solid #dc2626 !important; border-color: transparent !important; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.chips label { display: flex; align-items: center; gap: 8px; border: 1.5px solid #d6d3cb; border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 500; background: #fff; }
.chips label:has(input:checked) { border-color: var(--gold); background: #fdf7e7; }
.chips input { width: auto; margin: 0; accent-color: var(--gold-dark); }

.repeat { margin: 10px 0 16px; }
.repeat-item { position: relative; background: #faf9f6; border: 1px solid #ebe7de; border-radius: 10px; padding: 16px; margin-bottom: 12px; }
.repeat-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.remove-item { position: absolute; top: 8px; right: 8px; border: 0; background: #fee2e2; color: #b91c1c; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-weight: 700; }
.repeat-head .remove-item { position: static; }

.question { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #eee; }
.question p { font-weight: 600; }
.yn { display: flex; gap: 8px; flex-shrink: 0; }
.yn label { border: 1.5px solid #d6d3cb; border-radius: 8px; padding: 8px 18px; cursor: pointer; display: flex; gap: 6px; align-items: center; background: #fff; }
.yn label:has(input:checked) { border-color: var(--gold); background: #fdf7e7; }
.yn input { width: auto; margin: 0; accent-color: var(--gold-dark); }

.uploads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.upload { position: relative; border: 2px dashed #cfc9bb; border-radius: 12px; padding: 22px 12px; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; transition: border-color .2s, background .2s; overflow: hidden; }
.upload:hover { border-color: var(--gold); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload .ic { font-size: 2rem; }
.upload small { color: var(--muted); word-break: break-all; }
.upload.has-file { border-style: solid; border-color: #16a34a; background: #f0fdf4; }
.upload.has-file small { color: #15803d; font-weight: 600; }
.upload .thumb { width: 100%; height: 80px; object-fit: cover; border-radius: 6px; margin-top: 6px; }

.review { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.review section { background: #faf9f6; border: 1px solid #ebe7de; border-radius: 10px; padding: 14px 16px; }
.review h4 { margin: 0 0 8px; display: flex; justify-content: space-between; }
.review dl div { display: grid; grid-template-columns: 120px 1fr; gap: 8px; font-size: .9rem; padding: 3px 0; }
.review dt { color: var(--muted); }
.review dd { font-weight: 600; word-break: break-word; }
.edit-link { background: none; border: 0; color: var(--gold-dark); font-weight: 700; cursor: pointer; }
.consents { display: grid; gap: 4px; margin-bottom: 18px; }
.consents .check-line { background: #fff; border: 1px solid #ebe7de; border-radius: 8px; padding: 12px; font-size: .92rem; }
.sig-wrap { position: relative; margin-top: 6px; }
#sigPad { width: 100%; height: 150px; background: #fff; border: 2px solid #d6d3cb; border-radius: 10px; touch-action: none; cursor: crosshair;
  background-image: linear-gradient(transparent 110px, #e5e1d6 110px, #e5e1d6 112px, transparent 112px); }
#sigClear { position: absolute; top: 8px; right: 8px; }

.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #eee; }
.saved { color: #15803d; font-size: .85rem; font-weight: 600; }
#formError { margin-top: 12px; }
.success-box { text-align: center; padding: 50px 30px; }
.success-box .ic.big { font-size: 3.4rem; display: block; margin-bottom: 10px; }
.success-box h2 { color: var(--black); margin-bottom: 10px; }
.success-box p { margin-bottom: 12px; }
.success-box a:not(.btn) { color: var(--gold-dark); font-weight: 700; }

.apply-side { display: grid; gap: 16px; position: sticky; top: 96px; }
.apply-side h3 { color: var(--black); margin-bottom: 10px; font-size: 1.1rem; }
.perk-list, .need-list { list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.perk-list li { display: flex; gap: 10px; align-items: center; }
.need-list li { padding-left: 22px; position: relative; }
.need-list li::before { content: "✔"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 800; }
.call-card { background: var(--black); color: #fff; text-align: center; }
.call-card a { color: var(--gold); font-weight: 800; font-size: 1.1rem; }

/* ===================================================================
   HOMEPAGE EXTRAS: brokers, safety, FAQ
   =================================================================== */
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.snapshot { width: 100%; box-shadow: var(--shadow); }
.snapshot th { width: 40%; background: var(--dark-2); }
.snapshot td { font-weight: 600; }
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.safety-grid .card { text-align: center; }
.safety-grid .icon { font-size: 2.1rem; margin-bottom: 8px; }
.safety-grid h3 { color: var(--black); font-size: 1.05rem; margin-bottom: 6px; }
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 16px 20px; }
.faq summary { font-weight: 700; color: var(--black); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--gold-dark); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; }
.apply-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 18px; }

/* admin modal */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 60; display: flex; justify-content: center; align-items: flex-start; padding: 30px 3%; overflow-y: auto; }
.modal-card { background: #fff; border-radius: 14px; max-width: 980px; width: 100%; padding: 30px; position: relative; }
.modal-close { position: absolute; top: 14px; right: 14px; border: 0; background: #eee; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }
.detail h3 { margin: 20px 0 8px; color: var(--black); border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.detail dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 18px; }
.detail dt { color: var(--muted); font-size: .8rem; }
.detail dd { font-weight: 600; margin-bottom: 4px; word-break: break-word; }
.detail table { box-shadow: none; border: 1px solid #eee; margin-top: 6px; }
.doc-list { display: flex; flex-wrap: wrap; gap: 10px; }
.doc-list button { border: 1px solid var(--gold); background: #fdf7e7; padding: 8px 12px; border-radius: 8px; cursor: pointer; font-weight: 600; }
.sig-img { max-width: 320px; border: 1px solid #ddd; border-radius: 8px; background: #fff; }
.notes-list { list-style: none; display: grid; gap: 6px; margin: 8px 0; }
.notes-list li { background: #faf9f6; padding: 8px 12px; border-radius: 6px; font-size: .9rem; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.modal-actions select { width: auto; }

@media (max-width: 980px) {
  .apply-wrap { grid-template-columns: 1fr; }
  .apply-side { position: static; }
  .uploads { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .safety-grid { grid-template-columns: 1fr 1fr; }
  .videos.five { grid-template-columns: repeat(3, 1fr); }
  .detail dl { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .stepper { grid-template-columns: repeat(7, 1fr); }
  .stepper li em { display: none; }
  .stepper li span { width: 30px; height: 30px; }
  .stepper li::before { top: 14px; }
  .apply-card { padding: 20px; }
  .form-grid.g2, .form-grid.g3 { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
  .question { flex-direction: column; align-items: flex-start; }
  .review { grid-template-columns: 1fr; }
  .uploads, .safety-grid { grid-template-columns: 1fr; }
  .videos.five { grid-template-columns: 1fr 1fr; max-width: none; }
  .apply-nav .btn { display: none; }
  .detail dl { grid-template-columns: 1fr; }
}
@media print {
  .nav, .footer, .modal-actions, .modal-close, .admin-wrap > :not(.modal) { display: none !important; }
  .modal { position: static; background: none; padding: 0; }
  .modal-card { box-shadow: none; padding: 0; }
}

/* ===================================================================
   PRO POLISH: accessibility, floating actions, locations, legal, jobs
   =================================================================== */
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--black); padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip-link:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.stats strong { font-size: clamp(1.3rem, 2.6vw, 2rem); }

.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; gap: 10px; }
.float-actions a { display: flex; align-items: center; gap: 6px; padding: 12px 18px; border-radius: 999px; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .15s; }
.float-actions a:hover { transform: translateY(-2px); }
.fa-call { background: var(--gold-grad); color: var(--black); }
.fa-text { background: var(--black); color: #fff; border: 2px solid var(--gold); }

.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.loc { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.loc iframe { width: 100%; height: 280px; border: 0; display: block; filter: saturate(.9); }
.loc-body { padding: 22px 24px; }
.loc-body h3 { color: var(--black); font-size: 1.25rem; line-height: 1.3; margin-bottom: 4px; }
.loc-body p:not(.eyebrow) { color: var(--muted); margin-bottom: 14px; }

.legal { line-height: 1.75; }
.legal h2 { color: var(--black); font-size: 1.3rem; margin: 30px 0 8px; }
.legal p, .legal li { margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--gold-dark); font-weight: 600; }

.jobs-wrap { display: grid; gap: 24px; max-width: 980px; }
.job { padding: 32px; }
.job-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid var(--gold); padding-bottom: 16px; margin-bottom: 18px; }
.job-head h2 { color: var(--black); font-size: 1.5rem; }
.job-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.job-grid h3 { color: var(--black); margin-bottom: 8px; }
.consents a, .hint a { color: var(--gold-dark); font-weight: 700; }

@media (max-width: 980px) {
  .locations, .job-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .float-actions { left: 12px; right: 12px; bottom: 12px; }
  .float-actions a { flex: 1; justify-content: center; }
  .footer { padding-bottom: 90px; }
}
@media print { .float-actions, .skip-link { display: none !important; } }

/* ===================================================================
   AI ASSISTANT CHAT
   =================================================================== */
.chat-launcher { display: flex; align-items: center; gap: 6px; padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 1rem; cursor: pointer;
  border: 2px solid var(--gold); background: #fff; color: var(--black); box-shadow: 0 8px 24px rgba(0,0,0,.25); font-family: inherit; transition: transform .15s; }
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher.open { background: var(--black); color: var(--gold); }
.chat-launcher .short { display: none; }
.chat-launcher.solo { position: fixed; right: 18px; bottom: 18px; z-index: 41; }
.chat-panel { position: fixed; right: 18px; bottom: 84px; z-index: 45; width: 380px; max-width: calc(100vw - 24px); height: min(580px, calc(100vh - 110px));
  background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.35); display: flex; flex-direction: column; overflow: hidden; animation: fadeIn .2s; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--black); color: #fff; border-bottom: 3px solid var(--gold); }
.chat-head img { width: 38px; height: 38px; object-fit: contain; background: #fff; border-radius: 50%; padding: 3px; }
.chat-head div { flex: 1; line-height: 1.2; }
.chat-head small { display: block; color: #bbb; font-size: .78rem; }
.chat-head .dot { display: inline-block; width: 8px; height: 8px; background: #22c55e; border-radius: 50%; margin-right: 4px; }
.chat-head button { background: rgba(255,255,255,.1); color: #fff; border: 0; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1rem; }
.chat-head button:hover { background: rgba(255,255,255,.22); }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #f6f4ef; }
.msg { max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: .93rem; line-height: 1.45; word-wrap: break-word; }
.msg.bot { background: #fff; border: 1px solid #ebe7de; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.me { background: var(--black); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg a { color: var(--gold-dark); font-weight: 700; text-decoration: underline; }
.msg.me a { color: var(--gold-light); }
.msg.typing { display: flex; gap: 4px; padding: 14px; }
.msg.typing span { width: 7px; height: 7px; background: #bbb; border-radius: 50%; animation: blink 1.2s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .2s; } .msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 8px; background: #f6f4ef; }
.chat-chips:empty { display: none; }
.chat-chips button { border: 1.5px solid var(--gold); background: #fff; border-radius: 999px; padding: 6px 11px; font-size: .82rem; font-weight: 600; cursor: pointer; font-family: inherit; }
.chat-chips button:hover { background: #fdf7e7; }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #eee; }
.chat-form input { margin: 0; border-radius: 999px; padding: 11px 16px; }
.chat-form button { width: 44px; height: 44px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--gold-grad); font-size: 1.1rem; cursor: pointer; }
.chat-note { font-size: .72rem; color: var(--muted); text-align: center; padding: 0 10px 8px; }
.chat-note a { color: var(--gold-dark); }
@media (max-width: 640px) {
  .chat-panel { right: 0; left: 0; bottom: 0; top: 0; width: 100%; max-width: none; height: 100%; border-radius: 0; z-index: 60; }
  .chat-launcher .long { display: none; }
  .chat-launcher .short { display: inline; }
  .float-actions .chat-launcher { flex: 0 0 auto; }
  .chat-launcher.solo { right: 12px; bottom: 12px; }
}
@media print { .chat-launcher, .chat-panel { display: none !important; } }
.locations.single { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
.locations.single .loc iframe { height: 360px; }

.footer { padding-bottom: 96px; }

.alert-card { border-top-color: #dc2626 !important; background: #fff5f5 !important; }
.modal-actions.renew { background: #faf9f6; border: 1px solid #ebe7de; border-radius: 10px; padding: 12px; }
.modal-actions.renew label { display: flex; flex-direction: column; font-size: .8rem; }
.modal-actions.renew input { width: auto; }

/* language menu */
.lang-select { width: auto; margin: 0 10px 0 0; padding: 7px 10px; border-radius: 999px; border: 1.5px solid var(--gold); background: #fff; font-weight: 600; font-size: .88rem; cursor: pointer; }
.apply-nav .lang-select { margin: 0; }
.i18n-loading body { visibility: hidden; }
.lang-pa body, .lang-pa input, .lang-pa select, .lang-pa textarea, .lang-pa button { font-family: "Noto Sans Gurmukhi", "Segoe UI", system-ui, sans-serif; }
.lang-am body, .lang-am input, .lang-am select, .lang-am textarea, .lang-am button { font-family: "Noto Sans Ethiopic", "Segoe UI", system-ui, sans-serif; }
.lang-notice { margin-top: 0; }
@media (max-width: 980px) { .lang-select { margin-left: auto; } }
@media (max-width: 640px) { .lang-select { font-size: .8rem; padding: 6px 8px; max-width: 132px; } }

.logo { flex-shrink: 0; }
.nav-cta { white-space: nowrap; }
/* translated languages have longer words: tighter menu, and switch to the ☰ menu earlier */
.i18n-wide #navLinks { gap: 16px; font-size: .92rem; }
@media (max-width: 1440px) { .i18n-wide #navLinks .nav-phone { display: none; } }
@media (max-width: 1280px) {
  .i18n-wide .menu-btn { display: block; }
  .i18n-wide .nav-inner { gap: 10px; }
  .i18n-wide .lang-select { margin-left: auto; }
  .i18n-wide #navLinks { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 16px 4%; gap: 14px; box-shadow: 0 10px 20px rgba(0,0,0,.1); }
  .i18n-wide #navLinks.open { display: flex; }
}

.dept-emails { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 20px; }
.dept-emails .card { padding: 14px 16px; border-left: 4px solid var(--gold); }
.dept-emails small { display: block; color: var(--muted); }
.dept-emails strong { color: var(--black); word-break: break-all; font-size: .92rem; }

.vbars { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 4px; height: 180px; align-items: end; }
.vbar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.vbar span { width: 100%; min-height: 2px; background: var(--gold-grad); border-radius: 4px 4px 0 0; }
.vbar em { font-style: normal; font-size: .62rem; color: var(--muted); }
.hbar { display: grid; grid-template-columns: 150px 1fr 40px; gap: 10px; align-items: center; padding: 6px 0; font-size: .9rem; }
.hbar div { background: #f1ede4; height: 10px; border-radius: 6px; overflow: hidden; }
.hbar i { display: block; height: 100%; background: var(--gold-grad); }
.hbar b { text-align: right; }
@media (max-width: 640px) { .vbar em { display: none; } .hbar { grid-template-columns: 110px 1fr 30px; } }

@media (max-width: 640px) {
  .apply-nav { gap: 8px; }
  .apply-nav .nav-phone { display: none; }
}
/* the application page's small top menu always stays visible */
@media (max-width: 980px) {
  .nav .apply-nav { display: flex !important; position: static; flex-direction: row; align-items: center; padding: 0; gap: 10px; background: none; box-shadow: none; }
}

.staff-link{display:inline-block;margin-top:10px;padding:6px 14px;border:1px solid #d4a63a;border-radius:999px;color:#d4a63a!important;font-weight:700;font-size:.85rem;text-decoration:none!important}
.staff-link:hover{background:#d4a63a;color:#0b0b0c!important}
