:root {
  --ink: #12273a;
  --ink-strong: #071d31;
  --muted: #5a6a78;
  --paper: #f6f8fb;
  --paper-soft: #edf4f7;
  --white: #ffffff;
  --blue: #0b4e8a;
  --blue-bright: #1371c8;
  --aqua: #86c7d3;
  --orange: #de6a26;
  --gold: #d59a4a;
  --line: rgba(18, 39, 58, 0.13);
  --shadow: 0 24px 70px rgba(18, 39, 58, 0.13);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink-strong);
  box-shadow: var(--shadow);
}

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

.notice-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0.48rem 1rem;
  background: var(--ink-strong);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 750;
}

.notice-bar a {
  color: #ffd79a;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 251, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 78px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  min-width: max-content;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink-strong);
  font-size: 1.12rem;
  line-height: 1.05;
}

.brand small {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 760;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 0.68rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--ink-strong);
}

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  background: var(--orange);
  color: var(--white);
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 13px 26px rgba(222, 106, 38, 0.22);
}

.button:hover,
.button:focus-visible,
.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.button.secondary,
.btn.secondary {
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.blue,
.btn.blue {
  background: var(--blue-bright);
  color: var(--white);
}

.button.small {
  min-height: 40px;
  padding: 0.62rem 0.9rem;
  font-size: 0.9rem;
}

.text-link {
  color: var(--blue);
  font-weight: 850;
  border-bottom: 2px solid rgba(19, 113, 200, 0.28);
}

.hero {
  position: relative;
  min-height: clamp(680px, 86vh, 900px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 29, 49, 0.91), rgba(7, 29, 49, 0.67), rgba(7, 29, 49, 0.18)),
    url("meditation.jpg");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(7, 29, 49, 0.78), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.56fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: #ffd79a;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 780px;
  color: var(--white);
  font-size: clamp(3.05rem, 7vw, 6rem);
  line-height: 0.94;
}

.hero-copy {
  max-width: 680px;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.04rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-stats {
  width: min(720px, 100%);
  margin: 2.75rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.hero-stats div {
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  font-size: 1.45rem;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.hero-panel {
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
}

.hero-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: center 7%;
}

.hero-panel-body {
  padding: 1rem;
  background: rgba(7, 29, 49, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-panel-body h2 {
  margin: 0;
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.08;
}

.hero-panel-body p {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.quick-actions {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: -2rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.quick-actions a {
  min-height: 112px;
  padding: 1.25rem;
  display: grid;
  align-content: center;
  border-right: 1px solid var(--line);
}

.quick-actions a:last-child {
  border-right: 0;
}

.quick-actions span {
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-actions strong {
  margin-top: 0.2rem;
  color: var(--ink-strong);
  font-size: 1.14rem;
}

.quick-actions em {
  margin-top: 0.3rem;
  color: var(--orange);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 850;
}

.moving-banner {
  margin-top: 3rem;
  padding: 1.45rem 0;
  overflow: hidden;
  background: var(--ink-strong);
}

.moving-track {
  display: flex;
  width: max-content;
  animation: movingBanner 32s linear infinite;
}

.moving-banner:hover .moving-track {
  animation-play-state: paused;
}

.moving-set {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 3vw, 2.4rem);
  padding-right: clamp(1.15rem, 3vw, 2.4rem);
  white-space: nowrap;
}

.moving-set span {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.12rem, 2.5vw, 2rem);
  font-weight: 850;
}

.moving-set em {
  color: #ffd79a;
  font-style: normal;
}

@keyframes movingBanner {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.75rem 1.25rem;
}

.section-tight {
  padding-top: 3.5rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading h2,
.care-copy h2,
.page-copy h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card,
.service-card,
.sample-card,
.policy-card {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(18, 39, 58, 0.08);
}

.service-card,
.sample-card,
.policy-card {
  padding: 1.25rem;
}

.service-card {
  min-height: 265px;
  display: flex;
  flex-direction: column;
}

.service-card span {
  color: var(--orange);
  font-weight: 900;
  font-size: 0.82rem;
}

.service-card h3,
.sample-card h3,
.policy-card h3 {
  margin: 0.9rem 0 0.55rem;
  color: var(--ink-strong);
  font-size: 1.22rem;
  line-height: 1.12;
}

.service-card p,
.sample-card p,
.policy-card p {
  margin: 0;
  color: var(--muted);
}

.service-card.featured {
  grid-column: span 2;
  background: var(--blue);
  color: var(--white);
}

.service-card.featured h3,
.service-card.featured p {
  color: var(--white);
}

.service-card.featured span {
  color: #ffd79a;
}

.service-card.featured h3 {
  max-width: 620px;
  font-size: clamp(1.7rem, 4vw, 2.9rem);
}

.care-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.care-image {
  margin: 0;
  min-height: 620px;
  overflow: hidden;
}

.care-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
}

.care-copy {
  align-self: center;
  padding: clamp(3rem, 7vw, 6rem);
}

.care-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.38fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
}

.care-heading-row h2 {
  font-size: clamp(2rem, 3.4vw, 3.35rem);
}

.care-side-photo,
.media-card {
  margin: 0;
}

.care-side-photo {
  position: relative;
  overflow: visible;
  border-radius: 8px;
  border: 1px solid rgba(18, 39, 58, 0.12);
  box-shadow: 0 18px 45px rgba(18, 39, 58, 0.13);
}

.care-side-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: 62% center;
  border-radius: 8px;
}

.care-side-photo .media-badge {
  top: -1.25rem;
  left: 0.7rem;
}

.care-copy p {
  color: var(--muted);
}

.check-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.36rem;
  width: 0.88rem;
  height: 0.88rem;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: inset 0 0 0 4px var(--paper-soft);
}

.provider-section {
  background: var(--ink-strong);
  color: var(--white);
}

.provider-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.75rem 1.25rem;
  display: grid;
  grid-template-columns: 0.54fr 1fr;
  gap: 2rem;
  align-items: center;
}

.provider-photo {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.provider-photo img {
  width: 100%;
  aspect-ratio: 1 / 1.06;
  object-fit: cover;
  object-position: center 12%;
}

.provider-copy h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1;
}

.provider-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.provider-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
  align-items: center;
}

