:root {
    --green-900: #06391e;
    --green-800: #0b522b;
    --green-700: #11753d;
    --green-100: #eaf6ee;
    --deep-green-950: #041f13;
    --deep-green-900: #06391e;
    --deep-green-800: #0b522b;
    --soft-green-50: #f2f7f0;
    --amber-50: #fbf7ea;
    --gold: #c8a33b;
    --ink: #17211b;
    --muted: #62706a;
    --line: #dfe8e2;
    --surface: #ffffff;
    --soft: #f7faf5;
    --shadow: 0 18px 45px rgba(6, 57, 30, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
    text-wrap: pretty;
}

strong,
b {
    font-weight: 900;
}

em,
mark {
    display: inline;
    padding: 0.05em 0.25em;
    border-radius: 4px;
    color: var(--deep-green-950);
    background: rgba(200, 163, 59, 0.26);
    font-style: normal;
    font-weight: 900;
}

a {
    color: var(--green-700);
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px clamp(18px, 4vw, 56px);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--deep-green-950);
    min-width: 0;
}

.brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 1.05rem;
}

.brand small {
    color: var(--muted);
    font-size: 0.78rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a,
.nav-group > a {
    color: var(--ink);
    font-weight: 700;
    padding: 10px 13px;
    border-radius: 6px;
}

.main-nav a:hover,
.main-nav a.is-active,
.nav-group > a.is-active {
    background: var(--soft-green-50);
    color: var(--deep-green-900);
}

.nav-group {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 230px;
    display: none;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-group:hover .dropdown,
.nav-group:focus-within .dropdown {
    display: block;
}

.main-nav .nav-cta,
.button.primary {
    background: var(--deep-green-900);
    color: #fff;
    border: 1px solid var(--deep-green-900);
}

.main-nav .nav-cta:hover,
.button.primary:hover {
    background: var(--green-800);
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--green-900);
}

.bank-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: clamp(42px, 6vw, 84px) clamp(18px, 5vw, 72px);
    background:
        linear-gradient(135deg, rgba(242, 247, 240, 0.94), rgba(255, 255, 255, 0.98)),
        linear-gradient(90deg, rgba(200, 163, 59, 0.12), transparent);
}

.bank-hero__content {
    display: grid;
    align-content: center;
    gap: 18px;
    max-width: 690px;
}

.bank-hero h1 {
    margin: 0;
    color: var(--deep-green-950);
    font-size: clamp(2.3rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: 0;
}

.bank-hero__content > p:not(.eyebrow) {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    line-height: 1.7;
}

.bank-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.bank-hero__media {
    position: relative;
    min-height: clamp(320px, 41vw, 520px);
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(6, 57, 30, 0.12);
    border-radius: 8px;
    background: var(--soft-green-50);
    box-shadow: 0 24px 70px rgba(6, 57, 30, 0.14);
}

.bank-hero__media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.bank-hero__media figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 3px;
    max-width: 310px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    color: var(--deep-green-950);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 44px rgba(6, 57, 30, 0.18);
    backdrop-filter: blur(16px);
}

.bank-hero__media strong {
    font-size: 1.45rem;
    line-height: 1;
}

.bank-hero__media span {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0 clamp(18px, 5vw, 72px);
    overflow: hidden;
    border: 1px solid rgba(6, 57, 30, 0.1);
    border-radius: 8px;
    background: rgba(6, 57, 30, 0.1);
    transform: translateY(-22px);
}

.trust-strip article {
    display: grid;
    gap: 5px;
    min-height: 112px;
    padding: 22px;
    background: #fff;
}

.trust-strip strong {
    color: var(--green-900);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    line-height: 1;
}

.trust-strip span {
    color: var(--muted);
    font-weight: 700;
    line-height: 1.45;
}

.landing-section {
    padding: clamp(42px, 6vw, 86px) clamp(18px, 5vw, 72px);
}

.landing-heading {
    display: grid;
    gap: 10px;
    max-width: 720px;
    margin-bottom: 24px;
}

.modern-hero {
    position: relative;
    min-height: clamp(430px, 52vh, 560px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 0.24fr);
    grid-template-rows: auto 1fr;
    gap: clamp(22px, 4vw, 54px);
    align-items: start;
    overflow: hidden;
    padding: clamp(22px, 3.4vw, 38px) clamp(18px, 5vw, 72px) clamp(28px, 4vw, 50px);
    color: var(--deep-green-950);
    background: #eaf7ec;
}

.modern-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(246, 252, 245, 0.98) 0%, rgba(244, 252, 243, 0.92) 44%, rgba(244, 252, 243, 0.34) 72%, rgba(244, 252, 243, 0.12) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(197, 229, 199, 0.42));
}

.modern-hero__copy {
    position: relative;
    z-index: 3;
    display: grid;
    grid-column: 1;
    gap: 16px;
    width: min(100%, 980px);
}

.modern-hero__copy .eyebrow {
    margin-bottom: 0;
    color: var(--deep-green-950);
    background: rgba(255, 221, 142, 0.64);
    border-color: rgba(176, 129, 24, 0.28);
}

.home-banner__masthead {
    position: relative;
    z-index: 3;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 0.5fr);
    gap: clamp(6px, 1.2vw, 18px);
    align-items: center;
    padding-bottom: clamp(16px, 2vw, 24px);
    border-bottom: 1px solid rgba(6, 57, 30, 0.18);
}

.home-banner__seal img {
    width: clamp(36px, 6vw, 86px);
    height: clamp(36px, 6vw, 86px);
    object-fit: contain;
    filter: drop-shadow(0 12px 16px rgba(6, 57, 30, 0.18));
}

.home-banner__identity {
    min-width: 0;
    container-type: inline-size;
}

.home-banner__masthead h1 {
    margin: 0;
    color: var(--deep-green-950);
    font-size: clamp(0.85rem, 4.1cqw, 2.25rem);
    line-height: 1.15;
    text-transform: uppercase;
    white-space: normal;
}

.home-banner__masthead p {
    margin: 0;
    color: var(--green-800);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(0.55rem, 2cqw, 1rem);
    font-style: italic;
    font-weight: 700;
    line-height: 1.2;
}

.home-banner__regulators {
    position: relative;
    isolation: isolate;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 84px));
    align-items: center;
    justify-content: end;
    gap: clamp(3px, 0.6vw, 8px);
}

.home-banner__regulators::before {
    content: "";
    position: absolute;
    inset: -6px -8px;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse, #fff 0%, rgba(246, 252, 245, 0.94) 45%, rgba(246, 252, 245, 0) 75%);
}

.home-banner__regulators a {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-banner__regulators img {
    width: 100%;
    height: clamp(30px, 5vw, 64px);
    max-width: 84px;
    max-height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(6, 57, 30, 0.14));
}

.home-banner__copy {
    isolation: isolate;
}

.home-banner__copy::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("../images/golden-52-anniversary-emblem.png") center / contain no-repeat;
    opacity: 0.18;
    pointer-events: none;
}

.home-banner__copy h2 {
    margin: 0;
    color: var(--deep-green-950);
    font-size: clamp(1.9rem, 3.8vw, 4.35rem);
    line-height: 0.96;
    text-transform: uppercase;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.7);
}

.home-banner__products {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.68fr) minmax(0, 0.68fr);
    gap: clamp(12px, 1.5vw, 18px);
    width: min(100%, 980px);
}

.home-banner__products article {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 158px;
    padding: clamp(13px, 1.6vw, 18px);
    border: 1px solid rgba(6, 57, 30, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 18px 44px rgba(6, 57, 30, 0.12);
}

.home-banner__products h3 {
    margin: 0;
    color: var(--deep-green-950);
    font-size: clamp(1.25rem, 2vw, 2rem);
    line-height: 1;
}

.home-banner__products strong {
    color: var(--green-800);
    font-size: 0.95rem;
    line-height: 1.3;
}

.home-banner__products ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding-left: 20px;
    color: var(--deep-green-950);
    font-size: clamp(0.88rem, 0.98vw, 1rem);
    font-weight: 800;
    line-height: 1.28;
}

