@font-face {
  font-family: "Poppins Local";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins Local";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins Local";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins Local";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins Local";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/poppins-latin-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --fortis-font-sans: "Poppins Local", "Poppins", sans-serif;
  --bs-font-sans-serif: var(--fortis-font-sans);
  --bs-body-font-family: var(--fortis-font-sans);
  --fortis-primary: #007f68;
  --fortis-secondary: #142b3b;
  --fortis-mint: #86dfc4;
  --fortis-mint-soft: #eef9f5;
  --fortis-ink: #142b3b;
  --fortis-body: #596773;
  --fortis-line: #e3ebe8;
  --fortis-cream: #ffffff;
  --fortis-white: #ffffff;
  --fortis-shadow: 0 22px 60px rgba(20, 87, 119, 0.12);
  --fortis-shadow-soft: 0 14px 38px rgba(20, 87, 119, 0.08);
  --fortis-radius: 1.05rem;
  --fortis-radius-lg: 1.85rem;
  --fortis-canvas: #f8fbfa;
  --fortis-primary-hover: #006451;
  --fortis-hover-shadow: 0 18px 42px rgba(20, 43, 59, 0.09);
}

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  overflow-x: hidden;
  overflow-x: clip;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--fortis-body);
  background: var(--fortis-white);
  font-family: var(--fortis-font-sans) !important;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

body,
button,
input,
select,
textarea {
  font-family: var(--fortis-font-sans) !important;
  font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--fortis-ink);
  font-family: var(--fortis-font-sans);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1,
h2 {
  font-weight: 600;
}

h3,
h4,
h5,
h6 {
  font-weight: 700;
}

a {
  color: var(--fortis-primary);
}

a:hover {
  color: var(--fortis-secondary);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(0, 127, 131, 0.28);
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 1100;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  color: #fff;
  background: var(--fortis-secondary);
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.topbar {
  padding: 0.48rem 0;
  color: rgba(255, 255, 255, 0.82);
  background: var(--fortis-secondary);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1px solid rgba(0, 127, 131, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 34px rgba(20, 87, 119, 0.09);
}

.navbar {
  min-height: 78px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  margin-right: 2rem;
  color: var(--fortis-secondary);
}

.navbar-brand:hover {
  color: var(--fortis-secondary);
}

.brand-mark {
  width: 44px;
  height: 44px;
}

.brand-name {
  display: block;
  font-size: 1.34rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
}

.brand-tagline {
  display: block;
  margin-top: 0.28rem;
  color: #657c87;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.navbar-nav {
  gap: 0.3rem;
}

.navbar-nav .nav-link {
  position: relative;
  padding: 0.58rem 0.8rem !important;
  color: #304f60;
  font-size: 0.92rem;
  font-weight: 600;
}

.navbar-nav .mobile-nav-icon {
  display: none;
}

.navbar-nav .nav-link::after {
  position: absolute;
  right: 0.8rem;
  bottom: 0.28rem;
  left: 0.8rem;
  height: 2px;
  border-radius: 999px;
  background: var(--fortis-primary);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--fortis-primary);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.navbar-toggler {
  border: 1px solid var(--fortis-line);
  border-radius: 0.7rem;
  box-shadow: none !important;
}

.btn {
  padding: 0.78rem 1.3rem;
  border-radius: 0.75rem;
  font-size: 0.91rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

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

.btn-fortis {
  border-color: var(--fortis-primary);
  color: #fff;
  background: var(--fortis-primary);
  box-shadow: 0 10px 22px rgba(0, 127, 131, 0.2);
}

.btn-fortis:hover,
.btn-fortis:focus {
  border-color: var(--fortis-secondary);
  color: #fff;
  background: var(--fortis-secondary);
}

.btn-fortis-light {
  border-color: #fff;
  color: var(--fortis-secondary);
  background: #fff;
}

.btn-fortis-light:hover,
.btn-fortis-light:focus {
  border-color: var(--fortis-mint);
  color: var(--fortis-secondary);
  background: var(--fortis-mint);
}

.btn-outline-fortis {
  border: 1px solid rgba(0, 127, 131, 0.3);
  color: var(--fortis-primary);
  background: transparent;
}

.btn-outline-fortis:hover,
.btn-outline-fortis:focus {
  border-color: var(--fortis-primary);
  color: #fff;
  background: var(--fortis-primary);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4rem, 6.5vw, 6.25rem) 0 clamp(3.8rem, 6vw, 5.75rem);
  background:
    radial-gradient(circle at 12% 12%, rgba(116, 223, 208, 0.4), transparent 25rem),
    radial-gradient(circle at 90% 75%, rgba(116, 223, 208, 0.28), transparent 27rem),
    linear-gradient(120deg, #ffffff 0%, #e8f8ff 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-layout {
  min-height: 560px;
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 50%;
  height: 100%;
  background-image: radial-gradient(rgba(0, 127, 131, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
  mask-image: linear-gradient(to left, #000 20%, transparent 94%);
}

.hero::after {
  position: absolute;
  right: -9rem;
  bottom: -15rem;
  z-index: -1;
  width: 31rem;
  height: 31rem;
  border: 1px solid rgba(0, 127, 131, 0.14);
  border-radius: 50%;
  content: "";
  animation: ringDrift 14s ease-in-out infinite alternate;
}

.hero-copy,
.hero-visual,
.hero-media {
  position: relative;
  z-index: 1;
}

.hero-copy {
  animation: heroRise 0.78s both cubic-bezier(0.2, 0.75, 0.2, 1);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  max-width: 100%;
  margin-bottom: 1.15rem;
  padding: 0.46rem 0.78rem;
  border: 1px solid rgba(0, 127, 131, 0.16);
  border-radius: 999px;
  color: var(--fortis-primary);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(20, 87, 119, 0.06);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-kicker-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fortis-mint);
  box-shadow: 0 0 0 5px var(--fortis-mint-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--fortis-primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--fortis-primary);
  content: "";
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 1.25rem;
  font-size: 46px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.038em;
}

.hero h1 span {
  display: block;
  color: var(--fortis-primary);
}

.hero .lead {
  max-width: 650px;
  margin-bottom: 1.65rem;
  color: #4e6471;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.7;
}

.hero-actions .btn {
  min-width: 190px;
  min-height: 55px;
  padding: 0.88rem 1.35rem;
}

.hero-visual {
  max-width: 610px;
  margin-left: auto;
  padding: 2.2rem 1.6rem 5.4rem 1.4rem;
}

.hero-visual::before {
  position: absolute;
  top: 3.1rem;
  right: 0.35rem;
  bottom: 6.2rem;
  left: 2.4rem;
  z-index: -1;
  border-radius: 2.2rem;
  background: var(--fortis-primary);
  content: "";
  opacity: 0.1;
  transform: rotate(3deg);
}

.hero-media {
  overflow: hidden;
  padding: 0.62rem;
  border: 1px solid rgba(0, 127, 131, 0.13);
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--fortis-shadow);
  animation: heroMediaIn 0.95s 0.16s both cubic-bezier(0.2, 0.75, 0.2, 1);
}

.hero-media img {
  width: 100%;
  height: clamp(400px, 35vw, 500px);
  border-radius: 1.35rem;
  object-fit: cover;
  object-position: 61% center;
  animation: heroImageDrift 12s 1.1s ease-in-out infinite alternate;
}

.hero-proof {
  position: absolute;
  z-index: 4;
  max-width: 230px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0, 127, 131, 0.12);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 15px 35px rgba(20, 87, 119, 0.15);
}

.hero-proof strong {
  display: block;
  color: var(--fortis-secondary);
  font-size: 0.88rem;
  line-height: 1.35;
}

.hero-proof small,
.hero-proof > span:last-child {
  display: block;
  margin-top: 0.2rem;
  color: var(--fortis-body);
  font-size: 0.7rem;
  line-height: 1.45;
}

.hero-proof-top {
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.72rem;
  animation: proofFloat 5.6s 0.5s ease-in-out infinite;
}

.hero-proof-top > span:last-child {
  margin-top: 0;
}

.proof-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 0.8rem;
  color: #fff;
  background: var(--fortis-primary);
  font-size: 1.15rem;
}

.hero-proof-bottom {
  bottom: 4.15rem;
  left: -0.7rem;
  animation: proofFloat 5s 1s ease-in-out infinite;
}

.proof-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 0.4rem;
  margin-top: 0;
  border-radius: 50%;
  background: var(--fortis-mint);
  box-shadow: 0 0 0 5px var(--fortis-mint-soft);
}

.hero-metrics {
  position: absolute;
  right: 2.4rem;
  bottom: 0;
  left: 2.4rem;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1rem 0.9rem;
  border: 1px solid rgba(0, 127, 131, 0.11);
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(20, 87, 119, 0.14);
}

.hero-metrics div {
  padding: 0 0.75rem;
  border-left: 1px solid var(--fortis-line);
}

.hero-metrics div:first-child {
  border-left: 0;
}

.hero-metrics span,
.hero-metrics strong {
  display: block;
}

.hero-metrics span {
  margin-bottom: 0.18rem;
  color: var(--fortis-primary);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-metrics strong {
  color: var(--fortis-secondary);
  font-size: 0.79rem;
  line-height: 1.3;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin-top: 1.4rem;
  color: #34586a;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.hero-points i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border: 1px solid rgba(0, 127, 131, 0.15);
  border-radius: 50%;
  color: var(--fortis-primary);
  background: var(--fortis-mint-soft);
  font-size: 0.7rem;
}

.trust-strip {
  border-top: 1px solid var(--fortis-line);
  border-bottom: 1px solid var(--fortis-line);
  background: #fff;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  color: #4e6471;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

.trust-item i {
  margin-right: 0.55rem;
  color: var(--fortis-primary);
  font-size: 1.15rem;
}

.section-space {
  padding: clamp(3.25rem, 5vw, 4.75rem) 0;
}

.section-space--compact {
  padding: clamp(2.65rem, 4vw, 3.75rem) 0;
}

.section-soft {
  background: var(--fortis-cream);
}

.section-mint {
  background: var(--fortis-mint-soft);
}

.section-dark {
  color: rgba(255, 255, 255, 0.74);
  background: var(--fortis-secondary);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-dark .eyebrow {
  color: var(--fortis-mint);
}

.section-dark .eyebrow::before {
  background: var(--fortis-mint);
}

.section-dark .value-card {
  color: var(--fortis-body);
}

.section-dark .value-card h3 {
  color: var(--fortis-ink);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.9rem;
}

.section-heading.mx-auto {
  text-align: center;
}

.section-heading.mx-auto .eyebrow::before {
  display: none;
}

.section-heading h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.75rem, 2.8vw, 2.6rem);
}

.display-5 {
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
}

.h2 {
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  font-weight: 600;
}

.section-heading p {
  max-width: 690px;
  margin-bottom: 0;
  font-size: 1.01rem;
}

.section-heading.mx-auto p {
  margin-right: auto;
  margin-left: auto;
}

.feature-card,
.service-card,
.value-card,
.form-card,
.detail-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--fortis-line);
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 87, 119, 0.055);
}

