:root {
  --catc-sage: #aeb7a6;
  --catc-sage-soft: #c0c7b8;
  --catc-teal-deep: #183d43;
  --catc-teal: #23484e;
  --catc-teal-2: #2f5659;
  --catc-sand: #bd8c6c;
  --catc-sand-light: #d2a080;
  --catc-cream: #fffff8;
  --catc-ink: #122f33;
  --catc-muted: rgba(255, 255, 248, 0.76);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.catc-service-page {
  margin: 0;
  background: var(--catc-teal-deep);
  color: var(--catc-cream);
  font-family: Poppins, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.service-shell {
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 82% 4%, rgba(210, 160, 128, 0.16), transparent 24rem),
    linear-gradient(180deg, #244e53 0%, #183d43 34%, #143236 100%);
}

.service-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 248, 0.12);
  background: rgba(18, 47, 51, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.service-header-inner,
.service-section,
.service-footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.service-header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.service-header-top {
  display: flex;
  align-items: center;
  min-width: 0;
}

.service-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.service-logo img {
  display: block;
  width: 188px;
  height: auto;
}

@media (min-width: 881px) {
  .service-logo img {
    margin-bottom: 16px;
  }
}

.service-header-actions {
  display: none;
}

.service-nav {
  font-size: 13px;
  font-weight: 700;
  min-width: 0;
}

.service-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.catc-mobile-nav-toggle {
  display: none;
}

.service-menu a {
  color: rgba(255, 255, 248, 0.84);
  text-decoration: none;
  transition: color 160ms ease;
}

.service-menu a:hover,
.service-menu a:focus-visible,
.service-menu a[aria-current="page"] {
  color: var(--catc-sand-light);
}

.service-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(76px, 10vw, 132px) 0 clamp(68px, 8vw, 104px);
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 1;
  background-image:
    linear-gradient(90deg, rgba(18, 47, 51, 0.92), rgba(18, 47, 51, 0.72) 52%, rgba(18, 47, 51, 0.48)),
    url("/assets/catc-mountain-mobile.png");
  background-position: center 18%;
  background-repeat: no-repeat;
  background-size: cover;
}

.service-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: -1;
  height: 96px;
  background: linear-gradient(180deg, rgba(18, 47, 51, 0), #173b40);
}

.service-eyebrow {
  margin: 0 0 16px;
  color: var(--catc-sand-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-hero h1 {
  max-width: 860px;
  margin: 0;
  color: var(--catc-cream);
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.service-hero-lede {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(255, 255, 248, 0.88);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.service-button,
.service-button-secondary {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.service-button {
  border: 1px solid var(--catc-sand-light);
  background: var(--catc-sand);
  color: #102a2e;
}

.service-button-secondary {
  border: 1px solid rgba(255, 255, 248, 0.28);
  color: var(--catc-cream);
}

.service-button:hover,
.service-button-secondary:hover {
  transform: translateY(-2px);
}

.service-section {
  padding: clamp(54px, 7vw, 86px) 0;
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}

.service-section h2 {
  margin: 0;
  color: var(--catc-cream);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
}

.service-section h3 {
  margin: 0 0 12px;
  color: var(--catc-sand-light);
  font-size: 18px;
  line-height: 1.3;
}

.service-section p {
  margin: 0 0 18px;
  color: rgba(255, 255, 248, 0.82);
}

.service-section ul,
.service-section ol {
  margin: 0;
  padding-left: 22px;
  color: rgba(255, 255, 248, 0.84);
}

.service-section li + li {
  margin-top: 10px;
}

.service-band {
  background:
    linear-gradient(180deg, rgba(174, 183, 166, 0.08), rgba(174, 183, 166, 0.03)),
    #1f4545;
}

.service-panel {
  border: 1px solid rgba(255, 255, 248, 0.14);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 248, 0.045);
}

.service-checks {
  display: grid;
  gap: 16px;
  padding: 0;
  list-style: none;
}

.service-checks li {
  position: relative;
  padding-left: 26px;
}

.service-checks li::before {
  content: "";
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--catc-sand-light);
}

.service-steps {
  display: grid;
  gap: 16px;
  counter-reset: service-step;
  padding: 0;
  list-style: none;
}

.service-steps li {
  position: relative;
  padding: 0 0 0 48px;
  counter-increment: service-step;
}

.service-steps li::before {
  content: counter(service-step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(210, 160, 128, 0.8);
  border-radius: 999px;
  color: var(--catc-sand-light);
  font-size: 14px;
  font-weight: 800;
}

.service-faq {
  display: grid;
  gap: 16px;
}

.service-faq details {
  border-bottom: 1px solid rgba(255, 255, 248, 0.14);
  padding-bottom: 16px;
}

.service-faq summary {
  cursor: pointer;
  color: var(--catc-cream);
  font-size: 18px;
  font-weight: 800;
}

.service-faq p {
  margin-top: 12px;
}

.related-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.related-services a {
  display: block;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 248, 0.14);
  border-radius: 8px;
  padding: 18px;
  color: var(--catc-cream);
  text-decoration: none;
  background: rgba(255, 255, 248, 0.04);
  transition: transform 160ms ease, border-color 160ms ease;
}

.related-services a:hover {
  transform: translateY(-2px);
  border-color: rgba(210, 160, 128, 0.7);
}

.related-services span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 248, 0.68);
  font-size: 14px;
  line-height: 1.45;
}

.service-note {
  border-left: 3px solid var(--catc-sand-light);
  padding-left: 18px;
  color: rgba(255, 255, 248, 0.78);
  font-size: 15px;
}

.service-footer {
  border-top: 1px solid rgba(255, 255, 248, 0.12);
  background: #102b2f;
}

.service-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
  gap: 32px;
  padding: 42px 0;
}

.service-footer h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.06;
}

