:root {
  --navy: #062653;
  --navy-deep: #031d45;
  --navy-soft: #123e6a;
  --teal: #08a9a8;
  --teal-deep: #087f84;
  --teal-soft: #d9f7f5;
  --ink: #082557;
  --muted: #65758c;
  --bg: #f3f9fc;
  --line: #d7e6ee;
  --shadow: 0 20px 56px rgba(6, 38, 83, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.45;
}

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

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

button {
  font: inherit;
}

.service-topbar {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  min-height: 32px;
  padding: 7px 8%;
  background: var(--navy-deep);
  color: #d4edf4;
  font-size: 14px;
  font-weight: 700;
}

.service-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 82px;
  padding: 0 8%;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.service-brand img {
  width: 88px;
  height: 66px;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 42px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.nav a:hover,
.nav a:focus-visible,
.nav .active {
  color: var(--teal);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.nav-dropdown-toggle {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 30;
  min-width: 270px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  max-height: min(420px, calc(100vh - 120px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(6, 38, 83, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.has-dropdown::after {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 29;
  width: 270px;
  height: 14px;
  content: "";
  transform: translateX(-50%);
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  background: #e9fbfb;
  color: var(--teal);
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown,
.has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  min-height: 38px;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible,
.nav-dropdown .sub-active {
  background: #e9fbfb;
  color: var(--teal);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(6, 38, 83, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 26px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.service-btn:hover {
  transform: translateY(-1px);
}

.service-btn:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(8, 169, 168, 0.35);
  outline-offset: 3px;
}

.service-btn-primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(8, 169, 168, 0.24);
}

.service-btn-secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--navy);
}

.service-btn-light {
  background: #ffffff;
  color: var(--navy);
}

.service-btn-outline {
  border-color: rgba(255, 255, 255, 0.76);
  color: #ffffff;
}

.credentialing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: 58px;
  align-items: center;
  min-height: 620px;
  padding: 78px 8% 74px;
  overflow: hidden;
  background: linear-gradient(135deg, #082a4a 0%, #0e4c7b 58%, #10aaa4 100%);
  color: #ffffff;
}

.credentialing-hero::before {
  position: absolute;
  right: -90px;
  top: -90px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.11);
  content: "";
}

.credentialing-hero::after {
  position: absolute;
  right: 23%;
  bottom: -240px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(8, 169, 168, 0.16);
  content: "";
}

.credentialing-hero > * {
  position: relative;
  z-index: 1;
}

.service-pill {
  display: inline-flex;
  max-width: 100%;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.13);
  color: #c7fffb;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 820px;
  margin: 32px 0 22px;
  color: #ffffff;
  font-size: clamp(50px, 6vw, 78px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero-lead {
  max-width: 780px;
  margin: 0;
  color: #d7eef7;
  font-size: 22px;
  line-height: 1.56;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.workflow-shell {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 30px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.workflow-card {
  border-radius: 26px;
  padding: 30px;
  background: #ffffff;
  color: var(--ink);
}

.workflow-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.workflow-top h2 {
  max-width: 270px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.2;
}

.workflow-top span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 900;
}

.workflow-card p {
  max-width: 430px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.credential-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 26px;
}

.credential-metrics article:nth-child(3) {
  grid-column: auto;
}

.credential-metrics article {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  column-gap: 14px;
  min-width: 0;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px;
  background: #f2fbfd;
  overflow: hidden;
}

.credential-metrics strong {
  display: block;
  max-width: 100%;
  color: var(--teal);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.05;
  text-align: left;
  overflow-wrap: normal;
}

.credential-metrics span {
  display: block;
  margin-top: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  border-radius: 999px;
  padding: 11px 16px;
  background: var(--navy);
  color: #ffffff;
}

.status-row span {
  border-radius: 999px;
  padding: 5px 13px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 900;
}

.credentialing-section,
.process-mini,
.faq-section {
  padding: 70px 8%;
}

.section-heading p,
.local-copy p,
.credentialing-cta p,
.why-card > p:first-child {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading h2,
.local-copy h2 {
  max-width: 1120px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 4.8vw, 58px);
  font-weight: 900;
  line-height: 1.08;
}

.section-heading > span,
.local-copy > span {
  display: block;
  max-width: 900px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.5;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 34px;
}

.support-grid article,
.needs-card,
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(6, 38, 83, 0.05);
}

.support-grid article {
  min-height: 230px;
  padding: 28px;
}

.support-grid img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  padding: 14px;
  background: #ddf9f8;
  object-fit: contain;
}

.support-grid h3 {
  margin: 20px 0 9px;
  color: var(--navy);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
}

.support-grid p,
.credential-list p,
.needs-card li,
.faq-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.credentialing-split {
  display: grid;
  grid-template-columns: minmax(330px, 0.62fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding: 0 8% 76px;
}

.why-card {
  min-height: 430px;
  border-radius: 28px;
  padding: 38px 34px;
  background: var(--navy-deep);
  color: #ffffff;
}

.why-card h2 {
  max-width: 420px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.1;
}

.why-card p {
  margin: 0 0 28px;
  color: #d4e9f5;
  font-size: 18px;
  line-height: 1.55;
}

.credential-list {
  display: grid;
  gap: 14px;
}

.credential-list article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px 18px;
  background: #ffffff;
}

.credential-list span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-soft);
}

.credential-list span::before {
  color: var(--teal);
  font-weight: 900;
  content: "\2713";
}

.credential-list strong {
  display: block;
  color: var(--navy);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.14;
}

.local-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
  gap: 36px;
  align-items: center;
  padding: 66px 8%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill-list span {
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 14px;
  font-weight: 900;
}

.needs-card {
  padding: 30px;
}

.needs-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 28px;
  font-weight: 900;
}

.needs-card ul {
  margin: 0;
  padding-left: 20px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.process-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: #ffffff;
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 900;
}

.process-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--navy);
  font-size: 23px;
  font-weight: 900;
}