.feature-card,
.service-card,
.value-card,
.detail-card {
  padding: clamp(1.15rem, 2vw, 1.55rem);
}

.feature-card::before,
.service-card::before,
.value-card::before,
.detail-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fortis-primary), var(--fortis-mint), transparent 88%);
  content: "";
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.feature-card,
.service-card,
.value-card,
.detail-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover,
.service-card:hover,
.value-card:hover,
.detail-card:hover {
  border-color: rgba(0, 127, 131, 0.33);
  box-shadow: 0 18px 42px rgba(20, 87, 119, 0.1);
  transform: translateY(-4px);
}

.feature-card:hover::before,
.service-card:hover::before,
.value-card:hover::before,
.detail-card:hover::before {
  transform: scaleX(1);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.95rem;
  border-radius: 0.78rem;
  color: var(--fortis-primary);
  background: var(--fortis-mint-soft);
  font-size: 1.18rem;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.feature-card:hover .icon-box,
.service-card:hover .icon-box,
.value-card:hover .icon-box,
.detail-card:hover .icon-box {
  color: #fff;
  background: var(--fortis-primary);
  transform: translateY(-2px) rotate(-4deg);
}

.feature-card h3,
.service-card h3,
.value-card h3,
.detail-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.14rem;
  letter-spacing: -0.025em;
}

.feature-card p,
.service-card p,
.value-card p,
.detail-card p {
  margin-bottom: 0;
}

.number-card {
  position: relative;
  height: 100%;
  padding: 1.25rem 1.2rem 1.2rem;
  overflow: hidden;
  border: 1px solid var(--fortis-line);
  border-radius: var(--fortis-radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 87, 119, 0.045);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.number-card::after {
  position: absolute;
  top: -3.2rem;
  right: -3.2rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: var(--fortis-mint-soft);
  content: "";
  transition: transform 0.45s ease;
}

.number-card:hover {
  border-color: rgba(0, 127, 131, 0.3);
  box-shadow: var(--fortis-shadow-soft);
  transform: translateY(-4px);
}

.number-card:hover::after {
  transform: scale(1.18);
}

.number-card .number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 28px;
  margin-bottom: 0.72rem;
  padding: 0.25rem 0.52rem;
  border-radius: 999px;
  color: var(--fortis-primary);
  background: var(--fortis-mint-soft);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.number-card h3 {
  margin-bottom: 0.52rem;
  font-size: 1rem;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.number-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.58;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link i {
  transition: transform 0.25s ease;
}

.text-link:hover i {
  transform: translateX(4px);
}

.split-image {
  position: relative;
}

.split-image img {
  width: 100%;
  height: clamp(290px, 34vw, 420px);
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: var(--fortis-shadow);
}

.split-image::before {
  position: absolute;
  top: -1rem;
  right: 1rem;
  bottom: 1rem;
  left: -1rem;
  z-index: -1;
  border-radius: 1.5rem;
  background: var(--fortis-mint);
  content: "";
}

.check-list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 0.8rem;
  padding-left: 1.75rem;
}

.check-list li::before {
  position: absolute;
  top: 0.05rem;
  left: 0;
  color: var(--fortis-primary);
  font-weight: 900;
  content: "✓";
}

.cta-panel {
  position: relative;
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  border-radius: 1.7rem;
  color: rgba(255, 255, 255, 0.8);
  background: var(--fortis-primary);
  box-shadow: 0 25px 60px rgba(20, 87, 119, 0.18);
}

.cta-panel::after {
  position: absolute;
  top: -80px;
  right: -40px;
  width: 230px;
  height: 230px;
  border: 40px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
}

.cta-panel h2 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
}

