/* ==========================================================
   AI for Advisory Services — page-specific styles
   ========================================================== */

/* ─── Hero context cards (right side of sub-hero) ─── */
.adv-hero-context { display: flex; flex-direction: column; gap: 12px; max-width: 380px; margin: 0 auto; }
.adv-hv-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.adv-hv-card.accent { border-color: rgba(230,30,40,.18); background: linear-gradient(135deg, #fef2f2, #fff7f8); }
.adv-hv-label {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--red);
  margin-bottom: 6px;
}
.adv-hv-text { font-size: 13px; color: var(--navy-soft); line-height: 1.55; }

/* ─── Initiative landscape (2×2 themes) ─── */
.adv-themes-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; max-width: 920px; margin: 0 auto;
}
.adv-theme-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
  position: relative; overflow: hidden;
  transition: all .35s var(--ease-out);
}
.adv-theme-card::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0;
  width: 3px; background: var(--theme-color, var(--red));
}
.adv-theme-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.adv-theme-num {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--theme-color, var(--red));
  letter-spacing: .06em; margin-bottom: 8px;
}
.adv-theme-card h3 {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  letter-spacing: -.01em; margin-bottom: 6px;
}
.adv-theme-card p { font-size: 12.5px; color: var(--slate); line-height: 1.55; margin-bottom: 10px; }
.adv-theme-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.adv-theme-tags span {
  padding: 2px 9px; background: var(--bg-alt); border-radius: 5px;
  font-size: 11px; font-weight: 500; color: var(--navy-soft);
}

@media (max-width: 720px) { .adv-themes-grid { grid-template-columns: 1fr; } }

.adv-observation {
  max-width: 720px; margin: 28px auto 0;
  padding: 14px 22px; background: var(--bg-alt);
  border-left: 3px solid var(--red); border-radius: 8px;
  font-size: 13px; color: var(--navy-soft); font-style: italic; line-height: 1.6;
}

/* ─── Case studies grid ─── */
.adv-cases-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.adv-case-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  position: relative; overflow: hidden;
  transition: all .35s var(--ease-out);
}
.adv-case-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--case-color, var(--red));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.adv-case-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.adv-case-card:hover::before { transform: scaleX(1); }

.adv-case-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  color: var(--case-color, var(--red));
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px;
}
.adv-case-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--case-color, var(--red)); }
.adv-case-card h4 {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  letter-spacing: -.01em; margin-bottom: 6px;
}
.adv-case-card p { font-size: 12.5px; color: var(--slate); line-height: 1.55; margin-bottom: 10px; }
.adv-case-credit { font-size: 11px; color: var(--muted); font-family: var(--font-mono); }

/* ─── 5 takeaway cards ─── */
.adv-takeaways {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 12px; max-width: 1100px; margin: 0 auto;
}
.adv-take-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 18px;
  transition: all .35s var(--ease-out);
}
.adv-take-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.adv-take-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 30px; color: var(--red); letter-spacing: -.03em;
  line-height: 1; margin-bottom: 10px; opacity: .85;
}
.adv-take-card h4 {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  margin-bottom: 5px; letter-spacing: -.01em;
}
.adv-take-card p { font-size: 11.5px; color: var(--slate); line-height: 1.55; }

@media (max-width: 1000px) { .adv-takeaways { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .adv-takeaways { grid-template-columns: 1fr; } }

/* ─── 3 advisory verticals ─── */
.adv-verticals {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; max-width: 1140px; margin: 0 auto;
}
.adv-vertical-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px 22px;
  position: relative; overflow: hidden;
  transition: all .35s var(--ease-out);
  display: flex; flex-direction: column;
}
.adv-vertical-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--vert-color, var(--red));
}
.adv-vertical-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.adv-vertical-num {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--vert-color, var(--red));
  letter-spacing: .08em; margin-bottom: 8px;
}
.adv-vertical-card h3 {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 8px;
}
.adv-vertical-prop { font-size: 13px; color: var(--slate); line-height: 1.6; margin-bottom: 16px; }

.adv-vertical-section {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 8px;
}
.adv-vertical-deliver {
  list-style: none; padding: 0; margin: 0 0 16px 0;
}
.adv-vertical-deliver li {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 6px 0; font-size: 12.5px; color: var(--navy-soft); line-height: 1.5;
  border-top: 1px solid var(--border-light);
}
.adv-vertical-deliver li:first-child { border-top: none; }
.adv-vertical-deliver li::before {
  content: '✓'; color: var(--vert-color, var(--red));
  font-weight: 700; flex-shrink: 0;
}
.adv-vertical-buyer {
  font-size: 12px; color: var(--navy-soft); padding: 10px 14px;
  background: var(--bg-alt); border-radius: 8px; margin-bottom: 14px;
}
.adv-vertical-buyer strong { color: var(--navy); font-weight: 700; }
.adv-vertical-evidence {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: var(--vert-color, var(--red));
  margin-top: auto;
}
.adv-vertical-evidence svg { width: 13px; height: 13px; transition: transform .3s var(--ease-spring); }
.adv-vertical-card:hover .adv-vertical-evidence svg { transform: translateX(3px); }

@media (max-width: 1000px) { .adv-verticals { grid-template-columns: 1fr; } }

/* ─── Workload-shift cross-link line ─── */
.cmp-crosslink {
  text-align: center; margin-top: 28px; font-size: 13px; color: var(--slate);
}
.cmp-crosslink a { color: var(--red); font-weight: 600; }
.cmp-crosslink a:hover { text-decoration: underline; }

