/* =========================================================
   TRANSGENERATIONAL RECRUITMENT
   SERVICES PAGE
   ========================================================= */

.services-page {
  --primary: #03275a;
  --primary-dark: #021d43;
  --accent: #ff8318;
  --accent-dark: #ff8318;
  --text: #172033;
  --muted: #667085;
  --light: #f5f7fa;
  --white: #ffffff;
  --border: #e4e7ec;

  width: 100%;
  overflow: hidden;
  background: #fff;
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.services-page *,
.services-page *::before,
.services-page *::after {
  box-sizing: border-box;
}

.services-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* =========================================================
   HERO
   ========================================================= */

.services-hero {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: center;

  background:
    linear-gradient(
      110deg,
      rgba(3, 39, 90, 0.97),
      rgba(3, 39, 90, 0.72),
      rgba(3, 39, 90, 0.35)
    ),
    url("../assets/team-office.png") center / cover no-repeat;
}

.services-hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(3, 39, 90, 0.95) 0%,
    rgba(3, 39, 90, 0.65) 55%,
    rgba(3, 39, 90, 0.15) 100%
  );
}

.services-hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}

.services-eyebrow {
  display: inline-block;
  margin-bottom: 17px;

  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.services-hero h1 {
  max-width: 760px;
  margin: 0;

  color: #fff;
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -3px;
}

.services-hero h1 span {
  color: #fff;
}

.services-hero p {
  max-width: 650px;
  margin: 28px 0 35px;

  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.75;
}

.services-hero-button,
.services-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 52px;
  padding: 14px 25px;

  border-radius: 4px;
  background: var(--accent);
  color: #fff;

  font-size: 14px;
  font-weight: 700;
  text-decoration: none;

  transition: 0.25s ease;
}

.services-hero-button:hover,
.services-cta-button:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(196, 21, 20, 0.25);
}

/* =========================================================
   INTRO
   ========================================================= */

