:root {
  --navy-950: #02070d;
  --navy-900: #071827;
  --navy-800: #0b2538;
  --navy-700: #12384f;
  --blue-600: #008bc4;
  --blue-500: #00a2df;
  --blue-400: #29b7e8;
  --blue-100: #dff5fc;
  --blue-50: #f1fbfe;
  --white: #ffffff;
  --ink: #132532;
  --muted: #526775;
  --line: #d9e5eb;
  --surface: #f6fafc;
  --success: #087b57;
  --shadow-sm: 0 10px 30px rgba(7, 24, 39, 0.08);
  --shadow-lg: 0 30px 80px rgba(1, 14, 24, 0.2);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  color: var(--navy-900);
  font-weight: 750;
  line-height: 1.14;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.65rem, 5.6vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section { padding: 104px 0; }
.section-dark { color: var(--white); background: var(--navy-900); }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 9999;
  padding: 12px 18px;
  color: var(--white);
  background: var(--blue-600);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.topbar {
  color: rgba(255,255,255,0.85);
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar p { margin: 0; }
.topbar-links { display: flex; gap: 28px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--blue-400); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(7, 24, 39, 0.06);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.brand { flex: 0 0 auto; text-decoration: none; }
.brand img {
  width: 188px;
  height: auto;
  mix-blend-mode: normal;
}
.header-logo {
  filter: none;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.primary-nav > a:not(.button) {
  position: relative;
  color: var(--navy-800);
  text-decoration: none;
  font-weight: 650;
}
.primary-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--blue-400);
  transition: right 0.2s ease;
}
.primary-nav > a:not(.button):hover { color: var(--blue-600); }
.primary-nav > a:not(.button):hover::after { right: 0; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  color: var(--navy-900);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(0, 155, 213, 0.2);
  font-weight: 750;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(0,155,213,0.29); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(41, 183, 232, 0.45);
  outline-offset: 3px;
}
.button-small { min-height: 44px; padding: 9px 17px; }
.button-outline {
  color: var(--white);
  background: transparent;
  border-color: rgba(255,255,255,0.42);
  box-shadow: none;
}
.button-outline:hover { background: rgba(255,255,255,0.08); box-shadow: none; }
.button-dark { background: var(--navy-900); box-shadow: 0 14px 30px rgba(7, 24, 39, 0.18); }
.button-outline-dark {
  color: var(--navy-900);
  background: transparent;
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 710px;
  display: flex;
  align-items: center;
  padding: 92px 0 108px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2, 7, 13, 0.97) 0%, rgba(7, 24, 39, 0.9) 44%, rgba(7, 24, 39, 0.46) 100%),
    url("../images/hero-medical-billing.webp") center center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.hero-glow-one { width: 480px; height: 480px; right: -100px; top: -160px; background: rgba(0, 162, 223, 0.18); }
.hero-glow-two { width: 380px; height: 380px; left: -180px; bottom: -180px; background: rgba(0, 139, 196, 0.12); }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  gap: 72px;
  align-items: center;
}
.hero h1 { max-width: 760px; margin-bottom: 28px; color: var(--white); }
.hero-lead { max-width: 720px; margin-bottom: 34px; color: rgba(255,255,255,0.77); font-size: 1.125rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  color: var(--blue-400);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow > span { width: 32px; height: 2px; background: currentColor; }
.eyebrow.dark { color: var(--blue-600); }
.eyebrow.centered { justify-content: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: rgba(255,255,255,0.8);
}
.trust-list li { position: relative; padding-left: 24px; }
.trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-400);
  font-weight: 900;
}

