@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --cip-bg: #05070b;
  --cip-panel: rgba(255,255,255,.065);
  --cip-panel-strong: rgba(255,255,255,.095);
  --cip-border: rgba(255,255,255,.14);
  --cip-text: #f8fafc;
  --cip-soft: #cbd5e1;
  --cip-muted: #94a3b8;
  --cip-gold: #d6b46a;
  --cip-gold-2: #f2dd9a;
  --cip-blue: #4da3ff;
}

#top .sccm-cip,
#top .sccm-cip-highlight {
  background: var(--cip-bg);
  color: var(--cip-soft);
  font-family: Manrope, Arial, sans-serif !important;
  letter-spacing: 0;
}

#top .sccm-cip *,
#top .sccm-cip-highlight * {
  box-sizing: border-box;
}

#top .sccm-cip h1,
#top .sccm-cip h2,
#top .sccm-cip h3,
#top .sccm-cip-highlight h2,
#top .sccm-cip-highlight h3 {
  color: var(--cip-text) !important;
  font-family: Manrope, Arial, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.04 !important;
  text-transform: none !important;
}

#top .sccm-cip p,
#top .sccm-cip li,
#top .sccm-cip span,
#top .sccm-cip a,
#top .sccm-cip-highlight p,
#top .sccm-cip-highlight a {
  font-family: Manrope, Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

#top .cip-container {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 24px;
  width: 100%;
}

#top .cip-narrow {
  max-width: 880px;
}

#top .cip-hero {
  background:
    linear-gradient(90deg, rgba(5,7,11,.96), rgba(5,7,11,.72), rgba(5,7,11,.94)),
    var(--cip-hero-image) center/cover no-repeat;
  min-height: 760px;
  overflow: hidden;
  padding: 116px 0 92px;
  position: relative;
}

#top .cip-hero:after,
#top .sccm-cip-highlight:after {
  background: radial-gradient(circle at 52% 42%, rgba(77,163,255,.22), transparent 34%),
              radial-gradient(circle at 78% 18%, rgba(214,180,106,.16), transparent 28%);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}

#top .cip-hero-grid,
#top .cip-two {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  position: relative;
  z-index: 2;
}

#top .cip-eyebrow {
  color: var(--cip-gold) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em !important;
  margin: 0 0 16px;
  text-transform: uppercase;
}

#top .cip-hero h1 {
  font-size: clamp(42px, 5vw, 76px) !important;
  margin: 0 0 22px;
  max-width: 860px;
}

#top .cip-hero-subtitle,
#top .cip-section-heading > p,
#top .cip-card p,
#top .cip-timeline p,
#top .cip-global-panel p {
  color: var(--cip-soft) !important;
  font-size: 17px;
  line-height: 1.76;
}

#top .cip-hero-subtitle {
  max-width: 690px;
}

#top .cip-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

#top .cip-button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  text-decoration: none !important;
}

#top .cip-button-primary {
  background: linear-gradient(135deg, var(--cip-gold), var(--cip-gold-2));
  color: #111827 !important;
  box-shadow: 0 18px 44px rgba(214,180,106,.25);
}

#top .cip-button-secondary {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--cip-text) !important;
}

#top .cip-note,
#top .cip-small {
  color: var(--cip-muted) !important;
  font-size: 13px;
  line-height: 1.65;
}

#top .cip-report-card {
  animation: cipFloat 6s ease-in-out infinite;
  background: linear-gradient(145deg, rgba(16,24,39,.86), rgba(5,7,11,.82));
  border: 1px solid rgba(214,180,106,.38);
  box-shadow: 0 30px 90px rgba(0,0,0,.44), inset 0 1px 0 rgba(255,255,255,.12);
  padding: 28px;
  position: relative;
}

#top .cip-report-head,
#top .cip-score-grid,
#top .cip-comparison div {
  display: flex;
  justify-content: space-between;
}

#top .cip-report-head {
  color: var(--cip-text);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 22px;
}

#top .cip-report-head span:last-child {
  background: rgba(214,180,106,.16);
  border: 1px solid rgba(214,180,106,.34);
  border-radius: 999px;
  color: var(--cip-gold);
  padding: 4px 10px;
}

#top .cip-score-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#top .cip-score-grid div,
#top .cip-card,
#top .cip-timeline article,
#top .cip-final-card,
#top .cip-global-panel {
  background: var(--cip-panel);
  border: 1px solid var(--cip-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

#top .cip-score-grid div {
  padding: 18px;
}

#top .cip-score-grid small {
  color: var(--cip-muted);
  display: block;
  font-size: 12px;
}

#top .cip-score-grid strong {
  color: var(--cip-text);
  display: block;
  font-size: 20px;
  margin-top: 5px;
}

