/************************************************************
   CONSULTING.CSS — Premium Consulting Page
   Matches MEED Framework + Hero + CTA + Header/Footer
   Safe, isolated overrides for Consulting.html only.
*************************************************************/

/* ----------------------------------------------------------
   GLOBAL CONSULTING CARD AESTHETIC
---------------------------------------------------------- */
.consult-grid,
.capability-grid,
.industry-stack,
.case-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 50px;
}

.consult-card,
.capability-card,
.industry-card,
.case-card {
  background: #fff;
  padding: 32px;
  border-radius: 22px;
  box-shadow:
    0 4px 14px rgba(0,0,0,0.06),
    0 14px 40px rgba(0,0,0,0.08);
  transition: 0.28s ease;
  position: relative;
}

.consult-card:hover,
.capability-card:hover,
.industry-card:hover,
.case-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 8px 22px rgba(0,0,0,0.10),
    0 22px 60px rgba(0,0,0,0.12);
}

.consult-card h3,
.capability-card h3,
.industry-card h3,
.case-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #071A2F;
  margin-bottom: 12px;
}

.consult-card p,
.capability-card p,
.industry-card p,
.case-card p {
  color: #3A4A5C;
  font-size: 16px;
  line-height: 1.6;
}


/* ----------------------------------------------------------
   ICON WRAPPER (Soft Premium Container)
   Automatically wraps all inline SVGs
---------------------------------------------------------- */
.icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(7, 26, 47, 0.06); /* navy tint */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
  box-shadow:
    inset 0 1px 3px rgba(255,255,255,0.45),
    inset 0 -2px 6px rgba(0,0,0,0.08);
}

.icon-wrap svg {
  width: 34px;
  height: 34px;
  display: block;
}


/* ----------------------------------------------------------
   TWO-COLUMN PROCESS SECTION
---------------------------------------------------------- */
.two-col-process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 60px auto 0 auto;
}

.process-col h3 {
  font-size: 20px;
  font-weight: 700;
  color: #071A2F;
  margin-top: 0;
  margin-bottom: 10px;
}

.process-col p {
  font-size: 16px;
  color: #3A4A5C;
  margin-bottom: 28px;
  line-height: 1.6;
}


/* ----------------------------------------------------------
   INDUSTRY STACK — Premium Layout
---------------------------------------------------------- */
.industry-stack {
  margin-top: 50px;
  gap: 34px;
}

.industry-card {
  border-left: 6px solid #23C36C; /* premium accent */
  padding-left: 26px;
}

.industry-card h3 {
  margin-bottom: 10px;
}


/* ----------------------------------------------------------
   CASE STUDY STYLE GRID
---------------------------------------------------------- */
.case-grid {
  margin-top: 52px;
}

.case-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}


/* ----------------------------------------------------------
   CREDIBILITY BAND
---------------------------------------------------------- */
.credibility-section {
  padding: 60px 20px;
  text-align: center;
}

.credibility-panel {
  background: #061A33;
  padding: 50px 40px;
  border-radius: 20px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}

.credibility-panel p {
  color: #E8F1FF !important;
  font-size: 18px;
  line-height: 1.6;
}


/* ----------------------------------------------------------
   ANIMATIONS (Match scroll-animations.js)
---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(.16,.72,.23,1);
}

.reveal.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ----------------------------------------------------------
   RESPONSIVE BEHAVIOR
---------------------------------------------------------- */
@media (max-width: 992px) {
  .two-col-process {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {

  .consult-card,
  .capability-card,
  .industry-card,
  .case-card {
    padding: 24px;
  }

  .icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 12px;
  }

  .icon-wrap svg {
    width: 30px;
    height: 30px;
  }

  .process-col h3 {
    font-size: 18px;
  }

  .process-col p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {

  .icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }

  .icon-wrap svg {
    width: 26px;
    height: 26px;
  }

  .process-col h3 {
    font-size: 17px;
  }
}
/* =========================================================
   ADVISORY PAGE — SEO & AUTHORITY POLISH (ADDITIVE)
========================================================= */

.page-hero h1 {
  letter-spacing: -0.4px;
}

.page-hero p {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  line-height: 1.65;
}

/* Advisory credibility emphasis */
.credibility-panel p strong {
  font-weight: 700;
}

/* FAQ visual readiness (future-proof, even if hidden) */
.faq-item {
  max-width: 900px;
  margin: 0 auto 18px;
}

.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);
}

/* Advisory inline industry links (editorial style) */
.context-inline-links{
  margin-top: 10px;
  font-size: 13.75px;
  font-weight: 700;
  color: #5a6b7b;
}

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

.context-inline-links span{
  margin: 0 6px;
  color: #9aa8b6;
}

.context-inline-links a:hover{
  text-decoration: underline;
}
/* =========================================================
   CONTEXT RIBBON — ADVISORY (CANONICAL)
========================================================= */

.context-ribbon{
  border: 1px solid rgba(7, 26, 47, 0.12);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.97),
    rgba(244,247,251,0.95)
  );
  border-radius: 20px;
  padding: 18px 22px 16px;
  box-shadow: 0 14px 34px rgba(7, 26, 47, 0.08);
  max-width: 860px;
  margin: -34px auto 0 auto; /* intentional hero overlap */
}

.context-ribbon-top{
  margin-bottom: 10px;
}

.context-kicker{
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 207, 140, 0.14);
  color: #071a2f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.context-lead{
  margin-top: 8px;
  font-size: 15.75px;
  line-height: 1.6;
  color: #3A4A5C;
}

.context-ribbon-bottom{
  margin-top: 12px;
}
.context-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.context-chip{
  font-size: 13px;
  font-weight: 700;
}
/* Advisory hero — tighten bottom so ribbon overlap reads correctly */
.page-hero.parallax-hero {
  padding-bottom: 64px;
}
/* Tighten the transition from ribbon -> next section */
.content-section.alt { padding-bottom: 34px !important; }
.meed-section.meed-section { padding-top: 54px !important; } /* slightly tighter */