.hero-visual { position: relative; min-height: 480px; display: grid; place-items: center; }
.visual-card-main {
  position: relative;
  width: min(100%, 480px);
  padding: 28px;
  background: linear-gradient(145deg, rgba(18,56,79,0.94), rgba(5,20,33,0.95));
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.visual-card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.88);
  font-weight: 750;
}
.status-dot { width: 10px; height: 10px; background: #4fe0b2; border-radius: 50%; box-shadow: 0 0 0 6px rgba(79,224,178,0.12); }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.metric-card {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
}
.metric-card strong { color: var(--white); font-size: 2rem; line-height: 1; }
.accent-card { background: linear-gradient(135deg, rgba(0,139,196,0.42), rgba(0,162,223,0.15)); }
.workflow-line { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: rgba(255,255,255,0.6); }
.workflow-line i { flex: 1; height: 1px; background: rgba(255,255,255,0.17); }
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 225px;
  padding: 14px 16px;
  color: var(--navy-900);
  background: rgba(255,255,255,0.97);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.floating-card strong, .floating-card span { display: block; }
.floating-card div > span { color: var(--muted); }
.floating-card-one { left: -42px; top: 54px; }
.floating-card-two { right: -28px; bottom: 58px; }
.icon-bubble { width: 42px; height: 42px; display: grid !important; place-items: center; color: var(--white); background: var(--blue-600); border-radius: 12px; font-size: 1.2rem; font-weight: 900; }

.proof-strip { color: var(--white); background: var(--blue-600); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { min-height: 118px; display: flex; flex-direction: column; justify-content: center; padding: 22px 34px; border-right: 1px solid rgba(255,255,255,0.25); }
.proof-grid > div:first-child { border-left: 1px solid rgba(255,255,255,0.25); }
.proof-grid strong { font-size: 1.22rem; }
.proof-grid span { color: rgba(255,255,255,0.78); }

.split-layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 90px; align-items: start; }
.section-heading h2 { max-width: 780px; margin-bottom: 22px; }
.section-heading > p:last-child { max-width: 760px; color: var(--muted); }
.section-heading.centered { max-width: 860px; margin: 0 auto 54px; text-align: center; }
.section-heading.centered > p:last-child { margin-inline: auto; }
.intro-section { background: var(--white); }
.intro-copy { padding-top: 10px; color: var(--muted); }
.intro-copy p { margin-bottom: 20px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-600); font-weight: 800; text-decoration: none; }
.text-link span { font-size: 1.6rem; line-height: 1; transition: transform 0.2s ease; }
.text-link:hover span { transform: translateX(4px); }