#top .cip-report-lines {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

#top .cip-report-lines span {
  background: linear-gradient(90deg, rgba(77,163,255,.78), rgba(214,180,106,.42), transparent);
  display: block;
  height: 6px;
}

#top .cip-report-lines span:nth-child(2) { width: 82%; }
#top .cip-report-lines span:nth-child(3) { width: 66%; }
#top .cip-report-lines span:nth-child(4) { width: 48%; }

#top .cip-trust,
#top .cip-section {
  background: linear-gradient(180deg, #05070b, #0b1020);
  padding: 76px 0;
}

#top .cip-trust-grid,
#top .cip-grid {
  display: grid;
  gap: 18px;
}

#top .cip-trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#top .cip-trust-grid div {
  border-top: 1px solid rgba(214,180,106,.42);
  padding-top: 18px;
}

#top .cip-trust-grid strong,
#top .cip-card h3,
#top .cip-timeline h3 {
  color: var(--cip-text) !important;
  display: block;
  font-size: 19px;
  margin: 0 0 10px;
}

#top .cip-trust-grid span {
  color: var(--cip-muted);
  display: block;
  line-height: 1.62;
}

#top .cip-section-heading {
  margin: 0 auto 34px;
  max-width: 900px;
}

#top .cip-section-heading h2 {
  font-size: clamp(32px, 3.5vw, 52px) !important;
  margin: 0 0 18px;
}

#top .cip-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#top .cip-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

#top .cip-card,
#top .cip-timeline article {
  padding: 26px;
}

#top .cip-card ul {
  margin: 0;
  padding: 0;
}

#top .cip-card li {
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--cip-soft);
  list-style: none;
  padding: 11px 0;
}

#top .cip-layer > span,
#top .cip-timeline span {
  color: var(--cip-gold);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}

#top .cip-global {
  background:
    linear-gradient(90deg, rgba(5,7,11,.94), rgba(5,7,11,.72)),
    var(--cip-panel-image) center/cover no-repeat;
  min-height: 560px;
}

#top .cip-global-panel,
#top .cip-final-card {
  max-width: 760px;
  padding: 42px;
}

#top .cip-comparison div {
  border-bottom: 1px solid rgba(255,255,255,.09);
  color: var(--cip-muted);
  gap: 16px;
  padding: 18px 0;
}

#top .cip-comparison .is-good {
  color: var(--cip-text);
}

#top .cip-comparison strong {
  color: var(--cip-gold);
}

#top .cip-faq details {
  background: var(--cip-panel);
  border: 1px solid var(--cip-border);
  margin-bottom: 12px;
  padding: 20px 22px;
}

#top .cip-intake {
  background: linear-gradient(180deg, #080b13, #05070b);
}

#top .cip-intake-form {
  background: linear-gradient(145deg, rgba(16,24,39,.92), rgba(5,7,11,.9));
  border: 1px solid rgba(214,180,106,.34);
  box-shadow: 0 28px 80px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.1);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 28px;
}

#top .cip-intake-form label {
  color: var(--cip-text);
  display: grid;
  font-family: Manrope, Arial, sans-serif !important;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
}

#top .cip-intake-form input,
#top .cip-intake-form select,
#top .cip-intake-form textarea {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 6px !important;
  color: var(--cip-text) !important;
  font-family: Manrope, Arial, sans-serif !important;
  font-size: 15px !important;
  min-height: 46px;
  padding: 12px 13px !important;
  width: 100%;
}

#top .cip-intake-form option {
  color: #111827;
}

#top .cip-intake-form textarea {
  min-height: 112px;
  resize: vertical;
}

#top .cip-form-full,
#top .cip-intake-form .cip-button,
#top .cip-form-status {
  grid-column: 1 / -1;
}

#top .cip-hp {
  left: -9999px;
  position: absolute;
}

#top .cip-form-status {
  background: rgba(214,180,106,.16);
  border: 1px solid rgba(214,180,106,.36);
  color: var(--cip-gold);
  font-weight: 800;
  padding: 12px 14px;
}

#top .cip-form-status-error {
  background: rgba(239,68,68,.12);
  border-color: rgba(239,68,68,.32);
  color: #fecaca;
}

#top .cip-faq summary {
  color: var(--cip-text);
  cursor: pointer;
  font-weight: 800;
}

#top .cip-sources a {
  color: #9bd0ff !important;
}

#top .cip-medical-disclaimer {
  background: #020409;
  color: var(--cip-muted);
  padding: 28px 0 48px;
}