.services-intro {
  padding: 100px 0 75px;
  background: #fff;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 15px;

  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.services-intro h2 {
  max-width: 820px;
  margin: 0;

  color: var(--primary);
  font-size: clamp(35px, 4vw, 53px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.services-intro h2 span {
  color: var(--accent);
}

.services-intro p {
  max-width: 760px;
  margin: 22px 0 0;

  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

/* =========================================================
   SERVICES LIST
   ========================================================= */

.services-list {
  padding: 25px 0 110px;
  background: #fff;
}

.service-section {
  margin-bottom: 22px;

  border: 1px solid var(--border);
  border-radius: 6px;

  background: #fff;

  overflow: hidden;

  box-shadow: 0 8px 28px rgba(16, 24, 40, 0.045);

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.service-section:hover {
  border-color: rgba(3, 39, 90, 0.18);
  box-shadow: 0 15px 35px rgba(3, 39, 90, 0.08);
}

.service-section.service-open {
  border-color: rgba(196, 21, 20, 0.3);
}

/* =========================================================
   SERVICE MAIN
   ========================================================= */

.service-main {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 28px;

  padding: 35px 38px;
}

.service-icon {
  width: 65px;
  height: 65px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 5px;

  background: var(--primary);
  color: #fff;

  box-shadow: 0 8px 20px rgba(3, 39, 90, 0.15);
}

.service-content {
  min-width: 0;
}

.service-eyebrow {
  display: block;
  margin-bottom: 8px;

  color: var(--accent);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.service-content h2 {
  margin: 0;

  color: var(--primary);

  font-size: clamp(25px, 3vw, 34px);
  font-weight: 700;

  line-height: 1.2;
  letter-spacing: -0.6px;
}

.service-intro {
  max-width: 850px;
  margin: 13px 0 18px;

  color: var(--muted);

  font-size: 15px;
  line-height: 1.75;
}

/* =========================================================
   READ MORE BUTTON
   ========================================================= */

.read-more-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 0;

  border: 0;
  background: transparent;

  color: var(--accent);

  font-family: inherit;
  font-size: 13px;
  font-weight: 800;

  cursor: pointer;

  transition: color 0.2s ease;
}

.read-more-button:hover {
  color: var(--accent-dark);
}

.read-more-button svg {
  transition: transform 0.25s ease;
}

.read-more-button svg.rotate {
  transform: rotate(180deg);
}

/* =========================================================
   EXPANDING INFORMATION
   ========================================================= */

.service-extra {
  display: grid;
  grid-template-rows: 0fr;

  background: #f8fafc;

  transition: grid-template-rows 0.4s ease;
}

.service-extra-open {
  grid-template-rows: 1fr;
}

.service-extra-inner {
  overflow: hidden;
}

.service-extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;

  padding: 35px 38px 40px;

  border-top: 1px solid var(--border);
}

.service-extra-grid h3 {
  margin: 0 0 20px;

  color: var(--primary);

  font-size: 18px;
  font-weight: 700;
}

/* =========================================================
   SERVICE ITEMS
   ========================================================= */

.service-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;

  color: #475467;

  font-size: 13px;
  line-height: 1.5;
}

.service-check {
  width: 22px;
  height: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  border-radius: 50%;

  background: rgba(196, 21, 20, 0.09);
  color: var(--accent);
}

/* =========================================================
   SERVICE DESCRIPTION
   ========================================================= */

.service-description p {
  margin: 0 0 22px;

  color: var(--muted);

  font-size: 15px;
  line-height: 1.8;
}

.service-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  padding: 17px 18px;

  border-left: 4px solid var(--accent);

  background: #fff;

  color: var(--primary);

  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.service-highlight svg {
  flex: 0 0 auto;
  color: var(--accent);
}

/* =========================================================
   CTA
   ========================================================= */

.services-cta {
  position: relative;

  min-height: 470px;

  display: flex;
  align-items: center;

  background:
    linear-gradient(90deg, rgba(3, 39, 90, 0.98), rgba(3, 39, 90, 0.8)),
    url("../assets/employer-cta.png") center / cover no-repeat;
}

.services-cta-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(3, 39, 90, 0.96),
    rgba(3, 39, 90, 0.55)
  );
}

.services-cta-content {
  position: relative;
  z-index: 2;

  padding: 95px 0;
}

.services-cta-content h2 {
  max-width: 780px;
  margin: 0;

  color: #fff;

  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;

  line-height: 1.05;
  letter-spacing: -1.8px;
}

.services-cta-content h2 span {
  color: #fff;
}

.services-cta-content p {
  max-width: 650px;
  margin: 22px 0 30px;

  color: rgba(255, 255, 255, 0.84);

  font-size: 17px;
  line-height: 1.75;
}

/* =========================================================
   TRUST BAR
   ========================================================= */

.services-trust {
  background: var(--primary);
}

.services-trust-inner {
  min-height: 85px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 30px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;

  color: #fff;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.trust-item svg {
  color: #fff;
}

.trust-divider {
  width: 1px;
  height: 25px;

  background: rgba(255, 255, 255, 0.25);
}

.services-footer-brand {
  padding: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.12);

  color: #fff;

  text-align: center;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.services-footer-brand span {
  color: rgba(255, 255, 255, 0.65);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
  .services-container {
    width: calc(100% - 40px);
  }

  .service-extra-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-hero h1 {
    font-size: 58px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {
  .services-container {
    width: calc(100% - 32px);
  }

  .services-hero {
    min-height: 510px;
  }

  .services-hero-content {
    padding: 75px 0;
  }

  .services-hero h1 {
    font-size: 44px;
    letter-spacing: -1.8px;
  }

  .services-hero p {
    font-size: 16px;
  }

  .services-hero-button,
  .services-cta-button {
    width: 100%;
  }

  /* INTRO */

  .services-intro {
    padding: 75px 0 55px;
  }

  .services-intro h2 {
    font-size: 36px;
  }

  /* SERVICE */

  .services-list {
    padding-bottom: 75px;
  }

  .service-main {
    grid-template-columns: 1fr;
    gap: 20px;

    padding: 28px 24px;
  }

  .service-icon {
    width: 56px;
    height: 56px;
  }

  .service-content h2 {
    font-size: 27px;
  }

  .service-intro {
    font-size: 14px;
  }

  .service-extra-grid {
    padding: 30px 24px 32px;
  }

  .service-items {
    grid-template-columns: 1fr;
  }

  /* CTA */

  .services-cta {
    min-height: 460px;
  }

  .services-cta-content {
    padding: 75px 0;
  }

  .services-cta-content h2 {
    font-size: 37px;
  }

  .services-cta-content p {
    font-size: 15px;
  }

  /* TRUST */

  .services-trust-inner {
    flex-direction: column;
    gap: 18px;

    padding: 30px 0;
  }

  .trust-divider {
    width: 50px;
    height: 1px;
  }

  .services-footer-brand {
    padding: 20px 15px;
    line-height: 1.7;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {
  .services-container {
    width: calc(100% - 28px);
  }

  .services-hero h1 {
    font-size: 40px;
  }

  .services-intro h2 {
    font-size: 31px;
  }

  .service-content h2 {
    font-size: 25px;
  }

  .service-main {
    padding: 25px 20px;
  }

  .service-extra-grid {
    padding: 27px 20px 30px;
  }

  .services-cta-content h2 {
    font-size: 33px;
  }
}