.about-section { background: var(--blue-50); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.about-stat-panel {
  position: relative;
  padding: 48px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.about-stat-panel::after {
  content: "";
  position: absolute;
  right: -95px;
  bottom: -110px;
  width: 270px;
  height: 270px;
  background: rgba(0, 162, 223, 0.18);
  border-radius: 50%;
}
.about-kicker { position: relative; z-index: 1; margin-bottom: 16px; color: var(--blue-400); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.about-stat-panel h2 { position: relative; z-index: 1; margin-bottom: 36px; color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.about-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-stats div { padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.22); }
.about-stats strong, .about-stats span { display: block; }
.about-stats strong { margin-bottom: 5px; color: var(--white); font-size: 1.65rem; line-height: 1.1; }
.about-stats span { color: rgba(255,255,255,0.7); line-height: 1.45; }
.about-copy > p:not(.eyebrow) { margin-bottom: 18px; color: var(--muted); }
.about-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0 30px; }
.about-values div { padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.about-values strong, .about-values span { display: block; }
.about-values strong { margin-bottom: 6px; color: var(--navy-800); }
.about-values span { color: var(--muted); line-height: 1.55; }

.services-section { background: var(--surface); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 0 rgba(7,24,39,0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(0,139,196,0.35); box-shadow: var(--shadow-sm); }
.service-card.featured { background: linear-gradient(150deg, var(--navy-900), var(--navy-800)); border-color: transparent; }
.service-card.featured h3 { color: var(--white); }
.service-card.featured p { color: rgba(255,255,255,0.73); }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 24px; color: var(--blue-600); background: var(--blue-50); border-radius: 14px; }
.service-card.featured .service-icon { color: var(--white); background: rgba(0,162,223,0.22); }
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: 13px; }
.service-card p { margin: 0; color: var(--muted); }
.centered-action { margin-top: 42px; text-align: center; }

.benefits-section { padding: 0; color: var(--white); background: var(--navy-900); }
.benefits-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; }
.benefits-panel { padding: 100px 76px 100px 0; border-right: 1px solid rgba(255,255,255,0.12); }
.benefits-panel h2 { color: var(--white); }
.benefits-panel > p:not(.eyebrow) { color: rgba(255,255,255,0.72); }
.benefit-highlight { margin-top: 44px; padding: 24px; background: rgba(0,162,223,0.12); border: 1px solid rgba(41,183,232,0.25); border-radius: 16px; }
.benefit-highlight strong, .benefit-highlight span { display: block; }
.benefit-highlight strong { margin-bottom: 6px; }
.benefit-highlight span { color: rgba(255,255,255,0.7); }
.benefits-list { padding: 78px 0 78px 76px; }
.benefit-item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.benefit-item:last-child { border-bottom: 0; }
.benefit-item > span { color: var(--blue-400); font-weight: 850; }
.benefit-item h3 { margin-bottom: 7px; color: var(--white); }
.benefit-item p { margin: 0; color: rgba(255,255,255,0.66); }

.specialties-section { background: var(--white); }
.specialty-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.specialty-cloud span { padding: 11px 18px; color: var(--navy-800); background: var(--blue-50); border: 1px solid #ccebf6; border-radius: 999px; font-weight: 700; }
.specialty-note { margin: 30px 0 0; text-align: center; color: var(--muted); }
.specialty-note a { color: var(--blue-600); font-weight: 750; }

.process-section { background: var(--surface); }
.process-section .section-heading { margin-bottom: 48px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-card { position: relative; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.process-card::after { content: ""; position: absolute; right: -24px; bottom: -34px; width: 100px; height: 100px; background: var(--blue-50); border-radius: 50%; }
.process-card > span { position: relative; z-index: 1; display: inline-block; margin-bottom: 30px; color: var(--blue-600); font-size: 1.5rem; font-weight: 850; }
.process-card h3, .process-card p { position: relative; z-index: 1; }
.process-card p { margin: 0; color: var(--muted); }

.faq-section { background: var(--white); }
.faq-layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 86px; align-items: start; }
.faq-layout .section-heading { position: sticky; top: 140px; }
.faq-layout .section-heading p:last-child a { color: var(--blue-600); font-weight: 750; }
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item button {
  width: 100%;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  color: var(--navy-900);
  background: transparent;
  border: 0;
  font-weight: 780;
  text-align: left;
  cursor: pointer;
}
.accordion-item button i { position: relative; flex: 0 0 30px; width: 30px; height: 30px; background: var(--blue-50); border-radius: 50%; }
.accordion-item button i::before, .accordion-item button i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 14px; height: 2px; background: var(--blue-600); }
.accordion-item button i::after { transform: rotate(90deg); transition: transform 0.2s ease; }
.accordion-item button[aria-expanded="true"] i::after { transform: rotate(0); }
.accordion-content { padding: 0 58px 22px 0; color: var(--muted); }
.accordion-content p { margin: 0; }

.contact-section { position: relative; padding: 104px 0; color: var(--white); background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); overflow: hidden; }
.contact-section::before { content: ""; position: absolute; width: 480px; height: 480px; left: -220px; bottom: -220px; background: rgba(0,162,223,0.15); border-radius: 50%; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.contact-copy { padding-top: 28px; }
.contact-copy h2 { color: var(--white); }
.contact-copy > p:not(.eyebrow) { color: rgba(255,255,255,0.72); }
.contact-details { display: grid; gap: 12px; margin: 38px 0; }
.contact-details a { display: flex; flex-direction: column; padding: 16px 18px; text-decoration: none; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; }
.contact-details a:hover { border-color: rgba(41,183,232,0.5); }
.contact-details span, .contact-address > span { color: var(--blue-400); font-weight: 750; }
.contact-details strong { font-size: 1.12rem; }
.contact-address p { color: rgba(255,255,255,0.76); }

.form-card { padding: 40px; color: var(--ink); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-heading h2 { margin-bottom: 8px; font-size: 2rem; }
.form-heading p { margin-bottom: 28px; color: var(--muted); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; color: var(--navy-900); font-weight: 750; }
.field label span, .consent-field strong { color: #c53e3e; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfdfe;
  border: 1px solid #cbd9e0;
  border-radius: 9px;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(0,139,196,0.1); outline: 0; }
.field input::placeholder, .field textarea::placeholder { color: #81919b; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.captcha-wrap { min-height: 80px; margin: 4px 0 16px; overflow: hidden; }
.consent-field { display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: start; margin-bottom: 20px; color: var(--muted); cursor: pointer; }
.consent-field input { width: 19px; height: 19px; margin-top: 4px; accent-color: var(--blue-600); }
.button-submit { width: 100%; border: 0; }
.button-submit:disabled { opacity: 0.65; cursor: wait; transform: none; }
.privacy-note { margin: 14px 0 0; color: var(--muted); text-align: center; }
.privacy-note a { color: var(--blue-600); font-weight: 700; }
.form-alert { margin-bottom: 22px; padding: 14px 16px; border-radius: 10px; }
.form-alert.error { color: #7e2020; background: #fff0f0; border: 1px solid #f1c3c3; }

.site-footer { padding: 70px 0 28px; color: rgba(255,255,255,0.69); background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 0.8fr 0.8fr 1fr; gap: 58px; padding-bottom: 50px; }
.footer-logo-frame { display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; padding: 10px 14px; background: var(--white); border-radius: 12px; }
.footer-logo-frame img { width: 190px; height: auto; margin: 0; mix-blend-mode: normal; }
.footer-brand p { max-width: 390px; }
.site-footer h2 { margin-bottom: 18px; color: var(--white); font-size: 1.1rem; }
.site-footer a { display: block; margin-bottom: 10px; color: rgba(255,255,255,0.72); text-decoration: none; }
.site-footer a:hover { color: var(--blue-400); }
.footer-bottom { display: flex; justify-content: space-between; gap: 28px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.11); }
.footer-bottom p { margin: 0; }

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue-600);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0,139,196,0.34);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--navy-700); }
.back-to-top svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.thank-you-page { min-height: 100vh; color: var(--ink); background: radial-gradient(circle at top right, rgba(0,162,223,0.16), transparent 35%), var(--navy-900); }
.thank-you-main { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; }
.thank-you-card { width: min(100%, 720px); padding: 52px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); text-align: center; }
.thank-you-logo { display: inline-block; padding: 8px 14px; margin-bottom: 28px; background: transparent; border-radius: 12px; }
.thank-you-logo img { width: 200px; height: auto; mix-blend-mode: normal; }
.success-icon { width: 74px; height: 74px; display: grid; place-items: center; margin: 0 auto 24px; color: var(--white); background: linear-gradient(135deg, var(--blue-600), var(--blue-400)); border-radius: 50%; box-shadow: 0 14px 30px rgba(0,139,196,0.25); }
.success-icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.thank-you-card h1 { margin-bottom: 18px; font-size: clamp(2.2rem, 6vw, 3.4rem); }
.thank-you-card > p:not(.eyebrow) { color: var(--muted); }
.thank-you-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 32px 0 22px; }
.thank-you-contact a { color: var(--blue-600); font-weight: 750; }

