@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --ink: #1e3518;
  --muted: #5c7351;
  --brand: #36541f;
  --brand-dark: #244212;
  --brand-light: #e5f5d1;
  --accent: #6c914c;
  --surface: #ffffff;
  --surface-soft: #f5f9f1;
  --line: #c9deba;
  --shadow: 0 16px 40px rgba(18, 52, 42, .10);
  --max-width: 1180px;
  --page-inline: clamp(1rem, 4vw, 3.5rem);
  --card-radius: 1.15rem;
  --card-height: 280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; display: flex; flex-direction: column; background: var(--surface-soft); color: var(--ink); font-family: 'DM Sans', Arial, sans-serif; }
.fixed-page { height: 100svh; min-height: 0; overflow: hidden; }
.contact-page { height: auto; min-height: 100svh; overflow-y: auto; }
.contact-page .contact-container { flex: none; margin-bottom: 2.5rem; }
.contact-page label { margin: .65rem 0 .25rem; font-size: .82rem; }
.contact-page input, .contact-page textarea { padding: .58rem .72rem; font-size: .88rem; }
.contact-page textarea { min-height: 86px; }
.contact-page form button { margin-top: .85rem; padding: .68rem; font-size: .88rem; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

nav { position: sticky; top: 0; z-index: 99; display: block; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
nav::after { position: absolute; right: 0; bottom: -2px; left: 0; height: 2px; background: linear-gradient(90deg, var(--brand-dark), var(--brand), var(--accent)); content: ''; }
.nav_content { width: min(calc(100% - var(--page-inline) - var(--page-inline)), var(--max-width)); min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.navbar-brand { display: flex; align-items: center; gap: 0; }.navbar-brand img { width: 52px; height: 52px; object-fit: contain; }.navbar-brand-text { display: flex; flex-direction: column; margin-left: -.35rem; line-height: 1.05; color: var(--brand-dark); }.navbar-brand-text h2 { margin: 0; font-size: 1.05rem; font-weight: 700; }.navbar-brand-text span { font-size: .83rem; font-weight: 600; }
nav .checkbox { display: none; color: var(--brand-dark); font-size: 1.8rem; cursor: pointer; }
nav input { display: none; }
nav ul { display: flex; align-items: center; gap: .25rem; list-style: none; }
nav ul li a { position: relative; display: block; padding: .7rem .8rem; border: 1px solid transparent; border-radius: .5rem; color: var(--brand-dark); font-size: .94rem; font-weight: 600; transition: color .2s, background .2s, border-color .2s, box-shadow .2s, transform .2s; }
nav ul li a::after { position: absolute; right: .8rem; bottom: .38rem; left: .8rem; height: 2px; border-radius: 2px; background: var(--brand); content: ''; opacity: 0; transform: scaleX(.4); transition: .2s; }
nav ul li a:hover, nav ul li a:focus-visible, nav ul li a[aria-current="page"] { border-color: #6c914c; background: #36541f; color: #fff; outline: none; }
nav ul li a:hover { box-shadow: 0 5px 12px rgba(0, 96, 37, .12); transform: translateY(-2px); }
nav ul li a:hover::after, nav ul li a:focus-visible::after, nav ul li a[aria-current="page"]::after { opacity: 1; transform: scaleX(1); }

.section { flex: 1; display: grid; align-items: center; min-height: 0; overflow: hidden; background: radial-gradient(circle at 90% 10%, #d9f0dd 0, transparent 30%), var(--surface-soft); }
.section_container { width: min(calc(100% - var(--page-inline) - var(--page-inline)), var(--max-width)); margin: auto; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.subtitle { display: inline-flex; width: fit-content; padding: .45rem .75rem; margin-bottom: 1rem; border-radius: 99px; background: #dcefe3; color: var(--brand-dark); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.title { max-width: 680px; margin-bottom: 1.25rem; font-family: 'Playfair Display', Georgia, serif; color: var(--ink); font-size: clamp(2.45rem, 5vw, 4.55rem); font-weight: 700; line-height: 1.04; }
.title span { color: var(--brand); }
.description { max-width: 600px; margin-bottom: 1.8rem; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.action_btn { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn, .action_btn button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.1rem; border: 1px solid var(--brand); border-radius: .6rem; background: var(--brand); color: #fff; font: inherit; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover, .action_btn button:hover { background: var(--brand-dark); box-shadow: 0 10px 20px rgba(0,107,79,.18); transform: translateY(-2px); }
.action_btn .btn + .btn { background: transparent; color: var(--brand-dark); }
.action_btn .btn + .btn:hover { background: #e5f2ea; }
.store { margin-top: 1.35rem; align-items: center; gap: .85rem; }
.store a { display: grid; min-width: 146px; min-height: 52px; place-items: center; padding: .25rem; overflow: hidden; border: 1px solid #cfe0d1; border-radius: .7rem; background: #fff; box-shadow: 0 5px 14px rgba(18,52,42,.08); transition: transform .2s, box-shadow .2s, border-color .2s; }
.store a:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-3px); }
.store a:focus-visible { outline: 3px solid rgba(0,96,37,.2); outline-offset: 3px; }
.store img { width: 138px; max-height: 43px; object-fit: contain; }
.image { position: relative; display: grid; place-items: center; }
.image::before { position: absolute; width: min(28rem, 90%); aspect-ratio: 1; border-radius: 50%; background: #d6edda; content: ''; }
.image img { position: relative; width: min(26rem, 90%); filter: drop-shadow(0 22px 20px rgba(18,52,42,.14)); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }

.about-section, .contact-container { width: min(calc(100% - var(--page-inline) - var(--page-inline)), var(--max-width)); margin: clamp(2rem, 6vw, 5rem) auto; padding: clamp(2rem, 5vw, 4rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius); box-shadow: var(--shadow); }
.about-section { flex: 1; min-height: var(--card-height); display: grid; place-content: center; text-align: center; background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: var(--brand-light); }
.about-section h1, .contact-container h2, .services-section h2 { color: var(--ink); font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }
.about-section h1 { color: var(--brand-light); margin-bottom: 1.25rem; }
.about-section p { max-width: 760px; margin: auto; color: var(--brand-light); font-size: 1.05rem; line-height: 1.8; }

.services-section { flex: 1; width: min(calc(100% - var(--page-inline) - var(--page-inline)), var(--max-width)); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.services-section h2 { margin-bottom: 2rem; text-align: center; }
.scroll-container-wrapper { position: relative; }
.services { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2rem) / 3); gap: 1rem; overflow-x: auto; padding: .5rem .25rem 1.25rem; scroll-snap-type: x mandatory; scrollbar-color: var(--brand) transparent; }
.container { position: relative; min-height: var(--card-height); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2.1rem 1.6rem 1.6rem; overflow: hidden; border: 1px solid rgba(0,96,37,.14); border-radius: var(--card-radius); background: linear-gradient(145deg, #fff, #f0f8ed); box-shadow: 0 10px 25px rgba(18,52,42,.07); scroll-snap-align: start; text-align: center; transition: transform .2s, box-shadow .2s; }
.container::before { display: grid; width: 3.25rem; height: 3.25rem; place-items: center; margin-bottom: 1.1rem; border-radius: 50%; background: linear-gradient(135deg, var(--brand-dark), var(--brand)); box-shadow: 0 8px 15px rgba(0,96,37,.2); color: #fff; content: '✦'; font-size: 1.3rem; }
.container::after { position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--brand-dark), var(--brand), #82b63b); content: ''; }
.container:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.container h3 { margin-bottom: .7rem; color: var(--brand-dark); font-size: 1.1rem; }
.container p { max-width: 260px; color: var(--muted); line-height: 1.55; }
.scroll-btn { position: absolute; top: 50%; z-index: 2; width: 2.8rem; height: 2.8rem; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--brand-dark); box-shadow: var(--shadow); font-size: 2rem; cursor: pointer; transform: translateY(-50%); }
.scroll-left { left: -1.35rem; } .scroll-right { right: -1.35rem; }
.scroll-btn:hover, .scroll-btn:focus-visible { border-color: var(--brand); background: var(--brand); color: #fff; outline: 3px solid rgba(0,96,37,.16); transform: translateY(-50%) scale(1.08); }

/* Compact, viewport-fitted pages: home, about, services and contact. */
.fixed-page .section_container { gap: 1.75rem; padding: clamp(1.25rem, 3vh, 2rem) 0; }
.fixed-page .subtitle { margin-bottom: .65rem; padding: .35rem .6rem; font-size: .68rem; }
.fixed-page .title { margin-bottom: .75rem; font-size: clamp(2rem, 3.7vw, 3.35rem); font-weight: 600; }
.fixed-page .description { margin-bottom: 1rem; font-size: .92rem; line-height: 1.5; }
.fixed-page .btn { min-height: 42px; padding: .6rem .9rem; font-size: .86rem; }
.fixed-page .store { margin-top: .85rem; }.fixed-page .store img { width: 112px; }
.fixed-page .image img { width: min(19rem, 80%); }
.fixed-page .about-section, .fixed-page .contact-container { flex: 1; min-height: 0; margin: clamp(.75rem, 2vh, 1.25rem) auto; padding: clamp(1.15rem, 2.5vw, 2rem); }
.fixed-page .contact-container { flex: 0 1 auto; }
.fixed-page .about-section h1, .fixed-page .contact-container h2, .fixed-page .services-section h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-weight: 600; }
.fixed-page .about-section p { font-size: .9rem; line-height: 1.55; }
.fixed-page .services-section { min-height: 0; padding: clamp(.8rem, 2vh, 1.5rem) 0; }
.fixed-page .services-section h2 { margin-bottom: .75rem; }
.fixed-page .services-section { display: flex; flex-direction: column; }
.fixed-page .scroll-container-wrapper { display: flex; flex: 1; align-items: center; min-height: 0; padding: 0 3.75rem 1rem; }
.fixed-page .services { width: 100%; padding: .5rem .15rem .75rem; }
.fixed-page .scroll-left { left: .45rem; }.fixed-page .scroll-right { right: .45rem; }
.fixed-page .container { min-height: 210px; padding: 1.05rem; }
.fixed-page .container::before { width: 2.5rem; height: 2.5rem; margin-bottom: .65rem; font-size: 1rem; }
.fixed-page .container h3 { margin-bottom: .45rem; font-size: .92rem; font-weight: 600; }
.fixed-page .container p { font-size: .79rem; line-height: 1.42; }
.fixed-page .contact-container h2 { margin-bottom: .25rem; }
.fixed-page .contact-flex { gap: 1.25rem; }.fixed-page .contact-info img { width: min(100%, 180px); }
.fixed-page .info-box { margin-top: .75rem; }.fixed-page .info-box p { margin-bottom: .45rem; font-size: .85rem; }
.fixed-page label { margin: .55rem 0 .25rem; font-size: .78rem; }.fixed-page input, .fixed-page textarea { padding: .58rem .7rem; font-size: .85rem; }.fixed-page textarea { min-height: 72px; }.fixed-page form button { margin-top: .75rem; padding: .65rem; font-size: .85rem; }
.fixed-page footer, .fixed-page .social { padding: .7rem 1rem; }.fixed-page .social_container { margin-bottom: .35rem; }.fixed-page .social_container a { width: 1.85rem; height: 1.85rem; font-size: 1rem; }.fixed-page .social p, .fixed-page footer p { font-size: .72rem; }

.filter { width: min(calc(100% - var(--page-inline) - var(--page-inline)), var(--max-width)); margin: clamp(2rem, 5vw, 4rem) auto 1.25rem; display: flex; gap: .65rem; flex-wrap: wrap; }
.filter button { padding: .7rem 1rem; border: 1px solid var(--line); border-radius: .55rem; background: #fff; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; transition: .2s; }
.filter button:hover, .filter button.active { border-color: var(--brand); background: var(--brand); color: #fff; }
.image-card-wrapper { flex: 1; width: min(calc(100% - var(--page-inline) - var(--page-inline)), var(--max-width)); margin: 0 auto; padding: 0 0 4rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.image-card { transition: transform .2s; } .image-card:hover { transform: translateY(-5px); } .image-card.hide { display: none; }
.loan { position: relative; min-height: var(--card-height); display: grid; place-items: center; padding: 1.25rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--card-radius); background: linear-gradient(145deg, #fff, #f7fbf6); box-shadow: 0 8px 22px rgba(18,52,42,.06); }
.loan::before { position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--brand-dark), var(--brand)); content: ''; }
.loan img { position: relative; max-height: 220px; width: 100%; object-fit: contain; }

.contact-container h2 { margin-bottom: .6rem; text-align: center; }.intro { margin-bottom: 2rem; color: var(--muted); text-align: center; }.contact-flex { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }.contact-info img { width: min(100%, 310px); margin: auto; }.info-box { margin-top: 1.5rem; }.info-box p { display: flex; gap: .65rem; margin-bottom: .85rem; color: var(--muted); line-height: 1.5; }.info-box i { color: var(--brand); font-size: 1.2rem; } label { display: block; margin: 1rem 0 .4rem; color: var(--ink); font-size: .9rem; font-weight: 700; } input, textarea { width: 100%; padding: .8rem .9rem; border: 1px solid #bfd2c6; border-radius: .55rem; background: #fff; color: var(--ink); font: inherit; } input:focus, textarea:focus { border-color: var(--brand); outline: 3px solid rgba(0,107,79,.12); } textarea { min-height: 125px; resize: vertical; } form button { width: 100%; margin-top: 1.25rem; padding: .85rem; border: 0; border-radius: .55rem; background: var(--brand); color: #fff; font: inherit; font-weight: 700; cursor: pointer; } form button:hover { background: var(--brand-dark); } #responseMessage { margin-top: .75rem; text-align: center; }

.social, footer { margin-top: auto; background: var(--brand-dark); color: var(--brand-light); text-align: center; }.bank-footer { padding: 2.25rem max(1rem, calc((100% - var(--max-width)) / 2)); border-top: 4px solid var(--accent); }.bank-footer-content { display: grid; grid-template-columns: 1fr 1.45fr auto; gap: 2rem; align-items: center; text-align: left; }.bank-footer-brand h2 { margin-bottom: .45rem; color: #fff; font-size: 1.05rem; }.bank-footer-brand p { max-width: 250px; color: var(--brand-light); font-size: .85rem; line-height: 1.55; }.bank-footer-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }.trust-badge { display: flex; align-items: center; gap: .65rem; min-height: 3.5rem; padding: .65rem .8rem; border: 1px solid rgba(229,245,209,.25); border-radius: .65rem; background: rgba(229,245,209,.08); color: var(--brand-light); font-size: .76rem; font-weight: 600; line-height: 1.35; }.trust-badge img { width: 2rem; height: 2rem; flex: 0 0 auto; object-fit: contain; border-radius: 50%; background: #fff; }.bank-footer .social_container { display: flex; justify-content: flex-end; gap: .6rem; margin: 0; }.social_container a { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border: 1px solid rgba(229,245,209,.22); border-radius: 50%; background: rgba(229,245,209,.12); color: var(--brand-light); font-size: 1.25rem; transition: .2s; }.social_container a:hover, .social_container a:focus-visible { border-color: var(--accent); background: var(--accent); color: var(--brand-dark); outline: none; transform: translateY(-2px); }.footer-bottom { padding-top: 1.25rem; margin-top: 1.5rem; border-top: 1px solid rgba(229,245,209,.18); color: var(--brand-light); font-size: .75rem; }

@media (max-width: 900px) { .bank-footer-content { grid-template-columns: 1fr auto; }.bank-footer-trust { grid-column: 1 / -1; }.bank-footer .social_container { justify-content: flex-end; } }

@media (max-width: 760px) { :root { --card-height: 250px; --page-inline: 1rem; } .nav_content { min-height: 82px; }.navbar-brand { min-width: 0; }.navbar-brand img { width: 44px; height: 44px; }.navbar-brand-text h2 { font-size: .95rem; }.navbar-brand-text span { font-size: .75rem; } nav .checkbox { display: block; } nav ul { position: absolute; z-index: 100; top: 100%; left: 0; width: 100%; max-height: 0; padding: 0 var(--page-inline); overflow: hidden; flex-direction: column; align-items: stretch; gap: .2rem; background: #fff; border-bottom: 1px solid transparent; box-shadow: 0 12px 18px rgba(18,52,42,.08); opacity: 0; pointer-events: none; transform: translateY(-.75rem); transition: max-height .3s ease, padding .3s ease, opacity .2s ease, transform .3s ease; } nav #check:checked ~ ul { max-height: 24rem; padding: .75rem var(--page-inline) 1rem; border-bottom-color: var(--line); opacity: 1; pointer-events: auto; transform: translateY(0); } nav ul li a { padding: .8rem; }.section_container, .contact-flex { grid-template-columns: 1fr; }.section_container { padding: 3.5rem 0; text-align: center; }.content { display: flex; flex-direction: column; align-items: center; }.image { order: -1; }.image img { width: min(18rem, 72vw); }.services { grid-auto-columns: minmax(260px, 82%); }.scroll-btn { display: none; }.about-section, .contact-container { margin: 1.5rem auto; }.contact-info { text-align: center; }.info-box p { justify-content: center; text-align: left; }.store { justify-content: center; }
  .fixed-page .section_container { padding: .55rem 0; gap: .35rem; }.fixed-page .image img { width: min(8.5rem, 30vw); }.fixed-page .subtitle { margin-bottom: .25rem; font-size: .58rem; }.fixed-page .title { margin-bottom: .35rem; font-size: clamp(1.45rem, 6.5vw, 1.9rem); line-height: 1.08; }.fixed-page .description { margin-bottom: .55rem; font-size: .76rem; line-height: 1.35; }.fixed-page .action_btn { gap: .4rem; }.fixed-page .btn { min-height: 34px; padding: .45rem .65rem; font-size: .68rem; }.fixed-page .store { margin-top: .35rem; }.fixed-page .store img { width: 88px; }.fixed-page .about-section, .fixed-page .contact-container { margin: .45rem auto; padding: .8rem 1rem; }.fixed-page .about-section p { font-size: .74rem; line-height: 1.38; }.fixed-page .about-section h1, .fixed-page .contact-container h2, .fixed-page .services-section h2 { font-size: 1.25rem; }.fixed-page .services-section { padding: .45rem 0; }.fixed-page .scroll-container-wrapper { display: block; padding: 0 0 .4rem; }.fixed-page .container { min-height: 180px; padding: .8rem; }.fixed-page .container p { font-size: .72rem; }.fixed-page .contact-flex { display: block; }.fixed-page .contact-info { display: none; }.fixed-page textarea { min-height: 45px; }.fixed-page label { margin: .25rem 0 .15rem; }.fixed-page input, .fixed-page textarea { padding: .4rem .55rem; font-size: .72rem; }.fixed-page form button { margin-top: .4rem; padding: .45rem; }.fixed-page .social_container { display: none; }.fixed-page footer, .fixed-page .social { padding: .4rem .75rem; } }
@media (max-width: 420px) { .title { font-size: 2.35rem; }.btn { width: 100%; }.store .btn { width: auto; }.store img { width: 125px; }.about-section, .contact-container { padding: 1.5rem; } }
@media (max-width: 760px) { .fixed-page .bank-footer, .bank-footer { padding: 1.5rem 1rem; }.bank-footer-content { grid-template-columns: 1fr; gap: 1.25rem; text-align: center; }.bank-footer-brand p { margin: auto; }.bank-footer-trust { grid-template-columns: 1fr; }.trust-badge { justify-content: flex-start; text-align: left; }.bank-footer .social_container, .fixed-page .bank-footer .social_container { display: flex; justify-content: center; }.fixed-page .bank-footer .social_container a { display: grid; width: 2.25rem; height: 2.25rem; font-size: 1.25rem; }.fixed-page .bank-footer .footer-bottom { padding-top: 1rem; margin-top: 1rem; font-size: .72rem; } }

/* Refined, compact footer and small-screen layout. */
.bank-footer { padding: 1rem max(1rem, calc((100% - var(--max-width)) / 2)); border-top-width: 3px; }
.bank-footer-content { grid-template-columns: 1fr auto; gap: 1.25rem; }
.bank-footer-brand h2 { margin-bottom: .2rem; font-size: .98rem; }
.bank-footer-brand p { font-size: .75rem; line-height: 1.35; }
.bank-footer-trust { gap: .45rem; }
.trust-badge { min-height: 2.75rem; padding: .4rem .55rem; gap: .45rem; border-radius: .5rem; font-size: .7rem; line-height: 1.25; }
.trust-badge img { width: 1.65rem; height: 1.65rem; }
.bank-footer .social_container { gap: .4rem; }
.bank-footer .social_container a { width: 1.85rem; height: 1.85rem; font-size: 1rem; }
.footer-bottom { padding-top: .65rem; margin-top: .7rem; font-size: .68rem; }
.bank-footer .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(229,245,209,.18); color: var(--brand-light); text-align: left; }
.bank-footer .footer-bottom > p { margin: 0; }
.regulatory-mark { display: flex; align-items: flex-start; justify-content: flex-end; gap: .7rem; }
.regulatory-item { display: grid; justify-items: center; gap: .2rem; min-width: 3.6rem; }
.regulatory-item img { width: 2rem; height: 2rem; object-fit: contain; border-radius: 50%; background: #fff; }
.regulatory-item p { margin: 0; color: var(--brand-light); font-size: .58rem; font-weight: 700; line-height: 1.15; text-align: center; white-space: nowrap; }
.footer-bottom a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: .15em; }

@media (max-width: 980px) {
  .bank-footer-content { grid-template-columns: 1fr auto; gap: .8rem 1rem; }
  .bank-footer-trust { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .fixed-page { height: auto; min-height: 100svh; overflow-x: hidden; overflow-y: auto; }
  .fixed-page .section, .fixed-page .about-section, .fixed-page .services-section { flex: none; }
  .fixed-page .section_container { padding: 1.5rem 0 2rem; }
  .fixed-page .image img { width: min(15rem, 58vw); }
  .fixed-page .services-section { padding: 1.5rem 0; }
  .fixed-page .scroll-container-wrapper { padding-bottom: .25rem; }
  .fixed-page .container { min-height: 190px; }
  .bank-footer, .fixed-page .bank-footer { padding: .85rem 1rem .7rem; }
  .bank-footer-content { grid-template-columns: 1fr; gap: .65rem; text-align: center; }
  .bank-footer-brand p { margin: auto; }
  .bank-footer-trust { grid-template-columns: 1fr; gap: .4rem; }
  .trust-badge { justify-content: flex-start; min-height: 2.6rem; text-align: left; }
  .bank-footer .social_container, .fixed-page .bank-footer .social_container { justify-content: center; }
  .footer-bottom, .fixed-page .bank-footer .footer-bottom { padding-top: .55rem; margin-top: .55rem; font-size: .65rem; }
  .bank-footer .footer-bottom { flex-direction: column; align-items: stretch; gap: .45rem; text-align: left; }
  .bank-footer .regulatory-mark { align-self: flex-end; justify-content: flex-end; }
  .filter { margin-top: 1.25rem; gap: .45rem; }
  .filter button { flex: 1 1 140px; padding: .6rem .7rem; }
  .image-card-wrapper { grid-template-columns: 1fr; padding-bottom: 2rem; }
  .loan { min-height: 190px; }
  .contact-page .contact-container { margin: 1rem auto 1.5rem; padding: 1.25rem 1rem; }
  .contact-page .contact-info img { width: min(100%, 220px); }
}

@media (max-width: 420px) {
  .nav_content { min-height: 72px; }
  .navbar-brand img { width: 40px; height: 40px; }
  nav ul { top: 100%; }
  .fixed-page .section_container { padding: 1.15rem 0 1.5rem; }
  .fixed-page .title { font-size: 1.7rem; }
  .fixed-page .image img { width: min(12rem, 62vw); }
  .services { grid-auto-columns: 88%; }
  .trust-badge { font-size: .67rem; }
}

/* Homepage hero artwork */
.hero-image { min-height: 330px; isolation: isolate; }
.hero-image::before { width: min(24rem, 88%); aspect-ratio: 1; border-radius: 2rem; background: linear-gradient(145deg, #dcefd7, #9fc28b); box-shadow: 0 20px 38px rgba(18, 52, 42, .16); transform: rotate(5deg); }
.hero-image::after { position: absolute; z-index: -1; width: min(19rem, 70%); aspect-ratio: 1; border: 1px solid rgba(54, 84, 31, .2); border-radius: 2rem; content: ''; transform: rotate(-6deg); }
.hero-image img { width: min(21rem, 82%); aspect-ratio: 1; border: 5px solid rgba(255, 255, 255, .88); border-radius: 1.5rem; object-fit: cover; box-shadow: 0 22px 32px rgba(18, 52, 42, .24); }

@media (max-width: 760px) {
  .hero-image { min-height: 0; margin-top: .5rem; }
  .fixed-page .hero-image img { width: min(16rem, 62vw); border-width: 4px; border-radius: 1.2rem; }
  .hero-image::before { width: min(18rem, 70vw); border-radius: 1.4rem; }
  .hero-image::after { display: none; }
}

/* About page */
.about-section { grid-template-columns: minmax(150px, .38fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; text-align: left; }
.about-icon { display: grid; width: min(13rem, 100%); aspect-ratio: 1; place-items: center; justify-self: center; border: 1px solid rgba(229, 245, 209, .6); border-radius: 50%; background: #fff; box-shadow: 0 14px 28px rgba(0, 0, 0, .16), inset 0 0 0 1rem rgba(54, 84, 31, .06); animation: about-icon-zoom-out 3.8s ease-in-out infinite; }
.about-icon img { width: 72%; height: 72%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .2)); }
@keyframes about-icon-zoom-out { 0%, 100% { transform: scale(1); } 50% { transform: scale(.9); } }
.about-copy { min-width: 0; }
.about-eyebrow { width: fit-content; margin: 0 0 .55rem; padding: .3rem .6rem; border-radius: 999px; background: rgba(229, 245, 209, .14); color: var(--brand-light); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.about-section .about-copy h1 { margin-bottom: .8rem; }
.about-section .about-copy p:last-child { margin: 0; }

@media (max-width: 760px) {
  .fixed-page .about-section { grid-template-columns: 1fr; gap: .8rem; text-align: center; }
  .about-icon { width: min(7.5rem, 34vw); box-shadow: inset 0 0 0 .6rem rgba(229, 245, 209, .05); }
  .about-eyebrow { margin-right: auto; margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .about-icon { animation: none; }
}

/* Privacy policy */
.privacy-content { width: min(calc(100% - var(--page-inline) - var(--page-inline)), 960px); margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.privacy-hero { padding: clamp(2rem, 5vw, 4rem); margin-bottom: 1.25rem; border-radius: var(--card-radius); background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: var(--brand-light); text-align: center; }
.privacy-kicker { margin-bottom: .6rem; color: #d7eec6; font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.privacy-hero h1 { margin-bottom: .8rem; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.2rem, 5vw, 3.5rem); color: #fff; }
.privacy-hero p { max-width: 620px; margin: auto; line-height: 1.6; }
.privacy-card { padding: clamp(1.25rem, 3vw, 2rem); margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--surface); box-shadow: 0 8px 22px rgba(18, 52, 42, .06); }
.privacy-card h2 { margin-bottom: .7rem; color: var(--brand-dark); font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.privacy-card > p { color: var(--muted); line-height: 1.7; }
.privacy-card > p + p { margin-top: .8rem; }
.privacy-contact a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: .15em; }
.privacy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.privacy-grid article { padding: 1rem; border-radius: .75rem; background: var(--surface-soft); }
.privacy-grid i { display: grid; width: 2.2rem; height: 2.2rem; place-items: center; margin-bottom: .65rem; border-radius: 50%; background: #dcefd7; color: var(--brand-dark); font-size: 1.15rem; }
.privacy-grid h3 { margin-bottom: .35rem; color: var(--brand-dark); font-size: .92rem; }
.privacy-grid p { color: var(--muted); font-size: .82rem; line-height: 1.5; }

@media (max-width: 620px) {
  .privacy-content { padding: 1.25rem 0 2rem; }
  .privacy-hero { padding: 1.75rem 1rem; }
  .privacy-card { padding: 1.1rem; }
  .privacy-grid { grid-template-columns: 1fr; }
}

/* Home, About, and Services: phone layouts */
@media (max-width: 600px) {
  .fixed-page .nav_content { min-height: 68px; }
  .fixed-page .navbar-brand img { width: 40px; height: 40px; }
  .fixed-page .navbar-brand-text h2 { font-size: .88rem; }
  .fixed-page .navbar-brand-text span { font-size: .69rem; }
  .fixed-page nav ul { top: 100%; }

  .fixed-page .section_container { gap: 1.1rem; padding: 1.25rem 0 1.75rem; }
  .fixed-page .subtitle { margin-bottom: .5rem; padding: .35rem .6rem; font-size: .63rem; }
  .fixed-page .title { margin-bottom: .7rem; font-size: clamp(1.9rem, 9vw, 2.35rem); line-height: 1.08; }
  .fixed-page .description { margin-bottom: 1rem; font-size: .86rem; line-height: 1.55; }
  .fixed-page .description br { display: none; }
  .fixed-page .action_btn { display: grid; grid-template-columns: 1fr; width: min(100%, 21rem); gap: .55rem; }
  .fixed-page .btn { width: 100%; min-height: 42px; padding: .65rem .85rem; font-size: .82rem; }
  .fixed-page .store { display: flex; width: auto; margin-top: .1rem; }
  .fixed-page .store a { min-width: 0; flex: 1; }
  .fixed-page .store img { width: min(100%, 112px); }
  .fixed-page .hero-image { margin-top: 0; }
  .fixed-page .hero-image img { width: min(14rem, 68vw); }
  .hero-image::before { width: min(15rem, 72vw); }

  .fixed-page .about-section { margin: 1rem auto; padding: 1.35rem 1rem; }
  .fixed-page .about-icon { width: min(7rem, 32vw); }
  .fixed-page .about-copy h1 { margin-bottom: .7rem; font-size: 1.55rem; line-height: 1.16; }
  .fixed-page .about-copy p:last-child { font-size: .84rem; line-height: 1.55; }
  .about-eyebrow { margin-bottom: .45rem; font-size: .62rem; }

  .fixed-page .services-section { padding: 1.15rem 0 1.5rem; }
  .fixed-page .services-section h2 { margin-bottom: .9rem; font-size: 1.45rem; line-height: 1.2; }
  .fixed-page .services { grid-auto-columns: minmax(82%, 18rem); gap: .75rem; padding: .3rem .1rem .8rem; scroll-padding-inline: .1rem; }
  .fixed-page .container { min-height: 195px; padding: 1rem; }
  .fixed-page .container h3 { font-size: .98rem; }
  .fixed-page .container p { font-size: .78rem; line-height: 1.45; }

  .fixed-page .bank-footer { padding: .8rem .9rem .65rem; }
  .fixed-page .bank-footer-brand h2 { font-size: .9rem; }
  .fixed-page .bank-footer-brand p { font-size: .7rem; }
}

/* Shared footer and mobile navigation alignment for every page. */
.nav_content > .checkbox {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 28px;
  line-height: 1;
}

.nav_content > .checkbox i {
  display: block;
}

@media (min-width: 761px) {
  .bank-footer,
  .fixed-page .bank-footer {
    padding: .7rem max(1rem, calc((100% - var(--max-width)) / 2));
  }

  .bank-footer-content,
  .fixed-page .bank-footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: .9rem;
    text-align: left;
  }

  .bank-footer .social_container,
  .fixed-page .bank-footer .social_container {
    display: flex;
    justify-content: flex-end;
    margin: 0;
  }

  .bank-footer .footer-bottom,
  .fixed-page .bank-footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding-top: .45rem;
    margin-top: .5rem;
    text-align: left;
  }

  .bank-footer .bank-footer-brand p,
  .fixed-page .bank-footer .bank-footer-brand p {
    max-width: 250px;
    font-size: .7rem;
    line-height: 1.25;
  }
}

.bank-footer .bank-footer-brand h2 { font-size: .9rem; }
.bank-footer .social_container a { width: 1.65rem; height: 1.65rem; font-size: .9rem; }
.bank-footer .regulatory-item img { width: 1.7rem; height: 1.7rem; }
.bank-footer .regulatory-item p { font-size: .52rem; }

@media (max-width: 760px) {
  .bank-footer,
  .fixed-page .bank-footer { padding: .65rem .9rem .55rem; }
  .bank-footer-content { gap: .5rem; }
  .bank-footer .footer-bottom { padding-top: .4rem; margin-top: .4rem; }
}

/* Services page: override legacy inline spacing and keep the card rail stable. */
.fixed-page .services-section h2 { margin-top: 0; }
.fixed-page .services { align-items: stretch; }
.fixed-page .container { width: auto; margin-top: 0; flex: initial; }

@media (max-width: 760px) {
  .fixed-page .services-section { width: min(calc(100% - 2rem), var(--max-width)); }
  .fixed-page .services { overflow-x: auto; overscroll-behavior-x: contain; }
}

/* Services are presented as a vertical list rather than a horizontal carousel. */
.services-page { height: auto; min-height: 100svh; overflow-x: hidden; overflow-y: auto; }
.services-page .services-section { padding: clamp(2rem, 5vw, 4rem) 0; }
.services-page .scroll-container-wrapper { overflow: visible; padding: 0; }
.services-page .services { display: flex; flex-direction: column; gap: 1rem; overflow: visible; padding: 0; }
.services-page .container { width: 100%; min-height: 150px; margin: 0; padding: 1.5rem; }
.services-page .scroll-btn { display: none; }

@media (max-width: 600px) {
  .services-page .services-section { padding: 1.25rem 0 1.75rem; }
  .services-page .services { gap: .75rem; }
  .services-page .container { min-height: 145px; }
}