.service-footer p {
  margin: 0;
  color: rgba(255, 255, 248, 0.76);
}

.service-footer-links {
  display: grid;
  gap: 10px;
  align-content: center;
  justify-items: start;
}

.service-footer-links a {
  color: var(--catc-sand-light);
  font-weight: 800;
  text-decoration: none;
}

.service-disclaimer {
  border-top: 1px solid rgba(255, 255, 248, 0.1);
  padding: 18px 0 26px;
  color: rgba(255, 255, 248, 0.58);
  font-size: 13px;
}

@media (max-width: 880px) {
  .service-header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 18px 0;
  }

  .service-nav {
    width: 100%;
  }

  .service-menu {
    justify-content: flex-start;
  }

  .service-grid,
  .service-footer-inner {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 720px) {
  .service-hero::before {
    opacity: 1;
    background-image:
      linear-gradient(180deg, rgba(18, 47, 51, 0.46), rgba(18, 47, 51, 0.74) 56%, rgba(18, 47, 51, 0.9)),
      url("/assets/catc-mountain-mobile.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .service-header-top {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .service-logo {
    flex: 0 1 164px;
  }

  .service-logo img {
    width: min(160px, 100%);
  }

  .service-header-actions {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
  }

  .service-header-actions a {
    display: flex;
    min-width: 0;
    height: 34px;
    min-height: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 248, 0.2);
    border-radius: 999px;
    padding: 0 25px;
    background: rgba(255, 255, 248, 0.055);
    color: rgba(255, 255, 248, 0.92);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
  }

  .service-header-actions a:first-child {
    border-color: rgba(210, 160, 128, 0.76);
    padding-inline: 35px;
    background: rgba(189, 140, 108, 0.22);
    font-size: 13px;
  }

  .service-header-actions a:focus-visible {
    outline: 2px solid var(--catc-sand-light);
    outline-offset: 2px;
  }

  .catc-mobile-nav-toggle {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 248, 0.18);
    border-radius: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 248, 0.06);
    color: var(--catc-cream);
    cursor: pointer;
    font: 800 14px/1.2 Poppins, Arial, sans-serif;
    letter-spacing: 0;
    text-align: left;
  }

  .catc-mobile-nav-toggle:focus-visible {
    outline: 2px solid var(--catc-sand-light);
    outline-offset: 2px;
  }

  .catc-mobile-nav-icon {
    display: grid;
    width: 20px;
    gap: 4px;
    color: currentColor;
  }

  .catc-mobile-nav-icon span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .service-menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    padding-top: 8px;
  }

  .service-nav.is-ready .service-menu {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: max-height 220ms ease, opacity 180ms ease, padding 180ms ease, transform 180ms ease;
    visibility: hidden;
  }

  .service-nav.is-open .service-menu {
    max-height: 420px;
    padding-top: 8px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .service-nav.is-open .catc-mobile-nav-icon span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .service-nav.is-open .catc-mobile-nav-icon span:nth-child(2) {
    opacity: 0;
  }

  .service-nav.is-open .catc-mobile-nav-icon span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .service-menu a {
    display: block;
    border-radius: 6px;
    padding: 11px 10px;
    background: rgba(255, 255, 248, 0.045);
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .service-header-inner,
  .service-section,
  .service-footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .service-logo img {
    width: 160px;
  }

  .service-nav {
    font-size: 12px;
  }

  .service-hero {
    padding-top: 54px;
  }

  .service-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .service-header-top {
    gap: 8px;
  }

  .service-logo {
    flex-basis: 144px;
  }

  .service-logo img {
    width: min(144px, 100%);
  }

  .service-header-actions {
    gap: 4px;
  }

  .service-header-actions a {
    height: 34px;
    padding-inline: 12px;
    font-size: 11px;
  }

  .service-header-actions a:first-child {
    padding-inline: 14px;
    font-size: 12px;
  }
}
