/**
 * Core Metrics Consulting - Components Stylesheet
 * Authoritative Visual & Design System implementation from final Build Guide
 * Strictly flat design, 6-color system, Inter typography, 17 shared components, no gradients, no glassmorphism
 */

/* ==========================================================================
   1. Page Top Section / Hero Components (Build Guide Page 52 & 54)
   "Top section (all pages): White background. One column, max 760 px, left-aligned,
   except Home (two columns). Order: H1, lead paragraph, "Who this is for" line,
   security line, button, response line. On mobile nothing appears above the H1."
   ========================================================================== */
.cmc-top-section, .hero, .pagehero {
  background-color: var(--cmc-white);
  color: var(--cmc-navy);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--cmc-gray);
}

.cmc-top-section .wrap,
.hero .wrap,
.pagehero .wrap {
  width: var(--wrap);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

/* Two-column layout for Home */
.cmc-top-grid, .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.cmc-top-copy, .hero-copy {
  max-width: var(--text-max-width);
}

/* Single column top section for Inner Pages */
.cmc-top-section--single, .pagehero {
  padding: 80px 0 64px;
}

.cmc-top-section--single .cmc-top-copy,
.pagehero .hero-copy,
.pagehero .pagehero-copy {
  max-width: var(--text-max-width);
}

.cmc-top-section h1, .hero h1, .pagehero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--cmc-navy);
  margin-bottom: var(--space-16);
}

.cmc-top-section .lead, .hero .lead, .pagehero .lead {
  font-size: 20px;
  line-height: 1.65;
  color: var(--cmc-slate);
  margin-bottom: var(--space-24);
}

.cmc-top-section .actions, .hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  flex-wrap: wrap;
  margin-top: var(--space-32);
}

/* Responsive Viewport Fit for Home Hero Section */
@media (min-width: 1024px) {
  .cmc-top-section.section-top.cmc-hero-home,
  .home .cmc-top-section.section-top {
    min-height: calc(100vh - 76px);
    min-height: calc(100dvh - 76px);
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: clamp(24px, 4vh, 64px) 0;
  }

  .cmc-top-section.section-top.cmc-hero-home > .wrap,
  .home .cmc-top-section.section-top > .wrap {
    width: 100%;
  }
}

@media (min-width: 1024px) and (max-height: 820px) {
  .cmc-top-section.section-top.cmc-hero-home,
  .home .cmc-top-section.section-top {
    padding: clamp(16px, 2.5vh, 28px) 0;
  }
  .cmc-hero-home h1,
  .home .cmc-top-section h1 {
    font-size: clamp(38px, 4.5vh, 46px);
    margin-bottom: 12px;
  }
  .cmc-hero-home .lead,
  .home .cmc-top-section .lead {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 16px !important;
  }
  .cmc-hero-home .hero-actions,
  .home .cmc-top-section .hero-actions {
    margin-top: 16px;
    margin-bottom: 12px !important;
  }
}

/* Home Hero Right-Side Image / Card */
.hero-media {
  position: relative;
  width: 100%;
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--cmc-gray);
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: right center;
}

.hero-operations-card {
  background-color: var(--cmc-white);
  border: 1px solid var(--cmc-gray);
  border-radius: var(--radius-card);
  padding: var(--space-32);
  box-shadow: none;
}

.hero-ops-header {
  border-bottom: 1px solid var(--cmc-gray);
  padding-bottom: var(--space-16);
  margin-bottom: var(--space-24);
}

.hero-ops-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--cmc-teal);
  margin-bottom: var(--space-8);
}

.hero-ops-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--cmc-navy);
  line-height: 1.3;
}

.hero-ops-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.hero-ops-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-16);
}

.hero-ops-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--cmc-teal);
  margin-top: 8px;
  flex: none;
}

.hero-ops-list strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--cmc-navy);
  margin-bottom: var(--space-4);
}

.hero-ops-list span {
  font-size: 14px;
  color: var(--cmc-slate);
  line-height: 1.5;
}

.hero-ops-footer {
  margin-top: var(--space-24);
  padding-top: var(--space-16);
  border-top: 1px solid var(--cmc-gray);
  font-size: 14px;
  color: var(--cmc-slate);
}

/* ==========================================================================
   2. "Who this is for" Line (Build Guide Page 54)
   "15 px Body slate. Bold label 'Who this is for:' followed by the list.
   16 px above the security line."
   ========================================================================== */
.cmc-who-for, .who-this-is-for {
  font-size: 15px;
  line-height: 1.5;
  color: var(--cmc-slate);
  margin-bottom: var(--space-16);
}

.cmc-who-for strong, .who-this-is-for strong {
  font-weight: 700;
  color: var(--cmc-navy);
  margin-right: var(--space-4);
}

/* ==========================================================================
   3. Security / BAA Line (Build Guide Page 54)
   "15 px Body slate with a 16 px lock icon in teal on the left.
   'Business Associate Agreement' is a teal underlined link to /security#baa."
   ========================================================================== */
