/* ===================================================================
   CAREERS PAGE SECTIONS — built from Figma screenshots
   =================================================================== */

/* --- 1. HERO ---
   Full-width bg image, dark overlay, centered white text,
   2 buttons side by side, 3 trust badges in a row.
   Height: 640px. Overlay ~48% black.
   ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center 30%;
  text-align: center;
  color: var(--white);
  padding: 80px 80px;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero__title {
  font-size: 58px;
  font-weight: 700;
  line-height: 1.1;
}
.hero__subtitle {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.88;
  line-height: 1.6;
  max-width: 600px;
}
.hero__buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.hero__badges {
  display: flex;
  gap: 28px;
  margin-top: 4px;
}
.hero__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}
.hero__badge svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --- 2. WORKPLACE VALUES ---
   White bg, 2-column: image left (rounded corners), text right.
   Title + 3 paragraphs of body text.
   ----------------------------------------------------------------- */
.workplace {
  background: var(--white);
  padding: 80px 80px;
}
.workplace__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.workplace__image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.workplace__title {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 24px;
}
.workplace__desc {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.7;
  margin-bottom: 20px;
}
.workplace__desc:last-child {
  margin-bottom: 0;
}

/* --- 3. CURRENT OPENINGS ---
   Blue bg, 2-column: text left with job listings, image right flush.
   Each job: title (navy bold), description, white "Apply" button.
   ----------------------------------------------------------------- */
.openings {
  background: var(--blue);
  color: var(--white);
}
.openings__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}
.openings__text {
  padding: 72px 64px 72px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.openings__title {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 36px;
}
.openings__job {
  margin-bottom: 32px;
}
.openings__job:last-of-type {
  margin-bottom: 0;
}
.openings__job-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
}
.openings__job-desc {
  font-size: 15px;
  opacity: 0.88;
  line-height: 1.65;
  margin-bottom: 16px;
}
.openings__apply {
  font-size: 15px;
  padding: 12px 24px;
}
.openings__image {
  overflow: hidden;
}
.openings__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- 4. WHAT WE OFFER ---
   Light blue bg, centered heading, 4 benefit cards in a row.
   Each card: blue circle checkmark icon, bold title, description text.
   ----------------------------------------------------------------- */
.what-we-offer {
  background: var(--light-blue);
  padding: 80px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
}
.what-we-offer__title {
  font-size: 44px;
  text-align: center;
}
.what-we-offer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 1200px;
  width: 100%;
  text-align: center;
}
.what-we-offer__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.what-we-offer__icon {
  width: 40px;
  height: 40px;
}
.what-we-offer__card-title {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}
.what-we-offer__card-text {
  font-size: 15px;
  color: var(--body-text);
  line-height: 1.6;
}

/* --- 5. FOOTER ---
   White bg, blue top border, 5-column grid, bottom bar.
   Copied from home.css for page independence.
   ----------------------------------------------------------------- */
.footer {
  background: var(--white);
  border-top: 4px solid var(--blue);
}
.footer__main {
  display: grid;
  grid-template-columns: 200px repeat(4, 1fr);
  gap: 40px;
  padding: 52px 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer__logo {
  width: 160px;
  height: auto;
}
.footer__map-img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}
.footer__col {
  display: flex;
  flex-direction: column;
}
.footer__heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}
.footer__heading--socials {
  margin-top: 28px;
}
.footer__link {
  font-size: 14px;
  color: var(--body-text);
  margin-bottom: 10px;
  line-height: 1.5;
}
.footer__link:hover { color: var(--blue); }
.footer__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
  margin-bottom: 4px;
  margin-top: 12px;
}
.footer__label:first-of-type { margin-top: 0; }
.footer__info {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.5;
  margin-bottom: 4px;
}
.footer__areas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.footer__areas a {
  font-size: 14px;
  color: var(--body-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__areas a:hover { color: var(--blue); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  border-top: 1px solid #E2E8F0;
  font-size: 13px;
  color: var(--grey);
}
.footer__bottom p { margin: 0; }

/* ===================================================================
   MOBILE RESPONSIVE — @media (max-width: 768px)
   Matches mobile Figma screenshots (412px viewport)
   =================================================================*/
@media (max-width: 768px) {

  /* --- HERO mobile --- */
  .hero {
    min-height: 520px;
    padding: 48px 20px;
    text-align: left;
    align-items: flex-start;
  }
  .hero__content {
    align-items: flex-start;
    max-width: 100%;
  }
  .hero__title { font-size: 32px; }
  .hero__subtitle { font-size: 15px; max-width: 100%; }
  .hero__buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero__buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .hero__badges {
    flex-direction: column;
    gap: 12px;
  }

  /* --- WORKPLACE mobile --- */
  .workplace {
    padding: 48px 20px;
  }
  .workplace__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .workplace__title { font-size: 28px; }

  /* --- OPENINGS mobile --- */
  .openings__content {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .openings__image {
    order: -1;
    max-height: 300px;
  }
  .openings__text {
    padding: 40px 20px;
  }
  .openings__title { font-size: 28px; }
  .openings__apply {
    width: 100%;
    text-align: center;
  }

  /* --- WHAT WE OFFER mobile --- */
  .what-we-offer {
    padding: 48px 20px;
    gap: 36px;
  }
  .what-we-offer__title { font-size: 28px; }
  .what-we-offer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* --- FOOTER mobile --- */
  .footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 16px 20px;
  }
}