.cta-panel p,
.cta-panel .btn-group-wrap {
  position: relative;
  z-index: 1;
}

.page-hero {
  position: relative;
  padding: clamp(3.45rem, 6vw, 5.4rem) 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(circle at 85% 20%, rgba(116, 223, 208, 0.24), transparent 23rem),
    var(--fortis-secondary);
}

.page-hero::after {
  position: absolute;
  right: -7rem;
  bottom: -13rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.page-hero .eyebrow {
  color: var(--fortis-mint);
}

.page-hero .eyebrow::before {
  background: var(--fortis-mint);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 1.2rem;
  color: #fff;
  font-size: clamp(2.15rem, 3.8vw, 3.35rem);
  font-weight: 600;
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 1.04rem;
}

.page-hero .container > * {
  animation: heroRise 0.72s both cubic-bezier(0.2, 0.75, 0.2, 1);
}

.page-hero .container > :nth-child(2) {
  animation-delay: 0.09s;
}

.page-hero .container > :nth-child(3) {
  animation-delay: 0.17s;
}

/* Compact split heroes shared by every inner page. */
.inner-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2.6rem, 4.5vw, 4.15rem) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(116, 223, 208, 0.32), transparent 22rem),
    linear-gradient(135deg, #ffffff 0%, #e7f9fb 58%, #fffaf0 100%);
}

.inner-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 48%;
  height: 100%;
  background-image: radial-gradient(rgba(0, 127, 131, 0.15) 1px, transparent 1px);
  background-size: 25px 25px;
  content: "";
  mask-image: linear-gradient(to left, #000 8%, transparent 92%);
}

.inner-hero::after {
  position: absolute;
  right: -10rem;
  bottom: -17rem;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(0, 127, 131, 0.12);
  border-radius: 50%;
  content: "";
}

.inner-hero .container {
  position: relative;
  z-index: 1;
}

.inner-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.25rem);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
}

.inner-hero-media {
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  height: clamp(390px, 30vw, 440px);
  min-height: 0;
  padding: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(0, 127, 131, 0.12);
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: 0 24px 58px rgba(20, 87, 119, 0.14);
  animation: innerHeroMediaIn 0.72s both cubic-bezier(0.2, 0.75, 0.2, 1);
}

.inner-hero-media::after {
  position: absolute;
  inset: 0.65rem;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, transparent 56%, rgba(18, 63, 86, 0.25) 100%);
  content: "";
  pointer-events: none;
}

.inner-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1.2rem;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.inner-hero--about .inner-hero-media img {
  object-position: 50% 35%;
}

.inner-hero--services .inner-hero-media img {
  object-position: 57% center;
}

.inner-hero-badge {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: max-content;
  max-width: calc(100% - 3rem);
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(20, 87, 119, 0.16);
  backdrop-filter: blur(12px);
}

.inner-hero-badge-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 0.75rem;
  color: #fff;
  background: var(--fortis-primary);
  font-size: 1rem;
}

.inner-hero-badge strong,
.inner-hero-badge small {
  display: block;
}

.inner-hero-badge strong {
  color: var(--fortis-secondary);
  font-size: 0.78rem;
  line-height: 1.35;
}

.inner-hero-badge small {
  margin-top: 0.12rem;
  color: var(--fortis-body);
  font-size: 0.65rem;
  line-height: 1.4;
}

.inner-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(1.1rem, 2vw, 1.6rem) 0;
  animation: innerHeroCopyIn 0.72s 0.08s both cubic-bezier(0.2, 0.75, 0.2, 1);
}

.inner-hero-copy .eyebrow {
  margin-bottom: 0.85rem;
}

.inner-hero-copy h1 {
  max-width: 19ch;
  margin-bottom: 1rem;
  font-size: 46px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.038em;
}

.inner-hero-copy > p {
  max-width: 650px;
  margin-bottom: 0;
  color: #4e6471;
  font-size: clamp(0.94rem, 1.1vw, 1.02rem);
  line-height: 1.7;
}

.inner-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.inner-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 0.74rem 1.08rem;
  font-size: 0.82rem;
}

.inner-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem 1rem;
  margin: 1.25rem 0 0;
  padding: 1.05rem 0 0;
  border-top: 1px solid var(--fortis-line);
  color: #34586a;
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
}

.inner-hero-points li,
.inner-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.inner-hero-points i {
  color: var(--fortis-primary);
  font-size: 0.85rem;
}

.inner-hero-actions--chips {
  gap: 0.55rem;
}

.inner-hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.58rem 0.82rem;
  border: 1px solid rgba(0, 127, 131, 0.17);
  border-radius: 999px;
  color: var(--fortis-primary);
  background: var(--fortis-mint-soft);
  font-size: 0.73rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.inner-hero-chip:hover,
.inner-hero-chip:focus-visible {
  color: #fff;
  background: var(--fortis-primary);
  transform: translateY(-1px);
}

main section[id],
.form-card[id],
.legal-document-section[id] {
  scroll-margin-top: 112px;
}

@keyframes innerHeroMediaIn {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes innerHeroCopyIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mission-card {
  position: relative;
  height: 100%;
  padding: clamp(1.55rem, 3vw, 2.45rem);
  overflow: hidden;
  border-radius: var(--fortis-radius);
  color: rgba(255, 255, 255, 0.77);
  background: var(--fortis-primary);
}

.mission-card.secondary {
  background: var(--fortis-secondary);
}

.mission-card h3 {
  color: #fff;
  font-size: 1.6rem;
}

.process-list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list::before {
  position: absolute;
  top: 1.2rem;
  bottom: 1.2rem;
  left: 23px;
  width: 1px;
  background: var(--fortis-line);
  content: "";
}

.process-list li {
  position: relative;
  margin-bottom: 1.6rem;
  padding-left: 4.6rem;
}

.process-list li:last-child {
  margin-bottom: 0;
}

.process-number {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 47px;
  border: 5px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--fortis-primary);
  box-shadow: 0 0 0 1px var(--fortis-line);
  font-size: 0.78rem;
  font-weight: 800;
}

.about-intro h2 {
  max-width: 13ch;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 2.8vw, 40px);
}

.about-intro-copy {
  padding: 0.35rem 0 0.35rem clamp(1.25rem, 3vw, 2.4rem);
  border-left: 2px solid var(--fortis-mint);
}

.about-intro-copy p {
  font-size: 1rem;
  line-height: 1.78;
}

.process-list h3 {
  margin-bottom: 0.35rem;
  font-size: 1.12rem;
}

.service-stage-list {
  display: grid;
  gap: 0.72rem;
}

