:root {
  --page-bg: #00373d;
  --card-bg: rgba(0, 57, 64, 0.76);
  --card-line: rgba(102, 202, 201, 0.32);
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --mint: #adf3ea;
  --active: #7dece2;
  --icon-circle: #006f73;
  --footer-text: rgba(217, 250, 246, 0.78);
}

.footer-top.office-footer {
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.45fr);
  gap: clamp(48px, 10vw, 190px);
  align-items: start;
}

.office-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(48px, 10vw, 190px);
  row-gap: 8px;
  max-width: 1120px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(12px, 0.95vw, 16px);
  font-style: normal;
  font-weight: 300;
  line-height: 1.25;
}

.office-contact strong,
.office-contact .office-name {
  grid-column: 1 / -1;
}

.office-contact strong {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(13px, 1.05vw, 17px);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.office-contact .office-name {
  width: max-content;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.office-contact span {
  margin: 0;
}

@media (max-width: 760px) {
  .office-contact {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: #1d1d1d;
}

body {
  margin: 0;
  font-family: "Funnel Sans", "Segoe UI", sans-serif;
  color: var(--white);
  background: #1d1d1d;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.services-page {
  min-height: 100vh;
  overflow: hidden;
  background: var(--page-bg) url("assets/services-background-jump.png") top center / 100% auto no-repeat;
}

.shell {
  width: min(1248px, calc(100% - 80px));
  margin: 0 auto;
}

.services-hero {
  min-height: 794px;
}

.hero-shell {
  position: relative;
  min-height: 794px;
  padding-top: 80px;
}

.brand {
  display: inline-block;
}

.logo {
  width: 118px;
  height: 26px;
  object-fit: contain;
}

.brand img {
  max-width: none;
}

.hero-copy {
  margin-top: 172px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  height: 27px;
  margin: 0 0 39px;
  border-radius: 999px;
  background: #006f73;
  color: #9df4ec;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.02em;
}

h1,
h2,
p {
  margin: 0;
}

.services-hero h1 {
  max-width: 710px;
  font-family: "Funnel Display", "Funnel Sans", sans-serif;
  font-size: clamp(48px, 5.4vw, 84px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.052em;
}

.pill-nav {
  position: absolute;
  left: 50%;
  bottom: 144px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  border-radius: 999px;
  background: var(--white);
  color: #05282d;
  transform: translateX(-50%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.pill-nav::before {
  content: "";
  width: 15px;
  height: 15px;
  margin: 0 3px 0 1px;
  background: url("assets/nav-spark-vector.svg") center / contain no-repeat;
  flex: 0 0 auto;
}

.pill-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.pill-nav a.is-active {
  background: var(--active);
}

.services-grid-section {
  padding: 78px 0 110px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 332px));
  gap: 38px 42px;
  justify-content: center;
}

.service-card {
  min-height: 350px;
  padding: 28px 34px 30px;
  border: 1px solid var(--card-line);
  border-radius: 14px;
  background: var(--card-bg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover,
.service-card:focus-visible {
  border-color: rgba(125, 236, 226, 0.76);
  transform: translateY(-2px);
  outline: none;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: var(--icon-circle);
}

.service-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.service-card h2 {
  margin: 32px 0 0;
  min-height: 68px;
  font-family: "Funnel Display", "Funnel Sans", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.service-card p {
  margin-top: 55px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.26;
  letter-spacing: -0.01em;
}

.support-cta {
  background: var(--mint);
  color: #062e33;
}

.cta-inner {
  min-height: 268px;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.support-cta h2 {
  font-family: "Funnel Display", "Funnel Sans", sans-serif;
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.support-cta p {
  max-width: 605px;
  margin-top: 11px;
  color: rgba(6, 46, 51, 0.72);
  font-size: 12px;
  line-height: 1.22;
}

.support-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  height: 36px;
  margin-top: 24px;
  border-radius: 999px;
  background: #00343a;
  color: var(--white);
  font-size: 12px;
}

.site-footer {
  padding: 98px 0 28px;
  background: #00373d;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 330px) minmax(0, 540px);
  justify-content: space-between;
  gap: 80px;
  min-height: 150px;
}

.footer-note {
  color: var(--footer-text);
  font-size: 12px;
  line-height: 1.32;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
}

.footer-links div {
  display: grid;
  gap: 17px;
  color: var(--footer-text);
  font-size: 11px;
  line-height: 1;
}

.footer-links strong {
  color: var(--white);
  font-size: 11px;
  font-weight: 400;
}

.footer-mark {
  height: 360px;
  margin-top: 118px;
  object-fit: cover;
  object-position: bottom center;
}

@media (max-width: 980px) {
  .shell {
    width: min(720px, calc(100% - 40px));
  }

  .services-hero,
  .hero-shell {
    min-height: 650px;
  }

  .hero-shell {
    padding-top: 45px;
  }

  .hero-copy {
    margin-top: 120px;
  }

  .pill-nav {
    bottom: 86px;
    max-width: calc(100vw - 40px);
    overflow-x: auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-mark {
    height: 210px;
    margin-top: 80px;
  }
}

@media (max-width: 640px) {
  .services-page {
    background-size: auto 1080px;
  }

  .services-hero,
  .hero-shell {
    min-height: 575px;
  }

  .hero-copy {
    margin-top: 112px;
  }

  .eyebrow {
    margin-bottom: 24px;
  }

  .services-hero h1 {
    font-size: 44px;
  }

  .pill-nav {
    left: 20px;
    right: 20px;
    bottom: 60px;
    transform: none;
  }

  .pill-nav a {
    padding: 0 13px;
  }

  .services-grid-section {
    padding: 50px 0 72px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 300px;
  }

  .service-card p {
    margin-top: 36px;
    font-size: 13px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
