/* ========================================================================== 
   Service pages — isolated layout correction
   This stylesheet is deliberately scoped to body.service-page so the home
   page remains untouched.
   ========================================================================== */

body.service-page {
  --service-shell: 1524px;
  --service-gutter: 62px;
  background: #f7f9fc;
  overflow-x: hidden;
}

body.service-page main {
  padding-top: 94px;
}

body.service-page .service-shell {
  width: 100%;
  max-width: var(--service-shell);
  margin-inline: auto;
  padding-inline: var(--service-gutter);
}

/* Header */
body.service-page .site-header.subpage-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  width: 100%;
  height: 94px;
  color: #fff;
  background: #071f3a;
  box-shadow: none;
}

body.service-page .subpage-header .navbar {
  width: 100%;
  max-width: var(--service-shell);
  height: 94px;
  margin-inline: auto;
  padding: 0 var(--service-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.service-page .subpage-header .brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  color: #fff;
}

body.service-page .subpage-header .brand-mark {
  font-family: "Manrope", "Inter", Arial, sans-serif;
  font-size: 46px;
  font-weight: 800;
  line-height: .9;
  letter-spacing: -2.5px;
}

body.service-page .subpage-header .brand-copy {
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 3px;
  white-space: nowrap;
}

body.service-page .subpage-header .nav-links {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 56px;
}

body.service-page .subpage-header .nav-links a {
  color: rgba(255, 255, 255, .82);
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
  transition: color .18s ease;
}

body.service-page .subpage-header .nav-links a:hover,
body.service-page .subpage-header .nav-links a:focus-visible {
  color: #fff;
}

/* Service hero */
body.service-page .service-hero {
  position: relative;
  min-height: 342px;
  padding: 48px 0 52px;
  display: flex;
  align-items: center;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(4, 22, 41, .94) 0%, rgba(4, 22, 41, .82) 42%, rgba(4, 22, 41, .56) 70%, rgba(4, 22, 41, .42) 100%),
    url("assets/hero.png");
  background-position: center 58%;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

body.service-page .service-hero__content {
  position: relative;
  z-index: 1;
}

body.service-page .service-hero__label {
  margin: 0 0 27px;
  color: #5eb6ff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1.45px;
  text-transform: uppercase;
}

body.service-page .service-hero__title {
  max-width: 1200px;
  margin: 0 0 22px;
  color: #fff;
  font-family: "Manrope", "Inter", Arial, sans-serif;
  font-size: 70px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2.2px;
  text-wrap: balance;
}

body.service-page .service-hero__intro {
  max-width: 1360px;
  margin: 0;
  color: rgba(255, 255, 255, .87);
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

body.service-page .service-hero__checks {
  margin-top: 27px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 34px;
  color: rgba(255, 255, 255, .78);
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
}

body.service-page .service-hero__checks span {
  position: relative;
  padding-left: 24px;
  white-space: nowrap;
}

body.service-page .service-hero__checks span::before {
  content: "✓" !important;
  position: absolute;
  left: 0;
  top: -.04em;
  color: #5eb6ff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

/* Alternating service detail rows */
body.service-page .service-detail-section {
  padding: 116px 0 132px;
  background: #f7f9fc;
}

body.service-page .service-detail-list {
  display: grid;
  gap: 132px;
}

body.service-page .service-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 70px;
  align-items: center;
}

body.service-page .service-detail-card:nth-child(even) .service-detail-photo {
  order: 2;
}

body.service-page .service-detail-card:nth-child(even) .service-detail-copy {
  justify-self: end;
}

body.service-page .service-detail-photo {
  width: 100%;
  height: 440px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(11, 31, 58, .11);
  background: #e9eef5;
}

body.service-page .service-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.service-page .service-detail-copy {
  width: 100%;
  max-width: 620px;
}

body.service-page .service-detail-label {
  margin: 0 0 28px;
  color: #1565d8;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1.45px;
  text-transform: uppercase;
}

body.service-page .service-detail-title {
  margin: 0 0 27px;
  color: #0b1f3a;
  font-family: "Manrope", "Inter", Arial, sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.17;
  letter-spacing: -1.25px;
  text-wrap: balance;
}

body.service-page .service-title-line {
  display: block;
}

body.service-page .service-detail-text {
  margin: 0;
  color: #667085;
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.68;
}

body.service-page .service-check-list {
  margin-top: 29px;
  display: grid;
  gap: 12px;
}

body.service-page .service-check-item {
  position: relative;
  margin: 0;
  padding-left: 30px;
  color: #0b1f3a;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

body.service-page .service-check-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -.05em;
  color: #1565d8;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}

/* Call to action */
body.service-page .service-cta {
  padding: 96px 0 98px;
  color: #fff;
  text-align: center;
  background: #1565d8;
}

body.service-page .service-cta h2 {
  margin: 0 0 19px;
  color: #fff;
  font-family: "Manrope", "Inter", Arial, sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
}

body.service-page .service-cta p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .88);
  font-size: 18px;
  line-height: 1.6;
}

body.service-page .service-cta-actions {
  margin-top: 33px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

body.service-page .service-cta .button {
  min-width: 194px;
  min-height: 52px;
  padding: 15px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .35px;
}

body.service-page .service-cta .button-dark {
  color: #fff;
  background: #0b1f3a;
}

body.service-page .service-cta .button-light-outline {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .74);
  background: transparent;
}

/* Footer */
body.service-page .site-footer.subpage-footer {
  min-height: 0;
  height: auto;
}

body.service-page .subpage-footer .content-container {
  max-width: var(--service-shell);
  padding-inline: var(--service-gutter);
}

/* Tablet */
@media (max-width: 1180px) {
  body.service-page {
    --service-gutter: 40px;
  }

  body.service-page .subpage-header .nav-links {
    gap: 38px;
  }

  body.service-page .service-detail-card {
    gap: 52px;
  }

  body.service-page .service-detail-photo {
    height: 400px;
  }

  body.service-page .service-detail-title {
    font-size: 40px;
  }
}

/* Mobile navigation and stacked detail rows */
@media (max-width: 900px) {
  body.service-page {
    --service-gutter: 28px;
  }

  body.service-page main {
    padding-top: 78px;
  }

  body.service-page .site-header.subpage-header,
  body.service-page .subpage-header .navbar {
    height: 78px;
  }

  body.service-page .subpage-header .brand-mark {
    font-size: 39px;
  }

  body.service-page .subpage-header .brand-copy {
    font-size: 9.5px;
    letter-spacing: 2.25px;
  }

  body.service-page .service-hero {
    min-height: 0;
    padding: 68px 0 70px;
    background-position: 61% center;
  }

  body.service-page .service-hero__label {
    margin-bottom: 22px;
    font-size: 14px;
  }

  body.service-page .service-hero__title {
    margin-bottom: 21px;
    font-size: 56px;
    line-height: 1.09;
    letter-spacing: -1.5px;
  }

  body.service-page .service-hero__intro {
    max-width: 720px;
    font-size: 17px;
    line-height: 1.62;
  }

  body.service-page .service-hero__checks {
    margin-top: 25px;
    gap: 11px 24px;
    font-size: 16px;
  }

  body.service-page .service-detail-section {
    padding: 86px 0 104px;
  }

  body.service-page .service-detail-list {
    gap: 96px;
  }

  body.service-page .service-detail-card,
  body.service-page .service-detail-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  body.service-page .service-detail-card:nth-child(even) .service-detail-photo {
    order: 0;
  }

  body.service-page .service-detail-card:nth-child(even) .service-detail-copy,
  body.service-page .service-detail-copy {
    max-width: 720px;
    justify-self: start;
  }

  body.service-page .service-detail-photo {
    height: auto;
    aspect-ratio: 1.55 / 1;
  }

  body.service-page .service-detail-title {
    font-size: 40px;
  }
}

@media (max-width: 760px) {
  body.service-page {
    --service-gutter: 22px;
  }

  body.service-page .subpage-header .menu-btn {
    display: block;
    position: relative;
    z-index: 1002;
    color: #fff;
  }

  body.service-page .subpage-header .nav-links {
    position: fixed;
    inset: 78px 0 auto;
    z-index: 1001;
    width: 100%;
    max-height: 0;
    padding: 0 22px;
    display: grid;
    gap: 0;
    overflow: hidden;
    background: #071f3a;
    opacity: 0;
    pointer-events: none;
    transition: max-height .22s ease, opacity .2s ease, padding .22s ease;
  }

  body.service-page .subpage-header .nav-links.open {
    max-height: 360px;
    padding-top: 13px;
    padding-bottom: 21px;
    opacity: 1;
    pointer-events: auto;
  }

  body.service-page .subpage-header .nav-links a {
    padding: 15px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  body.service-page {
    --service-gutter: 20px;
  }

  body.service-page .subpage-header .brand {
    gap: 11px;
  }

  body.service-page .subpage-header .brand-mark {
    font-size: 36px;
  }

  body.service-page .subpage-header .brand-copy {
    max-width: 160px;
    font-size: 8px;
    letter-spacing: 1.8px;
  }

  body.service-page .service-hero {
    padding: 56px 0 59px;
  }

  body.service-page .service-hero__label {
    margin-bottom: 18px;
    font-size: 13px;
  }

  body.service-page .service-hero__title {
    margin-bottom: 19px;
    font-size: 46px;
    line-height: 1.1;
    letter-spacing: -1.2px;
  }

  body.service-page .service-hero__intro {
    font-size: 16px;
    line-height: 1.62;
  }

  body.service-page .service-hero__checks {
    margin-top: 23px;
    display: grid;
    gap: 10px;
    font-size: 15px;
  }

  body.service-page .service-hero__checks span {
    white-space: normal;
  }

  body.service-page .service-detail-section {
    padding: 70px 0 86px;
  }

  body.service-page .service-detail-list {
    gap: 78px;
  }

  body.service-page .service-detail-card,
  body.service-page .service-detail-card:nth-child(even) {
    gap: 31px;
  }

  body.service-page .service-detail-photo {
    aspect-ratio: 1.38 / 1;
    border-radius: 18px;
  }

  body.service-page .service-detail-label {
    margin-bottom: 18px;
    font-size: 12px;
  }

  body.service-page .service-detail-title {
    margin-bottom: 21px;
    font-size: 35px;
    line-height: 1.16;
    letter-spacing: -.8px;
  }

  body.service-page .service-detail-text {
    font-size: 16px;
    line-height: 1.65;
  }

  body.service-page .service-check-list {
    margin-top: 24px;
    gap: 10px;
  }

  body.service-page .service-check-item {
    padding-left: 28px;
    font-size: 15px;
  }

  body.service-page .service-title-line {
    display: inline;
  }

  body.service-page .service-title-line + .service-title-line::before {
    content: " ";
  }

  body.service-page .service-cta {
    padding: 72px 0 76px;
  }

  body.service-page .service-cta h2 {
    margin-bottom: 17px;
    font-size: 35px;
  }

  body.service-page .service-cta p {
    font-size: 16px;
  }

  body.service-page .service-cta-actions {
    margin-top: 28px;
    display: grid;
  }

  body.service-page .service-cta .button {
    width: min(100%, 310px);
    margin-inline: auto;
  }
}