.rcm-section-grid .section-heading {
  position: relative;
  margin-bottom: 0;
  padding: clamp(1.55rem, 2.8vw, 2.2rem);
  overflow: hidden;
  border-radius: 1.45rem;
  color: rgba(255, 255, 255, 0.74);
  background:
    radial-gradient(circle at 100% 0, rgba(116, 223, 208, 0.18), transparent 13rem),
    var(--fortis-secondary);
  box-shadow: 0 20px 48px rgba(20, 87, 119, 0.15);
}

.rcm-section-grid .section-heading::after {
  position: absolute;
  right: -3.5rem;
  bottom: -4rem;
  width: 10rem;
  height: 10rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.rcm-section-grid .section-heading h2 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  font-weight: 600;
}

.rcm-section-grid .section-heading p {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
}

.rcm-section-grid .section-heading .eyebrow {
  position: relative;
  z-index: 1;
  color: var(--fortis-mint);
  font-size: 0.66rem;
  line-height: 1.5;
}

.rcm-section-grid .section-heading .eyebrow::before {
  background: var(--fortis-mint);
}

.service-stage {
  overflow: hidden;
  border: 1px solid var(--fortis-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 26px rgba(20, 87, 119, 0.045);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-stage[open] {
  border-color: rgba(0, 127, 131, 0.24);
  box-shadow: 0 16px 42px rgba(20, 87, 119, 0.08);
}

.service-stage-summary {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto 40px;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.25s ease;
}

.service-stage-summary::-webkit-details-marker {
  display: none;
}

.service-stage-summary::marker {
  content: "";
}

.service-stage-summary:hover,
.service-stage[open] .service-stage-summary {
  background: linear-gradient(90deg, var(--fortis-mint-soft), rgba(255, 255, 255, 0.4) 72%);
}

.stage-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 0.78rem;
  color: #fff;
  background: var(--fortis-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.stage-heading {
  min-width: 0;
}

.stage-label {
  display: block;
  margin-bottom: 0.16rem;
  color: var(--fortis-primary);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stage-title {
  display: block;
  overflow: hidden;
  color: var(--fortis-secondary);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stage-count {
  padding: 0.34rem 0.65rem;
  border: 1px solid var(--fortis-line);
  border-radius: 999px;
  color: var(--fortis-body);
  background: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.stage-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--fortis-line);
  border-radius: 50%;
  color: var(--fortis-primary);
  background: #fff;
  font-size: 0.82rem;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.3s ease;
}

.service-stage[open] .stage-toggle {
  color: #fff;
  background: var(--fortis-primary);
  transform: rotate(180deg);
}

.service-stage-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 0.65rem;
  padding: 0.85rem 1rem 1rem 5.45rem;
  border-top: 1px solid var(--fortis-line);
}

.service-line {
  padding: 0.78rem 0.85rem;
  border: 1px solid var(--fortis-line);
  border-radius: 0.8rem;
  background: var(--fortis-cream);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.service-line:hover {
  border-color: rgba(0, 127, 131, 0.28);
  transform: translateY(-2px);
}

.service-line h3 {
  margin-bottom: 0.3rem;
  font-size: 0.88rem;
  letter-spacing: -0.015em;
}

.service-line p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.58;
}

.specialty-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.specialty-pill {
  padding: 0.62rem 0.9rem;
  border: 1px solid var(--fortis-line);
  border-radius: 999px;
  color: #34586a;
  background: #fff;
  font-size: 0.86rem;
  font-weight: 700;
}

.form-card {
  padding: clamp(1.35rem, 3vw, 2.3rem);
  box-shadow: var(--fortis-shadow);
}

.form-label,
.form-check-label {
  color: #284d60;
  font-size: 0.88rem;
  font-weight: 700;
}

.form-control,
.form-select {
  min-height: 49px;
  border-color: #c9e0e9;
  border-radius: 0.72rem;
  color: var(--fortis-ink);
  background-color: #fcfeff;
}

textarea.form-control {
  min-height: 112px;
}

.pricing-intro {
  padding: clamp(1.45rem, 2.8vw, 2.15rem);
  border: 1px solid rgba(0, 127, 131, 0.11);
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at 100% 0, rgba(116, 223, 208, 0.3), transparent 13rem),
    var(--fortis-canvas);
  box-shadow: 0 16px 42px rgba(20, 87, 119, 0.07);
}

.pricing-intro h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  font-weight: 600;
}

.form-section {
  min-width: 0;
  margin: 0;
  padding: 1.45rem 0 0;
  border: 0;
  border-top: 1px solid var(--fortis-line);
}

.form-section + .form-section {
  margin-top: 1.45rem;
}

.form-section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.form-section-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin-bottom: 1rem;
  color: var(--fortis-secondary);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.form-section-number {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 0.65rem;
  color: #fff;
  background: var(--fortis-primary);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

.form-subsection {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-options-grid .form-check {
  height: 100%;
  min-height: 45px;
  padding: 0.62rem 0.75rem 0.62rem 2rem;
  border: 1px solid var(--fortis-line);
  border-radius: 0.72rem;
  background: var(--fortis-canvas);
}

.form-options-grid .form-check-input {
  margin-left: -1.25rem;
}

.form-field-note {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0.5rem 0 0;
  color: #5d7683;
  font-size: 0.72rem;
  line-height: 1.5;
}

.form-field-note i {
  color: var(--fortis-primary);
}

.form-submit {
  margin-top: 1.45rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--fortis-line);
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: var(--fortis-primary);
  box-shadow: 0 0 0 0.23rem rgba(0, 127, 131, 0.12);
}

.form-check-input:checked {
  border-color: var(--fortis-primary);
  background-color: var(--fortis-primary);
}

.form-note {
  color: #5d7683;
  font-size: 0.82rem;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #6ecacb;
  border-radius: 0.7rem;
  color: var(--fortis-secondary);
  background: var(--fortis-mint-soft);
  font-size: 0.9rem;
}

.form-status.show {
  display: block;
}

.contact-option {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.7rem;
  padding: 1rem;
  border: 1px solid var(--fortis-line);
  border-radius: 1rem;
  background: var(--fortis-canvas);
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.contact-option:last-child {
  margin-bottom: 0;
}

.contact-option:hover {
  border-color: rgba(0, 127, 131, 0.24);
  background: #fff;
  transform: translateY(-2px);
}

.contact-option .icon-box {
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  margin: 0;
}

.contact-option h3 {
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.contact-option p {
  margin: 0;
  font-size: 0.9rem;
}

.legal-notice {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--fortis-primary);
  border-radius: 0.75rem;
  background: var(--fortis-mint-soft);
  font-size: 0.86rem;
  line-height: 1.65;
}

.legal-section {
  background: var(--fortis-canvas);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.25rem);
  max-width: 1040px;
  margin: 0 auto;
}

.legal-nav {
  padding: 1.25rem;
  border: 1px solid var(--fortis-line);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20, 87, 119, 0.06);
}

.legal-nav .eyebrow {
  margin-bottom: 0.7rem;
  font-size: 0.66rem;
}

.legal-nav nav {
  display: grid;
  gap: 0.3rem;
}

.legal-nav nav a {
  padding: 0.58rem 0.7rem;
  border-radius: 0.62rem;
  color: #355c70;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.legal-nav nav a:hover,
.legal-nav nav a:focus-visible {
  color: var(--fortis-primary);
  background: var(--fortis-mint-soft);
}

.legal-document {
  padding: clamp(1.4rem, 3vw, 2.35rem);
  border: 1px solid var(--fortis-line);
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 18px 46px rgba(20, 87, 119, 0.07);
}

.legal-document-section {
  padding: 2rem 0 0;
}

.legal-document-section + .legal-document-section {
  margin-top: 2rem;
  border-top: 1px solid var(--fortis-line);
}

.legal-document-section .eyebrow {
  margin-bottom: 0.6rem;
}

.legal-document-section h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 600;
}

.legal-document-section p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding-top: 4.6rem;
  color: rgba(255, 255, 255, 0.68);
  background: #123f56;
}