.cmc-security-line, .security-baa-line {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-size: 15px;
  line-height: 1.5;
  color: var(--cmc-slate);
  margin-bottom: var(--space-24);
}

.cmc-security-line svg, .security-baa-line svg {
  width: 16px;
  height: 16px;
  flex: none;
  stroke: var(--cmc-teal);
}

.cmc-security-line a, .security-baa-line a {
  color: var(--cmc-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.cmc-security-line a:hover, .security-baa-line a:hover {
  color: var(--cmc-navy);
}

/* ==========================================================================
   4. "How pricing works" Callout (Build Guide Page 54)
   "Soft aqua box, 12 px radius, 24 px padding, max 760 px wide, directly below
   the top section. Tag icon in teal, bold label 'How pricing works', then the
   page's starting range and one line of detail. Optional link only to /contact."
   ========================================================================== */
.cmc-pricing-callout, .pricing-callout {
  background-color: var(--cmc-aqua);
  border-radius: var(--radius-pricing);
  padding: var(--space-24);
  max-width: var(--text-max-width);
  width: 100%;
  box-sizing: border-box;
  margin-top: 24px !important;
  margin-bottom: var(--space-48);
  border: 1px solid rgba(19, 92, 104, 0.15);
}

.cmc-service-pricing-row {
  max-width: var(--text-max-width);
  width: 100%;
  margin-top: 32px;
}

.cmc-service-pricing-row .cmc-pricing-callout {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: 100%;
}

.cmc-pricing-header {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.cmc-pricing-header svg {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: var(--cmc-teal);
}

.cmc-pricing-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--cmc-navy);
}

.cmc-pricing-range {
  font-size: 17px;
  font-weight: 600;
  color: var(--cmc-teal);
  margin-bottom: var(--space-4);
}

.cmc-pricing-detail {
  font-size: 15px;
  line-height: 1.5;
  color: var(--cmc-slate);
  margin: 0;
}

.cmc-pricing-link {
  display: inline-block;
  margin-top: var(--space-12);
  font-size: 14px;
  font-weight: 600;
  color: var(--cmc-teal);
  text-decoration: underline;
}

/* ==========================================================================
   5. Task Cards (Build Guide Page 54)
   "White, 1 px Border gray, 14 px radius, 28 px padding. 24 px teal line icon
   top-left, 16 px gap, H3, then paragraph. 2 columns from 768 px, 1 column on
   mobile. Whole card is not a link unless the brief gives it a destination.
   Cards with a link: border turns Primary teal on hover, 200 ms. No lift,
   no shadow growth, no scaling."
   ========================================================================== */
.cmc-task-grid, .benefits-grid, .task-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-24);
  margin-top: var(--space-40);
  margin-bottom: var(--space-40);
}

.cmc-task-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
}

.cmc-task-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-24);
  margin-top: var(--space-40);
  margin-bottom: var(--space-40);
}

@media (max-width: 991px) {
  .cmc-task-grid-3,
  .cmc-task-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .cmc-task-grid-3,
  .cmc-task-grid-4 {
    grid-template-columns: 1fr;
  }
}

.cmc-task-card, .benefit-card, .task-card {
  background-color: var(--cmc-white);
  border: 1px solid var(--cmc-gray);
  border-radius: var(--radius-card);
  padding: var(--space-28, 28px);
  display: flex;
  flex-direction: column;
  transition: border-color 200ms ease;
  box-shadow: none !important;
  transform: none !important;
  position: relative;
}

.cmc-task-card:hover, .benefit-card:hover, .task-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

a.cmc-task-card:hover, a.benefit-card:hover, .cmc-task-card.is-link:hover {
  border-color: var(--cmc-teal);
}

.cmc-task-card--highlighted {
  border-color: var(--cmc-teal);
  background-color: var(--cmc-light-bg, #f4fbfb);
}

.cmc-task-icon, .benefit-icon, .task-icon {
  width: 24px;
  height: 24px;
  margin-bottom: var(--space-16);
  flex: none;
  stroke: var(--cmc-teal);
  color: var(--cmc-teal);
}

.cmc-task-icon svg, .benefit-icon svg, .task-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--cmc-teal);
}

.cmc-task-card h3, .benefit-card h3, .task-card h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--cmc-navy);
  margin-bottom: var(--space-12);
}

.cmc-task-card p, .benefit-card p, .task-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--cmc-slate);
  margin: 0;
}

.cmc-task-card .link-arrow, .benefit-card .link-arrow {
  margin-top: var(--space-16);
}

/* ==========================================================================
   6. Featured Cards (Build Guide Page 54)
   "Same as a task card plus Soft aqua background, 4 px Primary teal left
   border and a 24 px H3. Full width."
   ========================================================================== */