@media (max-width: 1080px) {
  .primary-nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr 0.82fr; gap: 40px; }
  .floating-card-one { left: -15px; }
  .floating-card-two { right: -10px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { gap: 50px; }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px; }
}

@media (max-width: 900px) {
  .topbar p { display: none; }
  .topbar-inner { justify-content: center; }
  .nav-wrap { min-height: 82px; }
  .brand img { width: 158px; }
  .menu-toggle { display: block; }
  .primary-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 82px;
    max-height: calc(100vh - 82px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 22px 20px 30px;
    overflow-y: auto;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(7, 24, 39, 0.12);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
  }
  .primary-nav.open { transform: translateY(0); visibility: visible; }
  .primary-nav > a:not(.button) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .primary-nav .button { margin-top: 18px; }
  .hero { padding: 74px 0 96px; }
  .hero {
    background:
      linear-gradient(90deg, rgba(2, 7, 13, 0.97) 0%, rgba(7, 24, 39, 0.9) 65%, rgba(7, 24, 39, 0.7) 100%),
      url("../images/hero-medical-billing.webp") 64% center / cover no-repeat;
  }
  .hero-grid, .split-layout, .faq-layout, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 60px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 430px; }
  .visual-card-main { width: min(90%, 520px); }
  .floating-card-one { left: 2%; }
  .floating-card-two { right: 2%; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid > div { border-bottom: 1px solid rgba(255,255,255,0.25); }
  .proof-grid > div:nth-child(odd) { border-left: 1px solid rgba(255,255,255,0.25); }
  .split-layout { gap: 30px; }
  .about-grid { grid-template-columns: 1fr; gap: 42px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefits-panel { padding: 88px 0 58px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .benefits-list { padding: 46px 0 78px; }
  .faq-layout { gap: 34px; }
  .faq-layout .section-heading { position: static; }
  .contact-copy { padding-top: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 76px 0; }
  .topbar-links { width: 100%; justify-content: space-between; gap: 12px; }
  .topbar a { font-size: 1rem; }
  .primary-nav { top: 124px; }
  .hero { min-height: auto; padding: 64px 0 80px; }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 3.35rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-list { display: grid; gap: 10px; }
  .hero-visual { min-height: 420px; margin-inline: -4px; }
  .visual-card-main { width: 100%; padding: 20px; }
  .metric-card { min-height: 116px; padding: 16px; }
  .metric-card strong { font-size: 1.55rem; }
  .floating-card { min-width: 0; width: 190px; padding: 11px; }
  .floating-card-one { left: -4px; top: -8px; }
  .floating-card-two { right: -4px; bottom: -4px; }
  .floating-card div > span { line-height: 1.4; }
  .icon-bubble { width: 36px; height: 36px; flex: 0 0 36px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div, .proof-grid > div:first-child, .proof-grid > div:nth-child(odd) { min-height: 94px; padding: 18px 22px; border-left: 1px solid rgba(255,255,255,0.25); border-right: 1px solid rgba(255,255,255,0.25); }
  .about-stat-panel { padding: 30px 24px; }
  .about-stats, .about-values { grid-template-columns: 1fr; }
  .about-stats { gap: 10px; }
  .about-stats div { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 12px; }
  .about-stats strong { margin-bottom: 0; }
  .services-grid, .process-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .service-card { padding: 26px; }
  .benefits-panel { padding-top: 74px; }
  .benefit-item { grid-template-columns: 44px 1fr; }
  .specialty-cloud { justify-content: flex-start; }
  .specialty-cloud span { padding: 9px 14px; }
  .contact-section { padding: 76px 0; }
  .form-card { padding: 26px 18px; border-radius: 20px; }
  .captcha-wrap { transform-origin: left top; }
  .g-recaptcha { transform: scale(0.88); transform-origin: left top; }
  .footer-grid { gap: 34px; }
  .footer-bottom { flex-direction: column; }
  .back-to-top { right: 16px; bottom: 16px; }
  .thank-you-card { padding: 40px 20px; }
  .thank-you-actions { flex-direction: column; }
  .thank-you-actions .button { width: 100%; }
}

@media (max-width: 380px) {
  .topbar-links { flex-direction: column; align-items: center; padding: 8px 0; }
  .primary-nav { top: 82px; max-height: calc(100vh - 82px); }
  .metric-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 670px; }
  .floating-card-one { top: -20px; }
  .g-recaptcha { transform: scale(0.78); }
}

@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; transform: none; }
}
