/* ─────────────────────────────────────────────────────────
   Delve Risk — detail.css  (solution and industry detail pages)
   Loaded after global.css on pages in /solutions/ and /industries/.
───────────────────────────────────────────────────────── */

/* ─── HERO ─── */
.sol-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 150px 24px 120px; text-align: center; overflow: hidden; }
.sol-hero-media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.sol-hero-media .ph { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; border: none; border-radius: 0; align-items: flex-end; justify-content: flex-end; }
.sol-hero-media .ph-note { position: relative; z-index: 3; text-align: right; max-width: 400px; padding: 28px; }
.sol-hero--parallax .sol-hero-media { will-change: transform; transform-origin: 50% 0; }
.sol-hero--parallax .sol-hero-inner { will-change: transform; }
.sol-hero-video { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.sol-hero-shade { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at center, rgba(6,19,24,.35) 0%, rgba(6,19,24,.82) 72%, var(--blue-deep) 100%); }
/* busier footage: a deeper overlay and a stronger halo behind the text */
.sol-hero--dim .sol-hero-shade { background: radial-gradient(ellipse at center, rgba(6,19,24,.62) 0%, rgba(6,19,24,.9) 78%, var(--blue-deep) 100%); }
.sol-hero--dim .sol-hero-inner::before { top: -150px; right: -320px; bottom: -240px; left: -320px; background: radial-gradient(closest-side, rgba(0,0,0,.95) 0%, rgba(0,0,0,.86) 35%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.2) 85%, transparent 100%); }
.sol-hero-inner { position: relative; z-index: 2; max-width: 820px; }
/* dark radial halo behind the text, same recipe as the homepage hero */
.sol-hero-inner::before { content: ''; position: absolute; top: -80px; right: -200px; bottom: -160px; left: -200px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.9) 0%, rgba(0,0,0,.62) 35%, transparent 70%); }
.sol-hero h1 { font-size: clamp(34px, 5.6vw, 68px); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05; margin-bottom: 22px; }
.sol-hero p { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.86); max-width: 640px; margin: 0 auto 34px; }

/* ─── INTRO ─── */
.sol-intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.sol-intro-lead { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; line-height: 1.5; color: var(--white); margin-bottom: 22px; }
.sol-intro-copy .section-body { font-size: 17px; }
@media (max-width: 960px) { .sol-intro-grid { grid-template-columns: 1fr; gap: 44px; } }

/* ─── OUR SOLUTIONS: three cards with imagery ─── */
.sol-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sol-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: border-color .25s, background .25s, transform .25s; }
.sol-card:hover { border-color: var(--border-hover); background-color: var(--surface-hover); transform: translateY(-4px) perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.sol-card .ph, .sol-card .photo { border-radius: 0; border: none; border-bottom: 1px dashed rgba(249,169,67,.4); }
.sol-card .photo { border-bottom-style: solid; border-bottom-color: var(--border); }
.sol-card-body { padding: 26px 28px 30px; }
.sol-card-num { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--yellow-light); margin-bottom: 12px; }
.sol-card h3 { font-size: 17px; margin-bottom: 10px; }
.sol-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
@media (max-width: 1000px) { .sol-card-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ─── KEY BENEFITS ─── */
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.benefit { display: flex; gap: 20px; align-items: flex-start; padding: 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: border-color .25s, background .25s; }
.benefit:hover { border-color: var(--border-hover); background-color: var(--surface-hover); }
.benefit-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: rgba(249,169,67,.12); color: var(--yellow-light); display: flex; align-items: center; justify-content: center; }
.benefit-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px; }
.benefit p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
@media (max-width: 900px) { .benefit-grid { grid-template-columns: 1fr; } }

/* ─── CLOSER (quote + CTA) ─── */
.sol-closer { position: relative; overflow: hidden; text-align: center; padding: 110px 0; }
.sol-closer::before { content: ''; position: absolute; top: 50%; left: 50%; width: 760px; height: 760px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(249,169,67,.12), transparent 68%); pointer-events: none; }
.sol-closer .container { position: relative; z-index: 1; }