#top .sccm-cip-highlight {
  background:
    linear-gradient(90deg, rgba(5,7,11,.96), rgba(5,7,11,.72)),
    url('/wp-content/uploads/sccm-cip/clinical-intelligence-platform.png') center/cover no-repeat;
  margin: 0;
  overflow: hidden;
  padding: 72px 0;
  position: relative;
}

#top .sccm-cip-highlight .cip-container {
  position: relative;
  z-index: 2;
}

#top .sccm-cip-highlight h2 {
  font-size: clamp(32px, 4vw, 56px) !important;
  max-width: 760px;
}

#top .sccm-cip-highlight p:not(.cip-eyebrow) {
  color: var(--cip-soft);
  font-size: 17px;
  line-height: 1.7;
  max-width: 680px;
}

#top .sccm-cip-sticky {
  background: linear-gradient(135deg, var(--cip-gold), var(--cip-gold-2));
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 16px 48px rgba(0,0,0,.32);
  color: #111827 !important;
  font-family: Manrope, Arial, sans-serif !important;
  font-weight: 800;
  padding: 14px 20px;
  position: fixed;
  right: 22px;
  text-decoration: none !important;
  z-index: 9999;
}

#top.home .avia-fullwidth-slider.avia-builder-el-first,
#top.sccm-home-page .avia-fullwidth-slider.avia-builder-el-first,
#top.home .avia-fullwidth-slider.avia-builder-el-first .avia-slideshow,
#top.sccm-home-page .avia-fullwidth-slider.avia-builder-el-first .avia-slideshow,
#top.home .avia-fullwidth-slider.avia-builder-el-first .avia-slideshow-inner,
#top.sccm-home-page .avia-fullwidth-slider.avia-builder-el-first .avia-slideshow-inner,
#top.home .avia-fullwidth-slider.avia-builder-el-first .avia-slideshow li,
#top.sccm-home-page .avia-fullwidth-slider.avia-builder-el-first .avia-slideshow li,
#top.home .avia-fullwidth-slider.avia-builder-el-first .avia-slide-wrap,
#top.sccm-home-page .avia-fullwidth-slider.avia-builder-el-first .avia-slide-wrap {
  height: clamp(360px, 42vw, 620px) !important;
  max-height: 620px !important;
  min-height: 360px !important;
  overflow: hidden !important;
}

#top.home .avia-fullwidth-slider.avia-builder-el-first .avia-slide-wrap img,
#top.sccm-home-page .avia-fullwidth-slider.avia-builder-el-first .avia-slide-wrap img {
  display: block !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  width: 100% !important;
}

#top.home .avia-fullwidth-slider.avia-builder-el-first .avia-slideshow li,
#top.sccm-home-page .avia-fullwidth-slider.avia-builder-el-first .avia-slideshow li {
  inset: 0 auto auto 0;
  width: 100% !important;
}

[dir='rtl'] .cip-section-heading,
[dir='rtl'] .cip-hero-copy,
[dir='rtl'] .cip-card,
[dir='rtl'] .cip-global-panel,
[dir='rtl'] .cip-final-card {
  text-align: right;
}

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

@media only screen and (max-width: 989px) {
  #top .cip-hero-grid,
  #top .cip-two,
  #top .cip-trust-grid,
  #top .cip-grid-3,
  #top .cip-grid-4 {
    grid-template-columns: 1fr;
  }

  #top .cip-hero {
    min-height: 0;
    padding: 84px 0 64px;
  }
}

@media only screen and (max-width: 767px) {
  #top .cip-container { padding: 0 18px; }
  #top .cip-section, #top .cip-trust, #top .sccm-cip-highlight { padding: 54px 0; }
  #top .cip-report-card, #top .cip-card, #top .cip-timeline article, #top .cip-global-panel, #top .cip-final-card { padding: 22px; }
  #top .cip-score-grid { grid-template-columns: 1fr; }
  #top .cip-ctas { display: block; }
  #top .cip-button { margin-top: 12px; width: 100%; }
  #top.home .avia-fullwidth-slider.avia-builder-el-first,
  #top.sccm-home-page .avia-fullwidth-slider.avia-builder-el-first,
  #top.home .avia-fullwidth-slider.avia-builder-el-first .avia-slideshow,
  #top.sccm-home-page .avia-fullwidth-slider.avia-builder-el-first .avia-slideshow,
  #top.home .avia-fullwidth-slider.avia-builder-el-first .avia-slideshow-inner,
  #top.sccm-home-page .avia-fullwidth-slider.avia-builder-el-first .avia-slideshow-inner,
  #top.home .avia-fullwidth-slider.avia-builder-el-first .avia-slideshow li,
  #top.sccm-home-page .avia-fullwidth-slider.avia-builder-el-first .avia-slideshow li,
  #top.home .avia-fullwidth-slider.avia-builder-el-first .avia-slide-wrap,
  #top.sccm-home-page .avia-fullwidth-slider.avia-builder-el-first .avia-slide-wrap {
    height: 340px !important;
    min-height: 340px !important;
  }
  #top .sccm-cip-sticky {
    border-radius: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
  }
}