.site-footer .brand-name,
.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.site-footer .brand-tagline {
  color: rgba(255, 255, 255, 0.58);
}

.footer-heading {
  margin-bottom: 1rem;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--fortis-mint);
}

.footer-bottom {
  margin-top: 3.5rem;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

.reveal {
  /* Content remains readable when scripts are unavailable or delayed. */
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  animation: fortisSectionEnter 0.55s cubic-bezier(0.2, 0.75, 0.2, 1) var(--reveal-delay, 0ms) both;
}

@keyframes fortisSectionEnter {
  from { transform: translateY(16px); }
  to { transform: none; }
}

.hero-copy > * {
  animation: heroRise 0.75s both cubic-bezier(0.2, 0.75, 0.2, 1);
}

.hero-copy > :nth-child(2) {
  animation-delay: 0.08s;
}

.hero-copy > :nth-child(3) {
  animation-delay: 0.15s;
}

.hero-copy > :nth-child(4) {
  animation-delay: 0.22s;
}

.hero-copy > :nth-child(5) {
  animation-delay: 0.29s;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroMediaIn {
  from {
    opacity: 0;
    transform: translateX(30px) scale(0.975);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroImageDrift {
  from { object-position: 59% 50%; }
  to { object-position: 63% 50%; }
}

@keyframes proofFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes orbDrift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(42px, 24px, 0) rotate(16deg); }
}

@keyframes ringDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-28px, -18px, 0); }
}