.cmc-featured-card, .featured-card {
  background-color: var(--cmc-aqua);
  border: 1px solid var(--cmc-gray);
  border-left: 4px solid var(--cmc-teal);
  border-radius: var(--radius-card);
  padding: var(--space-28, 28px);
  width: 100%;
  max-width: var(--text-max-width);
  box-sizing: border-box;
  margin-top: var(--space-32);
  margin-bottom: var(--space-32);
  display: flex;
  flex-direction: column;
  box-shadow: none !important;
}

.cmc-featured-card h3, .featured-card h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--cmc-navy);
  margin-bottom: var(--space-12);
}

.cmc-featured-card p, .featured-card p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--cmc-slate);
  margin: 0;
}

/* ==========================================================================
   7. Chips: Linked vs Plain (Build Guide Page 54)
   "Chips: linked: Pill shape, Soft aqua fill, Primary teal 14 px 600-weight text,
   8 × 14 px padding, small arrow-right icon. Hover: background #D5E8E8 and
   underline. Linked chips must visibly look clickable."
   "Chips: plain (not clickable): Same pill shape, white fill, 1 px Border gray
   outline, Body slate text, no icon, no hover, no pointer cursor. These must
   not look clickable."
   ========================================================================== */
.cmc-chips-wrap, .chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-top: var(--space-16);
  margin-bottom: var(--space-24);
}

/* Linked Chip: visibly clickable */
.cmc-chip--linked, a.cmc-chip, .chip-linked {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6, 6px);
  padding: 8px 14px;
  background-color: var(--cmc-aqua);
  color: var(--cmc-teal) !important;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, text-decoration 200ms ease;
}

.cmc-chip--linked:hover, a.cmc-chip:hover, .chip-linked:hover {
  background-color: #D5E8E8;
  color: var(--cmc-teal) !important;
  text-decoration: underline;
}

.cmc-chip--linked svg, .chip-linked svg {
  width: 14px;
  height: 14px;
  stroke: var(--cmc-teal);
  transition: transform 200ms ease;
}

.cmc-chip--linked:hover svg, .chip-linked:hover svg {
  transform: translateX(2px);
}

/* Plain Chip: explicitly NOT clickable */
.cmc-chip--plain, span.cmc-chip, .chip-plain {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background-color: var(--cmc-white);
  color: var(--cmc-slate);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  border-radius: var(--radius-pill);
  border: 1px solid var(--cmc-gray);
  text-decoration: none !important;
  cursor: default !important;
  pointer-events: none;
  user-select: none;
}

/* ==========================================================================
   8. Process Strip (Build Guide Page 54)
   "Numbered teal circles (36 px, white number) joined by a 2 px Border gray line;
   step name (H3, 18 px) and one sentence under each. Horizontal from 1024 px,
   vertical below (line runs down the left). The strip supplies the numbers;
   never type numbers into step names. Used on Home (3 steps), RCM (6 steps)
   and RCM Assessment (4 steps)."
   ========================================================================== */
.cmc-process-strip, .process-steps-shell {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  gap: var(--space-24);
  margin-top: var(--space-48);
  margin-bottom: var(--space-48);
}

/* Horizontal connecting line from 1024px */
.cmc-process-strip::before, .process-steps-shell::before {
  content: "";
  position: absolute;
  top: 18px; /* Center of 36px circle */
  left: 24px;
  right: 24px;
  height: 2px;
  background-color: var(--cmc-gray);
  z-index: 1;
}

.cmc-process-step, .process-step {
  flex: 1;
  position: relative;
  z-index: 2;
  text-align: left;
}

/* Numbered Teal Circle (36px, white number) */
.cmc-process-circle, .step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--cmc-teal);
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-16);
  border: 3px solid var(--cmc-white); /* Masks line behind circle */
  box-sizing: content-box;
}

.cmc-process-step h3, .process-step h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--cmc-navy);
  margin-top: 0;
  margin-bottom: var(--space-8);
}

.cmc-process-step p, .process-step p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--cmc-slate);
  margin: 0;
}

/* ==========================================================================
   9. About Timeline (Build Guide Page 54)
   "Vertical line with six numbered dots. Above each step name, a small stage
   tag (plain chip style): Review (step 1), Define (steps 2–3), Report (steps 4–6).
   Max width 760 px."
   ========================================================================== */
.cmc-about-timeline {
  position: relative;
  max-width: var(--text-max-width);
  margin: var(--space-48) auto;
  padding-left: 48px;
}

.cmc-about-timeline::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 15px;
  width: 2px;
  background-color: var(--cmc-gray);
  z-index: 1;
}

.cmc-timeline-item {
  position: relative;
  margin-bottom: var(--space-32);
  z-index: 2;
}

.cmc-timeline-item:last-child {
  margin-bottom: 0;
}

.cmc-timeline-dot {
  position: absolute;
  left: -48px;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--cmc-teal);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--cmc-white);
  box-sizing: content-box;
}

.cmc-timeline-stage {
  margin-bottom: var(--space-8);
}

.cmc-timeline-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--cmc-navy);
  margin-bottom: var(--space-8);
}