.home-banner__products li::marker {
    color: var(--green-700);
}

.home-banner__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
}

.modern-hero__visual {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.modern-hero__visual > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.66;
    filter: saturate(0.62) contrast(0.94) brightness(1.04);
}

.home-banner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.48fr);
}

.home-banner::after {
    pointer-events: none;
    background:
        linear-gradient(90deg, #f6fcf5 0%, rgba(244, 252, 243, 0.98) 36%, rgba(244, 252, 243, 0.9) 50%, rgba(244, 252, 243, 0.45) 62%, transparent 76%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.8) 22%, transparent 40%);
}

.home-banner .modern-hero__visual {
    left: 0;
}

.home-banner .modern-hero__visual > img {
    position: absolute;
    top: 24px;
    right: 0;
    width: auto;
    max-width: none;
    height: calc(100% - 24px);
    object-fit: contain;
    object-position: right center;
    opacity: 1;
    filter: none;
}

.home-pdic-strip {
    padding: 0;
    background: #fff;
    border-bottom: 1px solid rgba(6, 57, 30, 0.1);
}

.home-pdic-strip a {
    display: block;
    overflow: hidden;
    width: 100%;
    background: #fff;
}

.home-pdic-strip img {
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    image-rendering: auto;
}

.modern-hero__badges {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.2vw, 30px);
    width: min(100%, 760px);
    justify-self: end;
}

.modern-hero__badges a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(158px, 15vw, 230px);
    min-width: 0;
    padding: 0;
    transition: transform 160ms ease, filter 160ms ease;
}

.modern-hero__badges a:hover {
    transform: translateY(-3px);
    filter: brightness(1.04);
}

.modern-hero__badges img {
    width: auto;
    max-width: 100%;
    max-height: clamp(138px, 14vw, 196px);
    object-fit: contain;
    filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.35));
}

.visual-products {
    padding-top: clamp(46px, 6vw, 82px);
    background: linear-gradient(180deg, #fff, #f5faf7);
}

.visual-products__heading {
    max-width: 840px;
}

.visual-products__heading p:not(.eyebrow) {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
}

.product-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.product-category-card {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: clamp(18px, 2.4vw, 24px);
    border: 1px solid rgba(6, 57, 30, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 52px rgba(6, 57, 30, 0.12);
}

.product-category-card__heading {
    display: grid;
    gap: 8px;
}

.product-category-card__heading span {
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--deep-green-950);
    background: #ffead9;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.product-category-card:nth-child(2) .product-category-card__heading span {
    background: #eef4c7;
}

.product-category-card:nth-child(3) .product-category-card__heading span {
    background: #dff7ff;
}

.product-category-card h3 {
    margin: 0;
    color: var(--deep-green-950);
    font-size: clamp(1.28rem, 1.9vw, 1.7rem);
    line-height: 1.12;
}

.product-mini-list {
    display: grid;
    gap: 10px;
}

.product-mini {
    display: grid;
    align-items: center;
    min-height: 54px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--deep-green-950);
    background: var(--soft-green-50);
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.product-mini:hover {
    border-color: rgba(17, 117, 61, 0.36);
    background: #fff;
    transform: translateY(-2px);
}

.product-mini strong {
    color: var(--deep-green-950);
    font-size: 0.96rem;
    line-height: 1.25;
}

.modern-pathway {
    background:
        linear-gradient(135deg, rgba(255, 234, 217, 0.76), rgba(245, 250, 247, 0.96)),
        #f5faf7;
}

.modern-about-bank {
    display: grid;
    grid-template-columns: minmax(280px, 0.74fr) minmax(320px, 0.86fr);
    gap: clamp(28px, 5vw, 68px);
    align-items: center;
    background: #fff;
}

.modern-about-bank > div {
    display: grid;
    gap: 16px;
}

.modern-about-bank h2 {
    margin: 0;
    color: var(--deep-green-950);
    font-size: clamp(1.9rem, 3.2vw, 3.2rem);
    line-height: 1.08;
}

.modern-about-bank p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.modern-about-bank__photo {
    min-height: clamp(270px, 34vw, 430px);
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--soft-green-50);
    box-shadow: 0 20px 54px rgba(6, 57, 30, 0.13);
}

.modern-about-bank__photo img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
}

.modern-cta {
    background:
        linear-gradient(90deg, rgba(4, 31, 19, 0.96), rgba(6, 57, 30, 0.62)),
        url("../images/brbci-city-hero.png") center / cover;
}

.landing-heading h2,
.product-pathway__panel h2,
.about-bank h2,
.landing-cta h2 {
    margin: 0;
    color: var(--deep-green-950);
    font-size: clamp(1.8rem, 3.2vw, 3.2rem);
    line-height: 1.08;
}