.process-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.faq-section {
  padding-top: 16px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.faq-grid details {
  padding: 20px;
}

.faq-grid summary {
  color: var(--navy);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

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

.credentialing-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 20px 8% 76px;
  border-radius: 28px;
  padding: 38px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: #ffffff;
}

.credentialing-cta h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.12;
}

.credentialing-cta p,
.credentialing-cta span {
  color: #e6ffff;
}

.credentialing-cta > div > span {
  display: block;
  margin-top: 10px;
  font-size: 20px;
}

.credentialing-cta .cta-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.service-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1fr 1.1fr;
  gap: 48px;
  padding: 42px 8% 58px;
  background: var(--navy-deep);
  color: #ffffff;
}

.footer-logo img {
  width: 92px;
  height: 74px;
  object-fit: contain;
}

.footer-logo p {
  margin: 8px 0 0;
  color: var(--teal);
  font-size: 16px;
}

.service-footer h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 15px;
}

.service-footer a,
.service-footer p {
  display: block;
  margin: 4px 0;
  color: #b9ccdd;
  font-size: 15px;
}

@media (max-width: 1100px) {
  .credentialing-hero,
  .credentialing-split,
  .local-section,
  .credentialing-cta,
  .service-footer {
    grid-template-columns: 1fr;
  }

  .workflow-shell {
    max-width: 680px;
  }

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

  .credentialing-cta .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 1050px) {
  .service-topbar,
  .header-action {
    display: none;
  }

  .service-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px 24px;
  }

  .service-brand img {
    width: 78px;
    height: 58px;
  }

  .menu-toggle {
    display: inline-flex;
    padding: 11px 15px;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 0;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    min-height: 44px;
    border-top: 1px solid var(--line);
    padding-top: 13px;
  }

  .nav-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 44px;
    height: 44px;
    border-top: 1px solid var(--line);
    border-radius: 0;
  }

  .nav-dropdown {
    position: static;
    display: none;
    grid-column: 1 / -1;
    min-width: 0;
    max-height: none;
    border: 0;
    border-radius: 0;
    width: 100%;
    overflow: hidden;
    overflow-y: visible;
    overscroll-behavior: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .has-dropdown::after {
    display: none;
  }

  .has-dropdown:hover .nav-dropdown,
  .has-dropdown:focus-within .nav-dropdown {
    display: none;
  }

  .has-dropdown.is-open .nav-dropdown {
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown a {
    display: block;
    min-height: 40px;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding: 12px 0 0 18px;
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

@media (max-width: 700px) {
  .credentialing-hero,
  .credentialing-section,
  .credentialing-split,
  .local-section,
  .process-mini,
  .faq-section {
    padding-right: 24px;
    padding-left: 24px;
  }

  .credentialing-hero {
    min-height: 0;
    padding-top: 46px;
    padding-bottom: 52px;
  }

  .credentialing-hero::before,
  .credentialing-hero::after {
    display: none;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-lead,
  .section-heading > span,
  .local-copy > span,
  .credentialing-cta > div > span {
    font-size: 17px;
  }

  .workflow-shell,
  .workflow-card {
    padding: 18px;
  }

  .workflow-top,
  .status-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .credential-metrics,
  .support-grid,
  .process-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .credentialing-cta {
    margin-right: 24px;
    margin-left: 24px;
    padding: 28px;
  }

  .hero-actions,
  .cta-actions,
  .service-btn {
    width: 100%;
  }
}