.media-section {
  padding-bottom: 4.75rem;
}

.media-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.82fr 0.82fr;
  gap: 1rem;
}

.media-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(18, 39, 58, 0.08);
}

.media-badge {
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  z-index: 1;
  padding: 0.44rem 0.62rem;
  border-radius: 999px;
  background: rgba(7, 29, 49, 0.88);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(7, 29, 49, 0.18);
}

.media-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.media-card-wide img {
  aspect-ratio: 1.15 / 1;
  object-position: center 58%;
}

.media-card:nth-child(2) img {
  object-position: center 70%;
}

.media-card:nth-child(3) img {
  object-fit: contain;
  object-position: center;
  background: #075981;
}

.media-card figcaption {
  padding: 1rem;
  color: var(--muted);
  line-height: 1.35;
}

.media-card figcaption strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink-strong);
  font-size: 1rem;
}

.media-card figcaption span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.recognition-section {
  padding-top: 0;
}

.recognition-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}

.recognition-card {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(18, 39, 58, 0.08);
}

.recognition-card img {
  display: block;
  width: 100%;
}

.recognition-photo img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.recognition-letter img {
  aspect-ratio: 4 / 4.45;
  object-fit: contain;
  background: #f8fafc;
}

.recognition-card figcaption {
  padding: 1rem;
  color: var(--muted);
  line-height: 1.35;
}

.recognition-card figcaption strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink-strong);
  font-size: 1rem;
}

.recognition-card figcaption span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.testing-intro {
  max-width: 780px;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.sample-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.sample-card h3 {
  margin-top: 0;
}

.sample-card a {
  margin-top: auto;
  align-self: flex-start;
}

.insurance-panel {
  max-width: var(--max);
  width: calc(100% - 2.5rem);
  margin: 0 auto 5.75rem;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.insurance-panel img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.insurance-panel h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
}

.state-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.7rem;
}

.state-grid span {
  min-height: 74px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--blue);
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(18, 39, 58, 0.05);
}

.contact-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 5.75rem;
}

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.contact-card {
  padding: 1.5rem;
}

.contact-card h2,
.contact-card h3 {
  margin: 0 0 0.8rem;
  color: var(--ink-strong);
}

.contact-card p {
  color: var(--muted);
}

.contact-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.policy-links {
  display: grid;
  gap: 0.75rem;
}

.policy-links a {
  padding: 0.8rem 0.9rem;
  border-radius: 8px;
  background: var(--paper-soft);
  color: var(--blue);
  font-weight: 850;
}

.page-hero {
  min-height: 420px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 29, 49, 0.9), rgba(7, 29, 49, 0.62)),
    url("meditation.jpg") center / cover no-repeat;
  color: var(--white);
}

.page-hero-content {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4rem 0;
}

.page-copy {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 1.25rem;
}

.page-copy h2,
.page-copy h3 {
  color: var(--ink-strong);
}

.page-copy p,
.page-copy li {
  color: var(--muted);
}

.back-button {
  margin-top: 1.6rem;
}

.book-now-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 9999;
  width: min(520px, calc(100% - 24px));
  transform: translateX(-50%);
  display: none;
  padding: 0.65rem;
  border-radius: 8px;
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  text-align: center;
}

.book-now-banner .spwidget-button {
  display: block;
  width: 100%;
  color: var(--white) !important;
  font-weight: 900;
}

.site-footer {
  background: var(--ink-strong);
  color: var(--white);
  padding: 2.5rem max(1.25rem, calc((100% - var(--max)) / 2));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 1020px) {
  .nav-actions {
    display: none;
  }

  .card-grid,
  .sample-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-grid {
    grid-template-columns: 1fr 1fr;
  }

  .recognition-grid {
    grid-template-columns: 1fr;
  }

  .media-card-wide {
    grid-column: span 2;
  }

  .insurance-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .notice-bar {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 116px 1rem auto 1rem;
    display: none;
    padding: 1rem;
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: grid;
    gap: 0.4rem;
  }

  .nav-links.is-open-static {
    position: static;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-links a {
    padding: 0.75rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .quick-actions,
  .section-heading,
  .care-band,
  .provider-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 4rem 0 3rem;
  }

  .hero-panel {
    margin-top: 1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .quick-actions a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-actions a:last-child {
    border-bottom: 0;
  }

  .service-card.featured {
    grid-column: span 1;
  }

  .care-image {
    min-height: 340px;
  }

  .care-image img {
    min-height: 340px;
  }

  .care-heading-row,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .recognition-photo img {
    aspect-ratio: 16 / 11;
  }

  .care-side-photo img {
    aspect-ratio: 16 / 10;
    object-position: center;
  }

  .media-card-wide {
    grid-column: auto;
  }

  .state-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .btn {
    width: 100%;
    text-align: center;
  }

  .card-grid,
  .sample-grid,
  .state-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-content {
    padding: 3rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .moving-track {
    transform: none;
  }
}