@media (min-width: 992px) {
  .rcm-section-grid .section-heading,
  .pricing-intro,
  .legal-nav {
    position: sticky;
    top: 126px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .inner-hero-media:hover img {
    transform: none;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--fortis-line);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 16px 35px rgba(20, 87, 119, 0.1);
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .navbar .btn {
    width: 100%;
    margin-top: 0.6rem;
  }

  .hero-layout {
    min-height: 0;
  }

  .hero-copy {
    max-width: 740px;
  }

  .hero-visual {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-media img {
    height: 390px;
  }

  .hero-proof-top {
    right: 1rem;
  }

  .hero-proof-bottom {
    left: 0;
  }

  .inner-hero-shell {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    max-width: 760px;
  }

  .inner-hero-media {
    height: clamp(310px, 54vw, 410px);
    min-height: 0;
  }

  .inner-hero-copy {
    padding: 0 clamp(0.25rem, 3vw, 1rem) 0.75rem;
  }

  .inner-hero-copy h1 {
    max-width: 18ch;
  }

  .pricing-intro {
    margin-bottom: 0.35rem;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .legal-nav nav a {
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  main,
  header,
  footer,
  section,
  .container,
  .container-fluid,
  .row {
    max-width: 100%;
  }

  img,
  svg {
    max-width: 100%;
  }

  .topbar {
    display: none;
  }

  .site-header {
    background: #fff;
    backdrop-filter: none;
  }

  .navbar {
    min-height: 68px;
    padding: 0.62rem 0;
  }

  .navbar > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 0.75rem;
  }

  .site-header .navbar-brand {
    flex: 0 0 auto;
    margin-right: 0;
  }

  .site-header .navbar-brand img {
    width: 112px;
    height: auto;
  }

  .navbar-toggler {
    display: none;
  }

  .site-header .navbar-collapse {
    display: flex !important;
    align-items: center;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-header .navbar-collapse > .btn {
    width: auto;
    margin: 0;
    padding: 0.68rem 0.82rem;
    border-radius: 0.72rem;
    font-size: 0.7rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .site-header .navbar-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1080;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0.38rem max(0.75rem, env(safe-area-inset-right)) calc(0.42rem + env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
    overflow: hidden;
    border: 0;
    border-top: 1px solid rgba(20, 87, 119, 0.12);
    border-radius: 1rem 1rem 0 0;
    background: rgba(251, 254, 252, 0.985);
    box-shadow: 0 -8px 24px rgba(24, 56, 74, 0.055);
    list-style: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header .navbar-nav::before,
  .site-header .navbar-nav::after {
    display: none;
  }

  .site-header .navbar-nav .nav-item {
    position: relative;
    width: 100%;
    min-width: 0;
    list-style: none;
  }

  .site-header .navbar-nav .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    width: 100%;
    height: 52px;
    min-height: 52px;
    padding: 0.25rem 0.12rem !important;
    border: 0;
    border-radius: 0.65rem;
    color: #587683;
    background: transparent;
    box-shadow: none;
    font-size: inherit;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: color 0.16s ease, background-color 0.16s ease;
  }

  .site-header .navbar-nav .nav-link::after {
    display: none;
  }

  .site-header .navbar-nav .mobile-nav-label {
    display: block;
    font-size: 0.66rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
  }

  .site-header .navbar-nav .mobile-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 0;
    color: inherit;
    background: transparent;
    box-shadow: none;
    line-height: 1;
    transition: width 0.24s ease, height 0.24s ease, color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
  }

  .site-header .navbar-nav .mobile-nav-icon i {
    display: block;
    font-size: 1.1rem;
    line-height: 1;
  }

  .site-header .navbar-nav .nav-link:hover,
  .site-header .navbar-nav .nav-link:focus-visible {
    color: var(--fortis-primary);
    background: #eefaff;
  }

  .site-header .navbar-nav .nav-link.active {
    gap: 0.18rem;
    width: 100%;
    height: 52px;
    padding: 0.25rem 0.12rem !important;
    border: 0;
    border-radius: 0.65rem;
    color: #126b8a;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .site-header .navbar-nav .nav-link.active::before {
    position: absolute;
    top: -0.38rem;
    left: 50%;
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: #007f83;
    transform: translateX(-50%);
    content: "";
  }

  .site-header .navbar-nav .nav-link.active .mobile-nav-icon {
    width: 22px;
    height: 22px;
    margin: 0;
    color: inherit;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .site-header .navbar-nav .nav-link.active .mobile-nav-icon i {
    font-size: 1.1rem;
  }

  .site-header .navbar-nav .nav-link.active .mobile-nav-label {
    display: block;
    color: inherit;
    font-size: 0.66rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
  }

  .site-header .navbar-nav .nav-link:active {
    color: var(--fortis-primary);
    background: #def7f4;
    transform: none;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
  }

  .brand-name {
    font-size: 1.18rem;
  }

  .brand-tagline {
    max-width: 170px;
    font-size: 0.52rem;
  }

  .hero {
    padding: 3rem 0 3.25rem;
  }

  .hero .row {
    --bs-gutter-y: 2.5rem;
  }

  .hero-kicker {
    margin-bottom: 1rem;
    padding: 0.42rem 0.66rem;
    font-size: 0.64rem;
  }

  .hero h1,
  .page-hero h1 {
    letter-spacing: -0.045em;
  }

  .hero h1 {
    margin-bottom: 1rem;
    font-size: clamp(1.9rem, 8.5vw, 2.45rem);
    letter-spacing: -0.035em;
  }

  .hero .lead {
    margin-bottom: 1.25rem;
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-points {
    gap: 0.55rem 0.85rem;
    margin-top: 1.2rem;
    font-size: 0.76rem;
  }

  .hero-visual {
    padding: 2rem 0.25rem 5.1rem;
  }

  .hero-visual::before {
    top: 2.8rem;
    right: 0;
    bottom: 5.7rem;
    left: 0.85rem;
    border-radius: 1.5rem;
  }

  .hero-media img {
    height: 300px;
    object-position: 61% center;
  }

  .hero-proof {
    max-width: 205px;
    padding: 0.65rem 0.72rem;
    box-shadow: 0 10px 25px rgba(20, 87, 119, 0.14);
  }

  .hero-proof-top {
    top: 0;
    right: 0;
    gap: 0.55rem;
  }

  .hero-proof-bottom {
    bottom: 3.85rem;
    left: 0;
  }

  .proof-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .hero-proof strong {
    font-size: 0.76rem;
  }

  .hero-proof small,
  .hero-proof > span:last-child {
    font-size: 0.63rem;
  }

  .hero-metrics {
    right: 0.5rem;
    left: 0.5rem;
    padding: 0.78rem 0.35rem;
  }

  .hero-metrics div {
    padding: 0 0.42rem;
  }

  .hero-metrics span {
    font-size: 0.57rem;
  }

  .hero-metrics strong {
    font-size: 0.67rem;
  }

  .trust-item {
    min-height: 66px;
    justify-content: flex-start;
  }

  .section-heading {
    margin-bottom: 1.7rem;
  }

  .section-space {
    padding: 2.85rem 0;
  }

  .split-image img {
    height: 290px;
    min-height: 0;
  }

  .inner-hero {
    padding: 1.75rem 0 2rem;
  }

  .inner-hero-shell {
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .inner-hero-media {
    height: clamp(245px, 72vw, 300px);
    padding: 0.45rem;
    border-radius: 1.2rem;
  }

  .inner-hero-media::after {
    inset: 0.45rem;
    border-radius: 0.85rem;
  }

  .inner-hero-media img {
    border-radius: 0.85rem;
  }

  .inner-hero-badge {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    max-width: calc(100% - 2rem);
    padding: 0.62rem 0.7rem;
    border-radius: 0.82rem;
  }

  .inner-hero-badge-icon {
    width: 34px;
    height: 34px;
  }

  .inner-hero-copy {
    padding: 0 0.25rem 0.5rem;
  }

  .inner-hero-copy .eyebrow {
    margin-bottom: 0.7rem;
  }

  .inner-hero-copy h1 {
    margin-bottom: 0.85rem;
    font-size: clamp(1.9rem, 8.5vw, 2.45rem);
    letter-spacing: -0.035em;
  }

  .inner-hero-copy > p {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .inner-hero-actions {
    margin-top: 1.15rem;
  }

  .inner-hero-actions .btn {
    width: 100%;
  }

  .inner-hero-actions--chips {
    display: grid;
    grid-template-columns: 1fr;
  }

  .inner-hero-chip {
    justify-content: center;
  }

  .inner-hero-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    margin-top: 1.1rem;
    padding-top: 0.9rem;
  }

  .about-intro-copy {
    padding: 1.15rem 0 0;
    border-top: 2px solid var(--fortis-mint);
    border-left: 0;
  }

  .rcm-section-grid .section-heading {
    padding: 1.45rem;
  }

  .legal-nav nav {
    grid-template-columns: 1fr;
  }

  .form-card,
  .legal-document {
    border-radius: 1.1rem;
  }

  .form-options-grid .form-check {
    min-height: 43px;
  }

  .cta-panel .btn {
    width: 100%;
  }

  .process-list li {
    padding-left: 4rem;
  }

  .service-stage-summary {
    grid-template-columns: 40px minmax(0, 1fr) 34px;
    gap: 0.7rem;
    padding: 0.85rem;
  }

  .stage-number {
    width: 38px;
    height: 38px;
  }

  .stage-title {
    font-size: 0.96rem;
  }

  .stage-count {
    display: none;
  }

  .stage-toggle {
    width: 32px;
    height: 32px;
  }

  .service-stage-body {
    grid-template-columns: 1fr;
    padding: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* Fortis refresh: airy teal, sky blue, and small warm accents. */
:root {
  --fortis-sky: #e8f8ff;
  --fortis-sky-accent: #238db6;
  --fortis-warm: #ffc66f;
}

.topbar {
  color: #145777;
  background: #e8f8ff;
}

.hero,
.inner-hero {
  background: linear-gradient(115deg, #fff 12%, #effcfa 56%, #e8f8ff 100%);
}

.hero::before,
.inner-hero::before {
  width: 65%;
  background-image: repeating-linear-gradient(120deg, transparent 0 88px, rgba(35, 141, 182, 0.08) 89px 90px, transparent 91px 176px);
  background-size: 220% 100%;
  mask-image: linear-gradient(to left, #000, transparent);
  animation: fortisBackgroundFlow 24s linear infinite alternate;
  pointer-events: none;
}

.hero::after,
.inner-hero::after {
  border-color: rgba(35, 141, 182, 0.18);
  box-shadow: 0 0 0 45px rgba(116, 223, 208, 0.07), 0 0 0 90px rgba(35, 141, 182, 0.035);
}

.hero-kicker-dot,
.proof-dot {
  background: var(--fortis-warm);
  box-shadow: 0 0 0 5px #fff4df;
}

.hero-proof,
.hero-metrics,
.inner-hero-badge {
  box-shadow: 0 8px 24px rgba(20, 87, 119, 0.09);
}

.hero-media img { animation: none; object-position: 50% center; }
.inner-hero--about .inner-hero-media img { object-position: 42% 56%; }
.inner-hero--services .inner-hero-media img { object-position: 60% center; }
.inner-hero--contact .inner-hero-media img { object-position: 50% 50%; }
.inner-hero--pricing .inner-hero-media img { object-position: 40% center; }

.section-dark {
  color: var(--fortis-body);
  background: linear-gradient(115deg, #e8f8ff, #e9fbf7);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--fortis-ink); }
.section-dark .eyebrow { color: var(--fortis-primary); }
.section-dark .eyebrow::before { background: var(--fortis-primary); }
.section-dark .btn-fortis-light { border-color: var(--fortis-primary); color: var(--fortis-primary); }
.mission-card { background: #007f83; color: #fff; }
.mission-card.secondary { background: #176e95; }
.cta-panel { background: linear-gradient(120deg, #007f83, #176e95); }
.site-footer { background: #123f56; }
.btn-fortis { box-shadow: 0 6px 15px rgba(0, 127, 131, 0.15); }

.billing-step,
.rcm-service,
.staffing-panel {
  height: 100%;
  padding: 26px;
  border: 1px solid var(--fortis-line);
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.billing-step:hover,
.rcm-service:hover {
  border-color: #69c8c7;
  box-shadow: 0 12px 28px rgba(20, 87, 119, 0.07);
  transform: translateY(-3px);
}

.billing-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.step-caption { color: var(--fortis-primary); font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.billing-step-top i { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--fortis-mint-soft); color: var(--fortis-primary); font-size: 22px; }
.billing-process > :nth-child(2n) .billing-step-top i { background: var(--fortis-sky); color: #176e95; }
.billing-process > :nth-child(3n) .billing-step-top i { background: #fff4df; color: #845212; }
.billing-step h3 { margin: 0 0 12px; font-size: 19px; line-height: 1.4; letter-spacing: -0.3px; }
.billing-step p { margin: 0; font-size: 14px; line-height: 1.8; }
.rcm-service { display: flex; align-items: flex-start; gap: 16px; padding: 24px 20px; }
.rcm-service-number { flex: 0 0 42px; display: flex; align-items: center; justify-content: center; width: 42px; height: 44px; border-radius: 11px; background: var(--fortis-mint-soft); color: var(--fortis-primary); font-size: 18px; font-weight: 600; }
.rcm-catalog > :nth-child(2n) .rcm-service-number { color: #176e95; background: var(--fortis-sky); }
.rcm-service h3 { margin: 0 0 10px; font-size: 16px; line-height: 1.5; letter-spacing: -0.2px; }
.rcm-service p { margin: 0; font-size: 13px; line-height: 1.8; }
.staffing-panel { background: linear-gradient(120deg, #effcfa, #f2faff); }
.staffing-panel h3 { margin: 22px 0; font-size: 24px; line-height: 1.35; }
.staffing-panel .check-list { margin-bottom: 0; }

.software-section { background: #f2faff; overflow: hidden; }
.software-heading { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 36px; text-align: center; }
.software-heading h2 { max-width: 780px; font-size: clamp(28px, 3vw, 40px); margin-bottom: 15px; }
.software-heading p { margin: 0; }
.software-motion-toggle { flex-shrink: 0; padding: 9px 13px; border: 1px solid #b9d7e4; border-radius: 8px; color: #145777; background: #fff; font-size: 12px; }
.software-motion-toggle[hidden] { display: none; }
.software-marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent); }
.software-track { display: flex; width: max-content; animation: fortisSoftwareScroll 38s linear infinite; }
.software-list { display: flex; flex: 0 0 auto; align-items: stretch; gap: 16px; padding: 0 16px 0 0; margin: 0; list-style: none; }
.software-list li { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 160px; min-height: 130px; padding: 12px 8px; border-radius: 12px; background: transparent; text-align: center; }
.software-logo { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 12px; border: 1px solid var(--fortis-line); border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(20, 43, 59, 0.04); }
.software-logo img { width: 44px; height: 44px; object-fit: contain; }
.software-wordmark { color: var(--fortis-body); font-size: 13px; font-weight: 500; white-space: nowrap; }
.software-kind { margin-top: 6px; color: #59727e; font-size: 11px; }
.software-marquee:hover .software-track,
.software-marquee:focus-within .software-track,
.software-marquee.is-paused .software-track { animation-play-state: paused; }

@keyframes fortisSoftwareScroll { to { transform: translateX(-50%); } }
@keyframes fortisBackgroundFlow { from { background-position: 0% 0; } to { background-position: 100% 0; } }

@media (max-width: 767.98px) {
  .software-heading { align-items: center; }
  .billing-step { padding: 22px; }
  .rcm-service { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .software-track { animation: none; width: 100%; }
  .software-list { flex-wrap: wrap; width: 100%; padding: 0; }
  .software-list li { flex: 1 1 150px; }
  .software-list[aria-hidden="true"] { display: none; }
  .software-marquee { mask-image: none; }
  .hero::before, .inner-hero::before { animation: none; }
}

/* White surfaces, emerald accents, and consistent interaction feedback. */
.topbar {
  color: var(--fortis-primary);
  background: var(--fortis-mint-soft);
}

.site-header { border-bottom-color: var(--fortis-line); }

.hero,
.inner-hero {
  background: radial-gradient(ellipse at 90% 35%, #f1faf6 0%, #fff 62%);
}

.hero::before,
.inner-hero::before {
  inset: -12% -5% -12% auto;
  width: 72%;
  height: 124%;
  background-image: repeating-radial-gradient(ellipse at 100% 48%, transparent 0 76px, rgba(0, 127, 104, 0.1) 77px 78px, transparent 79px 116px);
  background-size: 100% 100%;
  mask-image: linear-gradient(to right, transparent, #000 55%);
  pointer-events: none;
  animation: fortisContourEntrance 4.5s ease-out both;
}

.hero::after,
.inner-hero::after {
  border-color: rgba(0, 127, 104, 0.06);
  box-shadow: 0 0 0 45px rgba(0, 127, 104, 0.015);
  animation: none;
}

.hero-kicker {
  border-color: #cce8de;
  background: var(--fortis-mint-soft);
  box-shadow: none;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-transform: none;
}

.hero-kicker-dot,
.proof-dot {
  background: var(--fortis-primary);
  box-shadow: 0 0 0 4px var(--fortis-mint-soft);
}

.hero h1,
.inner-hero-copy h1 { font-weight: 700; }

.hero .lead,
.inner-hero-copy > p,
.hero-points,
.inner-hero-points,
.trust-item { color: var(--fortis-body); }

.hero-media,
.inner-hero-media { box-shadow: 0 24px 60px rgba(20, 43, 59, 0.09); }

.hero-visual::before { opacity: 0.045; transform: none; }
.hero-proof { animation: none; }

.section-soft,
.section-dark,
.software-section,
.legal-section { background: #fff; }

section.section-mint {
  background: var(--fortis-canvas);
}

.section-dark,
.software-section {
  border-top: 1px solid var(--fortis-line);
  border-bottom: 1px solid var(--fortis-line);
}

.mission-card,
.mission-card.secondary,
.staffing-panel,
.pricing-intro {
  border: 1px solid var(--fortis-line);
  color: var(--fortis-body);
  background: #fff;
  box-shadow: var(--fortis-shadow-soft);
}

.mission-card h3 { color: var(--fortis-ink); }
.mission-card .eyebrow { color: var(--fortis-primary) !important; }
.mission-card { border-top: 3px solid var(--fortis-primary); }
.mission-card.secondary { border-top-color: var(--fortis-secondary); }

.cta-panel {
  background: linear-gradient(115deg, #006451, #007f68);
  box-shadow: 0 20px 48px rgba(0, 100, 81, 0.14);
}

.site-footer { background: var(--fortis-secondary); }

.btn-fortis {
  box-shadow: 0 6px 16px rgba(0, 127, 104, 0.18);
}

.btn-fortis:hover,
.btn-fortis:focus-visible {
  border-color: var(--fortis-primary-hover);
  background: var(--fortis-primary-hover);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 127, 104, 0.24);
}

.btn-outline-fortis {
  color: var(--fortis-ink);
  border-color: var(--fortis-line);
  background: #fff;
}

.btn-outline-fortis:hover,
.btn-outline-fortis:focus-visible {
  color: var(--fortis-primary);
  border-color: var(--fortis-primary);
  background: var(--fortis-mint-soft);
}

.btn i {
  display: inline-block;
  transition: transform 0.25s ease;
}

.btn:hover i,
.btn:focus-visible i { transform: translate(3px, -2px); }
.btn:active { transform: translateY(0); }

.navbar-nav .nav-link,
.footer-links a,
.legal-nav nav a,
.text-link {
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.footer-links a { display: inline-block; }
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--fortis-mint); transform: translateX(4px); }
.text-link:focus-visible i { transform: translateX(4px); }

.mission-card,
.staffing-panel,
.pricing-intro,
.specialty-pill,
.software-list li,
.trust-item,
.hero-proof,
.hero-metrics > div,
.detail-card .section-mint,
.form-options-grid .form-check {
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-media img,
.split-image img { transition: transform 0.65s ease; }

.billing-step-top i,
.rcm-service-number,
.process-number,
.number-card .number {
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.3s ease;
}

.form-control,
.form-select,
.software-motion-toggle {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.software-motion-toggle {
  color: var(--fortis-primary);
  border-color: var(--fortis-line);
}

.software-motion-toggle:hover,
.software-motion-toggle:focus-visible { background: var(--fortis-mint-soft); border-color: var(--fortis-primary); }

.form-control:hover,
.form-select:hover { border-color: #97bfb1; }
.form-options-grid .form-check:focus-within { border-color: var(--fortis-primary); background: var(--fortis-mint-soft); }

:is(.service-card, .feature-card, .detail-card, .contact-option):focus-within {
  border-color: var(--fortis-primary);
  box-shadow: var(--fortis-hover-shadow);
}

@media (hover: hover) and (pointer: fine) {
  :is(.feature-card, .service-card, .value-card, .detail-card, .number-card, .billing-step, .rcm-service, .mission-card, .staffing-panel, .pricing-intro):hover {
    border-color: #94cdb9;
    box-shadow: var(--fortis-hover-shadow);
    transform: translateY(-5px);
  }

  :is(.billing-step, .rcm-service):hover :is(.billing-step-top i, .rcm-service-number),
  .number-card:hover .number {
    color: #fff;
    background: var(--fortis-primary);
    transform: translateY(-2px);
  }

  .specialty-pill:hover,
  .software-list li:hover,
  .detail-card .section-mint:hover,
  .form-options-grid .form-check:hover {
    border-color: #94cdb9;
    background: var(--fortis-mint-soft);
    transform: translateY(-3px);
  }

  .hero-proof:hover { transform: translateY(-4px); box-shadow: var(--fortis-hover-shadow); }
  .hero-metrics > div:hover,
  .trust-item:hover { background: var(--fortis-mint-soft); transform: translateY(-2px); }
  .hero-media:hover img,
  .inner-hero-media:hover img { transform: scale(1.025); }
  .split-image:hover img { transform: translateY(-4px); }
  .process-list li:hover .process-number { background: var(--fortis-primary-hover); transform: scale(1.08); }
}

@media (min-width: 992px) {
  .hero h1 { font-size: clamp(46px, 4vw, 56px); line-height: 1.12; }
}

@media (max-width: 767.98px) {
  .site-header .navbar-nav { background: rgba(255, 255, 255, 0.98); }
  .site-header .navbar-nav .nav-link.active { color: var(--fortis-primary); }
  .site-header .navbar-nav .nav-link.active::before { background: var(--fortis-primary); }
  .site-header .navbar-nav .nav-link:hover,
  .site-header .navbar-nav .nav-link:focus-visible { background: var(--fortis-mint-soft); }
}

@media (prefers-reduced-motion: reduce) {
  /* Keep color feedback while avoiding hover movement for reduced motion. */
  :is(.btn, .feature-card, .service-card, .value-card, .detail-card, .number-card, .billing-step, .rcm-service, .mission-card, .staffing-panel, .pricing-intro, .specialty-pill, .software-list li, .hero-proof, .hero-metrics > div, .trust-item, .contact-option, .service-line, .inner-hero-chip, .detail-card .section-mint, .form-options-grid .form-check):hover,
  .btn:hover i,
  .btn:focus-visible i,
  .text-link:hover i,
  .text-link:focus-visible i,
  .footer-links a:hover,
  .footer-links a:focus-visible,
  .hero-media:hover img,
  .inner-hero-media:hover img,
  .split-image:hover img,
  .process-list li:hover .process-number,
  :is(.feature-card, .service-card, .value-card, .detail-card):hover .icon-box,
  :is(.billing-step, .rcm-service):hover :is(.billing-step-top i, .rcm-service-number),
.number-card:hover .number { transform: none; }
}

/* Light linework and restrained surfaces keep the real photography central. */
.feature-card,
.service-card,
.value-card,
.number-card {
  border-radius: 0.85rem;
  box-shadow: 0 4px 16px rgba(20, 43, 59, 0.025);
}

.feature-card::before,
.service-card::before,
.value-card::before,
.detail-card::before {
  height: 2px;
  background: var(--fortis-primary);
  transform: scaleX(0);
}

.number-card::after { opacity: 0; }

.section-soft,
.section-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.section-soft::before,
.section-dark::before {
  position: absolute;
  z-index: -1;
  top: -18%;
  right: -18rem;
  width: 42rem;
  height: 135%;
  background: repeating-radial-gradient(ellipse at 100% 50%, transparent 0 62px, rgba(0, 127, 104, 0.07) 63px 64px, transparent 65px 96px);
  mask-image: linear-gradient(to right, transparent, #000);
  pointer-events: none;
  content: "";
}

.section-dark::before { right: auto; left: -18rem; transform: rotate(180deg); }

@keyframes fortisContourEntrance {
  from { opacity: 0; transform: translate3d(36px, 16px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fortisContourScroll {
  from { translate: 0 28px; }
  to { translate: 0 -64px; }
}

/* Unsupported browsers retain the static linework and existing scroll reveals. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero,
    .inner-hero,
    .section-soft,
    .section-dark { view-timeline-name: --fortis-contour; }

    .hero::before,
    .inner-hero::before,
    .section-soft::before,
    .section-dark::before {
      animation: fortisContourScroll linear both;
      animation-timeline: --fortis-contour;
      animation-range: entry 0% exit 100%;
    }
  }
}

@media (max-width: 767.98px) {
  .hero::before,
  .inner-hero::before { width: 100%; opacity: 0.65; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .inner-hero::before,
  .section-soft::before,
  .section-dark::before {
    animation: none;
    translate: none;
  }
}