/* Premium intake form refinement */
#top .cip-intake {
  background:
    radial-gradient(circle at 20% 0%, rgba(214,180,106,.18), transparent 34%),
    linear-gradient(180deg, #070b12 0%, #05070b 58%, #030407 100%);
  border-top: 1px solid rgba(214,180,106,.18);
  overflow: hidden;
  position: relative;
}

#top .cip-intake::before {
  background: linear-gradient(90deg, transparent, rgba(214,180,106,.42), transparent);
  content: "";
  height: 1px;
  left: 12%;
  position: absolute;
  right: 12%;
  top: 0;
}

#top .cip-intake .cip-two {
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(260px, .78fr) minmax(420px, 1.22fr);
}

#top .cip-intake .cip-section-heading {
  margin: 0;
  max-width: 520px;
  padding-top: 10px;
}

#top .cip-intake .cip-section-heading h2 {
  font-size: clamp(34px, 3vw, 48px) !important;
  line-height: 1.05;
}

#top .cip-intake .cip-section-heading .cip-small {
  border-left: 2px solid rgba(214,180,106,.62);
  color: rgba(235,241,245,.72) !important;
  font-size: 14px;
  margin-top: 22px;
  padding-left: 14px;
}

#top .cip-intake-form {
  backdrop-filter: blur(18px);
  background:
    linear-gradient(145deg, rgba(16,24,39,.95), rgba(8,12,20,.96)),
    linear-gradient(180deg, rgba(255,255,255,.06), transparent);
  border: 1px solid rgba(214,180,106,.38);
  border-radius: 10px;
  box-shadow:
    0 28px 80px rgba(0,0,0,.36),
    0 0 0 1px rgba(255,255,255,.04) inset,
    inset 0 1px 0 rgba(255,255,255,.12);
  gap: 18px 16px;
  padding: clamp(24px, 3vw, 38px);
  position: relative;
}

#top .cip-intake-form::before {
  background: linear-gradient(90deg, var(--cip-gold), rgba(214,180,106,.16));
  content: "";
  height: 3px;
  left: 18px;
  position: absolute;
  right: 18px;
  top: 0;
}

#top .cip-intake-form label {
  color: rgba(235,241,245,.88);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#top .cip-intake-form input,
#top .cip-intake-form select,
#top .cip-intake-form textarea {
  background: rgba(255,255,255,.075) !important;
  border-color: rgba(255,255,255,.18) !important;
  border-radius: 7px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  min-height: 52px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

#top .cip-intake-form input:focus,
#top .cip-intake-form select:focus,
#top .cip-intake-form textarea:focus {
  background: rgba(255,255,255,.1) !important;
  border-color: rgba(214,180,106,.72) !important;
  box-shadow: 0 0 0 3px rgba(214,180,106,.14);
  outline: none !important;
}

#top .cip-intake-form textarea {
  min-height: 132px;
}

#top .cip-intake-form .cip-button {
  border: 0;
  justify-content: center;
  min-height: 54px;
  width: 100%;
}

@media only screen and (max-width: 989px) {
  #top .cip-intake .cip-two,
  #top .cip-intake-form {
    grid-template-columns: 1fr;
  }

  #top .cip-intake .cip-section-heading {
    max-width: 720px;
    text-align: center;
  }

  #top .cip-intake .cip-section-heading .cip-small {
    border-left: 0;
    border-top: 1px solid rgba(214,180,106,.34);
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
    padding-left: 0;
    padding-top: 14px;
  }
}

@media only screen and (max-width: 767px) {
  #top .cip-intake {
    padding-bottom: 72px;
  }

  #top .cip-intake .cip-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  #top .cip-intake .cip-section-heading h2 {
    font-size: 31px !important;
  }

  #top .cip-intake .cip-section-heading > p {
    font-size: 15px;
    line-height: 1.65;
  }

  #top .cip-intake-form {
    border-radius: 8px;
    gap: 14px;
    padding: 22px 16px 18px;
    width: 100%;
  }

  #top .cip-intake-form label {
    display: block;
    font-size: 11px;
    width: 100%;
  }

  #top .cip-intake-form input,
  #top .cip-intake-form select,
  #top .cip-intake-form textarea {
    display: block;
    margin-top: 8px;
    min-height: 50px;
    width: 100% !important;
  }
}