.service-overview {
    padding-top: clamp(20px, 3vw, 42px);
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.service-card-grid a {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 210px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 14px 38px rgba(6, 57, 30, 0.07);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-card-grid a:hover {
    border-color: rgba(17, 117, 61, 0.36);
    box-shadow: 0 20px 52px rgba(6, 57, 30, 0.12);
    transform: translateY(-2px);
}

.service-card-grid span,
.value-list span {
    width: fit-content;
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--green-800);
    background: var(--green-100);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.service-card-grid strong {
    color: var(--deep-green-950);
    font-size: 1.15rem;
    line-height: 1.2;
}

.service-card-grid small {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.product-pathway {
    display: grid;
    grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
    gap: clamp(18px, 4vw, 48px);
    align-items: start;
    background: var(--soft);
}

.product-pathway__panel {
    position: sticky;
    top: 98px;
    display: grid;
    gap: 12px;
}

.product-pathway__panel p:last-child,
.about-bank p,
.landing-cta p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.product-pathway__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.product-pathway__cards article {
    display: grid;
    gap: 16px;
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.product-pathway__cards h3 {
    margin: 0;
    color: var(--deep-green-950);
    font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.product-pathway__cards p {
    margin: 0;
    color: var(--muted);
}

.product-pathway__cards ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-pathway__cards li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.product-pathway__cards li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.product-pathway__cards li strong {
    color: var(--green-800);
    white-space: nowrap;
}

.product-pathway .loan-picker {
    grid-template-columns: 1fr;
    margin-top: 0;
}

.about-bank {
    display: grid;
    grid-template-columns: minmax(280px, 0.88fr) minmax(0, 0.8fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
}

.about-bank figure {
    min-height: clamp(260px, 34vw, 430px);
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.about-bank figure img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.about-bank > div {
    display: grid;
    gap: 16px;
}

.value-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.compliance-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 clamp(18px, 5vw, 72px) clamp(42px, 6vw, 80px);
    padding: 16px;
    border: 1px solid rgba(6, 57, 30, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(6, 57, 30, 0.08);
}

.compliance-strip a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--deep-green-950);
    font-weight: 800;
}

.compliance-strip img {
    max-height: 72px;
    width: auto;
    object-fit: contain;
}

.compliance-strip a:first-child img {
    max-height: 86px;
}

.compliance-strip .pdic-bank-banner img {
    width: min(100%, 520px);
    max-height: 118px;
}

.compliance-strip span {
    max-width: 430px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.landing-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(34px, 5vw, 68px) clamp(18px, 5vw, 72px);
    color: #fff;
    background:
        linear-gradient(90deg, rgba(4, 31, 19, 0.96), rgba(6, 57, 30, 0.82)),
        url("../images/brbci-philippines-hero.png") center / cover;
}

.landing-cta .eyebrow {
    color: #fff;
    background: rgba(200, 163, 59, 0.28);
    border-color: rgba(255, 255, 255, 0.28);
}

.landing-cta h2 {
    max-width: 780px;
    color: #fff;
}

.landing-cta p {
    color: rgba(255, 255, 255, 0.78);
}

.hero {
    position: relative;
    min-height: 620px;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: #fff;
}

.hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 31, 19, 0.94), rgba(6, 57, 30, 0.68) 48%, rgba(4, 31, 19, 0.16)),
        linear-gradient(180deg, rgba(4, 31, 19, 0.08), rgba(4, 31, 19, 0.72));
}

.hero-copy {
    position: relative;
    z-index: 1;
    align-self: start;
    display: grid;
    gap: 16px;
    width: 100%;
    max-width: none;
    padding: 68px clamp(16px, 3.5vw, 48px) 170px;
}

.hero-panel {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0 clamp(18px, 5vw, 72px) 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
}

.hero-panel a {
    display: grid;
    gap: 4px;
    min-height: 118px;
    padding: 22px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    transition: background 160ms ease, transform 160ms ease;
}

.hero-panel a:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.hero-panel strong {
    font-size: 1.05rem;
}

.hero-panel span {
    color: rgba(255, 255, 255, 0.78);
}

.hero h1,
.page-hero h1 {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 3.15rem);
    line-height: 1.02;
    letter-spacing: 0;
    font-weight: 900;
}

.hero h1 {
    max-width: 1020px;
    font-size: clamp(2.7rem, 6.4vw, 5.35rem);
}

.hero p {
    max-width: 600px;
    margin: 0;
    font-size: clamp(1.02rem, 1.3vw, 1.18rem);
    line-height: 1.65;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 14px;
    padding: 7px 11px;
    border: 1px solid rgba(200, 163, 59, 0.46);
    border-radius: 999px;
    color: var(--green-900);
    background: rgba(200, 163, 59, 0.2);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.78rem;
    line-height: 1;
}

.hero .eyebrow,
.page-hero .eyebrow,
.split-band .eyebrow {
    color: #fff;
    background: rgba(200, 163, 59, 0.3);
    border-color: rgba(255, 255, 255, 0.34);
}

.hero-stats {
    position: absolute;
    left: clamp(16px, 3.5vw, 48px);
    right: clamp(16px, 3.5vw, 48px);
    bottom: 44px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    width: min(calc(100% - clamp(32px, 7vw, 96px)), 790px);
    margin-top: 0;
    overflow: hidden;
    border: 1px solid rgba(17, 117, 61, 0.18);
    border-radius: 8px;
    background: #fff;
    backdrop-filter: blur(14px);
}

.hero-stats span {
    display: grid;
    align-content: center;
    gap: 4px;
    min-height: 74px;
    padding: 12px 14px;
    color: var(--green-700);
    background: #fff;
    font-size: 0.92rem;
}

.hero-stats strong {
    color: var(--green-900);
    font-size: 1.45rem;
    line-height: 1;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-copy .actions {
    margin-top: 4px;
    margin-bottom: 0;
}

.hero-copy .eyebrow {
    margin-bottom: 0;
}

.hero-compliance-badges {
    position: absolute;
    right: clamp(16px, 3.5vw, 48px);
    bottom: 106px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    max-width: calc(100vw - 36px);
}

.bsp-logo-badge,
.pdic-banner-badge {
    display: inline-flex;
    align-items: center;
}

.pdic-banner-badge {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 40px rgba(6, 57, 30, 0.22);
    backdrop-filter: blur(16px);
}

.bsp-logo-badge {
    justify-content: center;
    width: clamp(142px, 14vw, 210px);
    margin-top: 2rem;
    opacity: 0.72;
    filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.32));
}

.pdic-banner-badge {
    gap: 9px;
    width: min(360px, calc(100vw - 36px));
    padding: 8px 10px;
}

.pdic-banner-badge:hover {
    background: #fff;
}

.bsp-logo-badge:hover {
    opacity: 0.88;
}

.bsp-logo-badge img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.pdic-banner-badge img {
    width: 82px;
    height: auto;
}

