/**********************************************
 * ASSURANCE SERVICES — CLEAN LITE SCRUB (PART 1)
 * HERO + GLOBAL STRUCTURE + VALUE BAR + SECTION WRAPPERS
 * Spacing preserved exactly as current site.
 **********************************************/

/* ============================================
   GLOBAL SECTION WRAPPERS (tightened version)
   ============================================ */
.expertise-section,
.pillars-section,
.who-uses,
.why-section,
.callout-section,
.workflow-section,
.quote-section,
.proposal-cta {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 35px !important;
    padding-bottom: 35px !important;
}

/* Global heading spacing */
.expertise-section h2,
.pillars-section h3,
.who-uses h3,
.why-section h3,
.workflow-section h3,
.proposal-cta h3,
.quote-section blockquote {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
}

/* Section body text spacing */
.expertise-section p,
.pillars-section p,
.who-uses p,
.why-section p,
.callout-section p,
.workflow-section p,
.proposal-cta p {
    margin-bottom: 15px !important;
}


/* ============================================
   VALUE BAR
   ============================================ */
.value-bar {
    background: #f6f8fa;
    padding: 26px 18px !important;
    text-align: center;
    font-size: 17px;
    color: #23303d;
    border-bottom: 1px solid #e4e9ee;
    margin-top: 10px !important;
    margin-bottom: 30px !important;
}

/* ============================================
   GLOBAL GRID SPACING (tightened version)
   ============================================ */
.expertise-grid,
.pillars,
.who-grid,
.why-grid,
.callout-grid,
.workflow-steps {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
/**********************************************
 * ASSURANCE SERVICES — CLEAN LITE SCRUB (PART 2)
 * EXPERTISE • PILLARS • WHO RELIES • WHY MEED
 **********************************************/

/* ============================================
   EXPERTISE GRID ("What We Deliver")
   ============================================ */

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 36px;
    margin-top: 10px !important;
}

.expertise-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 26px !important;
    border-left: 4px solid #2ecc71; /* green accent */
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Subtle hover lift — professional */
.expertise-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 26px rgba(0,0,0,0.08);
}

.green-accent {
    width: 5px;
    background: #2ecc71;
    border-radius: 4px;
}

.expertise-text h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #04172A;
}

.expertise-text p {
    font-size: 16px;
    color: #333;
}


/* ============================================
   THREE PILLARS ("Accuracy • Compliance • Confidence")
   ============================================ */

.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 36px;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.pillar {
    background: #ffffff;
    padding: 24px 22px !important;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
    text-align: center;
}

.pillar h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px !important;
}

.pillar p {
    font-size: 16px;
    color: #333;
}


/* ============================================
   WHO RELIES ON OUR ASSURANCE WORK
   ============================================ */

.who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    text-align: center;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.who-item {
    background: #ffffff;
    padding: 24px !important;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}

.who-item svg,
.who-item img {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
}

.who-item p {
    font-size: 17px;
    margin-top: 8px !important;
    color: #04172A;
}


/* ============================================
   WHY ORGANIZATIONS CHOOSE MEED
   ============================================ */

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 36px;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.why-item {
    background: #ffffff;
    padding: 26px 22px !important;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Keep subtle hover lift for consistency */
.why-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.why-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px !important;
}

.why-item p {
    font-size: 16px;
    color: #333;
}
/**********************************************
 * ASSURANCE SERVICES — CLEAN LITE SCRUB (PART 3)
 * TABLE • CALLOUTS • WORKFLOW • QUOTE • CTA • FINAL SPACING
 **********************************************/


/* ============================================
   LEVELS OF ASSURANCE TABLE
   ============================================ */