/* ─── THREE-UP PILLARS (stacked icon + text) ─── */
.benefit-grid--three { grid-template-columns: repeat(3, 1fr); margin-top: 56px; }
.benefit-grid--flush { margin-top: 0; }
.benefit--stack { flex-direction: column; gap: 16px; }
@media (max-width: 900px) { .benefit-grid--three { grid-template-columns: 1fr; } }

/* ─── SPLIT: heading above, then an image whose height matches a stacked list ─── */
.sol-split-head { max-width: 680px; margin-bottom: 44px; }
.sol-split-head .section-title { text-align: left; }
.sol-split-head .section-body { margin-bottom: 0; }
.sol-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: stretch; }
.sol-split > div:first-child { display: flex; }
.sol-split .ph, .sol-split .photo { height: 100%; min-height: 320px; aspect-ratio: auto; }
/* the picture fills the slot but never sets its height, so the list beside it decides the row */
.sol-split .photo { position: relative; }
.sol-split .photo img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.benefit-list { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 960px) { .sol-split { grid-template-columns: 1fr; gap: 32px; } .sol-split .ph, .sol-split .photo { aspect-ratio: 4 / 3; height: auto; min-height: 0; } }

/* ─── TWO-UP IMAGE CARDS ─── */
.sol-card-grid--two { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
.sol-card-grid--flush { margin-top: 0; }
@media (max-width: 1000px) { .sol-card-grid--two { grid-template-columns: 1fr; } }

/* ─── LIFECYCLE: numbered phases ─── */
.phase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.phase { position: relative; padding: 34px 30px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: border-color .25s, background-color .25s, transform .25s; }
.phase:hover { border-color: var(--border-hover); background-color: var(--surface-hover); transform: translateY(-3px) perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.phase-num { font-size: 44px; font-weight: 800; line-height: 1; color: var(--yellow-light); margin-bottom: 18px; }
.phase h3 { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 10px; }
.phase p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.phase:not(:last-child)::after { content: ''; position: absolute; top: 56px; right: -24px; width: 24px; height: 1px; background: rgba(249,169,67,.45); }
@media (max-width: 900px) { .phase-grid { grid-template-columns: 1fr; } .phase:not(:last-child)::after { display: none; } }

/* ─── FRAMEWORK CHIPS ─── */
.framework-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 880px; margin: 0 auto; }
.fw-chip { display: inline-flex; align-items: center; padding: 11px 22px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-hover); font-size: 13px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.88); transition: border-color .2s, background .2s, transform .2s; }
.fw-chip:hover { background: var(--surface-hover); border-color: rgba(249,169,67,.5); transform: translateY(-2px); }
.fw-chip--more { color: var(--yellow-light); border-color: rgba(249,169,67,.4); background: rgba(249,169,67,.08); }
.fw-stat { font-variant-numeric: tabular-nums; text-align: center; font-size: clamp(56px, 8vw, 96px); font-weight: 800; line-height: 1; color: var(--yellow-light); margin-bottom: 8px; }

/* ─── NUMBERED BENEFIT TILE (01, 02 …) ─── */
.benefit-icon--num { font-size: 15px; font-weight: 800; letter-spacing: .04em; }

/* ─── PULL STAT (big number + one line) ─── */
.sol-pull { display: flex; align-items: center; gap: 22px; margin-top: 28px; padding: 22px 26px; border-radius: 18px; background: rgba(249,169,67,.06); border: 1px solid rgba(249,169,67,.25); }
.sol-pull-num { flex-shrink: 0; min-width: 110px; font-size: 52px; font-weight: 800; line-height: 1; color: var(--yellow-light); font-variant-numeric: tabular-nums; }
.sol-pull-text { font-size: 15px; font-weight: 500; line-height: 1.55; color: rgba(255,255,255,.88); }
@media (max-width: 520px) { .sol-pull { flex-direction: column; align-items: flex-start; gap: 10px; } }