.pdic-banner-badge span {
    color: var(--deep-green-950);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.35;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 6px;
    font-weight: 800;
    line-height: 1.1;
    border: 1px solid var(--line);
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.secondary {
    background: #fff;
    color: var(--deep-green-900);
    border-color: rgba(6, 57, 30, 0.18);
}

.quick-code {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.home-service-guide {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    background: linear-gradient(180deg, #fff, var(--soft));
}

.service-advisor,
.service-paths details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.service-advisor {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: clamp(16px, 2.5vw, 24px);
}

.service-advisor h2 {
    margin: 0;
    color: var(--deep-green-950);
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.12;
}

.service-advisor p {
    margin: 0;
    color: var(--muted);
}

.advisor-result {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(200, 163, 59, 0.45);
    border-radius: 8px;
    background: var(--amber-50);
}

.advisor-result strong {
    color: var(--deep-green-950);
    font-size: 1.3rem;
    line-height: 1.15;
}

.advisor-type {
    width: fit-content;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--deep-green-950);
    background: rgba(200, 163, 59, 0.2);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.service-paths {
    display: grid;
    gap: 12px;
    align-content: center;
}

.service-paths details {
    overflow: hidden;
}

.service-paths summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 58px;
    padding: 14px 18px;
    color: var(--deep-green-950);
    font-size: 1.05rem;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.service-paths summary::-webkit-details-marker {
    display: none;
}

.service-paths summary::after {
    content: "+";
    display: inline-grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--deep-green-950);
    background: var(--soft-green-50);
}

.service-paths details[open] summary::after {
    content: "-";
    color: #fff;
    background: var(--deep-green-900);
}

.service-paths p {
    margin: 0;
    padding: 0 18px 16px;
    color: var(--muted);
}

.button.large {
    width: 100%;
    min-height: 54px;
    font-size: 1rem;
}

.section {
    padding: clamp(30px, 3.5vw, 48px) clamp(16px, 3.5vw, 48px);
}

.intro-grid,
.two-column,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.home-intro {
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.72fr);
    align-items: center;
    gap: clamp(16px, 3vw, 36px);
    padding-top: clamp(30px, 3.5vw, 48px);
    padding-bottom: clamp(28px, 3.5vw, 44px);
}

.intro-lede h2 {
    max-width: 780px;
}

.intro-copy {
    display: grid;
    gap: 16px;
    max-width: 560px;
    justify-self: end;
}

.intro-copy > p {
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.intro-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.intro-points span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 12px;
    border: 1px solid rgba(17, 117, 61, 0.14);
    border-radius: 999px;
    color: var(--deep-green-950);
    background: var(--soft-green-50);
    font-size: 0.86rem;
    font-weight: 900;
}

.intro-grid h2,
.section-heading h2,
.split-band h2,
.ropa-band h2 {
    margin: 0;
    font-size: clamp(1.9rem, 3.2vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.intro-grid h2,
.section-heading h2 {
    color: var(--deep-green-950);
}

.intro-grid > p,
.split-band p,
.ropa-band p,
.page-hero p {
    color: var(--muted);
    font-size: 1.05rem;
}

.product-highlights,
.card-grid,
.people-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.interactive-products {
    background: linear-gradient(180deg, rgba(242, 247, 240, 0.86), #fff);
}

.interactive-products .section-heading {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.product-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: fit-content;
    margin: 0 auto 18px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.tab-button {
    min-height: 42px;
    border: 0;
    border-radius: 6px;
    padding: 10px 16px;
    color: var(--deep-green-950);
    background: transparent;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.tab-button.is-active,
.tab-button:hover {
    color: #fff;
    background: var(--deep-green-900);
}

.tab-panels {
    display: grid;
}

.tab-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 16px;
    padding: clamp(16px, 2.5vw, 26px);
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.tab-panel .icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--deep-green-950);
    background: var(--amber-50);
    border: 1px solid rgba(200, 163, 59, 0.42);
    font-weight: 900;
}

.tab-panel[hidden] {
    display: none;
}

.tab-panel h3 {
    margin: 12px 0 8px;
    color: var(--deep-green-950);
    font-size: clamp(1.5rem, 2.2vw, 2.2rem);
}

.tab-panel p {
    max-width: 720px;
    color: var(--muted);
}

.loan-picker {
    display: grid;
    grid-template-columns: minmax(220px, 420px) auto;
    gap: 12px;
    align-items: end;
    margin-top: 22px;
}

.about-preview {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
    gap: 28px;
    align-items: center;
}

.about-preview h2 {
    margin: 0;
    color: var(--deep-green-950);
    font-size: clamp(1.9rem, 3.2vw, 3.1rem);
    line-height: 1.12;
}

.home-about {
    grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1fr);
    grid-template-areas:
        "copy image"
        "values values";
    gap: clamp(16px, 2.5vw, 28px);
    align-items: stretch;
    background: #fff;
}

.home-about .about-copy {
    grid-area: copy;
    align-self: center;
    max-width: 620px;
}

.home-about .about-image {
    grid-area: image;
}

.home-about .value-stack {
    grid-area: values;
}

.about-image {
    align-self: stretch;
    min-height: 280px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-preview p {
    max-width: 560px;
    color: var(--muted);
    line-height: 1.75;
}

.about-institution {
    display: grid;
    gap: 24px;
    background: #fff;
}

.about-lede {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.65fr);
    gap: 28px;
    align-items: end;
}

.about-lede h2 {
    margin: 0;
    color: var(--green-900);
    font-size: clamp(1.9rem, 3.4vw, 3.25rem);
    line-height: 1.12;
}

.about-lede p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.about-facts,
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.about-facts article,
.values-grid article,
.history-timeline article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.about-facts article {
    display: grid;
    gap: 6px;
    min-height: 132px;
    padding: 20px;
    border-top: 4px solid var(--gold);
}

.about-facts strong {
    color: var(--green-800);
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    line-height: 1;
}

.about-facts span {
    color: var(--muted);
    font-weight: 700;
}

.about-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    width: fit-content;
    margin-top: 8px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.about-tab-panels {
    display: grid;
}

.about-panel {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.about-panel > div {
    padding: clamp(24px, 4vw, 42px);
}

.about-panel p {
    color: var(--muted);
}

.about-panel aside {
    display: grid;
    align-content: center;
    gap: 10px;
    padding: clamp(22px, 3vw, 34px);
    color: #fff;
    background: var(--green-900);
}

.about-panel aside strong {
    margin-bottom: 6px;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.82rem;
}

.about-panel aside span {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 800;
}

.about-panel aside span:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.social-responsibility-panel {
    display: block;
    min-width: 0;
    scroll-margin-top: 110px;
}

.social-responsibility-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.social-responsibility-heading h3 {
    margin-top: 0;
}

.social-responsibility-heading p {
    margin-bottom: 0;
}

.social-year-filter {
    flex: 0 0 auto;
}

.social-year-filter label {
    display: block;
    margin-bottom: 6px;
    color: var(--green-900);
    font-size: 0.9rem;
    font-weight: 800;
}

.social-year-filter > div {
    display: flex;
    gap: 8px;
}

.social-year-filter button {
    font-family: inherit;
    cursor: pointer;
}

.social-year-filter select {
    min-width: 112px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--green-900);
    background: #fff;
    font: inherit;
    font-weight: 800;
}

.social-gallery-year {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    font-size: 1.25rem;
    font-weight: 900;
}

.social-gallery-year span {
    font-size: 0.9rem;
    font-weight: 400;
}

.social-gallery-list {
    display: grid;
    gap: 32px;
}

.social-gallery + .social-gallery {
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.social-gallery-caption {
    margin-bottom: 18px;
    overflow-wrap: anywhere;
}

.social-gallery-caption time {
    color: var(--green-700);
    font-size: 0.85rem;
    font-weight: 800;
}

.social-gallery-caption h4 {
    margin: 6px 0 8px;
    color: var(--green-900);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.social-gallery-caption p {
    margin: 0 0 10px;
}

.social-gallery-caption > span {
    color: var(--muted);
    font-size: 0.8rem;
}

.social-gallery-photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.social-gallery-photos a {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.social-gallery-photos img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    transition: transform 300ms ease;
}

.social-gallery-photos a > span {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 3px 9px;
    border-radius: 4px;
    color: #fff;
    background: var(--green-900);
    font-size: 0.75rem;
}

.social-gallery-photos a:is(:hover, :focus-visible) img {
    transform: scale(1.05);
}

.social-gallery-empty {
    padding: 36px 20px;
    border: 1px dashed #cbded0;
    border-radius: 8px;
    background: var(--soft);
    text-align: center;
}

.social-gallery-empty strong {
    color: var(--green-900);
    font-size: 1.1rem;
}

.social-gallery-empty p {
    margin: 8px auto 0;
}

.social-photo-dialog {
    width: min(100% - 24px, 1100px);
    max-height: 94vh;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    background: #fff;
    box-shadow: var(--shadow);
}

.social-photo-dialog::backdrop {
    background: rgba(4, 31, 19, 0.85);
}

.social-photo-dialog-header,
.social-photo-dialog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.social-photo-dialog-header {
    margin-bottom: 12px;
}

.social-photo-dialog-header h2 {
    margin: 0;
    color: var(--green-900);
    font-size: 1.1rem;
    overflow-wrap: anywhere;
}

.social-photo-dialog button {
    flex-shrink: 0;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--green-900);
    background: var(--soft);
    font: inherit;
    cursor: pointer;
}

.social-photo-dialog button:disabled {
    opacity: 0.45;
    cursor: default;
}

.social-photo-dialog > img {
    width: 100%;
    height: min(66vh, 720px);
    object-fit: contain;
    background: var(--soft);
}

.social-photo-dialog-footer {
    margin-top: 12px;
    font-size: 0.85rem;
}

@media (max-width: 760px) {
    .social-gallery-photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .social-gallery-photos {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .social-gallery-photos img {
        transition: none;
    }

    .social-gallery-photos a:is(:hover, :focus-visible) img {
        transform: none;
    }
}

.section-number {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 0.95rem;
    font-weight: 900;
}

.value-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.value-stack article {
    display: grid;
    gap: 4px;
    padding: 16px;
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(6, 57, 30, 0.08);
}

.value-stack strong {
    color: var(--deep-green-950);
}

.value-stack span {
    color: var(--muted);
}

.values-section {
    background: linear-gradient(180deg, var(--soft), #fff);
}

.values-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.values-grid article {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 180px;
    padding: 22px;
    border-bottom: 4px solid var(--green-700);
}

.values-grid strong {
    color: var(--green-900);
    font-size: 1.05rem;
}

.values-grid span {
    color: var(--muted);
}

.about-history {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.7fr);
    gap: 28px;
    align-items: start;
}

.about-history h2,
.banking-relationship h2 {
    margin: 0;
    color: var(--green-900);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.12;
}

.about-history p {
    color: var(--muted);
}

.history-timeline {
    position: relative;
    display: grid;
    gap: 14px;
}

.history-timeline article {
    position: relative;
    display: grid;
    gap: 5px;
    padding: 18px 18px 18px 24px;
    border-left: 5px solid var(--gold);
}

.history-timeline span {
    color: var(--green-700);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.history-timeline strong {
    color: var(--green-900);
    font-size: 1.05rem;
}

.history-timeline p {
    margin: 0;
}

.banking-relationship {
    grid-column: 1 / -1;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.product-highlights article,
.product-card,
.person-card,
.contact-grid article,
.two-column article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 24px;
    box-shadow: var(--shadow);
}

.product-highlights .icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--green-100);
    color: var(--green-800);
    font-weight: 900;
}

.split-band,
.ropa-band,
.annual-report-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background:
        linear-gradient(90deg, rgba(4, 31, 19, 0.96), rgba(6, 57, 30, 0.78)),
        url("../images/brbci-philippines-hero.png") center / cover;
    color: #fff;
}

.split-band {
    min-height: 210px;
}

.split-band .cta-copy {
    max-width: 760px;
}

.split-band p,
.ropa-band p,
.annual-report-band p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 650px;
}

.annual-report-band {
    align-items: flex-start;
}

.annual-reports {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 12px;
    min-width: min(100%, 520px);
}

.report-card {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.report-card:hover {
    background: rgba(255, 255, 255, 0.18);
}

.report-card span {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}

.report-card small {
    color: rgba(255, 255, 255, 0.74);
    font-weight: 800;
}

.page-hero {
    padding: 86px clamp(18px, 5vw, 72px) 54px;
    background: linear-gradient(135deg, var(--deep-green-950), var(--deep-green-800));
    color: #fff;
}

.page-hero.compact {
    min-height: 310px;
    display: grid;
    align-content: center;
}

.page-hero-with-media {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
    gap: clamp(22px, 4vw, 44px);
    align-items: center;
}

.products-page-hero {
    gap: clamp(34px, 6vw, 76px);
}

.products-page-hero h1 {
    white-space: nowrap;
}

.page-hero-image {
    position: relative;
    align-self: stretch;
    min-height: 190px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
}

.page-hero-image img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.product-hero-image {
    min-height: 190px;
    aspect-ratio: 16 / 9;
    align-self: center;
}

.product-hero-image img {
    object-fit: contain;
    background: #fff;
}

.page-hero p {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.84);
}

.photo-page-banner {
    position: relative;
    display: grid;
    align-items: center;
    min-height: clamp(360px, 32vw, 480px);
    padding: clamp(48px, 6vw, 86px) clamp(18px, 5vw, 72px);
    background: var(--deep-green-950) var(--page-banner-image) center var(--page-banner-position, 54%) / cover no-repeat;
}

.about-page-banner {
    --page-banner-image: url("../images/brbci-front-banner-v2.jpg");
}

.contact-page-banner {
    --page-banner-image: url("../images/warm-welcome-bank-desk-contact.png");
    --page-banner-position: 35%;
}

.products-page-banner {
    min-height: 320px;
    padding-top: 32px;
    padding-bottom: 32px;
    background: var(--deep-green-950);
}

.products-page-banner__image {
    position: absolute;
    inset: 0 0 0 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.photo-page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 31, 19, 0.97) 0%, rgba(4, 31, 19, 0.88) 36%, rgba(4, 31, 19, 0.46) 66%, rgba(4, 31, 19, 0.14) 100%);
    pointer-events: none;
}