.assurance-table {
    max-width: 1180px;
    margin: 15px auto !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.assurance-table table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.assurance-table th {
    background: #f3f6fa;
    padding: 18px 14px;
    font-weight: 700;
    font-size: 16px;
    color: #04172A;
    text-align: left;
}

.assurance-table td {
    padding: 18px 14px;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #e6ecf2;
}

.assurance-table tr:last-child td {
    border-bottom: none;
}


/* ============================================
   CALLOUT GRID (ASC 606, pre-audit, industry)
   ============================================ */

.callout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.callout {
    background: #f7f9fc;
    padding: 24px 22px !important;
    border-left: 4px solid #2ecc71;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    font-size: 16px;
    line-height: 1.55;
    color: #23303d;
}


/* ============================================
   WORKFLOW STEPS (1–4 circles)
   ============================================ */

.workflow-steps {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.workflow-step {
    text-align: center;
    padding: 20px !important;
}

.workflow-step .circle {
    width: 56px;
    height: 56px;
    background: #2ecc71;
    color: #ffffff;
    font-weight: 700;
    font-size: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
}

.workflow-step p {
    font-size: 16px;
    color: #04172A;
}


/* ============================================
   QUOTE SECTION
   ============================================ */

.quote-section blockquote {
    max-width: 780px;
    margin: 10px auto !important;
    padding: 10px 0 !important;
    font-size: 24px;
    line-height: 1.55;
    color: #1e2a36;
    text-align: center;
    font-weight: 500;
}


/* ============================================
   CTA SECTION (Schedule Consultation)
   ============================================ */

.proposal-cta {
    text-align: center;
    padding-top: 35px !important;
    padding-bottom: 35px !important;
}

.proposal-cta h3 {
    margin-bottom: 18px !important;
    font-size: 26px;
    font-weight: 700;
    color: #071A2F;
}

.proposal-cta p {
    margin-bottom: 20px !important;
    font-size: 18px;
    color: #23303d;
}

.proposal-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #2ecc71;
    color: #ffffff !important;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    transition: .25s ease;
}

.proposal-btn:hover {
    background: #27b866;
    transform: translateY(-2px);
}


/* ============================================
   FINAL SPACING NORMALIZATION (tightened)
   ============================================ */

.section-divider {
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

/* Kill accidental spacing on any stray divs */
div {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
/* ============================================
   MOBILE FIX — ASSURANCE TABLE OVERFLOW
   Prevent right-side cutoff
============================================ */

@media (max-width: 900px) {

  /* Allow horizontal scroll on mobile */
  .assurance-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Prevent columns from collapsing */
  .assurance-table table {
    min-width: 720px;
  }

  /* Slightly tighter cell padding for mobile */
  .assurance-table th,
  .assurance-table td {
    padding: 14px 12px;
    font-size: 15px;
  }
}
@media (max-width: 900px) {
  .assurance-table::after {
    content: "Swipe →";
    display: block;
    text-align: right;
    font-size: 12px;
    color: #6b7a89;
    margin-top: 6px;
  }
}
/* ==========================================================
   MOBILE FIX — "How Our Assurance Process Works" steps cut off
   Force wrap + prevent container clipping
========================================================== */

@media (max-width: 900px) {

  /* Prevent parent wrappers from clipping the row */
  .process-steps,
  .process-steps-wrap,
  .assurance-process,
  .assurance-process .container,
  .assurance-process .inner,
  .assurance-process .section-inner {
    overflow: visible !important;
  }

  /* Make the steps wrap into a clean 2x2 grid */
  .process-steps {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    justify-items: stretch;
  }

  /* Each step becomes full width within its grid cell */
  .process-step,
  .process-steps .step,
  .process-steps .step-card {
    width: 100% !important;
    max-width: none !important;
  }

  /* If circles/icons were set with fixed widths, relax them */
  .process-step .step-icon,
  .process-steps .step-icon,
  .process-steps .step-number {
    flex: 0 0 auto;
  }

  /* Reduce side padding that can push items off-screen */
  .assurance-process {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
@media (max-width: 520px) {
  .process-steps {
    grid-template-columns: 1fr !important;
  }
}
/* ==========================================================
   MOBILE FIX — Assurance Process (force single column)
   Prevent horizontal scroll + clipped steps
========================================================== */

@media (max-width: 768px) {

  /* Kill horizontal scrolling at the source */
  .assurance-process,
  .assurance-process * {
    overflow-x: hidden;
  }

  /* Force vertical flow */
  .process-steps {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch !important;
  }

  /* Each step becomes full-width */
  .process-step,
  .process-steps .step,
  .process-steps .step-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  /* Remove any fixed widths that cause spill */
  .process-step *,
  .process-steps * {
    max-width: 100%;
  }

  /* Normalize section padding */
  .assurance-process {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
@media (max-width: 768px) {
  .process-step {
    padding-left: 12px;
    border-left: 3px solid rgba(0, 180, 110, 0.35);
  }
}
/* ==========================================================
   MOBILE FIX — Assurance Workflow Steps (FINAL)
   Force single-column on phones
========================================================== */

@media (max-width: 768px) {

  /* Stack steps vertically */
  .workflow-steps {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    align-items: stretch !important;
  }

  /* Each step full width */
  .workflow-step {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 16px !important;
  }

  /* Kill horizontal scroll entirely */
  .workflow-steps,
  .workflow-section {
    overflow-x: hidden !important;
  }
}
@media (max-width: 768px) {
  .workflow-step {
    border-left: 3px solid rgba(46, 204, 113, 0.35);
  }
}
.section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(7,26,47,0.15),
    transparent
  );
}
.confidence-bar {
  font-size: 0.95rem;
  background: #f6f8fa;
  text-align: center;
  padding: 22px 12px;   /* +4px */
  font-weight: 600;
  color: #071a2f;
  letter-spacing: 0.3px;
}
.confidence-bar {
   border-top: 1px solid rgba(7,26,47,0.06);
	border-bottom: 1px solid rgba(7,26,47,0.06);
}
.inline-action {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #0b5ed7;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.inline-action::after {
  content: "→";
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.inline-action:hover {
  text-decoration: underline;
}

.inline-action:hover::after {
  transform: translateX(3px);
}
.inline-action {
  margin-top: 14px;
}
/* =========================================
   ASSURANCE CREDIBILITY BAND (200k)
========================================= */

.assurance-credibility {
  background: #f7fbff;
  padding: 48px 24px;
  text-align: center;
}

.assurance-credibility p {
  max-width: 960px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 500;
  color: #0b1f33;
  letter-spacing: -0.2px;
}

.assurance-credibility strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  .assurance-credibility p {
    font-size: 18px;
  }
}
/* =========================================================
   INLINE CONTEXT LINKS (used on Advisory + Attest)
   Purpose: premium inline linking that matches site rhythm
========================================================= */

.context-links {
  margin: 0;
  padding: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: #425466;
}

.context-links a {
  color: #0b5ed7;
  font-weight: 650;
  text-decoration: none;
}

.context-links a:hover {
  text-decoration: underline;
}

/* Safety: if an inline link accidentally uses .inline-action, neutralize CTA styling */
.context-links .inline-action {
  display: inline;
  margin-top: 0;
  font-size: inherit;
  font-weight: 650;
  letter-spacing: 0;
}

.context-links .inline-action::after {
  content: none !important;
}
/* =========================================================
   PREMIUM CONTEXT RIBBON (Attest + Advisory cross-link UI)
========================================================= */

.context-ribbon{
  border: 1px solid rgba(7, 26, 47, 0.10);
  background: linear-gradient(180deg, rgba(244, 247, 251, 0.95), rgba(255, 255, 255, 0.95));
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 12px 32px rgba(7, 26, 47, 0.08);
}

.context-ribbon-top{
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.context-kicker{
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 94, 215, 0.10);
  color: #071a2f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.context-lead{
  margin: 0;
  color: #425466;
  font-size: 15.75px;
  line-height: 1.65;
  max-width: 900px;
}

/* Chips */
.context-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.context-chip{
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(7, 26, 47, 0.12);
  background: rgba(255,255,255,0.85);
  color: #071a2f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 10px 22px rgba(7, 26, 47, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

@media (hover:hover){
  .context-chip:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(7, 26, 47, 0.10);
  }
}

.context-ribbon-bottom{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(7, 26, 47, 0.08);
}

.context-mini-cta{
  color: #0b5ed7;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.context-mini-cta:hover{
  text-decoration: underline;
}

/* Mobile harmony */
@media (max-width: 700px){
  .context-ribbon{
    padding: 18px 16px 14px;
  }
  .context-chip{
    width: 100%;
    justify-content: center;
  }
}
/* Pull context ribbon up to reduce dead space on pages */
.content-section .context-ribbon {
  margin-top: -18px;
}
.context-ribbon{
  border: 1px solid rgba(7, 26, 47, 0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(244,247,251,0.92));
  border-radius: 18px;
  padding: 18px 18px 14px;
  box-shadow: 0 18px 46px rgba(7, 26, 47, 0.10);
  max-width: 980px;       /* key: makes it feel curated */
  margin-left: auto;
  margin-right: auto;
}
.context-ribbon{
  border: 1px solid rgba(7, 26, 47, 0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(244,247,251,0.92));
  border-radius: 18px;
  padding: 18px 18px 14px;
  box-shadow: 0 18px 46px rgba(7, 26, 47, 0.10);
  max-width: 980px;       /* key: makes it feel curated */
  margin-left: auto;
  margin-right: auto;
}
.context-mini-cta{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #071a2f;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.context-mini-cta::after{
  content: "→";
  color: #1FCF8C;
  transition: transform 0.2s ease;
}

.context-mini-cta:hover{
  text-decoration: underline;
}

.context-mini-cta:hover::after{
  transform: translateX(3px);
}
.context-kicker{
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31, 207, 140, 0.14);
  color: #071a2f;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.context-chip{
  font-size: 13.25px; /* was ~13.75 */
  font-weight: 750;   /* was 800 */
}
.context-ribbon{
  padding: 16px 18px 12px;
}
