/* ============================================================
   The Pharmacy Hub — Careers page
   Static HTML/CSS build for WordPress + ACF integration
   ------------------------------------------------------------
   Fonts: Newsreader (headings), General Sans (body)
   Brand: #1F5FE0 (blue) / #0E1E3D (navy) / #004BB3 (deep blue)
   ============================================================ */

/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: #1F5FE0;
  --blue-hover: #1A4FBF;
  --blue-deep: #004BB3;
  --navy: #0E1E3D;
  --navy-2: #0E2A55;
  --ink: #1A051D;
  --body: #4A4551;
  --tint: #EEF3FB;
  --tint-2: #EAF1FB;
  --hero-light: #DCE6F5;
  --hero-accent: #9CC6E5;
  --font-head: 'Newsreader', serif;
  --font-body: 'General Sans', sans-serif;
  --wrap: 1180px;
  --wrap-wide: 1320px;
}

body {
    font-family: var(--font-dezzed);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img, svg, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-deep); }

h1, h2, h3, h4 {
    font-family: var(--font-dezzed);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.wrap { max-width: var(--wrap); margin: 0 auto; }
.page { width: 100%; overflow-x: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
    font-family: var(--font-inter);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  padding: 15px 30px;
  border-radius: 6px;
  transition: all .2s ease;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover {
  background: var(--blue-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(31, 95, 224, 0.32);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: translateY(-2px);
}
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover {
  background: var(--tint-2);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

/* Shared accent rule + eyebrow */
.rule { width: 44px; height: 1px; margin: 0 0 24px; }
.rule--light { background: var(--hero-accent); }
.rule--blue { background: var(--blue); }
.eyebrow {
    font-family: var(--font-dezzed);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow--light { color: var(--hero-accent); }
.eyebrow--blue { color: var(--blue); }

.sec-h2 { font-size: 50px; line-height: 1.08; }

/* ---------- Utility bar ---------- */
.utility-bar {
  background: var(--tint-2);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  position: relative;
  z-index: 21;
}

/* ---------- Hero + header shell ---------- */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(9, 20, 42, 0.94) 0%,
    rgba(9, 20, 42, 0.88) 24%,
    rgba(9, 20, 42, 0.55) 46%,
    rgba(9, 20, 42, 0.12) 64%,
    rgba(9, 20, 42, 0) 82%);
}
.hero__scrim-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 170px;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9, 20, 42, 0.60) 0%, rgba(9, 20, 42, 0) 100%);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.hdr-inner {
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hdr-logo { height: 28px; }
.hdr-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}
.hdr-nav a { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.hdr-nav a:hover { color: var(--hero-accent); }
.hdr-right { display: flex; align-items: center; gap: 12px; }
.hdr-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 11px 22px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}
.hdr-phone:hover {
  background: #fff;
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
.hdr-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

/* Mobile drop-down menu */
.hdr-mobile-menu {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 22px 20px;
  display: none;
  flex-direction: column;
  z-index: 5;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.hdr-mobile-menu.is-open { display: flex; }
.hdr-mobile-menu a {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.hdr-mobile-menu a:hover { color: var(--hero-accent); }
.hdr-mobile-menu a:last-of-type { border-bottom: none; }
.hdr-mobile-menu .btn { margin-top: 18px; }

/* ---------- Hero content ---------- */
.hero-content {
  position: relative;
  z-index: 3;
  padding: 130px 24px 150px;
}
.hero-content__inner { max-width: var(--wrap-wide); margin: 0 auto; padding: 0 16px; }
.hero-copy { max-width: 560px; }
.hero-h1 {
  font-size: 68px;
  line-height: 1.04;
  color: #fff;
  margin-bottom: 26px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--hero-light);
  max-width: 440px;
  margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Mission & values ---------- */
.mission-sec { max-width: var(--wrap); margin: 0 auto; padding: 96px 24px 100px; }
.mission-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}
.mission-head__copy { max-width: 620px; }
.mission-head h2 { margin: 0 0 22px; }
.mission-head p { font-size: 17px; line-height: 1.6; color: var(--body); margin: 0; }
.mission-head .btn { flex-shrink: 0; padding: 15px 32px; }

.values-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.value-card { border-top: 2px solid var(--blue); padding-top: 26px; }
.value-card h3 { font-size: 25px; line-height: 1.18; margin: 0 0 16px; }
.value-card p { font-size: 15.5px; line-height: 1.65; color: var(--body); margin: 0; }

/* ---------- Video ---------- */
.video-sec { background: var(--navy); padding: 120px 24px; overflow: hidden; }
.video-sec__head { max-width: 660px; margin: 0 0 52px; }
.video-sec__head h2 { color: #fff; margin: 0 0 20px; }
.video-sec__head p { font-size: 17px; line-height: 1.65; color: var(--hero-light); margin: 0; }
.video-frame {
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.video-frame video { width: 100%; height: auto; background: #000; }

/* ---------- Culture ---------- */
.culture-sec {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 140px 24px 150px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}
.culture-aside { position: sticky; top: 40px; }
.culture-aside h2 { margin: 0 0 26px; }
.culture-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.culture-tags span {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-2);
  background: var(--tint);
  border: 1px solid rgba(14, 30, 61, 0.12);
  border-radius: 999px;
  padding: 9px 16px;
}
.culture-body p { font-size: 17px; line-height: 1.65; color: var(--body); margin: 0 0 22px; }
.culture-body p + p { margin-bottom: 40px; }
.culture-body .btn { padding: 15px 32px; }

/* ---------- CTA ---------- */
.cta-sec {
  position: relative;
  background: var(--blue-deep);
  padding: 130px 24px;
  text-align: center;
  overflow: hidden;
}
.cta-sec__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cta-sec__inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.cta-sec__rule { width: 56px; height: 1px; background: rgba(255, 255, 255, 0.45); margin: 0 auto 34px; }
.cta-sec h2 { color: #fff; margin: 0 0 40px; }
.cta-sec .btn { padding: 16px 34px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--blue);
  color: #fff;
  padding: 90px 0 0;
  overflow: hidden;
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-logo { height: 30px; margin-bottom: 26px; }
.footer-about {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 360px;
  margin: 0 0 30px;
}
.footer-partner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
}
.footer-partner:hover {
  background: var(--tint-2);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.20);
}
.footer-col__title { color: #fff; font-weight: 600; font-size: 18px; margin-bottom: 22px; font-family: var(--font-body); }
.footer-links { display: flex; flex-direction: column; gap: 14px; }
.footer-links a { color: rgba(255, 255, 255, 0.88); font-size: 15px; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 28px; }
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 26px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.footer-legal { display: flex; gap: 32px; }
.footer-legal a { color: rgba(255, 255, 255, 0.88); font-size: 15px; }
.footer-legal a:hover { color: #fff; }
.footer-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  padding: 9px 14px;
}
.footer-badge span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
}

/* ---------- Marquee ---------- */
.marquee-band {
  position: relative;
  height: 170px;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.marquee-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding-bottom: 6px;
  animation: phub-marquee 32s linear infinite;
  will-change: transform;
}
.marquee-row {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-weight: 700;
  font-size: 135px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.16);
}
.marquee-logo { flex-shrink: 0; width: 152px; height: 155px; }

@keyframes phub-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hdr-nav { display: none; }
  .hdr-burger { display: inline-flex; }
}

@media (max-width: 768px) {
  .hdr-inner { padding: 16px 20px; }
  .hdr-phone { padding: 9px 15px; font-size: 13px; }
  .hero-content { padding: 60px 20px 72px; }
  .hero-h1 { font-size: 40px; }
  .mission-sec { padding: 60px 20px 64px; }
  .mission-head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .values-grid { grid-template-columns: 1fr; gap: 34px; margin-top: 42px; }
  .sec-h2 { font-size: 34px; }
  .video-sec { padding: 64px 20px; }
  .culture-sec { grid-template-columns: 1fr; gap: 32px; padding: 64px 20px 72px; }
  .culture-aside { position: static; }
  .cta-sec { padding: 74px 20px; }
  .footer-inner { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .marquee-band { height: 88px; }
  .marquee-row { gap: 22px; padding-right: 22px; font-size: 58px; }
  .marquee-logo { width: 68px; height: 69px; }
}