/* =====================================================================
   Industry Single (template-industry-single.php)
   Ported from the "new home v3/industries/bfsi" design. Loaded after
   home-v3.css and scoped under .hv3: tokens, the hero title, buttons,
   chips, tags, the logo slider (.marquee), FAQ (.v3-faq) and the final
   CTA card (.ccard / .cform) come from there.
   ===================================================================== */

.hv3 .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hv3 .sec-cta { display: flex; justify-content: center; margin-top: 40px; }
.hv3 .tag--red { background: var(--red-bg); color: var(--red); }

/* =====================================================================
   1. HERO
   ===================================================================== */
.hv3 .dhero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hv3 .dhero__glow { position: absolute; inset: 0 0 auto 0; height: 640px; background:
	radial-gradient(50% 60% at 82% 0%, var(--sky-30), transparent 70%),
	radial-gradient(34% 44% at 8% 12%, rgba(139,92,246,.12), transparent 70%); pointer-events: none; z-index: 0; }
.hv3 .dhero .container { position: relative; z-index: 1; }
.hv3 .dhero__copy { max-width: 780px; margin: 0 auto; text-align: center; }
.hv3 .dhero__copy .chip { margin-bottom: 18px; }
.hv3 .dhero__copy > p { font-size: 17px; max-width: 620px; margin: 20px auto 26px; }
.hv3 .dhero__copy > p a { color: var(--blue); text-decoration: underline; }
.hv3 .dhero__copy .v3-hero__cta { justify-content: center; }
.hv3 .dhero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 26px; }
.hv3 .dhero__trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--text); }
.hv3 .dhero__trust .ic { font-size: 14px; color: var(--green); }

/* =====================================================================
   2. WHY IT MATTERS
   ===================================================================== */
.hv3 .why { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hv3 .why .section__head--split > div { flex-shrink: 0; }
.hv3 .why .section__head p { max-width: 520px; font-size: 17px; }
.hv3 .wgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hv3 .wcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px 24px 26px; transition: opacity .8s ease-in-out, transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.hv3 .wcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.hv3 .wcard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 34px; }
.hv3 .wcard__ic { width: 40px; height: 40px; border-radius: 11px; background: var(--surface-2); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hv3 .wcard__ic .ic { font-size: 19px; stroke-width: 1.9; }
.hv3 .wcard__ic img { width: 100px; height: 100px; object-fit: contain; }
.hv3 .wcard h3 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; margin-bottom: 8px; }
.hv3 .wcard p { font-size: 14.5px; line-height: 1.55; }

/* =====================================================================
   3. CHALLENGES
   ===================================================================== */
.hv3 .chal__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.hv3 .chal__intro { position: sticky; top: 100px; }
.hv3 .chal__intro p { margin: 18px 0 26px; font-size: 16px; max-width: 400px; }
.hv3 .chal__list li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; }
.hv3 .chal__list li:last-child { margin-bottom: 0; }
.hv3 .chal__list li:hover { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.hv3 .chal__n { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--blue); padding-top: 3px; }
.hv3 .chal__list h3 { font-size: 16.5px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; line-height: 1.35; margin-bottom: 6px; }
.hv3 .chal__list p { font-size: 14.5px; line-height: 1.6; }

/* =====================================================================
   4. CHALLENGE → SOLUTION TABLE
   ===================================================================== */
.hv3 .sol { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hv3 .sol + .clients { padding-top: 72px; }
.hv3 .sol__table { border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: #fff; }
.hv3 .sol__head, .hv3 .srow { display: grid; grid-template-columns: 1fr 32px 1.15fr; align-items: center; gap: 24px; padding: 20px 26px; }
.hv3 .sol__head { padding-top: 13px; padding-bottom: 13px; background: var(--surface); border-bottom: 1px solid var(--line); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hv3 .srow { border-bottom: 1px solid var(--line-2); transition: background .2s; }
.hv3 .srow:last-child { border-bottom: 0; }
.hv3 .srow:hover { background: var(--surface); }
.hv3 .srow__c { display: flex; align-items: flex-start; gap: 12px; }
.hv3 .srow__c .ic { font-size: 16px; margin-top: 4px; color: var(--amber); }
.hv3 .srow__c p { font-size: 15px; line-height: 1.5; color: var(--slate-700); }
.hv3 .srow__ar { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.hv3 .srow__ar .ic { font-size: 15px; }
.hv3 .srow:hover .srow__ar { background: var(--blue); color: #fff; }
.hv3 .srow__s .tag { margin-bottom: 7px; }
.hv3 .srow__s p { font-size: 15px; line-height: 1.5; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
	.hv3 .wgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.hv3 .dhero { padding: 48px 0 72px; }
	.hv3 .why .section__head p { max-width: 640px; }
	.hv3 .chal__grid { grid-template-columns: 1fr; gap: 36px; }
	.hv3 .chal__intro { position: static; }
	.hv3 .chal__intro p { max-width: none; }
	.hv3 .sol__head, .hv3 .srow { gap: 16px; padding-left: 20px; padding-right: 20px; }
	.hv3 .sec-cta { margin-top: 32px; }
}
/* table → stacked rows: challenge on top, solution underneath */
@media (max-width: 760px) {
	.hv3 .sol__head { display: none; }
	.hv3 .srow { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
	.hv3 .srow__ar { transform: rotate(90deg); margin-left: 28px; }
}
@media (max-width: 640px) {
	.hv3 .dhero { padding-bottom: 56px; }
	.hv3 .dhero__copy > p { font-size: 16px; }
	.hv3 .dhero__trust { flex-direction: column; align-items: center; }
	.hv3 .wgrid { grid-template-columns: 1fr; }
	.hv3 .wcard { padding: 22px; }
	.hv3 .wcard__top { margin-bottom: 26px; }
	.hv3 .sec-cta { margin-top: 28px; }
	.hv3 .sec-cta .btn, .hv3 .chal__intro .btn { width: 100%; }
	.hv3 .chal__list li { padding: 18px; gap: 14px; }
}