.cmc-timeline-item p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--cmc-slate);
  margin: 0;
}

/* ==========================================================================
   10. RCM Comparison Table (Build Guide Page 54)
   "Two service columns with a Primary teal header row and white header text;
   rows separated by 1 px lines. Use a teal check icon for included and a
   gray dash for not included, each with screen-reader text. On mobile,
   stack the columns."
   ========================================================================== */
.cmc-comparison-table-shell {
  width: 100%;
  max-width: var(--max-width);
  margin: var(--space-48) 0;
  border: 1px solid var(--cmc-gray);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.cmc-comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.cmc-comparison-table thead th {
  background-color: var(--cmc-teal);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  padding: var(--space-16) var(--space-24);
  width: 50%;
  border: none;
}

.cmc-comparison-table tbody td {
  padding: var(--space-16) var(--space-24);
  border-bottom: 1px solid var(--cmc-gray);
  font-size: 16px;
  color: var(--cmc-slate);
  vertical-align: middle;
}

.cmc-comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.cmc-comparison-check {
  display: inline-flex;
  align-items: center;
  gap: var(--space-12);
}

.cmc-comparison-check svg {
  width: 20px;
  height: 20px;
  stroke: var(--cmc-teal);
  flex: none;
}

.cmc-comparison-dash {
  color: var(--cmc-gray);
  font-weight: 700;
  margin-right: var(--space-8);
}

/* ==========================================================================
   11. Credentialing Checklist Card (Build Guide Page 54)
   "White card, 1 px border, 14 px radius, 32 px padding. Each item has a
   20 px teal check icon. Two columns of items from 768 px."
   ========================================================================== */
.cmc-checklist-card, .checklist-card {
  background-color: var(--cmc-white);
  border: 1px solid var(--cmc-gray);
  border-radius: var(--radius-card);
  padding: var(--space-32);
  margin: var(--space-40) 0;
}

.cmc-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-16) var(--space-32);
}

.cmc-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  font-size: 16px;
  line-height: 1.5;
  color: var(--cmc-slate);
}

.cmc-checklist-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--cmc-teal);
  flex: none;
  margin-top: 2px;
}

/* ==========================================================================
   12. Common Questions Section (Build Guide Page 55)
   "Questions as H3, answers as body text, all visible. 32 px between items,
   max 760 px wide. No accordion on Home, service pages, Who We Help, About or Contact."
   ========================================================================== */
.cmc-common-questions, .faq-section {
  background-color: var(--cmc-white);
  padding: var(--space-96) 0;
  border-top: 1px solid var(--cmc-gray);
}

.cmc-common-questions .wrap, .faq-grid {
  max-width: var(--text-max-width);
  margin-left: auto;
  margin-right: auto;
  display: block; /* Override old 2-col grid */
}

.cmc-common-questions h2, .faq-intro h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--cmc-navy);
  margin-bottom: var(--space-40);
  text-align: left;
}

.cmc-qa-list, .faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

.cmc-qa-item, .faq-item {
  border-bottom: 1px solid var(--cmc-gray);
  padding-bottom: var(--space-32);
}

.cmc-qa-item:last-child, .faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cmc-qa-item h3, .faq-question-btn span:first-child, .faq-item h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--cmc-navy);
  margin-top: 0;
  margin-bottom: var(--space-12);
}

.cmc-qa-item p, .faq-answer p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--cmc-slate);
  margin: 0;
}

/* Ensure existing FAQ answers are visibly displayed without accordion hiding */
.faq-question-btn {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  text-align: left !important;
  cursor: default !important;
  width: 100% !important;
  display: block !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  color: var(--cmc-navy) !important;
}

.faq-icon {
  display: none !important; /* Hide +/- toggle icon */
}

.faq-answer {
  display: block !important;
  visibility: visible !important;
  margin-top: var(--space-12);
}

.faq-answer[hidden] {
  display: block !important;
}

/* ==========================================================================
   13. Final Contact Band (Build Guide Page 55)
   "Full-width Soft aqua band, 80 px padding, centered content max 640 px:
   H2, one line of text, 'Book a 15-Minute Call' button. One per page."
   ========================================================================== */
.cmc-final-contact-band, .closing-cta {
  background-color: var(--cmc-aqua) !important;
  padding: 80px 0 !important;
  text-align: center;
  border-top: 1px solid var(--cmc-gray);
  width: 100%;
}

.cmc-final-contact-band .wrap, .closing-cta .wrap {
  max-width: 640px !important;
  margin-left: auto;
  margin-right: auto;
}

.closing-cta-grid {
  display: block !important;
  text-align: center !important;
}

.cmc-final-contact-band h2, .closing-cta h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--cmc-navy) !important;
  margin-bottom: var(--space-16);
}

.cmc-final-contact-band p, .closing-cta p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--cmc-slate) !important;
  margin-bottom: var(--space-32);
}