/* ─── Agent Maturity Ladder ─── */
.maturity-ladder {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; max-width: 1080px; margin: 0 auto; position: relative;
}
.maturity-ladder::before {
  content: ''; position: absolute;
  top: 50px; left: 16%; right: 16%;
  height: 2px; background: var(--border); z-index: 0;
}
.ladder-rung {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 22px;
  position: relative; z-index: 1;
  transition: all .35s var(--ease-out);
}
.ladder-rung.active {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(230,30,40,.06);
}
.ladder-rung:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ladder-circle {
  width: 60px; height: 60px; border-radius: 50%;
  background: white; border: 2.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  color: var(--muted); margin: -50px auto 16px;
  position: relative; z-index: 2;
  transition: all .3s var(--ease-out);
}
.ladder-rung.active .ladder-circle {
  background: var(--red); border-color: var(--red); color: white; box-shadow: var(--shadow-red);
}
.ladder-rung h3 {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  letter-spacing: -.01em; margin-bottom: 4px; text-align: center;
}
.ladder-stage {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  color: var(--muted); letter-spacing: .2em; text-transform: uppercase;
  text-align: center; margin-bottom: 14px;
}
.ladder-rung.active .ladder-stage { color: var(--red); }
.ladder-row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; border-top: 1px solid var(--border-light);
  font-size: 12.5px; color: var(--navy-soft); line-height: 1.5;
}
.ladder-row:first-of-type { border-top: none; }
.ladder-row strong {
  display: inline-block; min-width: 92px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  color: var(--muted); letter-spacing: .2em; text-transform: uppercase;
  padding-top: 2px;
}

.ladder-tagline {
  max-width: 720px; margin: 28px auto 0;
  text-align: center; font-size: 13.5px; color: var(--navy-soft);
  line-height: 1.6; font-style: italic;
}

@media (max-width: 1000px) {
  .maturity-ladder { grid-template-columns: 1fr; gap: 36px; }
  .maturity-ladder::before { display: none; }
  .ladder-circle { margin-top: -24px; }
}

/* ─── Commercial pathway (4 stages) ─── */
.adv-pathway {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; max-width: 1140px; margin: 0 auto;
  align-items: stretch;
}
.path-stage {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 18px;
  position: relative;
  transition: all .35s var(--ease-out);
  display: flex; flex-direction: column;
}
.path-stage:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.path-stage-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 22px; color: var(--red); letter-spacing: -.03em;
  line-height: 1; margin-bottom: 8px;
}
.path-stage h4 {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  letter-spacing: -.01em; margin-bottom: 6px;
}
.path-stage-def { font-size: 12px; color: var(--slate); line-height: 1.55; margin-bottom: 14px; }

.path-stage-meta {
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.path-stage-meta-row {
  font-size: 11px; color: var(--navy-soft); line-height: 1.5;
  padding: 5px 0;
}
.path-stage-meta-row strong {
  display: block; font-family: var(--font-mono); font-size: 9px;
  font-weight: 700; color: var(--muted); letter-spacing: .2em;
  text-transform: uppercase; margin-bottom: 2px;
}

.path-arrow {
  display: none;
  position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
  color: var(--muted); z-index: 2;
}

@media (max-width: 1000px) { .adv-pathway { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .adv-pathway { grid-template-columns: 1fr; } }

/* ─── 90-day plan (3 columns) ─── */
.adv-plan-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; max-width: 1080px; margin: 0 auto;
}
.plan-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 22px;
  transition: all .35s var(--ease-out); position: relative; overflow: hidden;
}
.plan-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--plan-color, var(--red));
}
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.plan-window {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--plan-color, var(--red));
  letter-spacing: .08em; margin-bottom: 4px;
}
.plan-card h3 {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  letter-spacing: -.01em; margin-bottom: 14px;
}
.plan-list { list-style: none; padding: 0; margin: 0; }
.plan-list li {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 9px 0; font-size: 12.5px; color: var(--navy-soft); line-height: 1.5;
  border-top: 1px solid var(--border-light);
}
.plan-list li:first-child { border-top: none; }
.plan-list li::before {
  content: ''; width: 14px; height: 14px;
  border: 1.5px solid var(--plan-color, var(--red));
  border-radius: 4px; flex-shrink: 0; margin-top: 2px;
}

@media (max-width: 880px) { .adv-plan-grid { grid-template-columns: 1fr; } }

/* ─── Enablers / Guardrails 2-column ─── */
.adv-eg-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 1080px; margin: 0 auto;
}
.eg-col h3 {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  letter-spacing: -.01em; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.eg-col-icon {
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}
.eg-col-icon svg { width: 14px; height: 14px; }
.eg-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.eg-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 16px;
  transition: all .25s;
}
.eg-card:hover { box-shadow: var(--shadow-sm); border-color: var(--eg-color, var(--red)); }
.eg-card h4 {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  margin-bottom: 4px; color: var(--eg-color, var(--red));
}
.eg-card p { font-size: 11.5px; color: var(--slate); line-height: 1.5; }

@media (max-width: 880px) { .adv-eg-grid { grid-template-columns: 1fr; } .eg-cards { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .ladder-circle,
  .eg-card { transition: none !important; }
  .adv-theme-card,
  .adv-theme-card:hover,
  .adv-case-card,
  .adv-case-card:hover,
  .adv-case-card::before,
  .adv-case-card:hover::before,
  .adv-take-card,
  .adv-take-card:hover,
  .adv-vertical-card,
  .adv-vertical-card:hover,
  .adv-vertical-evidence svg,
  .adv-vertical-card:hover .adv-vertical-evidence svg,
  .ladder-rung,
  .ladder-rung:hover,
  .path-stage,
  .path-stage:hover,
  .plan-card,
  .plan-card:hover { transition: none !important; transform: none !important; }
}
