/* =============================================================
   BFSI INDUSTRIES PAGE  –  page-bfsi-industries.php
   Figma: iKSh7ZAvz6Pfj62AInqDgq  node 2018:3765

   v3.1.0 — Rewritten to canonical industries pattern.
   Shared components (hero, credentials, dark intro, problem card,
   approach/service cards, proof, read-more) live in
   intone-design-system.css §14b. This file holds BFSI-only
   sections using the same spacing/typography conventions as
   page-healthcare-industries.css (the canonical reference).
   ============================================================= */


/* ── §6  WHY INTONE FOR BFSI — 4 cards + image panel ────────
   Mirrors hc-why-section: cards LEFT, gold image panel RIGHT. */
.bfsi-why-section {
    background: var(--ds-neutral-100, #fff);
    padding: 6.25rem 0;
}
.bfsi-why-section__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2.75rem;
    display: flex;
    flex-direction: column;
    gap: 5.375rem;
}
.bfsi-why-section__header {
    border-top: 1px solid #09101d;
    padding-top: 1.3125rem;
    display: flex;
    gap: 9.8125rem;
    align-items: baseline;
    flex-wrap: wrap;
}
.bfsi-why-section__title {
    font-family: var(--ds-font-heading);
    font-size: 2.375rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--ds-dark-900);
    white-space: nowrap;
}
.bfsi-why-section__sub {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--ds-dark-900);
}
.bfsi-why-section__layout {
    display: flex;
    gap: 1.875rem;
    align-items: stretch;
}
.bfsi-why-section__panel {
    flex: 0 0 406px;
    background: var(--ds-gold);
    overflow: hidden;
    position: relative;
    min-height: 753px;
}
.bfsi-why-section__panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.bfsi-why-cards {
    flex: 1 1 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.bfsi-why-card {
    background: var(--ds-light-200);
    padding: 2.75rem 1.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9375rem;
    min-height: 370px;
}
.bfsi-why-card__title {
    font-family: var(--ds-font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--ds-dark-900);
    line-height: 1.175;
    margin: 0;
}
.bfsi-why-card__body {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.175;
    color: #596068;
    margin: 0;
}


/* ── §8  TRUSTED BY — 10 segment chips (5 × 2) ─────────────
   Mirrors hc-trusted-section. */
.bfsi-trusted-section {
    background: #f3f5f8;
    border-top: 1px solid #d9dfe5;
    border-bottom: 1px solid #d9dfe5;
    padding: 6.25rem 0;
}
.bfsi-trusted-section__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2.75rem;
    display: flex;
    flex-direction: column;
    gap: 4.6875rem;
}
.bfsi-trusted-section__header {
    border-top: 1px solid #09101d;
    padding-top: 1.3125rem;
}
.bfsi-trusted-section__title {
    font-family: var(--ds-font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--ds-dark-900);
}
.bfsi-trusted-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: #d9dfe5;
    border: 1px solid #d9dfe5;
}
.bfsi-trusted-chip {
    background: var(--ds-neutral-100, #fff);
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 1rem;
    font-family: var(--ds-font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(77, 86, 96, 0.7);
}


/* ── §9  RELATED SERVICES — display heading + 3 white cards ──
   Mirrors hc-related-section. */
.bfsi-related-section {
    background: var(--ds-neutral-100, #fff);
    padding: 6.25rem 0;
}
.bfsi-related-section__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2.75rem;
    display: flex;
    flex-direction: column;
    gap: 4.25rem;
}
.bfsi-related-section__header {
    border-top: 1px solid #181818;
    padding-top: 1.0625rem;
}
.bfsi-related-section__title {
    font-family: var(--ds-font-heading);
    font-size: 2.375rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #181818;
}
.bfsi-related-section__display {
    font-family: var(--ds-font-heading);
    font-size: clamp(2rem, 4.7vw, 4.25rem);
    font-weight: 200;
    text-transform: uppercase;
    color: #000;
    line-height: 1.175;
    margin: 0;
}
.bfsi-related-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.bfsi-related-card {
    background: var(--ds-light-200);
    min-height: 297px;
    padding: 3.375rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.bfsi-related-card__title {
    font-family: var(--ds-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #09101d;
    margin: 0;
}
.bfsi-related-card__body {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.64;
    color: #596068;
    margin: 0;
}


/* ── §10  ARCH CTA — inset band + kicker + white bg-text ─────
   Mirrors hc-ready-kicker / hc-ready-alt. The shared .home-ready__arch
   is an unconditional white shape (intone-design-system.css) that the
   kicker/alt text and CTA button sit on top of — these were styled
   white/light as if for a dark arch, making them invisible. Flipped
   to dark, matching the BFSI Figma node's actual button/text fills. */
.intone-bfsi-page .home-ready {
    width: min(1352px, calc(100% - 5.5rem));
    margin-left: auto;
    margin-right: auto;
}
.bfsi-ready-kicker {
    font-family: var(--ds-font-heading);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #141414;
    margin: 0;
}
.intone-bfsi-page .home-ready__bg-text span {
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: 800;
}
/* Only force white when clip-text is absent (no bg image set) */
.intone-bfsi-page .home-ready__bg-text:not(.is-clip-text) span {
    color: var(--ds-neutral-100, #fff);
    -webkit-text-fill-color: var(--ds-neutral-100, #fff);
}
.bfsi-ready-alt {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(20, 20, 20, 0.6);
    margin: 0;
}
.intone-bfsi-page .home-ready .btn-cta-white {
    background: #141414;
    color: #fff;
}
.intone-bfsi-page .home-ready .btn-cta-white:hover {
    background: var(--ds-gold, #f6b43f);
    color: #000;
}


/* ── §11  FAQ — searchable accordion (border-line style) ─────
   Mirrors hc-faq-section exactly. */
.bfsi-faq-section {
    background: var(--ds-neutral-100, #fff);
    padding: 6.25rem 0;
}
.bfsi-faq-section__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2.75rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.bfsi-faq-section__header {
    border-top: 1px solid #181818;
    padding-top: 1.0625rem;
}
.bfsi-faq-section__title {
    font-family: var(--ds-font-heading);
    font-size: 2.375rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #181818;
    margin: 0;
}
.bfsi-faq-search {
    border-top: 1px solid #181818;
    padding-top: 1.0625rem;
    margin-top: 4rem;
}
.bfsi-faq-search__input {
    width: 100%;
    border: 1px solid #e6e6e6;
    border-radius: 0;
    background: var(--ds-neutral-100, #fff);
    padding: 0.5rem 0.875rem;
    font-family: var(--ds-font-body);
    font-size: 0.8125rem;
    color: #303030;
}
.bfsi-faq-list {
    display: flex;
    flex-direction: column;
}
.bfsi-faq-item {
    border-top: 1px solid #181818;
    padding: 1.25rem 0;
}
.bfsi-faq-list .bfsi-faq-item:last-child {
    border-bottom: 1px solid #181818;
}
.bfsi-faq-item__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-align: left;
    font-family: var(--ds-font-heading);
    font-size: 1rem;
    font-weight: 400;
    color: #303030;
}
.bfsi-faq-item__q span {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
}
.bfsi-faq-item__q:hover,
.bfsi-faq-item__q:focus {
    background: none;
    color: #000;
}
.bfsi-faq-item__chevron {
    flex-shrink: 0;
    transition: transform 0.2s;
}
.bfsi-faq-item.is-open .bfsi-faq-item__chevron {
    transform: rotate(180deg);
}
.bfsi-faq-item__a {
    padding-top: 0.875rem;
    max-width: 1269px;
}
.bfsi-faq-item:not(.is-open) .bfsi-faq-item__a {
    display: none;
}
.bfsi-faq-item__a p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #596068;
    margin: 0;
}
.bfsi-faq-empty {
    font-size: 1rem;
    color: #596068;
    margin: 0;
}


/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .bfsi-why-section__layout {
        flex-direction: column;
    }
    .bfsi-why-section__panel {
        flex: none;
        width: 100%;
        min-height: 320px;
    }
    .bfsi-why-section__panel img {
        position: static;
        height: 320px;
    }
    .bfsi-trusted-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .bfsi-related-cards {
        grid-template-columns: 1fr;
    }
    .bfsi-related-card {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .bfsi-why-section__inner,
    .bfsi-trusted-section__inner,
    .bfsi-related-section__inner,
    .bfsi-faq-section__inner {
        padding: 0 1.25rem;
        gap: 2.5rem;
    }
    .bfsi-why-cards {
        grid-template-columns: 1fr;
    }
    .bfsi-why-section__header {
        flex-direction: column;
        gap: 0.5rem;
    }
    .bfsi-trusted-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bfsi-trusted-chip {
        min-height: 64px;
    }
    .bfsi-faq-search {
        margin-top: 1rem;
    }
    .intone-bfsi-page .home-ready {
        width: calc(100% - 2.5rem);
    }
}