.cmc-final-contact-band .button, .closing-cta .button {
  background-color: var(--cmc-teal) !important;
  color: #FFFFFF !important;
  display: inline-flex;
}

.cmc-final-contact-band .button:hover, .closing-cta .button:hover {
  background-color: var(--cmc-navy) !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   14. Cookie Banner (Build Guide Page 55)
   "Bottom bar on first visit, white with a 1 px top border, 14 px text,
   max 1200 px content: one sentence, a 'Privacy Policy' link and two equal
   buttons, 'Accept' and 'Reject'. No pre-ticked options, no blocking overlay.
   Analytics load only after Accept. Remember the choice; 'Cookie settings'
   in the footer reopens it."
   ========================================================================== */
.cmc-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--cmc-white);
  border-top: 1px solid var(--cmc-gray);
  padding: var(--space-16) 0;
  z-index: 99999;
  box-shadow: 0 -4px 16px rgba(15, 47, 58, 0.08);
  font-family: var(--font-sans);
}

.cmc-cookie-banner[hidden] {
  display: none !important;
}

.cmc-cookie-inner {
  width: var(--wrap);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
  font-size: 14px;
  line-height: 1.5;
  color: var(--cmc-slate);
}

.cmc-cookie-text {
  flex: 1;
  margin: 0;
}

.cmc-cookie-text a {
  color: var(--cmc-teal);
  text-decoration: underline;
  font-weight: 600;
}

.cmc-cookie-actions {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  flex: none;
}

.cmc-cookie-btn {
  height: 44px;
  min-height: 44px;
  padding: 0 var(--space-20, 20px);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 200ms ease, color 200ms ease;
}

.cmc-cookie-btn--accept {
  background-color: var(--cmc-teal);
  color: #FFFFFF;
}

.cmc-cookie-btn--accept:hover {
  background-color: var(--cmc-navy);
}

.cmc-cookie-btn--reject {
  background-color: var(--cmc-white);
  color: var(--cmc-teal);
  border-color: var(--cmc-teal);
}

.cmc-cookie-btn--reject:hover {
  background-color: var(--cmc-aqua);
}

/* ==========================================================================
   15. 404 Page (Build Guide Page 55)
   "Header, then H1 'We can't find that page.', one line of text, links to
   Services and Contact Us, then the final contact band and footer. No illustration."
   ========================================================================== */
.cmc-404-container {
  padding: 96px 0 80px;
  text-align: left;
  max-width: var(--text-max-width);
  margin-left: auto;
  margin-right: auto;
}

.cmc-404-container h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--cmc-navy);
  margin-bottom: var(--space-16);
}

.cmc-404-container p {
  font-size: 20px;
  line-height: 1.65;
  color: var(--cmc-slate);
  margin-bottom: var(--space-32);
}

.cmc-404-links {
  display: flex;
  gap: var(--space-16);
  flex-wrap: wrap;
}

/* ==========================================================================
   16. Founder Quote Block (Build Guide Page 55)
   "Centered, max 640 px. A large opening quote mark in Primary teal (48 px),
   quote text 20 px Deep navy, signature line '— Founder, Core Metrics Consulting'
   in 15 px Body slate. No photo, no name, no illustration."
   ========================================================================== */
.cmc-quote-block {
  max-width: 640px;
  margin: var(--space-64) auto;
  text-align: center;
}

.cmc-quote-mark {
  font-size: 48px;
  line-height: 1;
  color: var(--cmc-teal);
  font-family: Georgia, serif;
  margin-bottom: var(--space-8);
}

.cmc-quote-text {
  font-size: 20px;
  line-height: 1.6;
  color: var(--cmc-navy);
  font-weight: 600;
  margin-bottom: var(--space-16);
}

.cmc-quote-author {
  font-size: 15px;
  color: var(--cmc-slate);
}

/* ==========================================================================
   17. Responsive Rules for Components
   ========================================================================== */
@media (max-width: 1023px) {
  .cmc-process-strip, .process-steps-shell {
    flex-direction: column;
    gap: var(--space-32);
    padding-left: 48px;
  }
  .cmc-process-strip::before, .process-steps-shell::before {
    top: 18px;
    bottom: 18px;
    left: 17px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .cmc-process-circle, .step-num {
    position: absolute;
    left: -48px;
    top: 0;
    margin-bottom: 0;
  }
  .cmc-comparison-table thead th,
  .cmc-comparison-table tbody td {
    padding: var(--space-12) var(--space-16);
  }
}

@media (max-width: 767px) {
  .cmc-top-grid, .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }
  .cmc-task-grid, .benefits-grid, .task-grid {
    grid-template-columns: 1fr;
  }
  .cmc-checklist-grid {
    grid-template-columns: 1fr;
  }
  .cmc-cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cmc-cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .cmc-cookie-btn {
    flex: 1;
  }
  /* Mobile Comparison Table stacking (Page 54) */
  .cmc-comparison-table thead {
    display: none;
  }
  .cmc-comparison-table,
  .cmc-comparison-table tbody,
  .cmc-comparison-table tr,
  .cmc-comparison-table td {
    display: block;
    width: 100%;
  }
  .cmc-comparison-table td {
    border-bottom: 1px solid var(--cmc-gray);
  }
}