.photo-page-banner__copy {
    position: relative;
    max-width: 720px;
}

.photo-page-banner h1 {
    max-width: 20ch;
    font-size: clamp(2rem, 4.2vw, 3.7rem);
    line-height: 1.08;
}

.photo-page-banner__copy > p:last-child {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.94);
}

.products-page-banner::before {
    content: none;
}

.products-page-banner .photo-page-banner__copy {
    z-index: 2;
    max-width: 50%;
    padding-right: 24px;
}

.products-page-banner h1 {
    max-width: 24ch;
    font-size: clamp(1.75rem, 2.7vw, 2.4rem);
}

.section-heading {
    margin-bottom: 18px;
    max-width: 820px;
}

.muted {
    background: var(--soft);
}

.product-icon-svg {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.product-icon-badge {
    display: inline-grid;
    place-items: center;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    margin-bottom: 18px;
    border: 1px solid #d5e9da;
    border-radius: 22px;
    color: var(--green-800);
    background: linear-gradient(135deg, var(--green-100), #fbf7ea);
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.product-icon-badge .product-icon-svg {
    width: 44px;
    height: 44px;
}

.product-card-art {
    display: block;
    width: min(100%, 240px);
    height: auto;
    aspect-ratio: 3 / 2;
    margin-bottom: 18px;
    border: 1px solid #ede5d4;
    border-radius: 18px;
    object-fit: contain;
    background: var(--amber-50);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-section article:hover .product-card-art,
.product-section article:focus-within .product-card-art {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(6, 57, 30, 0.1);
}

.account-opening-grid .requirement-card:nth-child(2) .product-icon-badge {
    color: #785a1d;
    background: var(--amber-50);
    border-color: #e9dbb5;
}

.account-opening-grid .requirement-card:nth-child(3) .product-icon-badge {
    color: #315b78;
    background: #edf4fa;
    border-color: #d3e2ed;
}

.product-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 28px clamp(18px, 5vw, 72px);
    border-bottom: 1px solid var(--line);
    background: var(--soft);
}

.product-shortcut {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 20px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--green-900);
    background: #fff;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-shortcut .product-icon-badge {
    width: 68px;
    height: 68px;
    margin: 0;
    border-radius: 18px;
}

.product-shortcut__copy {
    flex: 1;
    min-width: 0;
}

.product-shortcut strong,
.product-shortcut small {
    display: block;
}

.product-shortcut small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

.product-shortcut > .product-icon-svg {
    width: 24px;
    height: 24px;
    transition: transform 180ms ease;
}

.product-shortcut:hover,
.product-shortcut:focus-visible {
    transform: translateY(-4px);
    border-color: var(--green-700);
    box-shadow: 0 10px 24px rgba(6, 57, 30, 0.1);
}

.product-shortcut:hover > .product-icon-svg,
.product-shortcut:focus-visible > .product-icon-svg {
    transform: translateX(3px);
}

.product-shortcut:hover .product-icon-badge,
.product-shortcut:focus-visible .product-icon-badge,
.product-section article:hover .product-icon-badge,
.product-section article:focus-within .product-icon-badge {
    transform: rotate(-6deg);
    color: #fff;
    background: var(--green-800);
}

.product-section {
    scroll-margin-top: 110px;
}

.product-section:target .section-heading {
    border-left: 4px solid var(--gold);
    padding-left: 16px;
}

.requirement-card > .product-icon-badge {
    margin-bottom: 0;
}

.product-requirements {
    margin-bottom: 20px;
    border-top: 1px solid var(--line);
}

.product-requirements summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 4px;
    border-radius: 4px;
    color: var(--green-900);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.product-requirements summary::-webkit-details-marker {
    display: none;
}

.product-requirements summary:hover {
    background: var(--green-100);
}

.product-shortcut:focus-visible,
.product-requirements summary:focus-visible {
    outline: 3px solid var(--green-700);
    outline-offset: 4px;
}

.product-requirements summary .product-icon-svg {
    width: 26px;
    height: 26px;
}

.product-requirements summary .product-icon-svg:last-child {
    margin-left: auto;
    transition: transform 180ms ease;
}

.product-requirements[open] summary .product-icon-svg:last-child {
    transform: rotate(180deg);
}

.product-requirements ul {
    margin-top: 0;
}

@media (max-width: 1200px) {
    .product-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .product-shortcuts {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .product-shortcut {
        padding: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .product-icon-badge,
    .product-card-art,
    .product-shortcut,
    .product-shortcut > .product-icon-svg,
    .product-requirements summary .product-icon-svg:last-child {
        transition: none;
    }
}

.product-card h3,
.loan-card h3,
.person-card h3,
.contact-grid h2 {
    margin-top: 0;
    color: var(--deep-green-950);
}

.contact-hub {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 24px;
    align-items: stretch;
    background: var(--soft);
}

.map-card,
.contact-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.map-card {
    min-height: 520px;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
}

.contact-panel {
    display: grid;
    align-content: center;
    padding: clamp(24px, 4vw, 42px);
}

.contact-panel h2 {
    margin: 0;
    color: var(--green-900);
    font-size: clamp(1.7rem, 2.6vw, 2.6rem);
    line-height: 1.12;
}

.contact-panel p {
    color: var(--muted);
}

.contact-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.compact-cards {
    padding-top: 0;
}

.product-card dl,
.loan-meta {
    display: grid;
    gap: 10px;
    margin: 20px 0;
}

dt {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 800;
}

dd {
    margin: 0;
    font-weight: 800;
}

ul {
    padding-left: 20px;
}

.check-list li::marker,
.product-card li::marker,
.loan-card li::marker {
    color: var(--green-700);
}

.loan-list {
    display: grid;
    gap: 18px;
}

.account-opening-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.requirement-card {
    display: grid;
    align-content: start;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 24px;
    box-shadow: var(--shadow);
}

.requirement-card h3 {
    margin: 0;
    color: var(--deep-green-950);
}

.requirement-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
}

.requirement-card li::marker {
    color: var(--green-700);
}

.requirement-card li span {
    font-weight: 800;
}

.requirement-card li ul {
    gap: 6px;
    margin-top: 6px;
}

.requirement-note {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.loan-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 26px;
}

.leadership-section {
    background: radial-gradient(ellipse at top, #eaf6ee, transparent 65%), #f7faf5;
}

.leadership-section .section-heading {
    margin: 0 auto 36px;
    text-align: center;
}

.leadership-intro {
    max-width: 480px;
    margin: 16px auto 0;
    color: var(--muted);
}

.leadership-section .board-structure {
    display: grid;
    gap: 30px;
    max-width: 1060px;
    margin: 0 auto;
}

.leadership-section .board-level {
    --leadership-accent: var(--green-700);
    position: relative;
    display: grid;
    gap: 24px;
}

.leadership-section .board-level--chairman {
    --leadership-accent: var(--gold);
}

.leadership-section .board-level h3 {
    justify-self: center;
    margin: 0;
    padding: 8px 24px;
    border: 1px solid #cbded0;
    border-radius: 999px;
    color: var(--green-800);
    background: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-align: center;
    text-transform: uppercase;
    transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.leadership-section .board-level--chairman h3 {
    color: var(--green-900);
    border-color: var(--gold);
    background: var(--amber-50);
}

.leadership-section .board-level:not(:last-child)::after {
    content: "";
    width: 2px;
    height: 32px;
    justify-self: center;
    background: linear-gradient(var(--leadership-accent), #dfe8e2);
}

.leadership-section .people-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.leadership-section .person-card {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 1 calc((100% - 48px) / 3);
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #d5e3d8;
    border-top: 4px solid var(--leadership-accent);
    border-radius: 12px;
    background: linear-gradient(160deg, #fff 55%, #edf5ef);
    box-shadow: 0 8px 24px rgba(6, 57, 30, 0.06);
    text-align: center;
    transform-origin: center;
    transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease, background-color 280ms ease;
}

.leadership-section .people-grid.single .person-card {
    flex-basis: 340px;
}

.leadership-section .board-level--management {
    --management-columns: 6;
}

.leadership-section .board-level--management .people-grid:not(.single) > .person-card {
    flex-basis: calc((100% - 24px * (var(--management-columns) - 1)) / var(--management-columns));
}

.leadership-section .board-level--management .people-grid:not(.single) > .person-card .person-card__details {
    padding: 18px 12px;
    overflow-wrap: anywhere;
}

.management-tree,
.management-tree ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.management-tree {
    --management-line: #9bbca5;
    width: 100%;
    min-width: 0;
}

.management-tree__position {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.management-tree__root > .management-tree__position {
    width: min(100%, 340px);
    margin: 0 auto;
}

.management-tree .management-tree__reports {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
    padding-top: 40px;
}

.management-tree .management-tree__reports--president,
.management-tree .management-tree__reports--bank-manager {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.management-tree__branch {
    display: contents;
}

.management-tree__reports::before,
.management-tree__reports > .management-tree__branch > .management-tree__position::after {
    content: "";
    position: absolute;
    left: calc(50% - 1px);
    width: 2px;
    height: 20px;
    background: var(--management-line);
}

.management-tree__reports::before {
    top: 0;
}

.management-tree__reports > .management-tree__branch > .management-tree__position::after {
    top: -20px;
}

.management-tree__reports > .management-tree__branch > .management-tree__position::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -12px;
    right: -12px;
    border-top: 2px solid var(--management-line);
}

.management-tree__reports > .management-tree__branch:first-child > .management-tree__position::before {
    left: 50%;
}

.management-tree__reports > .management-tree__branch:last-child > .management-tree__position::before {
    right: 50%;
}

.management-tree .management-tree__reports--bank-manager {
    grid-column: 1 / -1;
}

.management-tree__reports--bank-manager > .management-tree__branch:first-child > .management-tree__position {
    grid-column: 2;
}

.leadership-section .management-tree .person-card {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    overflow-wrap: anywhere;
}

.management-role {
    display: grid;
    flex: 1;
    place-items: center;
    min-height: 160px;
    padding: 24px;
    border: 1px solid #d5e3d8;
    border-top: 4px solid var(--green-700);
    border-radius: 12px;
    background: linear-gradient(160deg, #fff 55%, #edf5ef);
    color: var(--green-900);
    text-align: center;
    overflow-wrap: anywhere;
}

.management-role p {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.management-tree__reporting {
    display: none;
}

@media (max-width: 760px) {
    .management-tree__root > .management-tree__position {
        margin-left: 0;
    }

    .management-tree .management-tree__reports {
        display: block;
        margin-left: 12px;
        padding: 24px 0 0 20px;
        border-left: 2px solid var(--management-line);
    }

    .management-tree__branch {
        display: block;
    }

    .management-tree__branch + .management-tree__branch {
        margin-top: 24px;
    }

    .management-tree__position {
        max-width: 340px;
        gap: 10px;
    }

    .management-tree__position[data-management-role="bank-manager"] {
        /* Match the width available after the child branch's indentation. */
        width: calc(100% - 34px);
    }

    .management-tree__reports::before,
    .management-tree__reports > .management-tree__branch > .management-tree__position::after {
        display: none;
    }

    .management-tree__reports > .management-tree__branch > .management-tree__position::before {
        top: 24px;
        left: -20px;
        right: auto;
        width: 20px;
    }

    .management-tree__reporting {
        display: block;
        margin: 0;
        color: var(--muted);
        font-size: 0.78rem;
    }
}

.leadership-section .people-grid__new-line {
    display: flex;
    flex: 0 0 100%;
    justify-content: center;
    min-width: 0;
}

.leadership-section .people-grid__new-line .person-card {
    flex: 0 1 340px;
    max-width: 100%;
}

.leadership-section .board-level--chairman .person-card {
    background: linear-gradient(150deg, #fff 40%, var(--amber-50));
    box-shadow: 0 12px 32px rgba(200, 163, 59, 0.14);
}

.leadership-section .person-card__portrait {
    width: 100%;
    aspect-ratio: 4 / 3;
    flex-shrink: 0;
    overflow: hidden;
    border-bottom: 1px solid #d5e3d8;
    background: #fff;
}

.leadership-section .person-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transform-origin: center bottom;
    transition: transform 380ms ease;
}

.leadership-section .person-card__details {
    flex: 1;
    padding: 22px 20px 24px;
}

.leadership-section .person-card h4 {
    margin: 0;
    color: var(--green-900);
    font-size: 1.12rem;
    line-height: 1.4;
}

.leadership-section .person-card p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.leadership-section .person-card__details::after {
    content: "";
    display: block;
    width: 32px;
    height: 3px;
    margin: 20px auto 0;
    border-radius: 3px;
    background: var(--leadership-accent);
    transition: width 280ms ease;
}

.leadership-section .person-card:focus {
    z-index: 1;
    outline: 3px solid var(--leadership-accent);
    outline-offset: 5px;
    border-color: var(--leadership-accent);
    box-shadow: 0 20px 38px rgba(6, 57, 30, 0.18);
    transform: translateY(-6px) scale(1.025);
}

.leadership-section .person-card:focus img {
    transform: scale(1.12);
}

.leadership-section .person-card:focus .person-card__details::after {
    width: 72px;
}

.leadership-section .board-level:focus-within h3 {
    color: #fff;
    background: var(--green-800);
    border-color: var(--leadership-accent);
}

@media (hover: hover) and (pointer: fine) {
    .leadership-section .person-card:hover {
        z-index: 1;
        border-color: var(--leadership-accent);
        box-shadow: 0 20px 38px rgba(6, 57, 30, 0.18);
        transform: translateY(-6px) scale(1.025);
    }

    .leadership-section .person-card:hover img {
        transform: scale(1.12);
    }

    .leadership-section .person-card:hover .person-card__details::after {
        width: 72px;
    }

    .leadership-section .board-level:has(.person-card:hover) h3 {
        color: #fff;
        background: var(--green-800);
        border-color: var(--leadership-accent);
    }
}

@media (max-width: 1100px) {
    .leadership-section .board-level--management {
        --management-columns: 3;
    }
}

@media (max-width: 900px) {
    .leadership-section .board-level--management {
        --management-columns: 2;
    }

    .leadership-section .person-card {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (max-width: 560px) {
    .leadership-section .board-level--management {
        --management-columns: 1;
    }

    .leadership-section .person-card {
        flex-basis: 100%;
        max-width: 340px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .leadership-section .person-card,
    .leadership-section .person-card img,
    .leadership-section .person-card__details::after,
    .leadership-section .board-level h3 {
        transition: none;
    }

    .leadership-section .person-card:is(:hover, :focus),
    .leadership-section .person-card:is(:hover, :focus) img {
        transform: none;
    }
}

.organizational-chart-action {
    margin: 36px auto 0;
    text-align: center;
    scroll-margin-top: 120px;
}

.organizational-chart-action > .button {
    max-width: 100%;
    font: inherit;
    font-weight: 800;
    line-height: 1.4;
}

.organizational-chart-action > button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.organizational-chart-action > p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.organizational-chart-dialog {
    width: min(1200px, calc(100% - 24px));
    max-height: 94vh;
    padding: clamp(14px, 2vw, 24px);
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
    text-align: left;
}

.organizational-chart-dialog::backdrop {
    background: rgba(4, 31, 19, 0.85);
}

.organizational-chart-dialog-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.organizational-chart-dialog-heading h2 {
    margin: 0;
    color: var(--green-900);
    font-size: clamp(1.05rem, 2vw, 1.5rem);
    line-height: 1.35;
}

.organizational-chart-dialog-heading button {
    flex-shrink: 0;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--green-900);
    background: var(--soft);
    font: inherit;
    cursor: pointer;
}

.organizational-chart-viewer {
    margin-bottom: 16px;
    overflow: auto;
    background: var(--soft);
}

.organizational-chart-viewer img {
    width: 100%;
    height: min(65vh, 760px);
    object-fit: contain;
}

.ropa-band {
    background: var(--green-100);
    color: var(--ink);
}

.ropa-band p {
    color: var(--muted);
}

.notice {
    margin: 24px clamp(18px, 5vw, 72px) 0;
    padding: 16px 18px;
    border-radius: 8px;
}

.notice.success {
    background: var(--green-100);
    border: 1px solid #b9dfc5;
}

.notice.error {
    background: #fff3f1;
    border: 1px solid #f3beb6;
}

.form-shell {
    background: var(--soft);
}

.application-hero-panel {
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.application-hero-panel strong {
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.82rem;
}

.application-hero-panel span {
    color: rgba(255, 255, 255, 0.84);
    font-weight: 800;
}

.application-hero-image .application-hero-panel {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    backdrop-filter: blur(16px);
}

.application-workspace {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.application-sidebar {
    position: sticky;
    top: 98px;
    display: grid;
    gap: 14px;
}

.application-progress,
.application-summary,
.application-steps {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.application-progress {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.application-progress > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.application-progress span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.application-progress strong {
    color: var(--green-900);
    font-size: 1.35rem;
}

.application-progress progress {
    width: 100%;
    height: 12px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: var(--soft-green-50);
}

.application-progress progress::-webkit-progress-bar {
    background: var(--soft-green-50);
}

.application-progress progress::-webkit-progress-value {
    background: linear-gradient(90deg, var(--green-900), var(--gold));
}

.application-progress progress::-moz-progress-bar {
    background: linear-gradient(90deg, var(--green-900), var(--gold));
}

.application-summary {
    padding: 18px;
}

.application-summary dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.application-summary div {
    display: grid;
    gap: 3px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--line);
}

.application-summary div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.application-summary dd {
    overflow-wrap: anywhere;
}

.application-steps {
    display: grid;
    overflow: hidden;
}

.application-steps a {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    color: var(--green-900);
    font-size: 0.92rem;
    font-weight: 900;
}

.application-steps a:last-child {
    border-bottom: 0;
}

.application-steps a:hover {
    background: var(--soft-green-50);
}

.application-form {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.formal-application-form {
    max-width: none;
}

fieldset {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    background: #fff;
}

.form-section {
    box-shadow: var(--shadow);
}

legend {
    padding: 0 8px;
    color: var(--green-900);
    font-weight: 900;
}

.form-section legend {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 1.05rem;
}

.form-section legend span {
    display: inline-grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    color: #fff;
    background: var(--green-900);
    font-size: 0.78rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-subsection-title {
    margin: 22px 0 12px;
    color: var(--green-900);
    font-size: 1rem;
}

label {
    display: grid;
    gap: 7px;
    color: var(--green-900);
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #cad8cf;
    border-radius: 6px;
    padding: 11px 12px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(17, 117, 61, 0.16);
    border-color: var(--green-700);
}

.span-2 {
    grid-column: span 2;
}

.form-note {
    margin-top: 0;
    color: var(--muted);
}

.file-list {
    margin-top: 12px;
    padding: 14px 16px;
    border: 1px dashed #b9c9be;
    border-radius: 8px;
    color: var(--muted);
    background: var(--soft-green-50);
    font-size: 0.92rem;
    font-weight: 700;
}

.file-list ul {
    margin: 0;
}

.checkbox {
    grid-template-columns: 20px 1fr;
    align-items: start;
    color: var(--ink);
    font-weight: 600;
    margin: 10px 0;
}

.checkbox input {
    min-height: 20px;
    margin-top: 4px;
}

.application-documents {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid rgba(200, 163, 59, 0.45);
    border-radius: 8px;
    background: var(--amber-50);
}

.application-documents strong {
    color: var(--green-900);
    font-size: 1rem;
}

.application-documents span {
    color: var(--muted);
    font-size: 0.92rem;
}

.application-documents div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.document-link {
    width: auto;
    min-height: 40px;
    padding: 9px 12px;
    border: 1px solid var(--green-700);
    border-radius: 6px;
    color: var(--green-900);
    background: #fff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.document-link:hover,
.document-link:focus {
    background: var(--soft-green-50);
}

body.is-modal-open {
    overflow: hidden;
}

.document-modal[hidden] {
    display: none;
}

.document-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: clamp(14px, 3vw, 28px);
}

.document-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 31, 19, 0.72);
}

.document-modal__panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(320px, 1fr) auto;
    width: min(100%, 980px);
    height: min(100%, 86vh);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.document-modal__panel header,
.document-modal__panel footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}

.document-modal__panel footer {
    justify-content: flex-end;
    border-top: 1px solid var(--line);
    border-bottom: 0;
}

.document-modal__panel h2 {
    margin: 0;
    color: var(--green-900);
    font-size: 1.05rem;
}

.document-modal__close {
    width: auto;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #cad8cf;
    border-radius: 6px;
    color: var(--green-900);
    background: #fff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.document-modal iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: var(--soft);
}

.form-submit-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: 18px;
    align-items: center;
    padding: 20px;
    border: 1px solid rgba(200, 163, 59, 0.45);
    border-radius: 8px;
    background: var(--amber-50);
    box-shadow: var(--shadow);
}

.form-submit-panel strong,
.form-submit-panel span {
    display: block;
}

.form-submit-panel strong {
    color: var(--green-900);
    font-size: 1.05rem;
}

.form-submit-panel span {
    color: var(--muted);
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(260px, 1.3fr) minmax(150px, 0.7fr) minmax(190px, 0.9fr) minmax(220px, 1fr);
    gap: 22px;
    padding: 34px clamp(18px, 5vw, 72px);
    background: #071f13;
    color: rgba(255, 255, 255, 0.82);
}

.site-footer img {
    width: 54px;
    height: 54px;
    margin-bottom: 10px;
}

.site-footer strong,
.site-footer span {
    display: block;
}

.site-footer a {
    color: #fff;
}

.footer-brand p {
    max-width: 360px;
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-links h2,
.site-footer address strong {
    margin: 0 0 6px;
    color: #fff;
    font-size: 0.95rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.76);
}

.footer-links a:hover {
    color: #fff;
}

address {
    font-style: normal;
}

@media (max-width: 1180px) {
    .modern-hero,
    .home-banner {
        grid-template-columns: minmax(0, 1fr);
        min-height: auto;
        align-items: start;
        padding-bottom: clamp(40px, 6vw, 72px);
    }

    .modern-hero__copy {
        width: min(100%, 760px);
    }

    .home-banner__products {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }

    .home-banner__products article:first-child {
        grid-column: 1 / -1;
        min-height: auto;
    }

    .home-banner__masthead h1 {
        white-space: normal;
    }

    .home-banner::after {
        display: none;
    }

    .home-banner .modern-hero__visual {
        position: relative;
        inset: auto;
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        min-height: 0;
        overflow: hidden;
        border-radius: 8px;
    }

    .home-banner .modern-hero__visual > img {
        position: static;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .home-banner .home-banner__masthead {
        grid-row: 1;
    }

    .home-banner .home-banner__copy {
        grid-row: 3;
        min-width: 0;
    }

    .modern-hero__badges {
        width: 100%;
        justify-content: center;
        justify-self: stretch;
    }

    .product-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .photo-page-banner::before {
        background: linear-gradient(90deg, rgba(4, 31, 19, 0.95), rgba(4, 31, 19, 0.8) 60%, rgba(4, 31, 19, 0.58));
    }

    .products-page-banner {
        min-height: 280px;
    }

    .products-page-banner__image {
        position: relative;
        inset: auto;
        grid-row: 2;
        width: 100%;
        height: 220px;
        margin-top: 24px;
    }

    .products-page-banner .photo-page-banner__copy {
        grid-row: 1;
        max-width: 100%;
        padding-right: 0;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 78px;
        left: 18px;
        right: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .nav-group {
        display: grid;
    }

    .dropdown {
        position: static;
        display: grid;
        min-width: 0;
        padding: 0 0 0 14px;
        border: 0;
        box-shadow: none;
    }

    .dropdown a {
        color: var(--muted);
        font-size: 0.94rem;
    }

    .hero {
        min-height: 620px;
    }

    .hero-copy {
        padding-bottom: 32px;
    }

    .bank-hero,
    .product-pathway,
    .about-bank,
    .modern-about-bank {
        grid-template-columns: 1fr;
    }

    .modern-hero {
        min-height: auto;
        padding-top: 52px;
    }

    .modern-hero__copy {
        margin-bottom: 0;
    }

    .modern-hero::after {
        background:
            linear-gradient(180deg, rgba(239, 251, 239, 0.94), rgba(237, 251, 234, 0.84) 55%, rgba(237, 251, 234, 0.54)),
            linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(189, 229, 190, 0.46));
    }

    .home-banner__products {
        grid-template-columns: 1fr;
    }

    .home-banner__products article {
        min-height: auto;
    }

    .product-category-grid {
        grid-template-columns: 1fr;
    }

    .bank-hero {
        padding-top: 34px;
    }

    .bank-hero__content {
        max-width: 760px;
    }

    .bank-hero__media {
        min-height: 330px;
    }

    .trust-strip {
        grid-template-columns: 1fr;
        transform: none;
        margin-top: 18px;
    }

    .trust-strip article {
        min-height: auto;
    }

    .service-card-grid,
    .product-pathway__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-pathway__panel {
        position: static;
    }

    .compliance-strip,
    .landing-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .compliance-strip {
        margin-bottom: 42px;
    }

    .hero::after {
        background: linear-gradient(180deg, rgba(4, 31, 19, 0.9), rgba(6, 57, 30, 0.72));
    }

    .intro-grid,
    .two-column,
    .about-lede,
    .about-panel,
    .about-history,
    .contact-grid,
    .product-highlights,
    .card-grid,
    .account-opening-grid,
    .people-grid,
    .loan-card,
    .hero-panel,
    .tab-panel,
    .loan-picker,
    .about-preview,
    .home-service-guide,
    .application-hero,
    .page-hero-with-media,
    .application-workspace,
    .form-submit-panel,
    .contact-hub,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .products-page-hero h1 {
        white-space: normal;
    }

    .application-sidebar {
        position: static;
        order: -1;
    }

    .hero-stats {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: auto;
        grid-template-columns: 1fr;
        margin: -6px 16px 18px;
    }

    .hero-stats span {
        min-height: auto;
    }

    .home-intro {
        grid-template-columns: 1fr;
    }

    .intro-copy {
        justify-self: start;
    }

    .home-about {
        grid-template-areas:
            "copy"
            "image"
            "values";
    }

    .value-stack {
        grid-template-columns: 1fr;
    }

    .split-band,
    .ropa-band,
    .annual-report-band {
        display: grid;
    }

    .hero-compliance-badges {
        position: relative;
        right: auto;
        bottom: auto;
        align-items: center;
        margin: -12px 16px 18px;
        max-width: none;
    }

    .bsp-logo-badge {
        width: clamp(132px, 34vw, 178px);
    }

    .pdic-banner-badge {
        width: min(100%, 420px);
    }

    .annual-reports {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .about-facts,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-image {
        min-height: 190px;
    }

    .product-hero-image {
        min-height: 190px;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 620px) {
    .brand small {
        display: none;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .hero-copy {
        padding: 62px 16px 28px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 12vw, 3.6rem);
    }

    .bank-hero,
    .landing-section,
    .landing-cta,
    .modern-hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .modern-hero {
        padding-top: 42px;
    }

    .home-banner__masthead {
        padding-bottom: 14px;
    }

    .home-banner__seal img {
        width: 36px;
        height: 36px;
    }

    .home-banner__copy h2 {
        font-size: clamp(2rem, 13vw, 3.6rem);
    }

    .home-banner__products ul {
        font-size: 0.95rem;
    }

    .modern-hero__copy > p:not(.eyebrow) {
        font-size: 1rem;
    }

    .modern-hero__badges {
        gap: 8px;
    }

    .modern-hero__badges a {
        width: calc((100% - 16px) / 3);
    }

    .modern-hero__badges img {
        max-height: 96px;
    }

    .bank-hero {
        gap: 24px;
        padding-top: 28px;
        padding-bottom: 30px;
    }

    .bank-hero h1 {
        font-size: clamp(2.2rem, 12vw, 3.5rem);
    }

    .bank-hero__media {
        min-height: 260px;
    }

    .bank-hero__media figcaption {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 13px;
    }

    .trust-strip,
    .compliance-strip {
        margin-right: 16px;
        margin-left: 16px;
    }

    .service-card-grid,
    .product-pathway__cards {
        grid-template-columns: 1fr;
    }

    .service-card-grid a {
        min-height: auto;
        padding: 18px;
    }

    .product-pathway__cards article {
        padding: 18px;
    }

    .product-pathway__cards li {
        display: grid;
    }

    .about-bank figure {
        min-height: 230px;
    }

    .compliance-strip a {
        align-items: flex-start;
    }

    .section {
        padding: 34px 16px;
    }

    .page-hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-hero-image {
        min-height: 160px;
    }

    .product-hero-image {
        min-height: 150px;
    }

    .form-grid,
    .span-2 {
        grid-template-columns: 1fr;
        grid-column: auto;
    }

    fieldset {
        padding: 18px;
    }

    .application-steps {
        display: none;
    }

    .form-submit-panel .button {
        width: 100%;
    }

    .application-documents div,
    .document-modal__panel header,
    .document-modal__panel footer {
        align-items: stretch;
        flex-direction: column;
    }

    .document-link,
    .document-modal__close,
    .document-modal__panel footer .button {
        width: 100%;
    }

    .document-modal {
        padding: 10px;
    }

    .document-modal__panel {
        height: 92vh;
        grid-template-rows: auto minmax(260px, 1fr) auto;
    }
}
