/* CBT-Medical LP index — critical shared styles only */
:root {
  --modern-glass: rgba(255, 255, 255, .78);
  --modern-border: rgba(13, 148, 136, .14);
  --modern-shadow: 0 24px 70px rgba(7, 22, 32, .11);
  --modern-shadow-soft: 0 12px 36px rgba(7, 22, 32, .07);
  --navy: #eefdff;
  --navy-2: #dcf7fb;
  --teal-dd: #075b65;
  --pale-2: #f7fcfd;
  --line: #dceff1;
  --shadow: 0 22px 60px rgba(24, 119, 126, .12);
}

html { scroll-padding-top: 88px; }
body { overflow-x: hidden; background: #fff; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(700px 520px at -10% 15%, rgba(52, 211, 153, .06), transparent 65%),
    radial-gradient(620px 420px at 110% 72%, rgba(13, 148, 136, .05), transparent 65%);
}

::selection { background: rgba(52, 211, 153, .32); color: var(--ink, #0f172a); }
:where(a, button):focus-visible {
  outline: 3px solid #5eead4;
  outline-offset: 4px;
  border-radius: 8px;
}

.site-header {
  background: var(--modern-glass) !important;
  border-bottom: 1px solid #e4f2f3 !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 10px 32px rgba(7, 22, 32, .08);
}
.brand img { border-radius: 9px; }
.header-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.header-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.3) 48%, transparent 76%);
  transform: translateX(-130%);
  transition: transform .7s ease;
}
.header-cta:hover::after { transform: translateX(130%); }

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 9999;
  pointer-events: none;
}
.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #0d9488, #34d399, #5eead4);
}

.hero {
  display: grid;
  align-items: center;
  color: #12333a !important;
  border-bottom: 1px solid #dff1f2;
}
.hero::before {
  opacity: .38;
  background-image:
    linear-gradient(rgba(13,148,136,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,148,136,.055) 1px, transparent 1px) !important;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.hero h1 { color: #12333a; letter-spacing: -.035em; text-wrap: balance; }
.hero-sub { color: #526c72 !important; text-wrap: pretty; }
.hero-eyebrow {
  color: #087b82 !important;
  background: rgba(255,255,255,.72) !important;
  border-color: rgba(13,148,136,.22) !important;
  box-shadow: 0 8px 28px rgba(13,148,136,.08);
}

.lp-index .hero {
  text-align: left !important;
  min-height: 600px !important;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(246,253,254,.94) 43%, rgba(246,253,254,.22) 67%, rgba(231,248,251,.06) 100%),
    url("hero-cbt-bright.webp") right center / cover no-repeat !important;
}
.lp-index .hero .wrap {
  width: 100%;
  max-width: 1440px;
  padding-left: clamp(24px, 5vw, 72px);
  padding-right: clamp(600px, 52vw, 820px);
}
.lp-index .hero h1 {
  max-width: 560px;
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1.38;
}
.lp-index .hero-sub {
  max-width: 540px;
  margin-inline: 0 !important;
}

.lp-index .lp-sec { background: linear-gradient(180deg, #f7fcfd, #fff) !important; }
.lp-index .lp-grid { gap: 20px !important; }
.lp-card {
  padding: 32px 28px !important;
  background: rgba(255,255,255,.94) !important;
  border-color: var(--modern-border) !important;
  box-shadow: var(--modern-shadow-soft);
}
.lp-card:hover { box-shadow: var(--modern-shadow) !important; }
.lp-card .lp-ico { box-shadow: inset 0 0 0 1px rgba(13,148,136,.08); }
footer { border-top: 1px solid rgba(255,255,255,.06); }

@media (max-width: 1100px) {
  .lp-index .hero {
    min-height: 720px !important;
    align-items: end;
    background-position: 62% top !important;
  }
  .lp-index .hero::before {
    background: linear-gradient(to top, #f5fcfd 0%, rgba(245,252,253,.98) 43%, rgba(245,252,253,.12) 78%) !important;
    opacity: 1;
  }
  .lp-index .hero .wrap {
    max-width: 760px;
    padding: 360px 24px 0;
  }
  .lp-index .hero h1, .lp-index .hero-sub { max-width: 680px; }
}

@media (max-width: 900px) {
  .lp-index .hero { min-height: 680px !important; }
  .lp-index .hero .wrap { padding-top: 330px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 72px; }
  body { font-size: 16px; }
  .wrap { padding-inline: 20px !important; }
  .site-header { padding-block: 9px !important; }
  .brand .name { display: none; }
  .brand img { height: 34px !important; }
  .header-cta { padding: 9px 15px !important; font-size: 13px !important; }
  .lp-index .hero {
    min-height: 660px !important;
    padding-block: 52px 76px !important;
    background:
      linear-gradient(to top, #f5fcfd 0%, rgba(245,252,253,.98) 44%, rgba(245,252,253,.08) 80%),
      url("hero-cbt-bright-mobile.webp") center top / cover no-repeat !important;
  }
  .lp-index .hero .wrap { padding: 300px 20px 0 !important; }
  .lp-index .hero h1 {
    font-size: clamp(30px, 9vw, 40px) !important;
    line-height: 1.4 !important;
  }
  .hero-sub { font-size: 15px !important; line-height: 1.9 !important; }
  .lp-grid { grid-template-columns: 1fr !important; }
  .lp-card { padding: 26px 22px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .header-cta::after { display: none; }
}