/* ==========================================================================
   18. Scroll Anchors for Sticky Header (Phase 5 Anchor Target Offset)
   ========================================================================== */
#baa,
#how-we-work,
#physician,
#behavioral-health,
#therapy,
#multi-location {
  scroll-margin-top: 100px;
}

/* ==========================================================================
   19. Phase 6: Contact Page & Interactive Intake Form (Page Brief 17)
   ========================================================================== */
.contact-hero {
  padding-bottom: 24px;
}

.contact-shell-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 960px) {
  .contact-shell-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .contact-form-col {
    order: 1;
    min-width: 0;
  }
  .contact-details-col {
    order: 2;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .contact-details-card,
  .not-sure-guidance-card {
    padding: 20px 16px !important;
  }
  .detail-link, .detail-text {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

/* Contact Details Card (Left Column) */
.contact-details-card {
  background: var(--cmc-navy, #1B365D);
  color: #FFFFFF;
  border-radius: var(--radius-lg, 12px);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.06));
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-card-title {
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.contact-detail-items {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.detail-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--cmc-aqua, #52B4BF);
  display: inline-grid;
  place-items: center;
}

.detail-icon svg {
  width: 20px;
  height: 20px;
}

.detail-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
  font-weight: 600;
}

.detail-link {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color 0.2s ease;
}

.detail-link:hover, .detail-link:focus {
  color: var(--cmc-aqua, #52B4BF);
  text-decoration: underline;
}

.detail-address {
  font-style: normal;
  color: #E2E8F0;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Social media list */
.social-links-list {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  min-height: 44px;
  transition: all 0.2s ease;
}

.social-btn svg {
  width: 18px;
  height: 18px;
  color: var(--cmc-aqua, #52B4BF);
}

.social-btn:hover, .social-btn:focus {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  text-decoration: none;
}

/* Badges & Reassurance */
.response-time-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(82, 180, 191, 0.15);
  border: 1px solid rgba(82, 180, 191, 0.3);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: #D6EFF0;
}

.badge-icon {
  display: inline-grid;
  place-items: center;
  color: var(--cmc-aqua, #52B4BF);
}

.badge-icon svg {
  width: 18px;
  height: 18px;
}

.confidential-reassurance-box {
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--cmc-aqua, #52B4BF);
  padding: 16px 18px;
  border-radius: 0 8px 8px 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #FFFFFF;
}

.confidential-reassurance-box strong {
  display: block;
  color: #FFFFFF;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
}

.confidential-reassurance-box p {
  margin: 0;
  color: #FFFFFF;
  font-size: 13.5px;
  line-height: 1.5;
}

/* Form Container Card (Right Column) */
.contact-form-card {
  background: #FFFFFF;
  border: 1px solid var(--cmc-line, #CBD5E1);
  border-radius: var(--radius-lg, 12px);
  padding: 40px;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.06));
}

@media (max-width: 640px) {
  .contact-form-card {
    padding: 24px 20px;
  }
}

.form-header-area {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--cmc-gray, #E2E8F0);
  padding-bottom: 24px;
}

.form-main-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cmc-navy, #1B365D);
  margin: 0 0 8px;
  line-height: 1.25;
}

.form-help-lead {
  font-size: 0.95rem;
  color: var(--cmc-slate, #475569);
  line-height: 1.55;
  margin: 0 0 20px;
}

/* Progress Indicator */
.form-progress-indicator {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress-bar-track {
  width: 100%;
  height: 6px;
  background: var(--cmc-gray, #E2E8F0);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--cmc-teal, #135C68);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.progress-bar-fill.step-1 {
  width: 50%;
}

.progress-bar-fill.step-2 {
  width: 100%;
  background: #0D9488;
}

.progress-steps-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--cmc-slate, #475569);
  font-weight: 600;
}

.step-timing-hint {
  font-weight: 400;
  color: #64748B;
  font-size: 0.8rem;
}

/* Form Grid & Inputs */
.form-grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

@media (max-width: 640px) {
  .form-grid-two-col {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cmc-navy, #1B365D);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.req-star {
  color: #DC2626;
  font-weight: 700;
}

.opt-label {
  color: #64748B;
  font-weight: 400;
  font-size: 0.82rem;
  margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1.5px solid var(--cmc-line, #CBD5E1);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--cmc-ink, #0F172A);
  background-color: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--cmc-teal, #135C68);
  box-shadow: 0 0 0 3px rgba(19, 92, 104, 0.15);
}

.form-textarea {
  min-height: 108px;
  resize: vertical;
  line-height: 1.5;
}

/* Checkbox control */
.checkbox-group {
  margin: 12px 0 8px;
}

.checkbox-control {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-checkbox {
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin-top: 2px;
  accent-color: var(--cmc-teal, #135C68);
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cmc-ink, #0F172A);
  line-height: 1.45;
  cursor: pointer;
}

.checkbox-hint {
  font-size: 0.8rem;
  color: #64748B;
  margin: 4px 0 0 34px;
}

/* Validation Errors */
.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-color: #DC2626;
  background-color: #FEF2F2;
}

.field-error-msg {
  font-size: 0.82rem;
  color: #DC2626;
  font-weight: 500;
  min-height: 18px;
}

.form-error-summary {
  background: #FEF2F2;
  border: 1.5px solid #FCA5A5;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  color: #991B1B;
}

.error-summary-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #991B1B;
}

.error-summary-list {
  margin: 0;
  padding-left: 20px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.error-summary-list a {
  color: #B91C1C;
  text-decoration: underline;
  font-weight: 600;
}

/* Actions Row */
.form-action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn-primary-submit {
  min-height: 48px;
  padding: 12px 28px;
  background: var(--cmc-teal, #135C68);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-primary-submit:hover,
.btn-primary-submit:focus {
  background: #0E4852;
  box-shadow: 0 4px 12px rgba(19, 92, 104, 0.25);
}

.btn-secondary-prepare {
  min-height: 48px;
  padding: 12px 20px;
  background: #F1F5F9;
  color: var(--cmc-navy, #1B365D);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--cmc-line, #CBD5E1);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-secondary-prepare:hover,
.btn-secondary-prepare:focus {
  background: #E2E8F0;
  border-color: #94A3B8;
}

.btn-skip-submit {
  min-height: 48px;
  padding: 12px 20px;
  background: transparent;
  color: var(--cmc-slate, #475569);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px dashed var(--cmc-line, #CBD5E1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-skip-submit:hover,
.btn-skip-submit:focus {
  background: #F8FAFC;
  color: var(--cmc-navy, #1B365D);
  border-color: #94A3B8;
}

.btn-text-skip {
  background: none;
  border: none;
  color: var(--cmc-teal, #135C68);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 8px 12px;
  min-height: 44px;
}

.btn-text-skip:hover {
  text-decoration: underline;
}

.response-note {
  font-size: 0.85rem;
  color: #64748B;
  margin: 12px 0 0;
}

/* Step 2 Drawer Card */
.step-2-header-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}

.step-2-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cmc-navy, #1B365D);
  margin: 0 0 6px;
}

.step-2-desc {
  font-size: 0.88rem;
  color: var(--cmc-slate, #475569);
  margin: 0;
  line-height: 1.5;
}

/* Conditional Questions */
.conditional-service-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed var(--cmc-line, #CBD5E1);
}

.conditional-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cmc-navy, #1B365D);
  margin: 0 0 16px;
}

.service-conditional-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
}

.multi-select-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.checkbox-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.chip-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid var(--cmc-line, #CBD5E1);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  min-height: 44px;
  transition: all 0.15s ease;
}

.chip-checkbox:has(input:checked) {
  border-color: var(--cmc-teal, #135C68);
  background: rgba(19, 92, 104, 0.06);
  font-weight: 600;
  color: var(--cmc-teal, #135C68);
}

.service-note-box {
  margin: 0;
  font-size: 0.88rem;
  color: var(--cmc-slate, #475569);
  line-height: 1.55;
}

/* Confirmation Panel Styling */
.contact-confirmation-panel {
  text-align: center;
  padding: 40px 24px;
}

.confirmation-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
}

.conf-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cmc-navy, #1B365D);
  margin: 0 0 16px;
  line-height: 1.3;
}

.conf-lead {
  font-size: 1.05rem;
  color: var(--cmc-ink, #0F172A);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 16px;
}

.conf-notice {
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.55;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 16px 20px;
  max-width: 620px;
  margin: 0 auto 28px;
}

.conf-related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
  background: var(--cmc-bg, #F4F9F9);
  border: 1px solid var(--cmc-line, #CBD5E1);
  border-radius: 10px;
  max-width: 540px;
  margin: 0 auto;
}

.conf-related-eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--cmc-teal, #135C68);
}

.conf-related-action {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cmc-navy, #1B365D);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.conf-related-action:hover,
.conf-related-action:focus {
  color: var(--cmc-teal, #135C68);
  text-decoration: underline;
}

/* Not Sure Which Service Fits Card (Below Form) */
.not-sure-guidance-card {
  margin-top: 28px;
  background: #FFFFFF;
  border: 1px solid var(--cmc-line, #CBD5E1);
  border-radius: var(--radius-lg, 12px);
  padding: 24px 32px;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.06));
}

.not-sure-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cmc-navy, #1B365D);
  margin: 0 0 6px;
}

.not-sure-text {
  font-size: 0.95rem;
  color: var(--cmc-slate, #475569);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   Pre-Launch Remediation: E1, E3, E4, E5
   ========================================================================== */

/* E3: Breadcrumb Spacing & Accessibility */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 1.4;
  color: var(--cmc-slate, #475569);
  margin-bottom: var(--space-16, 16px);
}

.breadcrumbs a {
  color: var(--cmc-slate, #475569);
  text-decoration: none;
  transition: color 150ms ease;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
  color: var(--cmc-teal, #135C68);
  text-decoration: underline;
}

.breadcrumbs .sep {
  display: inline-block;
  margin: 0 8px;
  color: #94A3B8;
  user-select: none;
}

.breadcrumbs .current {
  color: var(--cmc-navy, #0F2F3A);
  font-weight: 500;
}

/* E4 & E5: Service Top Section Layout & Spacing */
.cmc-service-top-content {
  max-width: 760px;
  width: 100%;
}

.cmc-service-audience {
  margin-top: 16px !important;
  font-size: 16px;
  font-weight: 600;
  color: var(--cmc-navy, #0F2F3A);
  margin-bottom: var(--space-16, 16px);
}

.cmc-service-cta-row {
  display: flex;
  align-items: center;
  gap: var(--space-16, 16px);
  flex-wrap: wrap;
}

/* E1: Mobile H1 Sizes (Homepage & Contact Page) */
@media (max-width: 767px) {
  h1.cmc-hero-h1,
  .cmc-top-section h1.cmc-hero-h1,
  .cmc-top-section #hero-heading,
  .contact-hero h1,
  .pagehero.contact-hero h1 {
    font-size: 34px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.01em;
  }
}

/* ==========================================================================
   22. Security Safeguards 3 + 2 Grid Layout (Customer Revision Round L)
   ========================================================================== */
.cmc-safeguards-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 24px !important;
}

.cmc-safeguards-grid .cmc-card {
  flex: 0 1 calc((100% - 48px) / 3);
  min-width: 280px;
  box-sizing: border-box;
}

@media (max-width: 1023px) and (min-width: 768px) {
  .cmc-safeguards-grid .cmc-card {
    flex: 0 1 calc((100% - 24px) / 2);
  }
}

@media (max-width: 767px) {
  .cmc-safeguards-grid .cmc-card {
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   23. Operational Problems Section (Home Page Section 3)
   ========================================================================== */
.cmc-operational-problems,
.intro-split {
  background-color: var(--cmc-white);
  border-top: 1px solid var(--cmc-gray);
  padding: 80px 0;
}

.cmc-operational-grid,
.intro-grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  align-items: start;
  gap: 56px;
}

.cmc-operational-media,
.intro-art {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 480px;
}

.cmc-operational-photo,
.intro-photo {
  max-width: 480px;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--cmc-gray);
  box-shadow: var(--shadow-sm);
  background: var(--cmc-aqua);
}

.cmc-operational-photo img,
.intro-photo img,
.intro-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 13px;
  object-fit: cover;
}

.cmc-operational-card,
.intro-panel {
  background: var(--cmc-aqua);
  border: 1.5px solid var(--cmc-gray);
  border-radius: 14px;
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}

.cmc-operational-card-title,
.intro-panel h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--cmc-navy);
  line-height: 1.35;
  margin: 0 0 12px 0;
}

.cmc-operational-card-desc,
.intro-panel p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--cmc-slate);
  margin: 0;
}

.cmc-operational-copy,
.intro-copy {
  display: flex;
  flex-direction: column;
}

.cmc-operational-heading,
.intro-copy h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--cmc-navy);
  margin: 0 0 18px 0;
  letter-spacing: -0.01em;
}

.cmc-operational-lead,
.intro-copy > p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--cmc-slate);
  margin: 0 0 28px 0;
}

/* Pain points bullet list: remove browser discs, style checkmarks cleanly */
.cmc-pain-points-list,
.bullets-list {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 0 36px 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cmc-pain-point-item,
.bullets-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  color: var(--cmc-slate) !important;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cmc-pain-point-item::before,
.bullets-list li::before {
  content: none !important;
  display: none !important;
}

.cmc-pain-point-check,
.bullet-check {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  border-radius: 50% !important;
  background-color: var(--cmc-aqua) !important;
  color: var(--cmc-teal) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  margin-top: 2px !important;
  flex-shrink: 0 !important;
}

.cmc-pain-point-text {
  flex: 1;
}

.cmc-operational-actions,
.intro-copy .actions {
  margin-top: 4px;
}

/* Responsive Breakpoints */
@media (max-width: 1023px) {
  .cmc-operational-grid,
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cmc-operational-media,
  .intro-art {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
  .cmc-operational-photo,
  .intro-photo {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .cmc-operational-problems,
  .intro-split {
    padding: 56px 0;
  }
  .cmc-operational-heading,
  .intro-copy h2 {
    font-size: 28px;
    line-height: 1.25;
  }
  .cmc-operational-card,
  .intro-panel {
    padding: 20px 24px;
  }
  .cmc-operational-actions .button,
  .intro-copy .actions .button {
    width: 100%;
    justify-content: center;
  }
}


