/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — LoomyWeb Consolidated Styles
   ========================================================================== */

:root {
  --primary-color: #102b5c;
  --secondary-color: #ed1c24;

  /* ==========================================================================
     Standardized Responsive Typography System
     - H1: 42–52px (Mobile: 42px, Tablet: 46px, Desktop: 52px)
     - H2: 32–40px (Mobile: 32px, Tablet: 35px, Desktop: 40px)
     - H3: 24–28px (Mobile: 24px, Tablet: 26px, Desktop: 28px)
     - H4: 20–22px (Mobile: 20px, Tablet: 21px, Desktop: 22px)
     - Body text: 16–18px (Mobile: 16px, Tablet: 17px, Desktop: 18px)
     - Small text: 14px (Mobile: 13px, Tablet: 13.5px, Desktop: 14px)
     - Navigation: 15–16px (Mobile: 15px, Desktop: 16px)
     - Buttons: 15–17px (Mobile: 15px, Tablet: 16px, Desktop: 17px)
     - Footer text: 14–16px (Mobile: 14px, Desktop: 16px)
     ========================================================================== */
  --font-h1: clamp(42px, 1.1vw + 38px, 52px);
  --line-height-h1: 1.15;

  --font-h2: clamp(32px, 0.9vw + 28.5px, 40px);
  --line-height-h2: 1.25;

  --font-h3: clamp(24px, 0.45vw + 22.3px, 28px);
  --line-height-h3: 1.35;

  --font-h4: clamp(20px, 0.25vw + 19px, 22px);
  --line-height-h4: 1.4;

  --font-body: clamp(16px, 0.25vw + 15px, 18px);
  --line-height-body: 1.65;

  --font-small: clamp(13px, 0.12vw + 12.5px, 14px);
  --line-height-small: 1.5;

  --font-nav: clamp(15px, 0.12vw + 14.5px, 16px);
  --line-height-nav: 1.4;

  --font-btn: clamp(15px, 0.25vw + 14px, 17px);
  --line-height-btn: 1.2;

  --font-footer: clamp(14px, 0.25vw + 13px, 16px);
  --line-height-footer: 1.55;
}

/* Centralized Global Typography Hierarchy */
h1, .h1 {
  font-size: var(--font-h1);
  line-height: var(--line-height-h1);
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-size: var(--font-h2);
  line-height: var(--line-height-h2);
  letter-spacing: -0.015em;
}

h3, .h3 {
  font-size: var(--font-h3);
  line-height: var(--line-height-h3);
  letter-spacing: -0.01em;
}

h4, .h4 {
  font-size: var(--font-h4);
  line-height: var(--line-height-h4);
}

p, li, dd {
  font-size: var(--font-body);
  line-height: var(--line-height-body);
}

small, .text-small, .caption, .eyebrow {
  font-size: var(--font-small);
  line-height: var(--line-height-small);
}

.btn, button, input[type="submit"], input[type="button"], a.btn {
  font-size: var(--font-btn);
  line-height: var(--line-height-btn);
}

html {
  scroll-padding-top: 96px;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: #ffffff;
  overflow-x: clip;
}

.fraternal-inner-banner__label a {
  color: inherit;
  text-decoration: none;
}



/* === css/header.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Header Navigation
   File: css/header.css
   Scope: .site-header, .mobile-drawer, .mobile-drawer-overlay
   All tokens are scoped to the header components so this file never
   leaks global styles into future sections.
   ========================================================================== */

/* ---------- 1. Design tokens (scoped) ---------- */
.site-header,
.mobile-drawer,
.mobile-drawer-overlay {
  --fc-navy: var(--primary-color);
  --fc-navy-deep: color-mix(in srgb, var(--primary-color) 72%, #000000);
  --fc-ink: #141b2d;
  --fc-red: var(--secondary-color);
  --fc-red-dark: color-mix(in srgb, var(--secondary-color) 82%, #000000);
  --fc-blue: #2454c5;
  --fc-white: #ffffff;
  --fc-text: #555b66;
  --fc-sky: #eaf4ff;
  --fc-line: #dfe5ee;

  --fc-font-display: "Red Hat Display", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fc-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fc-font-brand: "Source Serif 4", Georgia, "Times New Roman", serif;

  --fc-container: 1640px;
  --fc-gutter: clamp(16px, 4.4vw, 72px);
  --fc-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --fc-focus: 0 0 0 3px #fff, 0 0 0 5px var(--fc-blue);

  --hdr-h: 104px;
  --hdr-mark-h: 64px;
  --hdr-name-size: 26px;
  --hdr-nav-size: var(--font-nav);
  --hdr-nav-gap: clamp(22px, 2.5vw, 46px);
  --hdr-cta-h: 56px;

  /* z-index scale (header family) */
  --fc-z-header: 100;
  --fc-z-overlay: 900;
  --fc-z-drawer: 1000;
}

.site-header *,
.site-header *::before,
.site-header *::after,
.mobile-drawer *,
.mobile-drawer *::before,
.mobile-drawer *::after {
  box-sizing: border-box;
}

.site-header svg,
.mobile-drawer svg {
  display: block;
  flex-shrink: 0;
}

/* ---------- 2. Sticky header shell ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--fc-z-header);
  background-color: var(--fc-white);
  font-family: var(--fc-font-body);
  transition: box-shadow 0.4s var(--fc-ease), background-color 0.4s var(--fc-ease);
}

/* hairline that appears with the scrolled state (no height change = no layout jump) */
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--fc-line);
  opacity: 0;
  transition: opacity 0.4s var(--fc-ease);
  pointer-events: none;
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px -16px rgba(7, 29, 67, 0.22);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}

.site-header.is-scrolled::after {
  opacity: 1;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.2vw, 40px);
  height: var(--hdr-h);
  max-width: calc(var(--fc-container) + var(--fc-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--fc-gutter);
}

/* ---------- 3. Branding ---------- */
.header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 1;
  min-width: 0;
  color: var(--fc-ink);
  text-decoration: none;
  border-radius: 8px;
}

.header-brand-mark {
  display: block;
  width: auto;
  max-width: 100%;
  height: var(--hdr-mark-h);
  object-fit: contain;
  flex-shrink: 1;
}

.header-brand-name {
  display: flex;
  flex-direction: column;
  font-family: var(--fc-font-brand);
  font-weight: 500;
  font-size: var(--hdr-name-size);
  line-height: 1.12;
  letter-spacing: -0.006em;
  color: var(--fc-ink);
  white-space: nowrap;
}

.header-brand-meta {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-left: 10px;
  padding: 6px 4px 12px 26px;
  border-left: 1px solid #cfd5df;
  font-size: var(--font-small);
  font-weight: 500;
  line-height: var(--line-height-small);
  color: #1d2433;
  white-space: nowrap;
}

.header-brand-swoosh {
  position: absolute;
  left: 18px;
  bottom: -2px;
  width: 112px;
  height: 10px;
  color: var(--fc-red);
}

/* ---------- 4. Desktop navigation ---------- */
.header-navigation {
  display: flex;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

.header-nav-list {
  display: flex;
  align-items: center;
  gap: var(--hdr-nav-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font-family: var(--fc-font-display);
  font-weight: 600;
  font-size: var(--font-nav);
  letter-spacing: -0.005em;
  color: var(--fc-ink);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 4px;
  transition: color 0.3s var(--fc-ease);
}

.header-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 3px;
  background: var(--fc-red);
  opacity: 0.45;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s var(--fc-ease), opacity 0.3s var(--fc-ease);
}

.header-nav-link:hover {
  color: var(--fc-blue);
}

.header-nav-link:hover::after {
  transform: scaleX(1);
}

.header-nav-link.is-active {
  color: var(--fc-blue);
}

.header-nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* ---------- 5. Actions: CTA, compact CTA, hamburger ---------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: var(--hdr-cta-h);
  padding: 0 30px;
  border-radius: 10px;
  background: var(--fc-red);
  color: var(--fc-white);
  font-family: var(--fc-font-display);
  font-weight: 700;
  font-size: var(--font-btn);
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 22px -12px rgba(227, 30, 38, 0.75);
  transition: transform 0.35s var(--fc-ease), box-shadow 0.35s var(--fc-ease),
    background-color 0.3s var(--fc-ease);
}

.header-cta svg {
  width: 20px;
  height: 20px;
  transform-origin: 40% 60%;
}

.header-cta:hover {
  background: var(--fc-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -14px rgba(227, 30, 38, 0.85);
}

.header-cta:hover svg {
  animation: fc-header-ring 0.7s var(--fc-ease) 1;
}

.header-cta:active {
  transform: translateY(0);
}

@keyframes fc-header-ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(5deg); }
}

.header-cta-compact,
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s var(--fc-ease), color 0.3s var(--fc-ease),
    border-color 0.3s var(--fc-ease), transform 0.3s var(--fc-ease);
}

.header-cta-compact {
  border: 0;
  background: var(--fc-red);
  color: var(--fc-white);
  box-shadow: 0 8px 18px -10px rgba(227, 30, 38, 0.8);
}

.header-cta-compact svg {
  width: 20px;
  height: 20px;
}

.header-cta-compact:hover {
  background: var(--fc-red-dark);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  border: 1px solid var(--fc-line);
  background: var(--fc-white);
  color: var(--fc-navy);
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle[aria-expanded="true"] {
  border-color: var(--fc-navy);
  background: var(--fc-navy);
  color: var(--fc-white);
}

/* ---------- 6. Focus states ---------- */
.site-header a:focus-visible,
.site-header button:focus-visible,
.mobile-drawer a:focus-visible,
.mobile-drawer button:focus-visible {
  outline: none;
  box-shadow: var(--fc-focus);
}

/* ---------- 7. Mobile drawer + overlay ---------- */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--fc-z-overlay);
  background: rgba(7, 29, 67, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
}

.mobile-drawer-overlay[hidden] {
  display: none;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: var(--fc-z-drawer);
  display: flex;
  flex-direction: column;
  width: min(88vw, 400px);
  background: var(--fc-white);
  box-shadow: -30px 0 60px -24px rgba(7, 29, 67, 0.4);
  font-family: var(--fc-font-body);
  overflow-y: auto;
  overscroll-behavior: contain;
  /* Hidden until opened; the slide transform is owned by GSAP (js/header.js) */
  visibility: hidden;
}

/* thin brand accent along the top edge */
.mobile-drawer::before {
  content: "";
  position: sticky;
  top: 0;
  display: block;
  flex-shrink: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--fc-red) 0 28%, var(--fc-blue) 28% 100%);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 18px 22px;
  border-bottom: 1px solid var(--fc-line);
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mobile-drawer-brand img {
  display: block;
  width: auto;
  height: 46px;
}

.mobile-drawer-title {
  margin: 0;
  font-family: var(--fc-font-brand);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.18;
  color: var(--fc-ink);
}

.mobile-drawer-title span {
  display: block;
}

.mobile-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--fc-line);
  border-radius: 50%;
  background: var(--fc-white);
  color: var(--fc-navy);
  cursor: pointer;
  transition: background-color 0.3s var(--fc-ease), color 0.3s var(--fc-ease),
    transform 0.4s var(--fc-ease), border-color 0.3s var(--fc-ease);
}

.mobile-drawer-close svg {
  width: 22px;
  height: 22px;
}

.mobile-drawer-close:hover {
  background: var(--fc-red);
  border-color: var(--fc-red);
  color: var(--fc-white);
  transform: rotate(90deg);
}

.mobile-drawer-nav {
  padding: 14px 12px;
}

.mobile-drawer-label {
  margin: 4px 14px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a93a3;
}

.mobile-drawer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-drawer-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 12px 14px 12px 16px;
  border-radius: 12px;
  font-family: var(--fc-font-display);
  font-weight: 600;
  font-size: var(--font-nav);
  color: var(--fc-ink);
  text-decoration: none;
  transition: background-color 0.3s var(--fc-ease), color 0.3s var(--fc-ease);
}

.mobile-drawer-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 22px;
  border-radius: 3px;
  background: var(--fc-red);
  transform: translateY(-50%) scaleY(0);
  transition: transform 0.35s var(--fc-ease);
}

.mobile-drawer-link svg {
  width: 18px;
  height: 18px;
  color: #a3acbb;
  transition: transform 0.35s var(--fc-ease), color 0.3s var(--fc-ease);
}

.mobile-drawer-link:hover,
.mobile-drawer-link:focus-visible {
  background: var(--fc-sky);
  color: var(--fc-blue);
}

.mobile-drawer-link:hover svg,
.mobile-drawer-link:focus-visible svg {
  color: var(--fc-red);
  transform: translateX(4px);
}

.mobile-drawer-link.is-active {
  color: var(--fc-blue);
}

.mobile-drawer-link.is-active::before {
  transform: translateY(-50%) scaleY(1);
}

.mobile-drawer-foot {
  margin-top: auto;
  padding: 20px 22px 28px;
  border-top: 1px solid var(--fc-line);
  background: linear-gradient(180deg, #fff 0%, var(--fc-sky) 100%);
}

.mobile-drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 54px;
  border-radius: 10px;
  background: var(--fc-red);
  color: var(--fc-white);
  font-family: var(--fc-font-display);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  box-shadow: 0 12px 24px -14px rgba(227, 30, 38, 0.9);
  transition: background-color 0.3s var(--fc-ease), transform 0.3s var(--fc-ease);
}

.mobile-drawer-cta svg {
  width: 20px;
  height: 20px;
}

.mobile-drawer-cta:hover {
  background: var(--fc-red-dark);
  transform: translateY(-2px);
}

.mobile-drawer-meta {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: var(--fc-text);
}

.mobile-drawer-meta strong {
  font-weight: 600;
  color: var(--fc-navy);
}

/* Body scroll lock (namespaced utility, toggled by js/header.js) */
html.fc-scroll-locked,
html.fc-scroll-locked body {
  overflow: hidden;
}

/* ---------- 8. Pre-animation state (prevents a flash before GSAP runs).
   `fc-js` is set by a tiny inline script; `fc-reveal` is a safety net
   that shows everything if scripts fail to load. ---------- */
.fc-js:not(.fc-header-ready):not(.fc-reveal) [data-hdr-anim] {
  opacity: 0;
}

/* ---------- 9. Responsive ---------- */

/* Desktop — 1360 to 1599 */
@media (max-width: 1599px) {
  .site-header,
  .mobile-drawer,
  .mobile-drawer-overlay {
    --hdr-h: 96px;
    --hdr-mark-h: 56px;
    --hdr-name-size: 23px;
    --hdr-nav-size: var(--font-nav);
    --hdr-nav-gap: clamp(22px, 2.1vw, 32px);
    --hdr-cta-h: 52px;
  }

  .header-brand {
    gap: 14px;
  }

  .header-brand-meta {
    margin-left: 6px;
    padding-left: 20px;
    font-size: var(--font-small);
  }

  .header-brand-swoosh {
    left: 14px;
    width: 100px;
  }

  .header-cta {
    padding: 0 24px;
    font-size: var(--font-btn);
  }
}

/* Laptop — 1200 to 1359: drop the NBFC block to give the menu room */
@media (max-width: 1359px) {
  .site-header,
  .mobile-drawer,
  .mobile-drawer-overlay {
    --hdr-h: 88px;
    --hdr-mark-h: 50px;
    --hdr-name-size: 21px;
    --hdr-nav-size: var(--font-nav);
    --hdr-nav-gap: 24px;
    --hdr-cta-h: 48px;
  }

  .header-brand-meta {
    display: none;
  }
}

/* Small laptop / iPad landscape — 1024 to 1199 */
@media (max-width: 1199px) {
  .site-header,
  .mobile-drawer,
  .mobile-drawer-overlay {
    --hdr-mark-h: 40px;
    --hdr-name-size: 18px;
    --hdr-nav-size: var(--font-nav);
    --hdr-nav-gap: 14px;
    --hdr-cta-h: 44px;
  }

  .header-brand {
    gap: 11px;
  }

  .header-cta {
    gap: 8px;
    padding: 0 14px;
    font-size: var(--font-btn);
  }

  .header-cta svg {
    width: 18px;
    height: 18px;
  }
}

/* Tablet portrait & mobile — hamburger navigation */
@media (max-width: 1023px) {
  .site-header,
  .mobile-drawer,
  .mobile-drawer-overlay {
    --hdr-h: 76px;
    --hdr-mark-h: 46px;
    --hdr-name-size: 18px;
  }

  .header-navigation,
  .header-cta {
    display: none;
  }

  .header-cta-compact,
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* Tablet: there is room for the NBFC block again once the menu collapses */
@media (min-width: 640px) and (max-width: 1023px) {
  .header-brand-meta {
    display: flex;
    margin-left: 4px;
    padding: 4px 4px 10px 18px;
    font-size: var(--font-small);
  }

  .header-brand-swoosh {
    left: 12px;
    width: 88px;
  }
}

@media (max-width: 480px) {
  .site-header,
  .mobile-drawer,
  .mobile-drawer-overlay {
    --hdr-h: 68px;
    --hdr-mark-h: 38px;
    --hdr-name-size: 15px;
  }

  .header-brand {
    gap: 10px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-cta-compact,
  .mobile-menu-toggle {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 359px) {
  .site-header,
  .mobile-drawer,
  .mobile-drawer-overlay {
    --hdr-mark-h: 32px;
    --hdr-name-size: 13px;
  }

  .header-brand {
    gap: 8px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-cta-compact,
  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
  }
}

/* ---------- 10. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header::after,
  .header-nav-link,
  .header-nav-link::after,
  .header-cta,
  .header-cta-compact,
  .mobile-menu-toggle,
  .mobile-drawer-close,
  .mobile-drawer-link,
  .mobile-drawer-link::before,
  .mobile-drawer-link svg,
  .mobile-drawer-cta {
    transition: none;
  }

  .header-cta:hover svg {
    animation: none;
  }

  .header-cta:hover,
  .mobile-drawer-cta:hover,
  .mobile-drawer-close:hover {
    transform: none;
  }
}


/* === css/hero-banner.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Hero Banner Slider
   File: css/hero-banner.css
   Scope: .hero-section (all tokens and rules are namespaced)
   ========================================================================== */

/* ---------- 1. Design tokens (scoped) ---------- */
.hero-section {
  --fc-navy: var(--primary-color);
  --fc-navy-deep: color-mix(in srgb, var(--primary-color) 72%, #000000);
  --fc-ink: #141b2d;
  --fc-red: var(--secondary-color);
  --fc-red-dark: color-mix(in srgb, var(--secondary-color) 82%, #000000);
  --fc-blue: #2454c5;
  --fc-white: #ffffff;
  --fc-text: #555b66;
  --fc-sky: #eaf4ff;
  --fc-line: #dfe5ee;

  --fc-font-display: "Red Hat Display", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fc-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fc-container: 1640px;
  --fc-gutter: clamp(16px, 4.4vw, 72px);
  --fc-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --fc-focus: 0 0 0 3px #fff, 0 0 0 5px var(--fc-blue);

  /* 40.2vw reproduces the reference proportions (712px tall at 1774px wide) */
  --hero-h: clamp(560px, 40.2vw, 720px);
  /* media box follows the vehicle image's aspect ratio (984 × 712 ≈ 1.382) */
  --hero-media-w: min(100%, calc(var(--hero-h) * 1.382));
  --hero-content-w: min(800px, 46vw);
  --hero-autoplay: 6500ms; /* kept in sync with data-autoplay by JS */

  position: relative;
  isolation: isolate;
  overflow: hidden;
  font-family: var(--fc-font-body);
  color: var(--fc-text);
  background:
    radial-gradient(120% 85% at 0% 0%, #dcedfe 0%, rgba(234, 244, 255, 0.55) 34%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, #eef6ff 0%, #ffffff 52%, #ffffff 100%);
}

.hero-section *,
.hero-section *::before,
.hero-section *::after {
  box-sizing: border-box;
}

.hero-section svg {
  display: block;
  flex-shrink: 0;
}

/* ---------- 2. Slider structure ----------
   Slides share one grid cell, so the track always takes the height of the
   tallest slide (no absolute stacking, no layout shift between slides). */
.hero-slider {
  position: relative;
}

.hero-track {
  display: grid;
  touch-action: pan-y;
}

.hero-slide {
  position: relative;
  grid-area: 1 / 1;
  min-height: var(--hero-h);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--fc-ease), visibility 0.7s;
}

.hero-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

/* GSAP owns the transitions once the slider is enhanced */
.hero-slider.is-enhanced .hero-slide {
  transition: none;
}

.hero-slide-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: var(--hero-h);
  max-width: calc(var(--fc-container) + var(--fc-gutter) * 2);
  margin-inline: auto;
  padding: clamp(44px, 4.4vw, 76px) var(--fc-gutter) clamp(124px, 10vw, 156px);
  pointer-events: none; /* let parallax/hover reach the media; re-enabled on content */
}

.hero-content {
  width: var(--hero-content-w);
  pointer-events: auto;
}

/* ---------- 3. Typography ---------- */
.hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4em 1.1em;
  margin: 0 0 clamp(20px, 2.3vw, 34px);
  font-family: var(--fc-font-body);
  font-weight: 600;
  font-size: var(--font-small);
  letter-spacing: 0.28em;
  line-height: var(--line-height-small);
  text-transform: uppercase;
  color: var(--fc-ink);
}

.hero-eyebrow-sep {
  width: 2px;
  height: 1.05em;
  background: currentColor;
  opacity: 0.8;
}

.hero-title {
  margin: 0;
  font-family: var(--fc-font-display);
  font-weight: 800;
  font-size: var(--font-h1);
  line-height: var(--line-height-h1);
  letter-spacing: -0.024em;
  color: var(--fc-navy);
}

/* Each line is a mask; the inner span slides up from below it */
.hero-title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.hero-title-line > span {
  position: relative;
  display: inline-block;
  text-wrap: balance;
}

.hero-title-line--accent {
  color: var(--fc-red);
  padding-bottom: 0.34em;
  margin-bottom: -0.34em;
}

.hero-title-accent {
  color: var(--fc-red);
}

.hero-title-swoosh {
  position: absolute;
  left: 62%;
  bottom: -0.27em;
  width: 46%;
  height: 0.2em;
  overflow: visible;
  color: var(--fc-red);
}

.hero-description {
  max-width: 30em;
  margin: clamp(26px, 3vw, 46px) 0 0;
  font-size: var(--font-body);
  font-weight: 400;
  line-height: var(--line-height-body);
  color: #4d5461;
}

/* ---------- 4. Buttons ---------- */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 1.8vw, 32px);
  margin-top: clamp(28px, 3vw, 46px);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: clamp(54px, 2.2vw + 30px, 64px);
  padding: 0 clamp(24px, 2.4vw, 38px);
  border: 2px solid transparent;
  border-radius: 10px;
  font-family: var(--fc-font-display);
  font-weight: 700;
  font-size: var(--font-btn);
  letter-spacing: 0.002em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.35s var(--fc-ease), box-shadow 0.35s var(--fc-ease),
    background-color 0.3s var(--fc-ease), color 0.3s var(--fc-ease), border-color 0.3s var(--fc-ease);
}

.hero-btn svg {
  width: 22px;
  height: 22px;
  transition: transform 0.35s var(--fc-ease);
}

.hero-btn--primary {
  background: var(--fc-red);
  color: var(--fc-white);
  box-shadow: 0 16px 30px -18px rgba(227, 30, 38, 0.9);
}

.hero-btn--primary:hover {
  background: var(--fc-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -18px rgba(227, 30, 38, 0.95);
}

.hero-btn--primary:hover svg {
  transform: translateX(4px);
}

.hero-btn--secondary {
  border-color: var(--fc-navy);
  background: rgba(255, 255, 255, 0.85);
  color: var(--fc-navy);
}

.hero-btn--secondary:hover {
  background: var(--fc-navy);
  color: var(--fc-white);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -18px rgba(7, 29, 67, 0.7);
}

.hero-btn:active {
  transform: translateY(0);
}

/* ---------- 5. Media (right-hand visual) ---------- */
.hero-media {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--hero-media-w);
  overflow: hidden;
  /* soft blend into the text area — no hard vertical edge */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%);
}

/* oversized by a few px so mouse parallax never reveals an edge */
.hero-media-inner {
  position: absolute;
  inset: -14px;
}

.hero-media picture,
.hero-media-img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media-img {
  object-fit: cover;
  object-position: 100% 100%;
}

/* Slide 1 — vehicle finance composition */
.hero-media--vehicle {
  background:
    radial-gradient(48% 54% at 55% 50%, rgba(186, 218, 252, 0.45) 0%, rgba(214, 234, 255, 0.22) 50%, rgba(255, 255, 255, 0) 74%),
    radial-gradient(80% 70% at 90% 0%, rgba(176, 212, 252, 0.6) 0%, rgba(176, 212, 252, 0) 60%),
    linear-gradient(180deg, #dcebff 0%, #eef6ff 48%, #fbfdff 100%);
}

.hero-media--vehicle .hero-media-inner {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 4% 4% 8% 8%;
}

.hero-media--vehicle .hero-media-img {
  object-fit: contain;
  object-position: center bottom;
}

/* Slide 2 — gold composition */
.hero-media--gold {
  background:
    radial-gradient(46% 52% at 56% 50%, rgba(255, 205, 112, 0.42) 0%, rgba(255, 226, 168, 0.16) 48%, rgba(255, 255, 255, 0) 72%),
    radial-gradient(80% 70% at 90% 0%, rgba(176, 212, 252, 0.75) 0%, rgba(176, 212, 252, 0) 60%),
    linear-gradient(180deg, #dcebff 0%, #eef6ff 48%, #fbfdff 100%);
}

.hero-media--gold .hero-media-inner {
  display: grid;
  place-items: center;
  padding: 6% 6% 10% 14%;
}

.hero-gold-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 860px;
}

.hero-gold-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-gold-ring--inner {
  width: 74%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.55) 46%, rgba(255, 255, 255, 0) 70%);
}

.hero-gold-ring--outer {
  width: 96%;
  border: 1px solid rgba(36, 84, 197, 0.14);
}

.hero-gold-ring--outer::after {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  border: 1px dashed rgba(227, 30, 38, 0.18);
}

.hero-gold-img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 34px 34px rgba(120, 78, 8, 0.2));
}

.hero-gold-card {
  position: absolute;
  right: 2%;
  bottom: -2%;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 300px;
  padding: 14px 20px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px -22px rgba(7, 29, 67, 0.45);
}

.hero-gold-card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--fc-red), #f0474e);
  color: var(--fc-white);
}

.hero-gold-card-icon svg {
  width: 24px;
  height: 24px;
}

.hero-gold-card-title {
  display: block;
  margin: 0;
  font-family: var(--fc-font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--fc-navy);
}

.hero-gold-card-text {
  display: block;
  margin: 2px 0 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--fc-text);
}

/* ---------- 6. Controls: arrows, pagination, pause ---------- */
.hero-controls {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: clamp(30px, 3.6vw, 54px);
  pointer-events: none;
}

.hero-controls-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(var(--fc-container) + var(--fc-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--fc-gutter);
}

.hero-controls-inner > * {
  pointer-events: auto;
}

.hero-arrow,
.hero-pause {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d3dcea;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--fc-navy);
  cursor: pointer;
  transition: background-color 0.3s var(--fc-ease), color 0.3s var(--fc-ease),
    border-color 0.3s var(--fc-ease), transform 0.3s var(--fc-ease);
}

.hero-arrow svg {
  width: 20px;
  height: 20px;
}

.hero-arrow:hover {
  border-color: var(--fc-navy);
  background: var(--fc-navy);
  color: var(--fc-white);
}

.hero-arrow--prev:hover {
  transform: translateX(-2px);
}

.hero-arrow--next:hover {
  transform: translateX(2px);
}

.hero-pause {
  width: 36px;
  height: 36px;
  margin-left: 4px;
  border-color: transparent;
  background: transparent;
  color: #7b8595;
}

.hero-pause svg {
  width: 14px;
  height: 14px;
}

.hero-pause:hover {
  color: var(--fc-navy);
  background: rgba(16, 43, 92, 0.06);
}

.hero-pause .hero-icon-play,
.hero-pause[aria-pressed="true"] .hero-icon-pause {
  display: none;
}

.hero-pause[aria-pressed="true"] .hero-icon-play {
  display: block;
}

.hero-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 4px;
}

.hero-dot {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  cursor: pointer;
}

.hero-dot-track {
  position: relative;
  display: block;
  width: 24px;
  height: 4px;
  border-radius: 4px;
  overflow: hidden;
  background: #c9d6ea;
  transition: width 0.5s var(--fc-ease), background-color 0.3s var(--fc-ease);
}

.hero-dot:hover .hero-dot-track {
  background: #a9bcd9;
}

.hero-dot.is-active .hero-dot-track {
  width: 56px;
  background: rgba(36, 84, 197, 0.2);
}

.hero-dot-fill {
  position: absolute;
  inset: 0;
  background: var(--fc-red);
  transform: scaleX(0);
  transform-origin: left center;
}

.hero-dot.is-active .hero-dot-fill {
  animation: fc-hero-progress var(--hero-autoplay) linear forwards;
}

.hero-slider.is-paused .hero-dot-fill {
  animation-play-state: paused;
}

@keyframes fc-hero-progress {
  to {
    transform: scaleX(1);
  }
}

.hero-section a:focus-visible,
.hero-section button:focus-visible {
  outline: none;
  box-shadow: var(--fc-focus);
}

/* ---------- 7. Decorative baseline (red + blue rule) ---------- */
.hero-baseline {
  position: absolute;
  z-index: 4;
  bottom: 0;
  right: 0;
  left: max(var(--fc-gutter), calc((100% - var(--fc-container)) / 2));
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--fc-red) 0 132px,
    var(--fc-blue) 132px,
    var(--fc-blue) 78%,
    rgba(36, 84, 197, 0.35) 100%
  );
  pointer-events: none;
}

/* ---------- 8. Pre-animation state (prevents a flash before GSAP runs) ---------- */
.fc-js:not(.fc-hero-ready):not(.fc-reveal) .hero-slide.is-active [data-hero-anim] {
  opacity: 0;
}

/* ---------- 9. Responsive ---------- */

/* Laptop — 1024 to 1365: media switches to a percentage width and crops from the left */
@media (max-width: 1365px) {
  .hero-section {
    --hero-media-w: 56%;
    --hero-content-w: min(620px, 50vw);
  }

  .hero-title {
    font-size: var(--font-h1);
  }

  .hero-media {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
  }

  .hero-media-img {
    object-position: 72% 100%;
  }

  .hero-description {
    max-width: 27em;
  }

  .hero-gold-card {
    right: 0;
    bottom: -6%;
  }
}

@media (max-width: 1100px) {
  .hero-section {
    --hero-media-w: 54%;
    --hero-content-w: min(500px, 48vw);
  }

  .hero-title {
    font-size: var(--font-h1);
  }

  .hero-description {
    max-width: 25em;
  }

  .hero-btn {
    gap: 10px;
    padding: 0 22px;
    font-size: var(--font-btn);
  }
}

/* Tablet portrait & mobile — stacked layout: text, then visual */
@media (max-width: 1023px) {
  .hero-section {
    --hero-content-w: min(100%, 660px);
    --hero-media-w: 100%;
  }

  .hero-slide {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero-slide-inner {
    display: block;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: clamp(40px, 7vw, 64px) var(--fc-gutter) clamp(24px, 4vw, 36px);
  }

  .hero-title {
    font-size: var(--font-h1);
  }

  .hero-media {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    flex: 1 0 auto;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 560px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 14%);
  }

  .hero-media-inner {
    inset: 0;
  }

  .hero-media-img {
    object-position: 60% 100%;
  }

  .hero-media--gold {
    background:
      radial-gradient(50% 50% at 50% 52%, rgba(255, 205, 112, 0.38) 0%, rgba(255, 226, 168, 0.14) 50%, rgba(255, 255, 255, 0) 75%),
      linear-gradient(180deg, #e6f1ff 0%, #f1f7ff 50%, #fbfdff 100%);
  }

  .hero-media--gold .hero-media-inner {
    padding: 8% 10% 10%;
  }

  .hero-gold-stage {
    max-width: 600px;
  }

  .hero-gold-ring--outer {
    width: 82%;
  }

  .hero-gold-ring--inner {
    width: 66%;
  }

  .hero-controls {
    position: relative;
    bottom: auto;
    padding: 20px 0 36px;
  }

  .hero-controls-inner {
    justify-content: center;
  }
}

/* Mobile — 320 to 767 */
@media (max-width: 767px) {
  .hero-slide-inner {
    padding-top: 34px;
    padding-bottom: 18px;
  }

  .hero-eyebrow {
    gap: 0.35em 0.8em;
    margin-bottom: 16px;
    font-size: var(--font-small);
    letter-spacing: 0.18em;
  }

  .hero-title {
    font-size: var(--font-h1);
    line-height: var(--line-height-h1);
  }

  .hero-description {
    margin-top: 20px;
    font-size: var(--font-body);
    line-height: var(--line-height-body);
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
  }

  .hero-btn {
    width: 100%;
    height: 54px;
    font-size: var(--font-btn);
  }

  .hero-media {
    aspect-ratio: 4 / 3;
  }

  .hero-media-img {
    object-position: 70% 100%;
  }

  .hero-media--gold .hero-media-inner {
    padding: 10% 6% 16%;
  }

  .hero-gold-card {
    left: 0;
    right: 0;
    bottom: -10%;
    gap: 10px;
    width: max-content;
    max-width: 92%;
    margin-inline: auto;
    padding: 10px 14px 10px 10px;
  }

  .hero-gold-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .hero-gold-card-icon svg {
    width: 20px;
    height: 20px;
  }

  .hero-gold-card-title {
    font-size: 14.5px;
  }

  .hero-gold-card-text {
    font-size: 12.5px;
  }

  .hero-controls {
    padding: 14px 0 28px;
  }

  .hero-baseline {
    left: var(--fc-gutter);
    background: linear-gradient(90deg, var(--fc-red) 0 72px, var(--fc-blue) 72px, var(--fc-blue) 100%);
  }
}

@media (max-width: 359px) {
  .hero-eyebrow {
    font-size: var(--font-small);
    letter-spacing: 0.14em;
  }

  .hero-gold-card-text {
    display: none;
  }
}

/* ---------- 10. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-btn,
  .hero-btn svg,
  .hero-arrow,
  .hero-dot-track {
    transition: none;
  }

  .hero-btn:hover,
  .hero-arrow:hover {
    transform: none;
  }

  .hero-dot.is-active .hero-dot-fill {
    animation: none;
    transform: scaleX(1);
  }
}


/* === css/inner-banner.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Inner Page Banner
   File: css/inner-banner.css
   Every selector is scoped under .fraternal-inner-banner; no global element
   styles. The photo frame and its accents live in one skewed "shape" layer,
   and all frame measurements use container units (cqw) so the composition
   scales as one piece at every width.
   ========================================================================== */

.fraternal-inner-banner {
  /* Brand */
  --ib-navy: var(--primary-color);
  --ib-red: var(--secondary-color);
  --ib-blue: #0755A6;
  --ib-text: #475569;
  --ib-bg: #FFFFFF;

  /* Type */
  --ib-font-display: "Red Hat Display", "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;

  /* Layout (shared container with the rest of the site) */
  --fc-container: 1640px;
  --fc-gutter: clamp(16px, 4.4vw, 72px);
  --ib-cols: minmax(0, 40fr) minmax(0, 60fr);
  --ib-gap: clamp(28px, 4vw, 80px);
  --ib-pad-block: clamp(44px, 4.6vw, 88px);

  /* Frame geometry */
  --ib-ratio: 1.9;           /* frame box; with the skew it reads as ~1.7:1 */
  --ib-skew-x: -8deg;        /* sides lean, as in the reference */
  --ib-skew-y: -3.5deg;      /* top and bottom edges rise to the right */
  --ib-border: max(5px, 1.05cqw);
  --ib-zoom: 1.12;           /* covers the corners exposed by the counter-skew */

  /* Accent offsets beyond the frame (percent of the frame box) */
  --ib-red-x: -3.6%;
  --ib-red-y: -8.5%;
  --ib-blue-x: -3%;
  --ib-blue-y: -8%;

  position: relative;
  overflow: clip;            /* accents never cause horizontal scroll */
  background: var(--ib-bg);
  color: var(--ib-text);
  font-family: var(--ib-font-display);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fraternal-inner-banner *,
.fraternal-inner-banner *::before,
.fraternal-inner-banner *::after {
  box-sizing: border-box;
}

.fraternal-inner-banner__container {
  display: grid;
  grid-template-columns: var(--ib-cols);
  align-items: center;
  gap: var(--ib-gap);
  width: 100%;
  max-width: var(--fc-container);
  margin-inline: auto;
  padding: var(--ib-pad-block) var(--fc-gutter);
}

/* --------------------------------------------------------------------------
   Left: content
   -------------------------------------------------------------------------- */
.fraternal-inner-banner__content {
  min-width: 0;
  max-width: 640px;
}

.fraternal-inner-banner__label {
  margin: 0;
  color: var(--ib-navy);
  font-size: var(--font-small);
  font-weight: 700;
  line-height: var(--line-height-small);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.fraternal-inner-banner__label-line {
  display: block;
  width: clamp(120px, 9.4vw, 180px);
  height: 5px;
  margin-top: clamp(14px, 1.3vw, 22px);
  color: var(--ib-red);
}

.fraternal-inner-banner__label-line svg,
.fraternal-inner-banner__title-underline {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.fraternal-inner-banner__title {
  margin: clamp(22px, 2.2vw, 40px) 0 0;
  color: var(--ib-navy);
  font-size: var(--font-h1);
  font-style: italic;
  font-weight: 800;
  line-height: var(--line-height-h1);
  letter-spacing: -0.02em;
}

/* Each word sits in a mask so it can rise into place. The padding keeps the
   italic overhang and the underline inside the mask. */
.fraternal-inner-banner__title-mask {
  display: inline-block;
  overflow: hidden;
  padding: 0.04em 0.16em 0.34em 0.02em;
  margin: -0.04em -0.16em -0.34em -0.02em;
  vertical-align: top;
}

.fraternal-inner-banner__title-mask + .fraternal-inner-banner__title-mask {
  margin-left: 0.06em;
}

.fraternal-inner-banner__title-part {
  display: inline-block;
}

.fraternal-inner-banner__title-highlight {
  position: relative;
  display: inline-block;
  color: var(--ib-red);
}

.fraternal-inner-banner__title-underline {
  position: absolute;
  left: 15%;
  right: -1%;
  bottom: -0.2em;
  width: auto;
  height: 0.2em;
  color: var(--ib-red);
  pointer-events: none;
}

.fraternal-inner-banner__description {
  max-width: 600px;
  margin: clamp(18px, 1.9vw, 34px) 0 0;
  color: var(--ib-text);
  font-size: var(--font-body);
  font-weight: 500;
  line-height: var(--line-height-body);
}

/* --------------------------------------------------------------------------
   Right: visual
   -------------------------------------------------------------------------- */
.fraternal-inner-banner__visual {
  position: relative;
  min-width: 0;
  container-type: inline-size;
}

.fraternal-inner-banner__media {
  position: relative;
  width: 93%;
  margin: 5cqw auto 6cqw;    /* room for the skew and the accents */
  aspect-ratio: var(--ib-ratio);
}

/* One transform for frame + accents, so they stay locked together. */
.fraternal-inner-banner__shape {
  position: absolute;
  inset: 0;
  transform: skew(var(--ib-skew-x), var(--ib-skew-y));
}

/* Decorative accents (behind the photo) */
.fraternal-inner-banner__accent {
  position: absolute;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.fraternal-inner-banner__accent--red {
  top: var(--ib-red-y);
  left: var(--ib-red-x);
  width: 44%;
  height: 70%;
  border-radius: 10.5cqw 4.4cqw 4.4cqw 4.4cqw;
  background: var(--ib-red);
}

.fraternal-inner-banner__accent--blue {
  right: var(--ib-blue-x);
  bottom: var(--ib-blue-y);
  width: 50%;
  height: 56%;
  border-radius: 4.4cqw 4.6cqw 8cqw 4.4cqw;
  background: var(--ib-blue);
}

/* White-bordered photo frame */
.fraternal-inner-banner__frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: var(--ib-border);
  border-radius: 10.5cqw 5cqw 6.6cqw 2.8cqw;
  background: #fff;
  box-shadow:
    0 0.4cqw 1cqw rgba(16, 61, 120, 0.08),
    0 2.6cqw 5cqw rgba(16, 61, 120, 0.16);
}

.fraternal-inner-banner__photo {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(10.5cqw - var(--ib-border)) calc(5cqw - var(--ib-border)) calc(6.6cqw - var(--ib-border)) max(4px, calc(2.8cqw - var(--ib-border)));
  background: #dfe8f3;
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari: clip children to radius */
}

.fraternal-inner-banner__picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Counter-skew keeps the photograph upright inside the slanted frame;
   the scale covers the corners the counter-skew exposes. */
.fraternal-inner-banner__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: skew(calc(var(--ib-skew-x) * -1), calc(var(--ib-skew-y) * -1)) scale(var(--ib-zoom));
}

/* --------------------------------------------------------------------------
   Pre-hide (JS on, before GSAP has set start states). If GSAP never
   arrives, the 3s .fc-reveal fallback brings everything back.
   -------------------------------------------------------------------------- */
.fc-js:not(.fc-ib-ready):not(.fc-reveal) .fraternal-inner-banner [data-ib-anim] {
  opacity: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

/* Laptop */
@media (max-width: 1199px) {
  .fraternal-inner-banner {
    --ib-cols: minmax(0, 42fr) minmax(0, 58fr);
  }
}

/* iPad landscape / small laptop */
@media (max-width: 1023px) {
  .fraternal-inner-banner {
    --ib-cols: minmax(0, 45fr) minmax(0, 55fr);
    --ib-gap: 28px;
    --ib-red-x: -3%;
    --ib-red-y: -7%;
    --ib-blue-x: -2.6%;
    --ib-blue-y: -6.6%;
  }

  .fraternal-inner-banner__title {
    font-size: var(--font-h1);
  }

  .fraternal-inner-banner__description {
    font-size: var(--font-body);
  }
}

/* iPad portrait and below: stacked, text first */
@media (max-width: 767px) {
  .fraternal-inner-banner {
    --ib-cols: minmax(0, 1fr);
    --ib-gap: 8px;
  }

  .fraternal-inner-banner__container {
    padding-block: 44px 36px;
  }

  .fraternal-inner-banner__content {
    max-width: 560px;
  }

  .fraternal-inner-banner__title {
    font-size: var(--font-h1);
  }

  .fraternal-inner-banner__visual {
    width: 100%;
    max-width: 640px;
  }
}

/* Mobile */
@media (max-width: 599px) {
  .fraternal-inner-banner {
    --ib-ratio: 1.75;         /* a little taller so the photo is not over-cropped */
    --ib-zoom: 1.1;
    --ib-skew-x: -6deg;
    --ib-skew-y: -3deg;
    --ib-border: max(4px, 1.3cqw);
    --ib-red-x: -2.6%;
    --ib-red-y: -6%;
    --ib-blue-x: -2.2%;
    --ib-blue-y: -5.6%;
  }

  .fraternal-inner-banner__container {
    padding-block: 36px 28px;
  }

  .fraternal-inner-banner__label {
    letter-spacing: 0.2em;
  }

  .fraternal-inner-banner__label-line {
    width: 120px;
    height: 4px;
  }

  .fraternal-inner-banner__title {
    margin-top: 18px;
    font-size: var(--font-h1);
  }

  .fraternal-inner-banner__description {
    font-size: var(--font-body);
    line-height: var(--line-height-body);
  }

  .fraternal-inner-banner__media {
    width: 94%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fraternal-inner-banner [data-ib-anim] {
    opacity: 1 !important;
  }
}


/* === css/company-highlights.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Company Highlights
   File: css/company-highlights.css
   Scope: .company-highlights (all tokens and rules are namespaced)
   ========================================================================== */

/* ---------- 1. Design tokens (scoped) ---------- */
.company-highlights {
  --fc-navy: var(--primary-color);
  --fc-navy-deep: color-mix(in srgb, var(--primary-color) 72%, #000000);
  --fc-red: var(--secondary-color);
  --fc-blue: #2454c5;
  --fc-white: #ffffff;
  --fc-sky: #eaf4ff;
  --fc-text: #505967;

  --fc-font-display: "Red Hat Display", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fc-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fc-container: 1640px;
  --fc-gutter: clamp(16px, 4.4vw, 72px);
  --fc-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --fc-focus: 0 0 0 3px #fff, 0 0 0 5px var(--fc-blue);

  /* left edge of the shared site container (aligns with header + hero) */
  --ch-offset: max(var(--fc-gutter), calc((100% - var(--fc-container)) / 2 + var(--fc-gutter)));
  /* width of the navy panel at its top edge (43% matches the reference) */
  --ch-intro-w: min(43%, calc(var(--ch-offset) + 760px));
  /* horizontal run of the diagonal from top to bottom */
  --ch-slant: clamp(96px, 10.4vw, 228px);
  /* red accent band along the top of the diagonal */
  --ch-accent-w: clamp(10px, 0.95vw, 20px);
  --ch-accent-h: 34%;

  --ch-pad-y: clamp(56px, 4.8vw, 104px);
  --ch-card-radius: clamp(22px, 1.75vw, 32px);
  --ch-card-min-h: clamp(176px, 11.6vw, 230px);
  --ch-card-pad: clamp(22px, 2.2vw, 48px);
  --ch-icon-w: clamp(92px, 8.4vw, 172px);
  --ch-icon-h: clamp(80px, 7.1vw, 146px);
  --ch-icon-size: clamp(50px, 5.2vw, 100px);

  --ch-pink: #fdecef;
  --ch-blue: #eaf2fd;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: var(--ch-intro-w) minmax(0, 1fr);
  font-family: var(--fc-font-body);
  color: var(--fc-text);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(214, 232, 252, 0.75) 0%, rgba(214, 232, 252, 0) 70%),
    linear-gradient(135deg, #f8fafd 0%, #f1f5fb 60%, #eef4fc 100%);
}

.company-highlights *,
.company-highlights *::before,
.company-highlights *::after {
  box-sizing: border-box;
}

.company-highlights svg {
  display: block;
  flex-shrink: 0;
}

/* ---------- 2. Left panel (navy, diagonal right edge) ---------- */
.company-highlights__intro {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--ch-pad-y) var(--ch-slant) var(--ch-pad-y) var(--ch-offset);
  color: var(--fc-white);
}

/* Background layer: photo + navy overlay, clipped to the diagonal.
   --ch-reveal (0 → 1) is animated by GSAP; it defaults to 1 so the panel
   is always complete without JavaScript. */
.company-highlights__panel {
  --ch-reveal: 1;
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--fc-navy-deep);
  -webkit-clip-path: polygon(
    0 0,
    calc(var(--ch-reveal) * 100%) 0,
    calc(var(--ch-reveal) * (100% - var(--ch-slant))) 100%,
    0 100%
  );
  clip-path: polygon(
    0 0,
    calc(var(--ch-reveal) * 100%) 0,
    calc(var(--ch-reveal) * (100% - var(--ch-slant))) 100%,
    0 100%
  );
}

.company-highlights__panel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  filter: grayscale(0.35) contrast(1.05);
}

/* navy overlay (~85%) keeps the photo subtle and the text readable */
.company-highlights__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 29, 67, 0.93) 0%, rgba(13, 38, 84, 0.86) 55%, rgba(16, 43, 92, 0.8) 100%),
    radial-gradient(70% 60% at 85% 10%, rgba(36, 84, 197, 0.35), rgba(36, 84, 197, 0) 70%);
}

/* Red diagonal accent hugging the top of the boundary */
.company-highlights__accent {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fc-red);
  transform-origin: 100% 0;
  pointer-events: none;
  -webkit-clip-path: polygon(
    calc(100% - var(--ch-accent-w)) 0,
    100% 0,
    calc(100% - var(--ch-slant) * 0.34) var(--ch-accent-h),
    calc(100% - var(--ch-slant) * 0.34 - var(--ch-accent-w)) var(--ch-accent-h)
  );
  clip-path: polygon(
    calc(100% - var(--ch-accent-w)) 0,
    100% 0,
    calc(100% - var(--ch-slant) * 0.34) var(--ch-accent-h),
    calc(100% - var(--ch-slant) * 0.34 - var(--ch-accent-w)) var(--ch-accent-h)
  );
}

/* ---------- 3. Intro typography ---------- */
.company-highlights__eyebrow {
  margin: 0;
  font-family: var(--fc-font-body);
  font-weight: 600;
  font-size: var(--font-small);
  letter-spacing: 0.32em;
  line-height: var(--line-height-small);
  text-transform: uppercase;
  color: var(--fc-white);
}

.company-highlights__rule {
  display: block;
  width: clamp(72px, 6.4vw, 140px);
  height: 3px;
  margin: clamp(14px, 1.4vw, 26px) 0 clamp(22px, 2.2vw, 40px);
  border-radius: 3px;
  background: var(--fc-red);
  transform-origin: left center;
}

.company-highlights__title {
  margin: 0;
  font-family: var(--fc-font-display);
  font-weight: 800;
  font-size: var(--font-h2);
  line-height: var(--line-height-h2);
  letter-spacing: -0.022em;
  color: var(--fc-white);
}

/* each line is a mask; the inner span slides up from beneath it */
.company-highlights__title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.company-highlights__title-line > span {
  display: inline-block;
}

.company-highlights__title-accent {
  display: inline-block;
  padding-right: 0.08em; /* room for the italic overhang */
  font-style: italic;
  color: var(--fc-red);
  transform-origin: left 70%;
}

.company-highlights__divider {
  display: block;
  width: clamp(48px, 3.6vw, 78px);
  height: 3px;
  margin: clamp(20px, 2vw, 36px) 0 clamp(18px, 1.8vw, 32px);
  border-radius: 3px;
  background: var(--fc-white);
  transform-origin: left center;
}

.company-highlights__description {
  max-width: 540px;
  margin: 0;
  font-size: var(--font-body);
  font-weight: 500;
  line-height: var(--line-height-body);
  color: rgba(255, 255, 255, 0.86);
}

/* ---------- 4. Highlight cards ---------- */
.company-highlights__cards {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: var(--ch-pad-y) var(--fc-gutter) var(--ch-pad-y) clamp(14px, 1.1vw, 28px);
}

.company-highlights__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.15vw, 24px);
  width: 100%;
  max-width: 1200px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.highlight-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 44px);
  min-height: var(--ch-card-min-h);
  padding: var(--ch-card-pad);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--ch-card-radius);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow:
    0 28px 50px -34px rgba(16, 43, 92, 0.34),
    0 2px 8px rgba(16, 43, 92, 0.05);
  transition: transform 0.45s var(--fc-ease), box-shadow 0.45s var(--fc-ease);
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 36px 60px -32px rgba(16, 43, 92, 0.42),
    0 4px 12px rgba(16, 43, 92, 0.07);
}

.highlight-card__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: var(--ch-icon-w);
  height: var(--ch-icon-h);
  border-radius: clamp(16px, 1.4vw, 26px);
  background: var(--ch-blue);
  color: var(--fc-navy);
  transition: transform 0.45s var(--fc-ease), background-color 0.45s var(--fc-ease);
}

.highlight-card--pink .highlight-card__icon {
  background: var(--ch-pink);
}

.highlight-card:hover .highlight-card__icon {
  transform: scale(1.05);
}

.highlight-card__icon svg {
  width: var(--ch-icon-size);
  height: var(--ch-icon-size);
  overflow: visible;
}

.highlight-card__body {
  min-width: 0;
}

.highlight-card__title {
  max-width: 12.5em;
  margin: 0;
  font-family: var(--fc-font-display);
  font-weight: 700;
  font-size: clamp(18px, 0.25vw + 17.2px, 20px);
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--fc-navy);
  text-wrap: balance;
}

.highlight-card__line {
  display: block;
  width: min(100%, 190px);
  height: 2px;
  margin-top: clamp(14px, 1.2vw, 24px);
  border-radius: 2px;
  background: linear-gradient(90deg, #d8e0ec 0%, rgba(216, 224, 236, 0.15) 100%);
  transform-origin: left center;
}

/* ---------- 5. Icon details + hover micro-interactions ---------- */
.ch-icon-accent {
  color: var(--fc-red);
}

.ch-icon-year {
  font-family: var(--fc-font-display);
  font-weight: 800;
}

.ch-icon-part {
  transform-box: fill-box;
  transform-origin: center;
}

.highlight-card:hover [data-ch-part="calendar"] {
  animation: ch-tilt 0.7s var(--fc-ease);
}

.highlight-card:hover [data-ch-part="speed"] {
  animation: ch-speed 0.7s var(--fc-ease);
}

.highlight-card:hover [data-ch-part="check"] {
  animation: ch-pop 0.6s var(--fc-ease);
}

.highlight-card:hover [data-ch-part="lead"] {
  animation: ch-rise 0.6s var(--fc-ease);
}

.highlight-card:hover [data-ch-part="pin"] {
  transform-origin: 50% 100%;
  animation: ch-bounce 0.8s var(--fc-ease);
}

@keyframes ch-tilt {
  0%, 100% { transform: rotate(0); }
  30% { transform: rotate(-7deg); }
  65% { transform: rotate(4deg); }
}

@keyframes ch-speed {
  0%, 100% { transform: translateX(0); opacity: 1; }
  40% { transform: translateX(-5px); opacity: 0.45; }
}

@keyframes ch-pop {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.18); }
}

@keyframes ch-rise {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(-3px); }
}

@keyframes ch-bounce {
  0%, 100% { transform: translateY(0); }
  35% { transform: translateY(-6px); }
  60% { transform: translateY(0); }
  78% { transform: translateY(-2px); }
}

/* ---------- 6. Pre-animation state ----------
   Only applies while JS is running and before GSAP takes over; `fc-reveal`
   (set by a 3 s safety timer) guarantees visibility if scripts fail. */
.fc-js:not(.fc-ch-ready):not(.fc-reveal) .company-highlights [data-ch-anim] {
  opacity: 0;
}

/* ---------- 7. Responsive ---------- */

/* Laptop — 1200 to 1599: slimmer icon column so titles keep their width */
@media (max-width: 1599px) {
  .company-highlights {
    --ch-icon-w: 7.2vw;
    --ch-icon-h: 6.6vw;
    --ch-icon-size: 4.6vw;
    --ch-card-pad: 1.9vw;
  }

  .highlight-card {
    gap: 1.7vw;
  }

  .highlight-card__title {
    font-size: clamp(18px, 0.25vw + 17.2px, 20px);
  }
}

/* Small laptop / iPad landscape — 1024 to 1199: icon above the title */
@media (max-width: 1199px) {
  .company-highlights {
    --ch-slant: clamp(84px, 9vw, 110px);
    --ch-card-min-h: 0px;
    --ch-card-pad: 22px;
    --ch-icon-w: 80px;
    --ch-icon-h: 70px;
    --ch-icon-size: 50px;
  }

  .highlight-card {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
  }

  .highlight-card__title {
    font-size: clamp(18px, 0.25vw + 17.2px, 20px);
  }
}

/* iPad portrait — stacked composition, simplified (bottom) diagonal */
@media (max-width: 1023px) {
  .company-highlights {
    --ch-slant: 0px;
    --ch-pad-y: clamp(44px, 7vw, 64px);
    grid-template-columns: minmax(0, 1fr);
  }

  .company-highlights__intro {
    padding: var(--ch-pad-y) var(--fc-gutter) calc(var(--ch-pad-y) + 28px);
  }

  .company-highlights__panel {
    -webkit-clip-path: polygon(
      0 0,
      calc(var(--ch-reveal) * 100%) 0,
      calc(var(--ch-reveal) * 100%) calc(100% - 36px),
      0 100%
    );
    clip-path: polygon(
      0 0,
      calc(var(--ch-reveal) * 100%) 0,
      calc(var(--ch-reveal) * 100%) calc(100% - 36px),
      0 100%
    );
  }

  /* the accent becomes a slim red edge along the angled bottom */
  .company-highlights__accent {
    transform-origin: 0 100%;
    -webkit-clip-path: polygon(0 calc(100% - 6px), 38% calc(100% - 6px - 36px * 0.38), 38% calc(100% - 36px * 0.38), 0 100%);
    clip-path: polygon(0 calc(100% - 6px), 38% calc(100% - 6px - 36px * 0.38), 38% calc(100% - 36px * 0.38), 0 100%);
  }

  .company-highlights__title {
    font-size: var(--font-h2);
  }

  .company-highlights__description {
    max-width: 34em;
  }

  .company-highlights__cards {
    padding: clamp(28px, 5vw, 48px) var(--fc-gutter) var(--ch-pad-y);
  }

  .company-highlights__grid {
    max-width: none;
  }
}

/* Mobile — 320 to 767: single column, icon beside the title */
@media (max-width: 767px) {
  .company-highlights {
    --ch-card-radius: 20px;
    --ch-card-pad: 18px;
    --ch-icon-w: 72px;
    --ch-icon-h: 66px;
    --ch-icon-size: 46px;
  }

  .company-highlights__eyebrow {
    font-size: var(--font-small);
    letter-spacing: 0.26em;
  }

  .company-highlights__title {
    font-size: var(--font-h2);
  }

  .company-highlights__description {
    font-size: var(--font-body);
  }

  .company-highlights__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .highlight-card {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
  }

  .highlight-card__title {
    max-width: none;
    font-size: 18px;
  }

  .highlight-card__line {
    margin-top: 12px;
    width: min(100%, 140px);
  }
}

@media (max-width: 359px) {
  .company-highlights {
    --ch-card-pad: 16px;
    --ch-icon-w: 62px;
    --ch-icon-h: 58px;
    --ch-icon-size: 40px;
  }

  .highlight-card {
    gap: 14px;
  }

  .highlight-card__title {
    font-size: 17px;
  }
}

/* ---------- 8. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .highlight-card,
  .highlight-card__icon {
    transition: none;
  }

  .highlight-card:hover,
  .highlight-card:hover .highlight-card__icon {
    transform: none;
  }

  .highlight-card:hover [data-ch-part] {
    animation: none;
  }
}


/* === css/about-us.css === */
/* About Us — scoped to .about-section */
.about-section {
  --ab-navy: var(--primary-color);
  --ab-red: var(--secondary-color);
  --ab-red-dark: color-mix(in srgb, var(--secondary-color) 82%, #000000);
  --ab-blue: #287DEB;
  --ab-light-blue: #EAF4FF;
  --ab-light-pink: #FFF0F2;
  --ab-text: #515B70;
  --ab-radius-img: 38px;
  --ab-radius-card: 24px;
  --ab-font-display: "Red Hat Display", "Inter", system-ui, sans-serif;
  --ab-font-body: "Inter", system-ui, sans-serif;

  position: relative; isolation: isolate; overflow: hidden;
  background: #fff;
  padding: clamp(48px, 6vw, 88px) 24px;
  font-family: var(--ab-font-body); color: var(--ab-text);
}
.about-section *, .about-section *::before, .about-section *::after { box-sizing: border-box; }

/* Background waves */
.about-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 50% at 0% 85%, rgba(40,125,235,.10), transparent 70%),
    radial-gradient(ellipse 35% 45% at 100% 0%, rgba(40,125,235,.14), transparent 70%),
    radial-gradient(ellipse 30% 35% at 100% 100%, rgba(40,125,235,.10), transparent 70%);
}

.about-container {
  max-width: 1360px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 3fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}

/* Image column */
.about-image-column { min-width: 0; padding: 0 0 0 clamp(0px, 1.5vw, 28px); }
.about-image-wrapper { position: relative; width: 100%; aspect-ratio: 4 / 5; }
.about-image-wrapper::before, .about-image-wrapper::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
}
.about-image-wrapper::before { /* red shape, upper-left */
  top: -4%; left: -7%; width: 52%; height: 50%;
  background: var(--ab-red);
  border-radius: 38px 38px 0 38px;
  transform-origin: top left;
  transform: scale(var(--ab-red-scale, 1));
}
.about-image-wrapper::after { /* blue shape, lower-right */
  right: -5%; bottom: -3%; width: 45%; height: 40%;
  background: var(--ab-light-blue);
  border-radius: 0 0 38px 0;
}
.about-main-image {
  position: relative; z-index: 1;
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  border: 4px solid #fff; border-radius: var(--ab-radius-img);
  box-shadow: 0 18px 44px rgba(16, 61, 131, .18);
}
.about-info-card {
  position: absolute; z-index: 2;
  left: 9%; bottom: -3%; max-width: 86%;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 24px 14px 14px;
  background: #fff; border-radius: var(--ab-radius-card);
  box-shadow: 0 12px 32px rgba(16, 61, 131, .16);
}
.about-info-icon {
  flex: none; width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--ab-light-blue); color: var(--ab-navy);
}
.about-info-icon svg { width: 32px; height: 32px; }
.about-info-text { padding-left: 16px; border-left: 2px solid var(--ab-red); min-width: 0; }
.about-info-title { margin: 0 0 2px; font-family: var(--ab-font-display); font-weight: 800; font-size: var(--font-h4); color: var(--ab-navy); }
.about-info-desc { margin: 0; font-size: var(--font-body); line-height: var(--line-height-body); font-weight: 500; color: var(--ab-navy); }

/* Content column */
.about-content-column { min-width: 0; }
.about-eyebrow {
  margin: 0 0 18px; display: flex; align-items: center; gap: 18px;
  font-family: var(--ab-font-display); font-weight: 800; font-size: var(--font-small);
  letter-spacing: 3px; text-transform: uppercase; color: var(--ab-navy);
}
.about-eyebrow::after { content: ""; width: 64px; height: 2px; background: var(--ab-red); flex: none; }

.about-title {
  margin: 0 0 22px;
  font-family: var(--ab-font-display); font-weight: 800;
  font-size: var(--font-h2); line-height: var(--line-height-h2); letter-spacing: -0.5px;
  color: var(--ab-navy);
}
.about-title-line { display: block; }
.about-title-highlight { color: var(--ab-red); }

.about-description {
  margin: 0 0 36px; max-width: 760px;
  font-size: var(--font-body); line-height: var(--line-height-body); font-weight: 500;
}

/* Values */
.about-values {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px; margin-bottom: 40px;
}
.about-value-card { display: flex; align-items: flex-start; gap: 16px; min-width: 0; }
.about-value-card--plain { grid-column: 1 / -1; }
.about-value-icon {
  flex: none; width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center;
  transition: transform .3s ease;
}
.about-value-icon svg { width: 34px; height: 34px; }
.about-value-card:hover .about-value-icon { transform: scale(1.07); }
.about-value-card--red .about-value-icon { background: var(--ab-light-pink); color: var(--ab-red); }
.about-value-card--blue .about-value-icon { background: var(--ab-light-blue); color: var(--ab-blue); }
.about-value-card--plain .about-value-icon { background: transparent; color: var(--ab-blue); width: 64px; }
.about-value-card--plain .about-value-icon svg { width: 44px; height: 44px; }
.about-value-content { min-width: 0; padding-left: 16px; border-left: 2px solid #F3C2C5; }
.about-value-card--blue .about-value-content,
.about-value-card--plain .about-value-content { border-left-color: #C9D6EA; }
.about-value-title {
  margin: 0 0 6px; font-family: var(--ab-font-display); font-weight: 800;
  font-size: clamp(19px, 1.6vw, 23px); line-height: 1.25; color: var(--ab-navy);
}
.about-value-description { margin: 0; font-size: 16px; line-height: 1.55; font-weight: 500; overflow-wrap: break-word; }

/* CTA */
.about-cta {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 18px 44px 18px 44px; border-radius: 12px;
  background: var(--ab-red); color: #fff; text-decoration: none;
  font-family: var(--ab-font-display); font-weight: 700; font-size: 18px;
  box-shadow: 0 10px 24px rgba(237, 28, 36, .28);
  transition: transform .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.about-cta-arrow { width: 22px; height: 22px; transition: transform .3s ease; }
.about-cta:hover, .about-cta:focus-visible {
  transform: translateY(-3px); background: var(--ab-red-dark);
  box-shadow: 0 14px 30px rgba(237, 28, 36, .36);
}
.about-cta:hover .about-cta-arrow, .about-cta:focus-visible .about-cta-arrow { transform: translateX(5px); }

/* Pre-animation state */
.fc-js .about-section:not(.is-ready) .about-main-image,
.fc-js .about-section:not(.is-ready) .about-info-card,
.fc-js .about-section:not(.is-ready) .about-content-column > *,
.fc-js .about-section:not(.is-ready) .about-value-card { opacity: 0; }

/* Tablet landscape */
@media (max-width: 1100px) {
  .about-container { gap: 36px; }
  .about-values { gap: 24px 20px; }
  .about-value-icon { width: 54px; height: 54px; }
  .about-info-card { padding: 12px 18px 12px 12px; gap: 12px; }
  .about-info-icon { width: 50px; height: 50px; }
  .about-info-title { font-size: var(--font-h4); }
  .about-info-desc { font-size: var(--font-body); }
}
/* Tablet portrait / mobile: stack */
@media (max-width: 860px) {
  .about-section { padding-inline: 20px; }
  .about-container { grid-template-columns: 1fr; gap: 56px; }
  .about-image-column { width: min(100%, 460px); margin-inline: auto; padding: 0; }
  .about-image-wrapper { margin-left: 4%; width: 92%; }
}
@media (max-width: 640px) {
  .about-values { grid-template-columns: 1fr; }
  .about-eyebrow { font-size: var(--font-small); letter-spacing: 2px; gap: 12px; }
  .about-eyebrow::after { width: 36px; }
  .about-image-wrapper::before { border-radius: 26px 26px 0 26px; left: -5%; }
  .about-main-image { border-radius: 28px; }
  .about-info-card { left: 4%; bottom: -5%; max-width: 92%; }
  .about-cta { width: 100%; justify-content: center; padding-inline: 24px; }
}
@media (max-width: 400px) {
  .about-section { padding-inline: 16px; }
  .about-info-icon { width: 44px; height: 44px; border-radius: 12px; }
  .about-info-icon svg { width: 26px; height: 26px; }
  .about-info-text { padding-left: 12px; }
  .about-info-title { font-size: var(--font-h4); }
  .about-info-desc { font-size: var(--font-body); }
  .about-value-icon { width: 48px; height: 48px; border-radius: 14px; }
  .about-value-icon svg { width: 28px; height: 28px; }
  .about-value-content { padding-left: 12px; }
  .about-value-description { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .fc-js .about-section:not(.is-ready) .about-main-image,
  .fc-js .about-section:not(.is-ready) .about-info-card,
  .fc-js .about-section:not(.is-ready) .about-content-column > *,
  .fc-js .about-section:not(.is-ready) .about-value-card { opacity: 1; }
  .about-cta, .about-cta-arrow, .about-value-icon { transition: none; }
}


/* === css/about-us-inner.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — About Us (inner page section)
   File: css/about-us-inner.css
   Every selector uses the .about-us-inner- prefix; no global element styles.
   The photo frame and both decorative shapes share one slanted "stage"
   layer, and frame measurements use container units (cqw) so the
   composition scales as one piece.
   ========================================================================== */

.about-us-inner-section {
  /* Brand */
  --au-navy: var(--primary-color);
  --au-navy-deep: color-mix(in srgb, var(--primary-color) 72%, #000000);
  --au-red: var(--secondary-color);
  --au-light-blue: #EAF4FF;
  --au-soft-blue: #DCEBFC;
  --au-text: #4B5565;
  --au-white: #FFFFFF;

  /* Type */
  --au-font: "Red Hat Display", "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;

  /* Layout (shared container with the rest of the site) */
  --fc-container: 1640px;
  --fc-gutter: clamp(16px, 4.4vw, 72px);
  --au-cols: minmax(0, 44fr) minmax(0, 56fr);
  --au-gap: clamp(32px, 3.6vw, 72px);
  --au-pad-block: clamp(56px, 6vw, 112px);

  /* Photo frame */
  --au-ratio: 1.42;          /* frame box, matching the reference proportions */
  --au-skew-x: -6deg;        /* sides lean, as in the reference */
  --au-skew-y: -1.6deg;      /* top edge rises slightly to the right */
  --au-zoom: 1.08;           /* covers the corners exposed by the counter-skew */
  --au-border: max(5px, 1.1cqw);
  --au-radius: max(26px, 6.4cqw);

  position: relative;
  isolation: isolate;
  overflow: clip;            /* background curves never cause horizontal scroll */
  background: var(--au-white);
  color: var(--au-text);
  font-family: var(--au-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.about-us-inner-section *,
.about-us-inner-section *::before,
.about-us-inner-section *::after {
  box-sizing: border-box;
}

/* Pale-blue curves around the outer edges (decorative only) */
.about-us-inner-section::before,
.about-us-inner-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.about-us-inner-section::before {     /* lower-left / bottom sweep */
  left: -18%;
  bottom: -46%;
  width: 82%;
  height: 72%;
  background: linear-gradient(180deg, var(--au-light-blue) 0%, rgba(234, 244, 255, 0.35) 70%);
  opacity: 0.6;
}

.about-us-inner-section::after {      /* top-right curve */
  top: -38%;
  right: -16%;
  width: 46%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(220, 235, 252, 0.55), rgba(234, 244, 255, 0.4) 70%, rgba(234, 244, 255, 0));
}

.about-us-inner-container {
  display: grid;
  grid-template-columns: var(--au-cols);
  align-items: center;
  gap: var(--au-gap);
  width: 100%;
  max-width: var(--fc-container);
  margin-inline: auto;
  padding: var(--au-pad-block) var(--fc-gutter);
}

/* --------------------------------------------------------------------------
   Left column: company information
   -------------------------------------------------------------------------- */
.about-us-inner-content {
  min-width: 0;
  container-type: inline-size;   /* heading size follows the column width */
}

.about-us-inner-label {
  margin: 0;
  color: var(--au-navy);
  font-size: var(--font-small);
  font-weight: 800;
  line-height: var(--line-height-small);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.about-us-inner-label-line {
  display: block;
  width: clamp(110px, 9.5vw, 162px);
  height: 5px;
  margin-top: clamp(14px, 1.3vw, 22px);
  border-radius: 999px;
  background: var(--au-red);
  transform-origin: left center;
}

.about-us-inner-heading {
  margin: clamp(22px, 2.6vw, 44px) 0 0;
  color: var(--au-navy-deep);
  font-size: var(--font-h2);
  font-weight: 800;
  line-height: var(--line-height-h2);
  letter-spacing: -0.022em;
}

/* Each part sits in a mask so it can rise into place; padding keeps the
   italic overhang and descenders inside the mask. */
.about-us-inner-heading-mask {
  display: block;
  overflow: hidden;
  padding: 0.02em 0.12em 0.1em 0;
  margin: -0.02em -0.12em -0.1em 0;
}

.about-us-inner-heading-primary,
.about-us-inner-heading-highlight {
  display: block;
}

.about-us-inner-heading-highlight {
  color: var(--au-red);
  font-style: italic;
}

.about-us-inner-description {
  max-width: 44em;
  margin-top: clamp(22px, 2.4vw, 42px);
}

.about-us-inner-description p {
  margin: 0;
  color: var(--au-text);
  font-size: var(--font-body);
  font-weight: 500;
  line-height: var(--line-height-body);
}

.about-us-inner-description p + p {
  margin-top: 1.1em;
}

/* Since 1994 highlight */
.about-us-inner-highlight {
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 1.9vw, 34px);
  max-width: 100%;
  margin-top: clamp(28px, 3vw, 52px);
  padding: clamp(10px, 0.9vw, 16px) clamp(22px, 2.6vw, 48px) clamp(10px, 0.9vw, 16px) clamp(20px, 2.2vw, 38px);
  border: 1px solid rgba(229, 30, 42, 0.16);
  border-radius: 24px;
  background: linear-gradient(100deg, #FFF6F7 0%, #FDECEF 100%);
  box-shadow: 0 10px 28px -18px rgba(229, 30, 42, 0.35);
}

.about-us-inner-highlight-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(42px, 3.9vw, 70px);
  aspect-ratio: 1;
  color: var(--au-navy);
}

.about-us-inner-highlight-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.about-us-inner-highlight-separator {
  flex: none;
  height: clamp(34px, 2.9vw, 54px);
  width: 3px;
  border-radius: 3px;
  background: var(--au-red);
}

.about-us-inner-highlight-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.about-us-inner-highlight-title {
  margin: 0;
  color: var(--au-navy-deep);
  font-size: var(--font-h4);
  font-weight: 800;
  line-height: var(--line-height-h4);
  letter-spacing: -0.01em;
}

.about-us-inner-highlight-year {
  margin: 0.08em 0 0;
  color: var(--au-red);
  font-size: clamp(1.375rem, 0.8rem + 1.05vw, 1.875rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

/* --------------------------------------------------------------------------
   Right column: photograph and decorative shapes
   -------------------------------------------------------------------------- */
.about-us-inner-visual {
  position: relative;
  min-width: 0;
  container-type: inline-size;
}

.about-us-inner-image-wrapper {
  position: relative;
  width: 94%;
  margin: 5cqw auto 6.5cqw;   /* room for the slant and the shapes */
  aspect-ratio: var(--au-ratio);
}

/* One slant for frame + shapes, so they stay locked together. */
.about-us-inner-stage {
  position: absolute;
  inset: 0;
  transform: skew(var(--au-skew-x), var(--au-skew-y));
}

.about-us-inner-shape-red,
.about-us-inner-shape-blue {
  position: absolute;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.about-us-inner-shape-red {
  top: -6.8%;
  left: -4.6%;
  width: 43%;
  height: 48%;
  border-radius: calc(var(--au-radius) * 1.15) calc(var(--au-radius) * 0.75) calc(var(--au-radius) * 0.6) calc(var(--au-radius) * 0.75);
  background: var(--au-red);
}

.about-us-inner-shape-blue {
  right: -3.8%;
  bottom: -6.6%;
  width: 47%;
  height: 56%;
  border-radius: calc(var(--au-radius) * 0.6) calc(var(--au-radius) * 0.75) calc(var(--au-radius) * 1.15) calc(var(--au-radius) * 0.75);
  background: var(--au-navy);
}

.about-us-inner-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: var(--au-border);
  border-radius: calc(var(--au-radius) * 1.12) var(--au-radius) var(--au-radius) var(--au-radius);
  background: var(--au-white);
  box-shadow:
    0 0.4cqw 1.2cqw rgba(11, 45, 92, 0.08),
    0 2.6cqw 5.2cqw rgba(11, 45, 92, 0.16);
}

.about-us-inner-photo {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--au-radius) * 1.12 - var(--au-border)) calc(var(--au-radius) - var(--au-border)) calc(var(--au-radius) - var(--au-border)) calc(var(--au-radius) - var(--au-border));
  background: var(--au-soft-blue);
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari: clip children to radius */
}

.about-us-inner-picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Counter-skew keeps the photograph upright inside the slanted frame. */
.about-us-inner-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
  transform: skew(calc(var(--au-skew-x) * -1), calc(var(--au-skew-y) * -1)) scale(var(--au-zoom));
}

/* --------------------------------------------------------------------------
   Pre-hide (JS on, before GSAP has set start states). If GSAP never
   arrives, the 3s .fc-reveal fallback brings everything back.
   -------------------------------------------------------------------------- */
.fc-js:not(.fc-au-ready):not(.fc-reveal) .about-us-inner-section [data-au-anim] {
  opacity: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

/* Laptop */
@media (max-width: 1439px) {
  .about-us-inner-section {
    --au-gap: clamp(28px, 3vw, 48px);
  }
}

/* iPad landscape */
@media (max-width: 1199px) {
  .about-us-inner-section {
    --au-cols: minmax(0, 47fr) minmax(0, 53fr);
    --au-ratio: 1.32;
  }

  .about-us-inner-highlight {
    gap: 14px;
    padding: 12px 20px 12px 16px;
    border-radius: 20px;
  }
}

/* iPad portrait and below: stacked, information first */
@media (max-width: 899px) {
  .about-us-inner-section {
    --au-cols: minmax(0, 1fr);
    --au-gap: 12px;
    --au-ratio: 1.55;
  }

  .about-us-inner-container {
    padding-block: 56px 40px;
  }

  .about-us-inner-heading {
    font-size: var(--font-h2);
  }

  .about-us-inner-description {
    max-width: 40em;
  }

  .about-us-inner-description p {
    font-size: var(--font-body);
  }

  .about-us-inner-visual {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
  }

  .about-us-inner-section::before {
    left: -40%;
    bottom: -18%;
    width: 150%;
    height: 34%;
  }

  .about-us-inner-section::after {
    top: -12%;
    right: -40%;
    width: 90%;
    height: 50%;
  }
}

/* Mobile */
@media (max-width: 599px) {
  .about-us-inner-section {
    --au-ratio: 1.45;
    --au-skew-x: -4.5deg;
    --au-skew-y: -1.4deg;
    --au-zoom: 1.07;
    --au-radius: max(24px, 8cqw);
    --au-border: max(4px, 1.4cqw);
  }

  .about-us-inner-container {
    padding-block: 44px 28px;
  }

  .about-us-inner-label {
    font-size: var(--font-small);
    letter-spacing: 0.18em;
  }

  .about-us-inner-label-line {
    width: 110px;
    height: 4px;
  }

  .about-us-inner-heading {
    margin-top: 20px;
    font-size: var(--font-h2);
  }

  .about-us-inner-description p {
    font-size: var(--font-body);
    line-height: var(--line-height-body);
  }

  .about-us-inner-highlight {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 18px;
  }

  .about-us-inner-highlight-icon {
    width: 40px;
  }

  .about-us-inner-image-wrapper {
    width: 93%;
  }

  /* Smaller shapes on small screens */
  .about-us-inner-shape-red {
    top: -5.4%;
    left: -3.4%;
  }

  .about-us-inner-shape-blue {
    right: -2.8%;
    bottom: -5.2%;
  }
}

@media (max-width: 359px) {
  .about-us-inner-highlight-title {
    font-size: var(--font-h4);
  }

  .about-us-inner-highlight-year {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-us-inner-section [data-au-anim] {
    opacity: 1 !important;
  }
}


/* === css/our-services.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Our Services
   File: css/our-services.css
   Scope: .services-section (all tokens and rules are namespaced)
   ========================================================================== */

/* ---------- 1. Design tokens (scoped) ---------- */
.services-section {
  --fc-navy: var(--primary-color);
  --fc-navy-deep: color-mix(in srgb, var(--primary-color) 72%, #000000);
  --fc-red: var(--secondary-color);
  --fc-red-dark: color-mix(in srgb, var(--secondary-color) 82%, #000000);
  --fc-blue: #2454c5;
  --fc-white: #ffffff;
  --fc-text: #555b66;
  --fc-sky: #eaf4ff;
  --fc-bg-light: #f8fbff;
  --fc-border: #e7edf5;
  --fc-pink: #fff0f1;

  --fc-font-display: "Red Hat Display", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fc-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fc-container: 1640px;
  --fc-gutter: clamp(16px, 4vw, 68px);
  --fc-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --fc-focus: 0 0 0 3px #fff, 0 0 0 5px var(--fc-blue);

  /* Card geometry — every breakpoint only re-tunes these values */
  --svc-gap: 18px;
  --svc-radius: 28px;
  --svc-img-h: 232px;
  --svc-overlap: 22px;      /* how far the white panel rides over the image */
  --svc-icon: 98px;         /* icon tile size */
  --svc-icon-glyph: 52px;
  --svc-icon-rise: 18px;    /* how far the icon tile rises above the panel */
  --svc-pad-x: 28px;
  --svc-pad-b: 32px;
  --svc-title: clamp(18px, 0.25vw + 17.2px, 20px);
  --svc-text: clamp(16px, 1.08vw, 19px);
  --svc-accent-w: 5px;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(56px, 5vw, 88px);
  font-family: var(--fc-font-body);
  color: var(--fc-text);
  background: var(--fc-white);
}

.services-section *,
.services-section *::before,
.services-section *::after {
  box-sizing: border-box;
}

.services-section svg {
  display: block;
  flex-shrink: 0;
}

/* ---------- 2. Decorative background ---------- */
.services-decor {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.services-decor-shape {
  position: absolute;
  display: block;
  border-radius: 46% 54% 60% 40% / 52% 40% 60% 48%;
  opacity: 1;
}

/* Left: a soft wedge sweeping in from the left edge, behind the heading line */
.services-decor-shape--left {
  top: 8%;
  left: -18vw;
  width: 46vw;
  max-width: 820px;
  height: 64%;
  background: linear-gradient(118deg, rgba(220, 236, 254, 0.95) 0%, rgba(234, 244, 255, 0.55) 46%, rgba(255, 255, 255, 0) 72%);
  transform: rotate(-14deg);
}

/* Right: a taller sweep from the top-right corner */
.services-decor-shape--right {
  top: -14%;
  right: -16vw;
  width: 42vw;
  max-width: 760px;
  height: 78%;
  background: linear-gradient(232deg, rgba(220, 236, 254, 0.95) 0%, rgba(234, 244, 255, 0.5) 44%, rgba(255, 255, 255, 0) 70%);
  transform: rotate(18deg);
}

/* Faint floor tint so the cards sit on a cool surface, like the reference */
.services-decor::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0) 0%, var(--fc-bg-light) 100%);
}

/* ---------- 3. Container ---------- */
.services-container {
  width: 100%;
  max-width: calc(var(--fc-container) + 2 * var(--fc-gutter));
  margin-inline: auto;
  padding-inline: var(--fc-gutter);
}

/* ---------- 4. Header ---------- */
.services-header {
  max-width: 1340px;
  margin: 0 auto clamp(36px, 3.4vw, 58px);
  text-align: center;
}

.services-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.4vw, 22px);
  margin: 0 0 clamp(12px, 1.2vw, 18px);
  font-family: var(--fc-font-display);
  font-size: var(--font-small);
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: var(--line-height-small);
  text-transform: uppercase;
  color: var(--fc-navy);
}

.services-eyebrow-line {
  display: block;
  width: clamp(36px, 5.6vw, 98px);
  height: 2px;
  border-radius: 2px;
  background: var(--fc-red);
  transform-origin: right center;
}

.services-eyebrow-line:last-child {
  transform-origin: left center;
}

.services-title {
  margin: 0;
  font-family: var(--fc-font-display);
  font-size: var(--font-h2);
  font-weight: 800;
  line-height: var(--line-height-h2);
  letter-spacing: -0.015em;
  color: var(--fc-navy);
}

/* Each line is a mask for the line-by-line reveal. On wide screens both
   lines sit side by side, so the heading reads as one line. */
.services-title-line {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.08em;
  vertical-align: top;
}

.services-title-line > span {
  display: inline-block;
}

/* The accent line must not clip its underline */
.services-title-line:last-child {
  overflow: visible;
}

.services-title-accent {
  position: relative;
  font-style: italic;
  color: var(--fc-red);
  padding-right: 0.08em; /* room for the italic overhang */
}

/* Brush-like underline: a tapered curve drawn by a pseudo-element.
   --svc-underline (0 → 1) is driven by GSAP to draw it left to right. */
.services-title-accent::after {
  content: "";
  position: absolute;
  left: 28%;
  right: 0;
  bottom: -0.16em;
  height: 0.2em;
  background-color: var(--secondary-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 14' preserveAspectRatio='none'%3E%3Cpath d='M2 12C70 4.5 150 1.8 238 2.6c-80 2.6-152 6-236 9.4Z' fill='%23e31e26'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 14' preserveAspectRatio='none'%3E%3Cpath d='M2 12C70 4.5 150 1.8 238 2.6c-80 2.6-152 6-236 9.4Z' fill='%23e31e26'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform: scaleX(var(--svc-underline, 1));
  transform-origin: left center;
  pointer-events: none;
}

.services-description {
  max-width: 950px;
  margin: clamp(14px, 1.5vw, 24px) auto 0;
  font-size: var(--font-body);
  font-weight: 500;
  line-height: var(--line-height-body);
  color: var(--fc-text);
}

/* ---------- 5. Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--svc-gap);
  grid-auto-rows: 1fr; /* every row (2-col / 1-col) shares one card height */
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- 6. Card ---------- */
.service-card {
  --service-accent: var(--fc-red);
  --service-icon-bg: var(--fc-pink);
  --service-icon-bg-hover: #ffe1e3;

  position: relative;
  display: flex;
  border-radius: var(--svc-radius);
  background: var(--fc-white);
  box-shadow:
    0 1px 2px rgba(16, 43, 92, 0.05),
    0 14px 34px -14px rgba(16, 43, 92, 0.2);
  transition:
    transform 0.45s var(--fc-ease),
    box-shadow 0.45s var(--fc-ease);
}

.service-card--red {
  --service-accent: var(--fc-red);
  --service-icon-bg: var(--fc-pink);
  --service-icon-bg-hover: #ffe1e3;
}

.service-card--blue {
  --service-accent: var(--fc-blue);
  --service-icon-bg: var(--fc-sky);
  --service-icon-bg-hover: #dbeafe;
}

.service-card-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  border-radius: inherit;
  overflow: hidden; /* rounds the image's top corners */
}

/* Coloured bottom accent: a bottom border on a rounded overlay gives the
   crescent that hugs the card's bottom radius, as in the reference. */
.service-card-accent {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  border-bottom: var(--svc-accent-w) solid var(--service-accent);
  pointer-events: none;
  transition: border-bottom-width 0.35s var(--fc-ease);
}

/* ---------- 7. Image ---------- */
.service-image-wrapper {
  position: relative;
  flex-shrink: 0;
  height: var(--svc-img-h);
  overflow: hidden;
  background: var(--fc-sky);
}

/* Gentle bottom shade so the panel edge reads cleanly over bright photos */
.service-image-wrapper::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(7, 29, 67, 0) 0%, rgba(7, 29, 67, 0.16) 100%);
  pointer-events: none;
}

.service-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--service-image-pos, center);
  transition: transform 0.8s var(--fc-ease);
}

/* When GSAP is active it drives image zoom/parallax; a CSS transition would lag it */
.svc-gsap .service-image {
  transition: none;
}

/* Per-image focal points (CMS can override with an inline --service-image-pos) */
.service-card:nth-child(1) { --service-image-pos: 50% 62%; }
.service-card:nth-child(2) { --service-image-pos: 50% 58%; }
.service-card:nth-child(3) { --service-image-pos: 50% 45%; }
.service-card:nth-child(4) { --service-image-pos: 46% 55%; }

/* ---------- 8. White information panel ---------- */
.service-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin-top: calc(-1 * var(--svc-overlap));
  padding: 0 var(--svc-pad-x) calc(var(--svc-pad-b) + var(--svc-accent-w));
  border-radius: 24px 24px 0 0;
  background: var(--fc-white);
}

.service-heading {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1vw, 18px);
  margin-top: calc(-1 * var(--svc-icon-rise));
  margin-left: -4px;
}

.service-icon {
  display: grid;
  place-items: center;
  flex: 0 0 var(--svc-icon);
  width: var(--svc-icon);
  height: var(--svc-icon);
  border-radius: 20px;
  color: var(--service-accent);
  background: var(--service-icon-bg);
  /* the white ring creates the "tab" that lifts the tile off the photo */
  box-shadow:
    0 0 0 8px var(--fc-white),
    0 -6px 18px -6px rgba(16, 43, 92, 0.18);
  transition:
    background-color 0.35s var(--fc-ease),
    color 0.35s var(--fc-ease);
}

.service-icon svg {
  width: var(--svc-icon-glyph);
  height: var(--svc-icon-glyph);
  transition: transform 0.45s var(--fc-ease);
}

.service-title {
  min-width: 0;
  margin: 0 -12px 0 0; /* titles may use part of the right padding */
  padding-top: var(--svc-icon-rise); /* centre on the part of the tile inside the panel */
  font-family: var(--fc-font-display);
  font-size: var(--svc-title);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--fc-navy);
  overflow-wrap: break-word;
}

.service-description {
  margin: clamp(16px, 1.3vw, 22px) 0 0;
  padding-left: 8px;
  font-size: var(--font-body);
  font-weight: 500;
  line-height: var(--line-height-body);
  color: var(--fc-text);
}

/* ---------- 9. CTA ---------- */
.service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  align-self: center;
  min-width: min(190px, 100%);
  margin-top: auto; /* pins every CTA to the same baseline */
  padding: 13px 26px;
  border: 1.5px solid var(--fc-red);
  border-radius: 10px;
  font-family: var(--fc-font-display);
  font-size: clamp(16px, 1.05vw, 18px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fc-red);
  text-decoration: none;
  background: var(--fc-white);
  transition:
    background-color 0.3s var(--fc-ease),
    color 0.3s var(--fc-ease),
    transform 0.3s var(--fc-ease),
    box-shadow 0.3s var(--fc-ease);
}

/* minimum gap above the CTA; margin-top:auto on the button absorbs the rest */
.service-content > .service-description {
  margin-bottom: clamp(22px, 2vw, 34px);
}

.service-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--fc-ease);
}

.service-button:hover {
  color: var(--fc-white);
  background: var(--fc-red);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(227, 30, 38, 0.6);
}

.service-button:hover .service-arrow,
.service-button:focus-visible .service-arrow {
  transform: translateX(4px);
}

.service-button:focus-visible {
  outline: none;
  box-shadow: var(--fc-focus);
}

/* ---------- 10. Card hover (desktop, fine pointer only) ---------- */
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow:
      0 1px 2px rgba(16, 43, 92, 0.06),
      0 26px 48px -18px rgba(16, 43, 92, 0.32);
  }

  .service-card:hover .service-image {
    transform: scale(1.05);
  }

  .service-card:hover .service-icon {
    background: var(--service-icon-bg-hover);
  }

  .service-card:hover .service-icon svg {
    transform: scale(1.06) rotate(-4deg);
  }

  .service-card:hover .service-card-accent {
    border-bottom-width: calc(var(--svc-accent-w) + 2px);
  }

  .service-card:hover .service-arrow {
    transform: translateX(4px);
  }
}

/* Keyboard users get the same lift when focus is inside a card */
.service-card:focus-within {
  box-shadow:
    0 1px 2px rgba(16, 43, 92, 0.06),
    0 26px 48px -18px rgba(16, 43, 92, 0.32);
}

/* ---------- 11. Pre-animation state ----------
   Only hidden while JS is running and before our-services.js has taken over.
   No JS → never hidden. GSAP missing → .fc-reveal shows everything after 3s. */
.fc-js:not(.fc-svc-ready):not(.fc-reveal) .services-section [data-svc-anim],
.fc-js:not(.fc-svc-ready):not(.fc-reveal) .services-section [data-svc-card] {
  opacity: 0;
}

/* ---------- 12. Responsive ---------- */

/* Large laptop / 1600 desktop: four columns, tighter internals */
@media (max-width: 1699px) {
  .services-section {
    --svc-img-h: 214px;
    --svc-icon: 84px;
    --svc-icon-glyph: 44px;
    --svc-pad-x: 24px;
    --svc-pad-b: 28px;
    --svc-title: clamp(20px, 1.4vw, 22px);
    --svc-text: 17px;
  }
}

/* Laptop 1200–1439: still four, but compact */
@media (max-width: 1439px) {
  .services-section {
    --svc-gap: 16px;
    --svc-radius: 24px;
    --svc-img-h: 196px;
    --svc-overlap: 20px;
    --svc-icon: clamp(62px, 5.2vw, 74px);
    --svc-icon-glyph: clamp(34px, 2.8vw, 40px);
    --svc-icon-rise: 14px;
    --svc-pad-x: 20px;
    --svc-pad-b: 24px;
    --svc-title: clamp(18px, 1.45vw, 21px);
    --svc-text: 16px;
  }

  .service-icon {
    border-radius: 17px;
    box-shadow:
      0 0 0 6px var(--fc-white),
      0 -6px 16px -6px rgba(16, 43, 92, 0.18);
  }

  .service-description {
    padding-left: 4px;
  }
}

/* Below 1200 four columns get too narrow → two columns (iPad landscape, small laptops) */
@media (max-width: 1199px) {
  .services-section {
    --svc-gap: 24px;
    --svc-radius: 26px;
    --svc-img-h: 250px;
    --svc-icon: 88px;
    --svc-icon-glyph: 46px;
    --svc-icon-rise: 16px;
    --svc-pad-x: 30px;
    --svc-pad-b: 30px;
    --svc-title: clamp(21px, 2.4vw, 25px);
    --svc-text: 17px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1000px;
    margin-inline: auto;
  }

  .services-title-line {
    display: inline;
  }

  .service-title {
    margin-right: 0;
  }
}

/* iPad portrait */
@media (max-width: 991px) {
  .services-section {
    --svc-gap: 20px;
    --svc-img-h: 206px;
    --svc-icon: 74px;
    --svc-icon-glyph: 38px;
    --svc-icon-rise: 14px;
    --svc-pad-x: 22px;
    --svc-pad-b: 24px;
    --svc-title: 18px;
    --svc-text: 16px;
  }

  .services-title {
    font-size: var(--font-h2);
  }

  .services-title-line {
    display: block;
  }

  .service-icon {
    border-radius: 16px;
  }
}

/* Mobile: one column, same image + overlapping panel composition */
@media (max-width: 767px) {
  .services-section {
    --svc-gap: 22px;
    --svc-radius: 24px;
    --svc-img-h: clamp(190px, 52vw, 230px);
    --svc-overlap: 20px;
    --svc-icon: 72px;
    --svc-icon-glyph: 38px;
    --svc-pad-x: 22px;
    --svc-pad-b: 24px;
    --svc-title: 18px;
    --svc-text: 16px;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }

  .services-eyebrow {
    letter-spacing: 0.16em;
  }

  .services-description {
    font-size: var(--font-body);
  }

  .service-description {
    padding-left: 0;
  }

  .service-button {
    align-self: stretch;
  }

  .services-decor-shape--left {
    top: 2%;
    left: -40vw;
    width: 90vw;
    height: 34%;
  }

  .services-decor-shape--right {
    top: -6%;
    right: -46vw;
    width: 90vw;
    height: 30%;
  }
}

@media (max-width: 389px) {
  .services-section {
    --svc-icon: 62px;
    --svc-icon-glyph: 32px;
    --svc-icon-rise: 12px;
    --svc-pad-x: 18px;
    --svc-title: 19px;
    --svc-text: 15.5px;
  }

  .services-title {
    font-size: var(--font-h2);
  }

  .services-eyebrow {
    font-size: var(--font-small);
    letter-spacing: 0.12em;
  }

  .service-icon {
    border-radius: 14px;
    box-shadow:
      0 0 0 5px var(--fc-white),
      0 -6px 16px -6px rgba(16, 43, 92, 0.18);
  }
}

/* ---------- 13. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .services-section *,
  .services-section *::before,
  .services-section *::after {
    transition-duration: 0.01ms !important;
  }

  .service-card:hover,
  .service-button:hover {
    transform: none;
  }

  .service-card:hover .service-image,
  .service-card:hover .service-icon svg {
    transform: none;
  }
}


/* === css/gold-loan-highlight.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Gold Loan Highlight
   File: css/gold-loan-highlight.css
   Scope: .gold-highlight-section (all tokens and rules are namespaced)

   Breakpoints
     ≥1200px      two columns, horizontal feature cards (reference layout)
     1024–1199px  two columns, compact cards (icon above text)
     768–1023px   stacked: header → wide image → 2×2 cards → buttons
     <768px       single column, cards stacked, full-width buttons
   ========================================================================== */

/* ---------- 1. Design tokens (scoped) ---------- */
.gold-highlight-section {
  --fc-navy: var(--primary-color);
  --fc-navy-deep: color-mix(in srgb, var(--primary-color) 72%, #000000);
  --fc-red: var(--secondary-color);
  --fc-red-dark: color-mix(in srgb, var(--secondary-color) 82%, #000000);
  --fc-blue: #2454c5;
  --fc-white: #ffffff;
  --fc-text: #555b66;
  --fc-sky: #eaf4ff;
  --fc-pink: #fff0f1;
  --fc-border: #e7edf5;

  --fc-font-display: "Red Hat Display", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fc-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fc-container: 1640px;
  --fc-gutter: clamp(16px, 4.4vw, 72px);
  --fc-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --fc-focus: 0 0 0 3px #fff, 0 0 0 5px var(--fc-blue);

  /* layout */
  --gl-pad-top: clamp(56px, 5.2vw, 100px);
  --gl-pad-bottom: clamp(64px, 6.4vw, 120px);
  --gl-col-gap: clamp(28px, 2.2vw, 40px);
  --gl-grid-gap: clamp(16px, 1.2vw, 24px);

  /* image */
  --gl-img-h: clamp(450px, 28vw, 540px);
  --gl-img-radius: clamp(28px, 2.2vw, 40px);
  --gl-img-ring: 5px;
  --gl-shape-offset: clamp(16px, 1.6vw, 28px);
  --gl-shape-w: 44%;
  --gl-shape-h: 44%;

  /* cards */
  --gl-card-radius: clamp(20px, 1.4vw, 26px);
  --gl-card-pad: clamp(16px, 1.15vw, 22px);
  --gl-card-min-h: clamp(170px, 10.4vw, 196px);
  --gl-icon-box: clamp(96px, 6.7vw, 128px);
  --gl-icon-size: clamp(48px, 3.6vw, 68px);
  --gl-divider-gap: clamp(14px, 1.05vw, 20px);
  --gl-title-size: clamp(18px, 0.25vw + 17.2px, 20px);
  --gl-desc-size: var(--font-body);

  /* animation hooks — GSAP tweens these; 1 = fully shown (no-JS default) */
  --gl-line: 1;
  --gl-underline: 1;
  --gl-shape: 1;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--gl-pad-top) 0 var(--gl-pad-bottom);
  font-family: var(--fc-font-body);
  color: var(--fc-text);
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(234, 244, 255, 0.55) 0%, rgba(234, 244, 255, 0) 70%),
    var(--fc-white);
}

.gold-highlight-section *,
.gold-highlight-section *::before,
.gold-highlight-section *::after {
  box-sizing: border-box;
}

.gold-highlight-section svg {
  display: block;
  flex-shrink: 0;
}

/* ---------- 2. Decorative light-blue curves (bottom corners) ---------- */
.gold-highlight-section::before,
.gold-highlight-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

/* bottom-left swell */
.gold-highlight-section::before {
  left: -18%;
  bottom: -27%;
  width: 62%;
  height: 46%;
  background: linear-gradient(100deg, rgba(214, 232, 252, 0.95) 0%, rgba(228, 239, 252, 0.6) 55%, rgba(234, 244, 255, 0) 100%);
  opacity: 0.75;
}

/* bottom-right swell */
.gold-highlight-section::after {
  right: -16%;
  bottom: -22%;
  width: 52%;
  height: 52%;
  background: linear-gradient(250deg, rgba(209, 228, 251, 0.95) 0%, rgba(226, 238, 252, 0.6) 50%, rgba(234, 244, 255, 0) 100%);
  opacity: 0.8;
}

/* ---------- 3. Container ---------- */
.gold-highlight-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--fc-container);
  margin: 0 auto;
  padding: 0 var(--fc-gutter);
}

/* ---------- 4. Header ---------- */
.gold-highlight-header {
  max-width: 1100px;
  margin: 0 auto clamp(40px, 3.6vw, 68px);
  text-align: center;
}

.gold-highlight-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 30px);
  margin: 0 0 clamp(12px, 1vw, 18px);
  font-family: var(--fc-font-display);
  font-size: var(--font-small);
  font-weight: 700;
  line-height: var(--line-height-small);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--fc-navy);
}

.gold-highlight-eyebrow-line {
  display: block;
  width: clamp(36px, 6.4vw, 124px);
  height: 2px;
  border-radius: 2px;
  background: var(--fc-red);
  transform: scaleX(var(--gl-line));
}

.gold-highlight-eyebrow-line:first-child {
  transform-origin: right center;
}

.gold-highlight-eyebrow-line:last-child {
  transform-origin: left center;
}

.gold-highlight-title {
  margin: 0;
  font-family: var(--fc-font-display);
  font-size: var(--font-h2);
  font-weight: 800;
  line-height: var(--line-height-h2);
  letter-spacing: -0.015em;
  color: var(--fc-navy);
  text-wrap: balance;
}

.gold-highlight-title-lead {
  display: inline-block;
}

.gold-highlight-title-accent {
  position: relative;
  display: inline-block;
  padding-bottom: 0.14em;
  color: var(--fc-red);
  font-style: italic;
}

.gold-highlight-title-accent-text {
  display: inline-block;
  /* room for the italic overhang so clip-path never trims glyphs */
  padding: 0 0.08em 0 0.02em;
}

/* hand-drawn underline swoosh (tapered stroke) */
.gold-highlight-title-accent::after {
  content: "";
  position: absolute;
  left: 4%;
  right: -2%;
  bottom: -0.06em;
  height: 0.2em;
  background-color: var(--secondary-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M2 12.5C70 6 180 2.2 298 2.6c-1 1.6-2.4 2.6-4 2.8C180 6.4 84 9.2 4 13.6c-1.4 0-2.2-.4-2-1.1z' fill='%23e31e26'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M2 12.5C70 6 180 2.2 298 2.6c-1 1.6-2.4 2.6-4 2.8C180 6.4 84 9.2 4 13.6c-1.4 0-2.2-.4-2-1.1z' fill='%23e31e26'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  clip-path: inset(-20% calc((1 - var(--gl-underline)) * 100%) -20% 0);
  pointer-events: none;
}

.gold-highlight-description {
  max-width: 950px;
  margin: clamp(16px, 1.4vw, 26px) auto 0;
  font-size: var(--font-body);
  font-weight: 500;
  line-height: var(--line-height-body);
  color: var(--fc-text);
  text-wrap: balance;
}

/* ---------- 5. Two-column content ---------- */
.gold-highlight-content {
  display: grid;
  grid-template-columns: minmax(0, 36fr) minmax(0, 64fr);
  gap: var(--gl-col-gap);
  align-items: stretch;
}

/* ---------- 6. Image + red decorative shape ---------- */
.gold-highlight-image {
  position: relative;
  min-height: var(--gl-img-h);
  /* keep the shape's offset inside the column on the left/top */
  margin: var(--gl-shape-offset) 0 0 var(--gl-shape-offset);
}

/* thick red rounded block behind the top-left corner */
.gold-highlight-image::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: calc(var(--gl-shape-offset) * -1);
  left: calc(var(--gl-shape-offset) * -1);
  width: var(--gl-shape-w);
  height: var(--gl-shape-h);
  border-radius: calc(var(--gl-img-radius) + 8px) calc(var(--gl-img-radius) + 8px) var(--gl-img-radius) calc(var(--gl-img-radius) + 8px);
  background: linear-gradient(140deg, #ef2a31 0%, var(--fc-red) 45%, #c9161d 100%);
  clip-path: inset(0 calc((1 - var(--gl-shape)) * 100%) calc((1 - var(--gl-shape)) * 100%) 0 round calc(var(--gl-img-radius) + 8px));
}

.gold-highlight-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border: var(--gl-img-ring) solid var(--fc-white);
  border-radius: var(--gl-img-radius);
  background: #3a0c10;
  box-shadow: 0 24px 50px -24px rgba(7, 29, 67, 0.35);
}

.gold-highlight-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gold-highlight-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transform-origin: 50% 50%;
}

/* ---------- 7. Details column ---------- */
.gold-highlight-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(28px, 2.4vw, 44px);
  min-width: 0;
}

/* ---------- 8. Feature grid & cards ---------- */
.gold-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  flex: 1 1 auto; /* absorbs spare height so cards meet the buttons */
  gap: var(--gl-grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gold-feature-card {
  --gl-accent: var(--fc-red);
  --gl-icon-bg: var(--fc-pink);
  --gl-icon-bg-hover: #ffe3e5;
  --gl-icon-color: var(--fc-navy);

  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--gl-card-min-h);
  padding: var(--gl-card-pad) clamp(16px, 1.15vw, 22px) var(--gl-card-pad) var(--gl-card-pad);
  border: 1px solid rgba(231, 237, 245, 0.9);
  border-radius: var(--gl-card-radius);
  background: var(--fc-white);
  box-shadow:
    0 1px 2px rgba(16, 43, 92, 0.04),
    0 14px 34px -14px rgba(16, 43, 92, 0.16);
  transition:
    transform 0.45s var(--fc-ease),
    box-shadow 0.45s var(--fc-ease),
    border-color 0.45s var(--fc-ease);
}

.gold-feature-card--blue {
  --gl-accent: var(--fc-blue);
  --gl-icon-bg: var(--fc-sky);
  --gl-icon-bg-hover: #dcecff;
}

.gold-feature-card--red-icon {
  --gl-icon-color: var(--fc-red);
}

.gold-feature-icon {
  display: grid;
  place-items: center;
  flex: 0 0 var(--gl-icon-box);
  width: var(--gl-icon-box);
  height: var(--gl-icon-box);
  border-radius: clamp(18px, 1.4vw, 26px);
  background: var(--gl-icon-bg);
  color: var(--gl-icon-color);
  transition: background-color 0.45s var(--fc-ease), box-shadow 0.45s var(--fc-ease);
}

.gold-feature-icon svg {
  width: var(--gl-icon-size);
  height: var(--gl-icon-size);
  transition: transform 0.5s var(--fc-ease);
}

/* red check accent inside the stopwatch */
.gold-feature-icon .gold-icon-accent {
  stroke: var(--fc-red);
}

.gold-feature-divider {
  align-self: center;
  flex: 0 0 2px;
  width: 2px;
  height: clamp(64px, 5.4vw, 100px);
  margin: 0 var(--gl-divider-gap);
  border-radius: 2px;
  background: var(--gl-accent);
  opacity: 0.85;
}

.gold-feature-content {
  min-width: 0;
}

.gold-feature-title {
  margin: 0;
  font-family: var(--fc-font-display);
  font-size: var(--gl-title-size, clamp(18px, 0.25vw + 17.2px, 20px));
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--fc-navy);
  text-wrap: balance;
}

.gold-feature-description {
  margin: clamp(8px, 0.7vw, 14px) 0 0;
  font-size: var(--font-body);
  font-weight: 500;
  line-height: var(--line-height-body);
  color: var(--fc-text);
}

/* hover (desktop pointers only) */
@media (hover: hover) and (pointer: fine) {
  .gold-feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--fc-border);
    box-shadow:
      0 1px 2px rgba(16, 43, 92, 0.05),
      0 26px 48px -18px rgba(16, 43, 92, 0.26);
  }

  .gold-feature-card:hover .gold-feature-icon {
    background-color: var(--gl-icon-bg-hover);
    box-shadow: inset 0 0 0 1px rgba(16, 43, 92, 0.05);
  }

  .gold-feature-card:hover .gold-feature-icon svg {
    transform: scale(1.07) rotate(-4deg);
  }
}

/* ---------- 9. CTA buttons ---------- */
.gold-highlight-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 1.6vw, 30px);
  padding-left: clamp(0px, 1.2vw, 22px);
}

.gold-primary-button,
.gold-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: clamp(56px, 3.9vw, 74px);
  padding: 0 clamp(26px, 2.2vw, 46px);
  border: 2px solid transparent;
  border-radius: 12px;
  font-family: var(--fc-font-display);
  font-size: clamp(16px, 1.2vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.35s var(--fc-ease),
    background-color 0.35s var(--fc-ease),
    border-color 0.35s var(--fc-ease),
    color 0.35s var(--fc-ease),
    box-shadow 0.35s var(--fc-ease);
}

.gold-primary-button {
  min-width: clamp(240px, 21vw, 400px);
  background: var(--fc-red);
  border-color: var(--fc-red);
  color: var(--fc-white);
  box-shadow: 0 12px 26px -12px rgba(227, 30, 38, 0.6);
}

.gold-secondary-button {
  min-width: clamp(240px, 19.5vw, 372px);
  background: var(--fc-white);
  border-color: var(--fc-navy);
  color: var(--fc-navy);
}

.gold-button-arrow {
  transition: transform 0.35s var(--fc-ease);
}

.gold-button-pin {
  width: 24px;
  height: 24px;
}

.gold-button-pin-dot {
  fill: var(--fc-white);
  transition: fill 0.35s var(--fc-ease);
}

.gold-primary-button:focus-visible,
.gold-secondary-button:focus-visible {
  outline: none;
  box-shadow: var(--fc-focus);
}

@media (hover: hover) and (pointer: fine) {
  .gold-primary-button:hover {
    transform: translateY(-3px);
    background: var(--fc-red-dark);
    border-color: var(--fc-red-dark);
    box-shadow: 0 18px 32px -14px rgba(195, 20, 27, 0.65);
  }

  .gold-primary-button:hover .gold-button-arrow {
    transform: translateX(6px);
  }

  .gold-secondary-button:hover {
    transform: translateY(-3px);
    background: var(--fc-navy);
    color: var(--fc-white);
    box-shadow: 0 16px 30px -16px rgba(16, 43, 92, 0.55);
  }

  .gold-secondary-button:hover .gold-button-pin-dot {
    fill: var(--fc-navy);
  }
}

.gold-primary-button:active,
.gold-secondary-button:active {
  transform: translateY(0);
}

/* ---------- 10. Pre-animation state ----------
   Only while JS is running and before GSAP takes over. Without JS the
   content is always visible; `fc-reveal` is a 3s safety net. */
.fc-js:not(.fc-gl-ready):not(.fc-reveal) .gold-highlight-section [data-gl-anim],
.fc-js:not(.fc-gl-ready):not(.fc-reveal) .gold-highlight-section [data-gl-card],
.fc-js:not(.fc-gl-ready):not(.fc-reveal) .gold-highlight-section [data-gl-cta],
.fc-js:not(.fc-gl-ready):not(.fc-reveal) .gold-highlight-section [data-gl-media] {
  opacity: 0;
}

.fc-js:not(.fc-gl-ready):not(.fc-reveal) .gold-highlight-section {
  --gl-line: 0;
  --gl-underline: 0;
  --gl-shape: 0;
}

/* ---------- 11. Large desktop (≥1600px) ---------- */
@media (min-width: 1600px) {
  .gold-highlight-section {
    --gl-card-pad: 22px;
  }
}

/* ---------- 12. Laptop (1200–1439px) ---------- */
@media (max-width: 1439px) {
  .gold-highlight-section {
    --gl-img-h: 450px;
    --gl-icon-box: clamp(88px, 7vw, 104px);
    --gl-icon-size: clamp(46px, 3.6vw, 56px);
    --gl-divider-gap: clamp(14px, 1.1vw, 18px);
    --gl-title-size: clamp(18px, 0.25vw + 17.2px, 20px);
    --gl-desc-size: var(--font-body);
    --gl-card-min-h: 160px;
  }

  .gold-highlight-actions {
    padding-left: 0;
  }
}

/* ---------- 13. Small laptop / iPad landscape (1024–1199px) ----------
   Two columns stay, but each card stacks its icon above the text so the
   copy keeps a comfortable measure. */
@media (max-width: 1199px) {
  .gold-highlight-section {
    --gl-img-h: 420px;
    --gl-icon-box: 76px;
    --gl-icon-size: 42px;
    --gl-title-size: clamp(18px, 0.25vw + 17.2px, 20px);
    --gl-desc-size: var(--font-body);
    --gl-card-pad: 20px;
    --gl-col-gap: 28px;
    --gl-grid-gap: 16px;
  }

  .gold-feature-card {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 22px 22px 24px;
  }

  .gold-feature-divider {
    align-self: flex-start;
    flex: 0 0 2px;
    width: 40px;
    height: 2px;
    margin: 16px 0 12px;
  }

  .gold-highlight-actions {
    flex-wrap: nowrap;
    gap: 14px;
  }

  .gold-primary-button,
  .gold-secondary-button {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 18px;
    font-size: 16px;
  }
}

/* ---------- 14. iPad portrait (768–1023px): stacked ---------- */
@media (max-width: 1023px) {
  .gold-highlight-section {
    --gl-img-h: clamp(340px, 46vw, 420px);
    --gl-img-radius: 30px;
    --gl-shape-offset: 18px;
    --gl-shape-w: 34%;
    --gl-shape-h: 52%;
    --gl-icon-box: 84px;
    --gl-icon-size: 46px;
    --gl-divider-gap: 16px;
    --gl-title-size: 18px;
    --gl-desc-size: var(--font-body);
    --gl-card-min-h: 150px;
  }

  .gold-highlight-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .gold-highlight-image {
    margin-right: 0;
  }

  .gold-feature-card {
    flex-direction: row;
    align-items: center;
    padding: 18px 20px 18px 18px;
  }

  .gold-feature-divider {
    align-self: center;
    width: 2px;
    height: 72px;
    margin: 0 var(--gl-divider-gap);
  }

  .gold-highlight-actions {
    justify-content: center;
    gap: 16px;
  }

  .gold-primary-button,
  .gold-secondary-button {
    flex: 0 1 auto;
    min-width: 260px;
    padding: 0 28px;
  }
}

/* ---------- 15. Mobile (<768px): single column ---------- */
@media (max-width: 767px) {
  .gold-highlight-section {
    --gl-pad-top: 56px;
    --gl-pad-bottom: 72px;
    --gl-img-h: clamp(260px, 78vw, 320px);
    --gl-img-radius: 24px;
    --gl-img-ring: 4px;
    --gl-shape-offset: 12px;
    --gl-shape-w: 40%;
    --gl-shape-h: 42%;
    --gl-icon-box: 80px;
    --gl-icon-size: 42px;
    --gl-divider-gap: 14px;
    --gl-title-size: 18px;
    --gl-desc-size: var(--font-body);
    --gl-card-min-h: 0px;
    --gl-card-radius: 20px;
    --gl-grid-gap: 14px;
  }

  .gold-highlight-header {
    margin-bottom: 32px;
  }

  .gold-highlight-eyebrow {
    letter-spacing: 0.14em;
  }

  .gold-highlight-title-lead,
  .gold-highlight-title-accent {
    display: inline;
  }

  .gold-highlight-title-accent {
    display: inline-block;
  }

  .gold-highlight-description {
    font-size: var(--font-body);
  }

  .gold-highlight-content {
    gap: 32px;
  }

  .gold-features-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
  }

  .gold-feature-card {
    padding: 16px 18px 16px 16px;
  }

  .gold-feature-divider {
    height: 56px;
  }

  .gold-feature-description {
    margin-top: 6px;
  }

  .gold-highlight-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .gold-primary-button,
  .gold-secondary-button {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 0 20px;
    font-size: 16.5px;
  }

  .gold-highlight-section::before {
    left: -40%;
    bottom: -8%;
    width: 110%;
    height: 22%;
  }

  .gold-highlight-section::after {
    right: -45%;
    bottom: -6%;
    width: 100%;
    height: 20%;
  }
}

@media (max-width: 359px) {
  .gold-highlight-section {
    --gl-icon-box: 68px;
    --gl-icon-size: 36px;
    --gl-divider-gap: 12px;
    --gl-title-size: 17px;
  }

  .gold-feature-card {
    padding: 14px;
  }

  .gold-highlight-eyebrow {
    gap: 10px;
    font-size: var(--font-small);
  }
}

/* ---------- 16. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .gold-feature-card,
  .gold-feature-icon,
  .gold-feature-icon svg,
  .gold-primary-button,
  .gold-secondary-button,
  .gold-button-arrow {
    transition: none;
  }

  .gold-feature-card:hover,
  .gold-primary-button:hover,
  .gold-secondary-button:hover {
    transform: none;
  }

  .gold-feature-card:hover .gold-feature-icon svg,
  .gold-primary-button:hover .gold-button-arrow {
    transform: none;
  }
}


/* === css/why-choose-us.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Why Choose Fraternal
   File: css/why-choose-us.css
   Scope: .why-choose-section (all tokens and rules are namespaced)
   ========================================================================== */

/* ---------- 1. Design tokens (scoped) ---------- */
.why-choose-section {
  --fc-navy: var(--primary-color);
  --fc-navy-deep: color-mix(in srgb, var(--primary-color) 72%, #000000);
  --fc-red: var(--secondary-color);
  --fc-blue: #2454c5;
  --fc-white: #ffffff;
  --fc-text: #555b66;
  --fc-sky: #eaf4ff;
  --fc-blush: #fff0f1;
  --fc-border: #e7edf5;

  --fc-font-display: "Red Hat Display", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fc-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fc-container: 1640px;
  --fc-gutter: clamp(16px, 4.4vw, 72px);
  --fc-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* layout */
  --wc-pad-y: clamp(56px, 5.4vw, 104px);
  --wc-col-gap: clamp(20px, 1.6vw, 30px);
  --wc-card-gap: clamp(16px, 1.3vw, 24px);
  --wc-image-col: 36%;
  --wc-image-h: 550px;
  --wc-image-radius: clamp(22px, 2.1vw, 38px);

  /* red decorative shape behind the photo */
  --wc-shape-offset: clamp(12px, 1.5vw, 28px);
  --wc-shape: 1; /* animated 0 → 1 by GSAP */

  /* cards */
  --wc-card-radius: clamp(22px, 1.8vw, 32px);
  --wc-card-pad: clamp(20px, 1.8vw, 32px);
  --wc-card-min-h: clamp(220px, 15vw, 262px);
  --wc-icon-box: clamp(84px, 7.4vw, 130px);
  --wc-icon-size: clamp(68px, 6.3vw, 112px);
  --wc-divider-h: clamp(52px, 3.8vw, 64px);
  --wc-head-gap: clamp(14px, 1.3vw, 26px);

  --wc-pink: #ffe0e5;
  --wc-blue: #d8ebff;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  padding: var(--wc-pad-y) 0 calc(var(--wc-pad-y) * 1.1);
  font-family: var(--fc-font-body);
  color: var(--fc-text);
  background:
    radial-gradient(48% 60% at 102% 4%, rgba(216, 235, 255, 0.85) 0%, rgba(216, 235, 255, 0) 70%),
    radial-gradient(40% 50% at -4% 30%, rgba(234, 244, 255, 0.9) 0%, rgba(234, 244, 255, 0) 70%),
    linear-gradient(180deg, #fbfcff 0%, #f6f9fe 100%);
}

.why-choose-section *,
.why-choose-section *::before,
.why-choose-section *::after {
  box-sizing: border-box;
}

/* Decorative background curves (bottom waves + top-right swirl) */
.why-choose-section::before,
.why-choose-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

.why-choose-section::before {
  left: -10%;
  right: -10%;
  bottom: -62px;
  height: 140px;
  background: linear-gradient(90deg, rgba(216, 235, 255, 0.9), rgba(234, 244, 255, 0.6) 50%, rgba(216, 235, 255, 0.9));
}

.why-choose-section::after {
  top: -18%;
  right: -12%;
  width: 46%;
  aspect-ratio: 1.4;
  border: 60px solid rgba(225, 238, 255, 0.55);
}

.why-choose-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.why-choose-section svg {
  display: block;
  flex-shrink: 0;
}

.why-choose-container {
  width: 100%;
  max-width: var(--fc-container);
  margin: 0 auto;
  padding: 0 var(--fc-gutter);
}

/* ---------- 2. Header ---------- */
.why-choose-header {
  max-width: 1100px;
  margin: 0 auto clamp(36px, 3.4vw, 60px);
  text-align: center;
}

.why-choose-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.2vw, 20px);
  margin: 0 0 clamp(10px, 0.9vw, 16px);
  font-family: var(--fc-font-display);
  font-size: var(--font-small);
  font-weight: 800;
  letter-spacing: 3px;
  line-height: var(--line-height-small);
  text-transform: uppercase;
  color: var(--fc-navy);
}

.why-choose-eyebrow__line {
  width: clamp(40px, 6vw, 106px);
  height: 2px;
  flex-shrink: 1;
  border-radius: 2px;
  background: var(--fc-red);
}

.why-choose-eyebrow__line:first-child { transform-origin: right center; }
.why-choose-eyebrow__line:last-child  { transform-origin: left center; }

.why-choose-title {
  margin: 0;
  font-family: var(--fc-font-display);
  font-size: var(--font-h2); /* matches gold-loan-highlight title */
  font-style: italic;
  font-weight: 900;
  line-height: var(--line-height-h2);
  letter-spacing: -0.02em;
  color: var(--fc-navy);
}

.why-choose-title__part {
  display: inline-block;
  padding-right: 0.08em; /* room for the italic overhang */
}

.why-choose-title__accent {
  --wc-underline: 1; /* animated 0 → 1 by GSAP */
  position: relative;
  color: var(--fc-red);
}

/* Brush-style red underline beneath "Choose Fraternal" */
.why-choose-title__accent::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 0.1em;
  bottom: -0.16em;
  height: 0.2em;
  background-color: var(--secondary-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M2 12C70 5 170 1 298 3C190 5 100 8 8 14Z' fill='%23E31E26'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M2 12C70 5 170 1 298 3C190 5 100 8 8 14Z' fill='%23E31E26'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform: scaleX(var(--wc-underline));
  transform-origin: left center;
}

.why-choose-description {
  max-width: 1100px;
  margin: clamp(14px, 1.3vw, 24px) auto 0;
  font-size: var(--font-body);
  font-weight: 500;
  line-height: var(--line-height-body);
  color: var(--fc-text);
}

/* ---------- 3. Two-column content ---------- */
.why-choose-content {
  display: grid;
  grid-template-columns: minmax(0, var(--wc-image-col)) minmax(0, 1fr);
  gap: var(--wc-col-gap);
  align-items: stretch;
}

/* ---------- 4. Company photograph ---------- */
.why-choose-image {
  position: relative;
  z-index: 0;
  margin: 0;
  min-height: var(--wc-image-h);
}

/* Thick red rounded shape peeking out behind the top-left corner */
.why-choose-image::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: calc(var(--wc-shape-offset) * -1);
  left: calc(var(--wc-shape-offset) * -1);
  width: 38%;
  height: 42%;
  border-radius: calc(var(--wc-image-radius) + 8px) calc(var(--wc-image-radius) * 0.6) calc(var(--wc-image-radius) * 0.6) calc(var(--wc-image-radius) * 0.6);
  background: linear-gradient(135deg, #f0303a 0%, var(--fc-red) 55%, #c9141c 100%);
  transform: scale(var(--wc-shape));
  transform-origin: top left;
  opacity: min(1, calc(var(--wc-shape) * 3));
}

.why-choose-image__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--wc-image-radius);
  background: var(--fc-navy);
  box-shadow: 0 24px 50px -24px rgba(7, 29, 67, 0.45);
}

.why-choose-image__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.why-choose-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  transform-origin: center center;
}

/* ---------- 5. Experience overlay ---------- */
.experience-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 22px);
  min-height: 52%;
  margin: 0;
  padding: 0 clamp(16px, 2vw, 32px) clamp(28px, 2.6vw, 46px);
  color: var(--fc-white);
  background: linear-gradient(
    180deg,
    rgba(16, 43, 92, 0) 0%,
    rgba(16, 43, 92, 0.55) 26%,
    rgba(12, 36, 80, 0.9) 50%,
    var(--fc-navy-deep) 100%
  );
}

.experience-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.experience-label {
  font-family: var(--fc-font-display);
  font-size: clamp(19px, 1.6vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.experience-year {
  margin-top: 0.06em;
  font-family: var(--fc-font-display);
  font-size: clamp(46px, 4.2vw, 76px);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  padding-right: 0.06em;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.experience-underline {
  width: clamp(54px, 4.6vw, 84px);
  height: 4px;
  margin-top: clamp(8px, 0.7vw, 12px);
  border-radius: 4px;
  background: var(--fc-red);
  transform-origin: left center;
}

.experience-laurel {
  display: block;
  flex-shrink: 0;
  width: clamp(38px, 3.3vw, 62px);
  margin-bottom: clamp(2px, 0.4vw, 8px);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
}

.experience-laurel svg {
  width: 100%;
  height: auto;
  aspect-ratio: 62 / 128;
  overflow: visible;
}

.experience-laurel--right svg {
  transform: scaleX(-1);
}

/* ---------- 6. Benefit cards ---------- */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--wc-card-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-choose-card {
  --wc-card-bg: var(--fc-blush);
  --wc-shape-bg: var(--wc-pink);
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 1.2vw, 22px);
  min-height: var(--wc-card-min-h);
  padding: var(--wc-card-pad);
  overflow: hidden;
  border: 3px solid var(--fc-white);
  border-radius: var(--wc-card-radius);
  background: linear-gradient(150deg, var(--fc-white) -10%, var(--wc-card-bg) 55%);
  box-shadow: 0 14px 34px -18px rgba(16, 43, 92, 0.28), 0 2px 6px rgba(16, 43, 92, 0.04);
  transition: transform 0.45s var(--fc-ease), box-shadow 0.45s var(--fc-ease);
}

.why-choose-card--blue {
  --wc-card-bg: var(--fc-sky);
  --wc-shape-bg: var(--wc-blue);
}

/* Subtle curved corner shapes */
.why-choose-card::before,
.why-choose-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  background: var(--wc-shape-bg);
  transition: transform 0.6s var(--fc-ease);
}

.why-choose-card::before {
  right: -14%;
  bottom: -44%;
  width: 52%;
  aspect-ratio: 1;
  opacity: 0.75;
}

.why-choose-card::after {
  left: -18%;
  bottom: -30%;
  width: 46%;
  height: 46%;
  opacity: 0.45;
}

.why-choose-card__head {
  display: flex;
  align-items: center;
  gap: var(--wc-head-gap);
}

.why-choose-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--wc-icon-box);
  height: var(--wc-icon-box);
  flex-shrink: 0;
  color: var(--fc-navy);
  transition: transform 0.45s var(--fc-ease);
}

.why-choose-icon svg {
  width: var(--wc-icon-size);
  height: var(--wc-icon-size);
  overflow: visible;
}

.why-choose-icon .wc-icon-blue { stroke: var(--fc-blue); }
.why-choose-icon--blue { color: var(--fc-blue); }
.why-choose-icon--red  { color: var(--fc-red); }

.why-choose-divider {
  width: 2px;
  height: var(--wc-divider-h);
  flex-shrink: 0;
  border-radius: 2px;
  background: var(--fc-red);
}

.why-choose-card-title {
  margin: 0;
  min-width: 0;
  font-family: var(--fc-font-display);
  font-size: clamp(18px, 0.25vw + 17.2px, 20px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--fc-navy);
  text-wrap: balance;
}

.why-choose-card-description {
  margin: 0;
  padding-left: calc(var(--wc-icon-box) * 0.55);
  font-size: clamp(13.5px, 0.1vw + 13px, 14.5px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--fc-text);
  text-wrap: pretty;
}

/* Hover (pointer devices only) */
@media (hover: hover) and (pointer: fine) {
  .why-choose-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 44px -20px rgba(16, 43, 92, 0.38), 0 4px 10px rgba(16, 43, 92, 0.06);
  }

  .why-choose-card:hover .why-choose-icon {
    transform: scale(1.06) rotate(-2deg);
  }

  .why-choose-card:hover::before {
    transform: translate(-6%, -8%) scale(1.06);
  }

  .why-choose-card:hover::after {
    transform: translate(6%, -6%);
  }
}

/* ---------- 7. Pre-animation state ----------
   Applies only while JS is running and before GSAP takes over; `fc-reveal`
   (set by a 3 s safety timer in <head>) guarantees visibility if scripts fail. */
.fc-js:not(.fc-wc-ready):not(.fc-reveal) .why-choose-section [data-wc-anim] {
  opacity: 0;
}

/* ---------- 8. Responsive ---------- */

/* Laptop — 1024 to 1439 */
@media (max-width: 1439px) {
  .why-choose-section {
    --wc-image-h: 450px;
    --wc-image-col: 35%;
    --wc-icon-box: clamp(76px, 6.6vw, 96px);
    --wc-icon-size: clamp(60px, 5.4vw, 80px);
    --wc-divider-h: clamp(64px, 5.4vw, 84px);
  }

  .why-choose-card-title {
    font-size: clamp(17px, 0.25vw + 16.5px, 19px);
  }

  .why-choose-card-description {
    padding-left: calc(var(--wc-icon-box) * 0.6);
  }
}

/* Small laptop / iPad landscape — 1024 to 1199 */
@media (max-width: 1199px) {
  .why-choose-section {
    --wc-image-col: 33%;
    --wc-card-pad: 20px;
    --wc-icon-box: 68px;
    --wc-icon-size: 58px;
    --wc-divider-h: 64px;
    --wc-head-gap: 12px;
    --wc-card-min-h: 200px;
  }

  .why-choose-card-title {
    font-size: 18px;
  }

  .why-choose-card-description {
    padding-left: 0;
    font-size: 14px;
  }

  .experience-overlay { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .experience-label { font-size: 18px; }
  .experience-year  { font-size: 50px; }
  .experience-laurel { width: 34px; }
}

/* iPad portrait — 768 to 1023: stacked, cards stay 2×2 */
@media (max-width: 1023px) {
  .why-choose-section {
    --wc-image-h: clamp(340px, 52vw, 480px);
    --wc-card-pad: 24px;
    --wc-icon-box: 76px;
    --wc-icon-size: 66px;
    --wc-divider-h: 70px;
    --wc-head-gap: 16px;
    --wc-card-min-h: 210px;
  }

  .why-choose-content {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(28px, 4vw, 40px);
  }

  .why-choose-card-title {
    font-size: 18px;
  }

  .why-choose-card-description {
    font-size: 14px;
  }

  .experience-label { font-size: 24px; }
  .experience-year  { font-size: 64px; }
  .experience-laurel { width: 54px; }
}

/* Mobile — 320 to 767: single column */
@media (max-width: 767px) {
  .why-choose-section {
    --wc-image-h: clamp(290px, 82vw, 350px);
    --wc-image-radius: 24px;
    --wc-shape-offset: 10px;
    --wc-card-radius: 22px;
    --wc-card-pad: 20px;
    --wc-icon-box: 72px;
    --wc-icon-size: 64px;
    --wc-divider-h: 64px;
    --wc-head-gap: 14px;
    --wc-card-min-h: 0px;
  }

  .why-choose-eyebrow {
    letter-spacing: 2px;
  }

  .why-choose-eyebrow__line {
    width: 28px;
  }

  .why-choose-title__part {
    display: inline;
  }

  .why-choose-title__accent {
    display: inline-block;
  }

  .why-choose-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .why-choose-card {
    gap: 12px;
  }

  .why-choose-card-title {
    font-size: 17px;
  }

  .why-choose-card-description {
    padding-left: calc(var(--wc-icon-box) + var(--wc-head-gap) + 2px + var(--wc-head-gap));
    font-size: 13.5px;
  }

  .experience-overlay {
    gap: 10px;
    padding-bottom: 26px;
  }

  .experience-label { font-size: 20px; }
  .experience-year  { font-size: clamp(46px, 13vw, 54px); }
  .experience-laurel { width: 38px; }

  .why-choose-section::after {
    width: 90%;
    border-width: 36px;
    top: -8%;
    right: -40%;
  }
}

/* Very small phones — below 400 */
@media (max-width: 399px) {
  .why-choose-section {
    --wc-card-pad: 18px;
    --wc-icon-box: 60px;
    --wc-icon-size: 54px;
    --wc-divider-h: 56px;
    --wc-head-gap: 12px;
  }

  .why-choose-eyebrow {
    font-size: var(--font-small);
    letter-spacing: 1.5px;
  }

  .why-choose-eyebrow__line {
    width: 20px;
  }

  .why-choose-card-description {
    padding-left: 0;
  }
}

/* ---------- 9. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .why-choose-card,
  .why-choose-card::before,
  .why-choose-card::after,
  .why-choose-icon {
    transition: none;
  }

  .why-choose-card:hover,
  .why-choose-card:hover .why-choose-icon,
  .why-choose-card:hover::before,
  .why-choose-card:hover::after {
    transform: none;
  }
}


/* === css/our-commitment.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Our Commitment to Customers
   File: css/our-commitment.css
   Scope: .commitment-section (all tokens and rules are namespaced)

   Layout model
   - Desktop / laptop (>= 992px): curved split composition. The navy panel,
     red band and white band are clipped by objectBoundingBox clip paths
     (defined inline in the HTML) so the curve scales with the panel.
     The right "stage" positions the shield and four cards in % / cqi units.
   - Tablet portrait (768–991px): stacked; shield, then 2 x 2 card grid.
   - Mobile (< 768px): single column.
   ========================================================================== */

/* ---------- 1. Design tokens (scoped) ---------- */
.commitment-section {
  --fraternal-navy: var(--primary-color);
  --fraternal-deep-navy: color-mix(in srgb, var(--primary-color) 72%, #000000);
  --fraternal-red: var(--secondary-color);
  --fraternal-red-dark: color-mix(in srgb, var(--secondary-color) 82%, #000000);
  --fraternal-blue: #1455C5;
  --fraternal-white: #FFFFFF;
  --fraternal-light-blue: #EAF3FF;
  --fraternal-light-pink: #FFF0F1;
  --fraternal-text: #303F59;
  --fraternal-muted: #596579;

  --cm-font-display: "Red Hat Display", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cm-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cm-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --cm-focus: 0 0 0 3px #fff, 0 0 0 5px var(--fraternal-blue);

  container-type: inline-size;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  font-family: var(--cm-font-body);
  color: var(--fraternal-text);
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FBFF 55%, #EAF4FF 100%);
}

.commitment-section *,
.commitment-section *::before,
.commitment-section *::after {
  box-sizing: border-box;
}

.commitment-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- 2. Container (desktop composition) ---------- */
.commitment-container {
  /* width of the navy panel box (the curve lives inside this box) */
  --cm-left-w: 50%;
  /* where the right stage starts (cards may overlap the curve's white band) */
  --cm-stage-x: 35%;
  --cm-gutter: clamp(28px, 5.5cqi, 104px);

  position: relative;
  height: clamp(700px, 50cqi, 880px);
}

/* ---------- 3. Curved boundary (white + red bands) ---------- */
.commitment-boundary {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--cm-left-w);
  z-index: 1;
  filter: drop-shadow(10px 0 26px rgba(11, 43, 89, 0.10));
  pointer-events: none;
}

.commitment-boundary-white,
.commitment-boundary-red {
  position: absolute;
  inset: 0;
}

.commitment-boundary-white {
  background: #FFFFFF;
  clip-path: url(#commitment-clip-white);
}

.commitment-boundary-red {
  background: linear-gradient(180deg, #FF2B34 0%, var(--fraternal-red) 45%, var(--fraternal-red-dark) 100%);
  clip-path: url(#commitment-clip-red);
}

/* ---------- 4. Left navy panel ---------- */
.commitment-left {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: var(--cm-left-w);
  clip-path: url(#commitment-clip-navy);
  color: var(--fraternal-white);
}

.commitment-panel-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(42% 34% at 78% 8%, rgba(90, 150, 255, 0.16) 0%, rgba(90, 150, 255, 0) 70%),
    radial-gradient(50% 40% at 0% 45%, rgba(20, 85, 197, 0.22) 0%, rgba(20, 85, 197, 0) 70%),
    linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.035) 42%, rgba(255, 255, 255, 0) 54%),
    linear-gradient(135deg, #0B3569 0%, #08264F 55%, #061D40 100%);
}

.commitment-copy {
  position: relative;
  z-index: 3;
  padding: clamp(52px, 4.4cqi, 84px) 0 0 var(--cm-gutter);
  max-width: calc(var(--cm-gutter) + 600px);
}

/* Eyebrow + red rule */
.commitment-eyebrow {
  margin: 0;
  font-family: var(--cm-font-display);
  font-size: var(--font-small);
  font-weight: 800;
  letter-spacing: 3px;
  line-height: var(--line-height-small);
  text-transform: uppercase;
  color: var(--fraternal-white);
}

.commitment-rule {
  display: block;
  width: clamp(110px, 8.7cqi, 155px);
  height: 5px;
  margin: clamp(14px, 1.2cqi, 22px) 0 clamp(26px, 2.2cqi, 38px);
  border-radius: 999px;
  background: var(--fraternal-red);
  transform-origin: left center;
}

/* Heading */
.commitment-title {
  margin: 0;
  font-family: var(--cm-font-display);
  font-size: var(--font-h2);
  font-style: italic;
  font-weight: 900;
  line-height: var(--line-height-h2);
  letter-spacing: -0.015em;
  color: var(--fraternal-white);
}

.commitment-title-line {
  display: block;
  overflow: hidden;
  /* room for italic overhang and the "Trust" swoosh, cancelled by margin */
  padding: 0 0.12em 0.16em 0;
  margin-bottom: -0.16em;
}

.commitment-title-line > span {
  display: inline-block;
}

.commitment-title-highlight {
  --cm-underline: 1;
  position: relative;
  display: inline-block;
  color: var(--fraternal-red);
}

.commitment-title-highlight::after {
  content: "";
  position: absolute;
  left: -0.12em;
  bottom: -0.13em;
  width: calc(100% + 0.08em);
  height: 0.17em;
  background-color: var(--secondary-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 16C60 4 130 2 198 6C132 8 70 12 2 16Z' fill='%23ED1C24'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 16C60 4 130 2 198 6C132 8 70 12 2 16Z' fill='%23ED1C24'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform: scaleX(var(--cm-underline));
  transform-origin: left center;
}

/* Description */
.commitment-description {
  /* keep clear of the curve: ~ curve x at mid-height minus the gutter */
  max-width: min(500px, 29cqi);
  margin: clamp(24px, 2.3cqi, 40px) 0 0;
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  color: rgba(255, 255, 255, 0.9);
}

/* CTA */
.commitment-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(24px, 2.1cqi, 36px);
  padding: clamp(14px, 1.02cqi, 18px) clamp(24px, 1.98cqi, 35px);
  border-radius: 12px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--secondary-color) 82%, #000000) 0%, var(--fraternal-red) 60%, color-mix(in srgb, var(--secondary-color) 82%, #000000) 100%);
  box-shadow: 0 12px 26px rgba(237, 28, 36, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-family: var(--cm-font-display);
  font-size: var(--font-btn);
  font-weight: 700;
  line-height: var(--line-height-btn);
  color: var(--fraternal-white);
  text-decoration: none;
  transition: transform 0.35s var(--cm-ease), background 0.35s var(--cm-ease), box-shadow 0.35s var(--cm-ease);
}

.commitment-cta-icon {
  flex: none;
  width: 1.2em;
  height: 1.2em;
  transition: transform 0.35s var(--cm-ease);
}

.commitment-cta:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, #D9141C 0%, var(--fraternal-red-dark) 100%);
  box-shadow: 0 16px 32px rgba(200, 16, 26, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.commitment-cta:hover .commitment-cta-icon {
  transform: translateX(5px);
}

.commitment-cta:focus-visible {
  outline: none;
  box-shadow: var(--cm-focus);
}

/* ---------- 5. Handshake photograph + red wave ---------- */
.commitment-handshake {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 44%;
  margin: 0;
  overflow: hidden;
  /* fade the whole figure (photo + tint) into the navy panel */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 18%, #000 50%);
          mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 18%, #000 50%);
}

.commitment-handshake picture,
.commitment-handshake-img {
  display: block;
  width: 100%;
  height: 100%;
}

.commitment-handshake-img {
  object-fit: cover;
  object-position: 42% 46%;
  filter: saturate(0.92) contrast(1.04);
  transform-origin: 40% 70%;
}

/* Navy blend at the top + gentle vignette on the sides */
.commitment-handshake::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 30, 67, 0.55) 0%, rgba(7, 30, 67, 0) 30%),
    linear-gradient(0deg, rgba(7, 30, 67, 0.35) 0%, rgba(7, 30, 67, 0) 40%),
    linear-gradient(135deg, rgba(255, 170, 80, 0.10) 0%, rgba(20, 85, 197, 0.18) 100%);
  pointer-events: none;
}

.commitment-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 2;
  display: block;
  width: 100%;
  height: clamp(70px, 6.6cqi, 120px);
}

.commitment-wave-back { fill: #9B0F18; }
.commitment-wave-red  { fill: var(--fraternal-red); }
.commitment-wave-deep { fill: #4A0B1C; }

/* ---------- 6. Right visual area ---------- */
.commitment-right {
  position: absolute;
  inset: 0 0 0 var(--cm-stage-x);
  z-index: 3;
}

.commitment-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.commitment-decor svg {
  position: absolute;
  display: block;
}

.commitment-decor-top {
  top: 0;
  right: 0;
  width: 26%;
  height: 46%;
}

.commitment-decor-bottom {
  right: 0;
  bottom: 0;
  width: 58%;
  height: 36%;
}

.commitment-decor path:first-child { fill: #E2EEFD; opacity: 0.7; }
.commitment-decor path:last-child  { fill: #D3E5FB; opacity: 0.55; }

.commitment-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ---------- 7. Central trust illustration ---------- */
.commitment-visual {
  --cm-orbit: clamp(380px, 29.5cqi, 530px);
  position: absolute;
  left: 43.2%;
  top: 48.5%;
  width: var(--cm-orbit);
  height: var(--cm-orbit);
  transform: translate(-50%, -50%);
}

.commitment-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  height: 72%;
  margin: -36% 0 0 -36%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 38%),
    radial-gradient(circle, #DCEBFF 0%, #E4F0FF 52%, rgba(234, 243, 255, 0.6) 64%, rgba(234, 243, 255, 0) 71%);
  box-shadow: 0 0 60px 10px rgba(205, 226, 255, 0.35);
}

.commitment-orbit {
  position: absolute;
  inset: 0;
}

.commitment-orbit svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.commitment-orbit-ring {
  fill: none;
  stroke: var(--fraternal-blue);
  stroke-width: 2;
  stroke-dasharray: 10 9;
  stroke-linecap: round;
  opacity: 0.6;
}

.commitment-orbit-draw {
  fill: none;
  stroke: #fff;
  stroke-width: 16;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 0;
}

.commitment-shield {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44%;
  aspect-ratio: 240 / 270;
  transform: translate(-50%, -50%);
}

.commitment-shield svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ---------- 8. Cards ---------- */
.commitment-cards {
  margin: 0;
  padding: 0;
  list-style: none;
}

.commitment-card-item {
  --cm-card-w: 26cqi;
  position: absolute;
  width: var(--cm-card-w);
}

.commitment-card-item--lending      { left: 31.9%; top: 6.2%;  --cm-card-w: 26cqi; }
.commitment-card-item--transparency { left: 61.9%; top: 34%;   --cm-card-w: 22.6cqi; }
.commitment-card-item--privacy      { left: 1.7%;  top: 55.5%; --cm-card-w: 20.4cqi; }
.commitment-card-item--collection   { left: 47%;   top: 67.4%; --cm-card-w: 26.2cqi; }

.commitment-card {
  --cm-accent: var(--fraternal-red);
  --cm-accent-w: 5px;
  --cm-icon: clamp(72px, 6.5cqi, 118px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.3cqi, 24px);
  min-height: clamp(140px, 9.6cqi, 176px);
  padding: clamp(16px, 1.25cqi, 24px) clamp(20px, 1.6cqi, 30px) clamp(16px, 1.25cqi, 24px) clamp(16px, 1.2cqi, 22px);
  border-radius: clamp(22px, 1.75cqi, 32px);
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 55%, #F7FAFF 100%);
  box-shadow:
    0 20px 44px rgba(16, 52, 110, 0.10),
    0 4px 12px rgba(16, 52, 110, 0.05);
  transition: transform 0.4s var(--cm-ease), box-shadow 0.4s var(--cm-ease);
}

.commitment-card--red {
  --cm-accent: var(--fraternal-red);
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 55%, #FFF6F7 100%);
}

.commitment-card--blue {
  --cm-accent: var(--fraternal-blue);
}

/* Right-edge accent: an inset shadow follows the border radius, giving the
   crescent edge seen in the reference. */
.commitment-card-accent {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset calc(var(--cm-accent-w) * -1) 0 0 var(--cm-accent);
  pointer-events: none;
  transition: box-shadow 0.4s var(--cm-ease);
}

.commitment-card-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: var(--cm-icon);
  height: var(--cm-icon);
  border-radius: clamp(16px, 1.25cqi, 22px);
  color: var(--fraternal-blue);
  background: linear-gradient(145deg, #F4F8FF 0%, var(--fraternal-light-blue) 100%);
  transition: transform 0.4s var(--cm-ease);
}

.commitment-card--red .commitment-card-icon {
  background: linear-gradient(145deg, #FFF6F6 0%, #FFE3E4 100%);
}

.commitment-card-item--lending .commitment-card-icon {
  color: var(--fraternal-navy);
}

.commitment-card-icon svg {
  display: block;
  width: 62%;
  height: 62%;
  overflow: visible;
}

.commitment-card-content {
  min-width: 0;
}

.commitment-card-title {
  margin: 0;
  font-family: var(--cm-font-display);
  font-size: clamp(18px, 0.25vw + 17.2px, 20px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--fraternal-navy);
}

.commitment-card-description {
  margin: clamp(6px, 0.6cqi, 10px) 0 0;
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  color: var(--fraternal-text);
}

/* Hover (pointer devices only) — pure CSS, no conflict with GSAP, which
   animates the parent <li> on reveal. */
@media (hover: hover) and (pointer: fine) {
  .commitment-card:hover {
    transform: translateY(-5px);
    box-shadow:
      0 28px 56px rgba(16, 52, 110, 0.15),
      0 6px 16px rgba(16, 52, 110, 0.07);
  }

  .commitment-card:hover .commitment-card-icon {
    transform: scale(1.05);
  }

  .commitment-card:hover .commitment-card-accent {
    box-shadow: inset -8px 0 0 var(--cm-accent);
  }
}

/* ---------- 9. Pre-animation state ----------
   Only while JS is running and before GSAP takes over; `fc-reveal` (added by
   the inline head script after 3s) is a safety net so content never stays
   hidden. Without JS everything is visible. */
.fc-js:not(.fc-cm-ready):not(.fc-reveal) .commitment-section [data-cm-anim] {
  opacity: 0;
}

/* ==========================================================================
   10. Responsive
   ========================================================================== */

/* Large desktop: keep the composition from getting too airy */
@media (min-width: 1700px) {
  .commitment-container {
    --cm-stage-x: 35.5%;
  }
}

/* Laptop 1200–1439 */
@media (max-width: 1439px) {
  .commitment-container {
    --cm-left-w: 51%;
    height: clamp(700px, 52cqi, 760px);
  }

  .commitment-visual { --cm-orbit: clamp(360px, 30cqi, 440px); }

  .commitment-card-item--lending      { --cm-card-w: 28cqi; left: 30%; top: 5%; }
  .commitment-card-item--transparency { --cm-card-w: 25cqi; left: 60.5%; top: 34%; }
  .commitment-card-item--privacy      { --cm-card-w: 23cqi; left: 0.5%; top: 56%; }
  .commitment-card-item--collection   { --cm-card-w: 28cqi; left: 46%; top: 70%; }

  .commitment-card { --cm-icon: clamp(68px, 6.2cqi, 92px); }
}

/* Laptop / iPad landscape 992–1199 */
@media (max-width: 1199px) {
  .commitment-container {
    --cm-left-w: 54%;
    --cm-stage-x: 37%;
    --cm-gutter: clamp(28px, 4.4cqi, 56px);
    height: 760px;
  }

  .commitment-copy { padding-top: 56px; }

  .commitment-title { font-size: var(--font-h2); }
  .commitment-description { font-size: var(--font-body); max-width: 370px; }
  .commitment-cta { font-size: var(--font-btn); padding: 14px 22px; }

  .commitment-handshake { height: 38%; }

  .commitment-visual {
    --cm-orbit: 330px;
    left: 44%;
    top: 49%;
  }

  .commitment-card-item--lending      { --cm-card-w: 300px; left: 29%; top: 4%; }
  .commitment-card-item--transparency { --cm-card-w: 262px; left: auto; right: 2%; top: 34%; }
  .commitment-card-item--privacy      { --cm-card-w: 250px; left: 0; top: 58%; }
  .commitment-card-item--collection   { --cm-card-w: 300px; left: auto; right: 6%; top: 73%; }

  .commitment-card {
    --cm-icon: 64px;
    gap: 14px;
    min-height: 0;
    padding: 16px 20px 16px 14px;
    border-radius: 22px;
  }

  .commitment-card-icon { border-radius: 16px; }
  .commitment-card-title { font-size: clamp(17px, 0.25vw + 16.5px, 19px); }
  .commitment-card-description { font-size: var(--font-body); }
}

/* ---------- Stacked layout: tablet portrait + mobile (< 992px) ---------- */
@media (max-width: 991px) {
  .commitment-container {
    --cm-gutter: clamp(20px, 6cqi, 56px);
    height: auto;
  }

  .commitment-boundary {
    display: none;
  }

  .commitment-left {
    position: relative;
    inset: auto;
    width: 100%;
    clip-path: none;
  }

  .commitment-copy {
    max-width: 640px;
    padding: clamp(48px, 9cqi, 72px) var(--cm-gutter) 0;
  }

  .commitment-title { font-size: var(--font-h2); }
  .commitment-description { font-size: var(--font-body); max-width: 560px; }
  .commitment-cta { font-size: var(--font-btn); padding: 15px 26px; }

  .commitment-handshake {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 40%);
    position: relative;
    height: clamp(240px, 44cqi, 380px);
    margin-top: clamp(-36px, -3cqi, -16px);
  }

  .commitment-handshake::before {
    background:
      linear-gradient(180deg, #08264F 0%, rgba(8, 38, 79, 0.7) 18%, rgba(8, 38, 79, 0) 52%),
      linear-gradient(0deg, rgba(7, 30, 67, 0.35) 0%, rgba(7, 30, 67, 0) 40%),
      linear-gradient(135deg, rgba(255, 170, 80, 0.10) 0%, rgba(20, 85, 197, 0.18) 100%);
  }

  .commitment-handshake-img { object-position: 50% 46%; }

  .commitment-wave { height: clamp(56px, 11cqi, 96px); }

  /* Horizontal curved transition into the light area */
  .commitment-right {
    position: relative;
    inset: auto;
    margin-top: -26px;
    overflow: hidden;
    padding: 0 var(--cm-gutter) clamp(48px, 8cqi, 72px);
    border-radius: 50% 50% 0 0 / 30px 30px 0 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 55%, #EEF5FF 100%);
    box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.8);
  }

  .commitment-decor-top { width: 40%; height: 220px; }
  .commitment-decor-bottom { width: 80%; height: 240px; }

  .commitment-stage {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .commitment-visual {
    --cm-orbit: clamp(230px, 44cqi, 340px);
    position: relative;
    left: auto;
    top: auto;
    margin: clamp(28px, 5cqi, 44px) 0 clamp(20px, 4cqi, 36px);
    transform: none;
  }

  .commitment-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 860px;
  }

  .commitment-card-item,
  .commitment-card-item--lending,
  .commitment-card-item--transparency,
  .commitment-card-item--privacy,
  .commitment-card-item--collection {
    position: relative;
    inset: auto;
    width: auto;
  }

  .commitment-card-item { display: flex; }

  .commitment-card {
    --cm-icon: 72px;
    flex: 1;
    align-items: center;
    min-height: 0;
    padding: 20px 24px 20px 18px;
    border-radius: 24px;
  }

  .commitment-card-title { font-size: 18px; }
  .commitment-card-description { font-size: var(--font-body); }
}

/* Mobile (< 768px) — single column */
@media (max-width: 767px) {
  .commitment-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    max-width: 520px;
  }

  .commitment-copy { padding-top: 48px; }
  .commitment-eyebrow { font-size: var(--font-small); letter-spacing: 2.4px; }
  .commitment-rule { width: 110px; height: 4px; margin: 12px 0 22px; }
  .commitment-title { font-size: var(--font-h2); }
  .commitment-description { margin-top: 18px; }

  .commitment-handshake { height: clamp(220px, 64cqi, 280px); }

  .commitment-visual { --cm-orbit: clamp(220px, 62cqi, 270px); }
  .commitment-shield { width: 46%; }

  .commitment-card {
    --cm-icon: 68px;
    gap: 14px;
    padding: 16px 20px 16px 14px;
    border-radius: 22px;
  }

  .commitment-card-icon { border-radius: 16px; }
  .commitment-card-title { font-size: 17px; }
  .commitment-card-description { font-size: var(--font-body); }
}

@media (max-width: 479px) {
  .commitment-cta {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 359px) {
  .commitment-cta { gap: 10px; padding: 15px 16px; font-size: var(--font-btn); white-space: nowrap; }
  .commitment-card { --cm-icon: 60px; padding: 14px 16px 14px 12px; }
  .commitment-card-title { font-size: 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .commitment-cta,
  .commitment-cta-icon,
  .commitment-card,
  .commitment-card-icon,
  .commitment-card-accent {
    transition: none;
  }

  .commitment-cta:hover,
  .commitment-cta:hover .commitment-cta-icon,
  .commitment-card:hover,
  .commitment-card:hover .commitment-card-icon {
    transform: none;
  }
}


/* === css/our-branches.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Our Branches / Contact
   File: css/our-branches.css
   Scope: .branches-contact-section (all tokens and rules are namespaced)
   ========================================================================== */

/* ---------- 1. Design tokens (scoped) ---------- */
.branches-contact-section {
  --fraternal-navy: var(--primary-color);
  --fraternal-deep-navy: color-mix(in srgb, var(--primary-color) 72%, #000000);
  --fraternal-red: var(--secondary-color);
  --fraternal-red-dark: color-mix(in srgb, var(--secondary-color) 82%, #000000);
  --fraternal-blue: #1455c5;

  --fraternal-white: #ffffff;
  --fraternal-light-blue: #eaf3ff;
  --fraternal-light-pink: #fff0f1;

  --fraternal-text: #303f59;
  --fraternal-muted: #596579;
  --fraternal-border: #dce5f2;

  --br-font-display: "Red Hat Display", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --br-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --br-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --br-container: 1720px;
  --br-gutter: clamp(16px, 3.4vw, 60px);
  --br-pad-top: clamp(48px, 4.6vw, 88px);
  --br-pad-bottom: clamp(64px, 6.2vw, 120px);

  /* layout */
  --br-col-gap: clamp(20px, 2.1vw, 40px);
  --br-card-gap: clamp(18px, 1.5vw, 28px);

  /* branch cards */
  --br-card-radius: clamp(22px, 1.6vw, 28px);
  --br-img-h: clamp(210px, 16vw, 268px);
  --br-info-overlap: 26px;
  --br-info-pad-x: clamp(20px, 2.1vw, 40px);
  --br-info-pad-y: clamp(20px, 1.6vw, 28px);
  --br-card-title: clamp(18px, 0.25vw + 17.5px, 20px);
  --br-card-text: clamp(14px, 0.12vw + 13.8px, 15px);
  --br-contact-text: clamp(13.5px, 0.1vw + 13.5px, 14.5px);
  --br-pin: 24px;
  --br-contact-icon: 18px;

  /* enquiry */
  --br-form-radius: clamp(24px, 1.8vw, 32px);
  --br-form-pad: clamp(20px, 1.6vw, 30px);
  --br-input-h: clamp(52px, 3.3vw, 58px);
  --br-field-gap: clamp(14px, 1.1vw, 20px);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--br-pad-top) 0 var(--br-pad-bottom);
  font-family: var(--br-font-body);
  color: var(--fraternal-text);
  background:
    radial-gradient(48% 58% at 100% 8%, rgba(214, 232, 252, 0.7) 0%, rgba(214, 232, 252, 0) 72%),
    radial-gradient(40% 50% at 0% 100%, rgba(225, 238, 253, 0.65) 0%, rgba(225, 238, 253, 0) 70%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 55%, #f1f6fd 100%);
}

.branches-contact-section *,
.branches-contact-section *::before,
.branches-contact-section *::after {
  box-sizing: border-box;
}

/* zero-specificity resets so component classes always win */
:where(.branches-contact-section) :where(h2, h3, p, ul, address) {
  margin: 0;
  padding: 0;
}

:where(.branches-contact-section) :where(address) { font-style: normal; }
:where(.branches-contact-section) :where(ul) { list-style: none; }

.branches-contact-section .br-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.branches-contact-section .branches-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.branches-contact-container {
  position: relative;
  width: 100%;
  max-width: var(--br-container);
  margin: 0 auto;
  padding: 0 var(--br-gutter);
}

/* ---------- 2. Decorative background ---------- */
.branches-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Large soft-blue arcs sweeping in from the right edge */
.branches-bg-curve {
  position: absolute;
  border-radius: 50%;
}

.branches-bg-curve--outer {
  top: -6%;
  right: -22%;
  width: clamp(560px, 52vw, 1060px);
  aspect-ratio: 1;
  background: linear-gradient(200deg, rgba(219, 234, 252, 0.85) 0%, rgba(232, 242, 254, 0.35) 55%, rgba(232, 242, 254, 0) 80%);
}

.branches-bg-curve--inner {
  top: 18%;
  right: -12%;
  width: clamp(380px, 34vw, 700px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 70% 40%, rgba(208, 228, 252, 0.6) 0%, rgba(208, 228, 252, 0) 68%);
}

/* glow behind the enquiry panel */
.branches-bg-glow {
  position: absolute;
  right: 4%;
  top: 34%;
  width: 34%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 85, 197, 0.12), rgba(20, 85, 197, 0));
  filter: blur(10px);
}

.branches-bottom-wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: clamp(70px, 8vw, 140px);
  display: block;
}

.branches-bottom-wave__back { fill: #e3eefc; }
.branches-bottom-wave__front { fill: #d7e7fb; opacity: 0.85; }

/* ---------- 3. Section header ---------- */
.branches-contact-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto clamp(36px, 3.4vw, 64px);
}

.section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.2vw, 24px);
  font-family: var(--br-font-display);
  font-size: var(--font-small);
  font-weight: 700;
  letter-spacing: clamp(2.4px, 0.22vw, 4px);
  text-transform: uppercase;
  color: var(--fraternal-navy);
  line-height: var(--line-height-small);
}

.section-eyebrow__line {
  flex: 0 0 auto;
  width: clamp(36px, 5.8vw, 106px);
  height: 2px;
  border-radius: 2px;
  background: var(--fraternal-red);
}

.section-eyebrow__line:first-child { transform-origin: right center; }
.section-eyebrow__line:last-child { transform-origin: left center; }

.branches-contact-title {
  margin-top: clamp(10px, 0.9vw, 16px);
  font-family: var(--br-font-display);
  font-size: var(--font-h2);
  font-style: italic;
  font-weight: 900;
  line-height: var(--line-height-h2);
  letter-spacing: -0.012em;
  color: var(--fraternal-navy);
  text-wrap: balance;
}

.branches-contact-title__lead,
.branches-contact-title__accent {
  display: inline-block;
}

.branches-contact-title__accent {
  position: relative;
  color: var(--fraternal-red);
  padding-right: 0.06em; /* italic overhang */
}

.branches-contact-title__underline {
  position: absolute;
  left: 34%;
  right: -2%;
  bottom: -0.24em;
  width: 68%;
  height: 0.3em;
  overflow: visible;
}

.branches-contact-title__underline path {
  fill: none;
  stroke: var(--fraternal-red);
  stroke-width: 4.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.branches-contact-desc {
  max-width: 1100px;
  margin-top: clamp(14px, 1.2vw, 22px);
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  color: var(--fraternal-text);
}

/* ---------- 4. Main layout ---------- */
.branches-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: var(--br-col-gap);
  align-items: stretch;
}

.branches-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--br-card-gap);
  align-items: stretch;
}

/* Organic red shape tucked behind the first card's top-left corner */
.branches-accent-shape {
  position: absolute;
  top: -24px;
  left: -24px;
  z-index: 0;
  width: clamp(130px, 12vw, 222px);
  height: clamp(150px, 13.6vw, 250px);
  border-radius: 46px 40px 36px 42px;
  background: linear-gradient(160deg, #f0262d 0%, var(--fraternal-red) 45%, #d51219 100%);
  pointer-events: none;
}

/* ---------- 5. Branch cards ---------- */
.branch-card {
  --br-accent: var(--fraternal-red);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--fraternal-white);
  border-radius: var(--br-card-radius);
  border-bottom: 5px solid var(--br-accent);
  box-shadow: 0 18px 40px -22px rgba(11, 43, 89, 0.28), 0 4px 14px rgba(11, 43, 89, 0.06);
  transition: transform 0.45s var(--br-ease), box-shadow 0.45s var(--br-ease);
}

.branch-card[data-accent="blue"] { --br-accent: var(--fraternal-blue); }
.branch-card[data-accent="red"] { --br-accent: var(--fraternal-red); }

.branch-image {
  position: relative;
  height: var(--br-img-h);
  overflow: hidden;
  border-radius: var(--br-card-radius) var(--br-card-radius) 0 0;
  background: var(--fraternal-light-blue);
}

.branch-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center;
  transition: transform 0.8s var(--br-ease);
}

/* soft fade at the base of the photo */
.branch-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(7, 30, 67, 0.18), rgba(7, 30, 67, 0));
  pointer-events: none;
}

.branch-info {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  margin-top: calc(var(--br-info-overlap) * -1);
  padding: var(--br-info-pad-y) var(--br-info-pad-x) calc(var(--br-info-pad-y) - 4px);
  background: var(--fraternal-white);
  border-radius: var(--br-card-radius) var(--br-card-radius) calc(var(--br-card-radius) - 4px) calc(var(--br-card-radius) - 4px);
}

.branch-location {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 1vw, 18px);
}

.branch-location__icon {
  flex: 0 0 auto;
  display: inline-flex;
  margin-top: 2px;
  color: var(--fraternal-red);
}

.branch-location__icon svg {
  width: var(--br-pin);
  height: var(--br-pin);
  display: block;
}

.branch-location__text { min-width: 0; }

.branch-name {
  font-family: var(--br-font-display);
  font-size: var(--br-card-title);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--fraternal-navy);
}

.branch-address {
  margin-top: clamp(6px, 0.5vw, 10px);
  font-size: var(--br-card-text);
  line-height: 1.55;
  color: var(--fraternal-text);
}

.branch-location {
  margin-bottom: clamp(16px, 1.2vw, 22px);
}

/* margin-top:auto keeps phone/email bottom-aligned when cards stretch */
.branch-divider {
  display: block;
  height: 1px;
  margin: auto 0 0;
  background: var(--fraternal-border);
  transform-origin: left center;
}

.branch-contact {
  margin-top: clamp(4px, 0.4vw, 8px);
}

.branch-contact-item {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.1vw, 22px);
  min-height: clamp(48px, 3vw, 54px);
  padding: 6px 0;
}

.branch-contact-item + .branch-contact-item {
  border-top: 1px solid var(--fraternal-border);
}

.branch-contact-item__icon {
  flex: 0 0 auto;
  width: var(--br-contact-icon);
  height: var(--br-contact-icon);
  color: var(--fraternal-red);
}

.branch-contact-item a {
  min-width: 0;
  font-size: var(--br-contact-text);
  font-weight: 500;
  line-height: 1.4;
  color: var(--fraternal-text);
  text-decoration: none;
  overflow-wrap: break-word;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color 0.25s ease, background-size 0.35s var(--br-ease);
}

.branch-contact-item a:hover {
  color: var(--fraternal-blue);
  background-size: 100% 1px;
}

.branch-contact-item a:focus-visible {
  outline: 2px solid var(--fraternal-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* hover (pointer devices only) */
@media (hover: hover) and (pointer: fine) {
  .branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 56px -24px rgba(11, 43, 89, 0.38), 0 8px 20px rgba(11, 43, 89, 0.08);
  }

  .branch-card:hover .branch-image img {
    transform: scale(1.045);
  }
}

/* ---------- 6. Enquiry panel ---------- */
.branches-enquiry {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--br-form-pad);
  border-radius: var(--br-form-radius);
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(234, 243, 255, 0.9) 0%, rgba(234, 243, 255, 0) 60%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(220, 229, 242, 0.7);
  box-shadow: 0 30px 60px -30px rgba(20, 85, 197, 0.3), 0 8px 24px rgba(11, 43, 89, 0.06);
}

.enquiry-header {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 1.3vw, 24px);
  margin-bottom: clamp(20px, 1.7vw, 32px);
}

.enquiry-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: clamp(76px, 5.9vw, 105px);
  height: auto;
  aspect-ratio: 1 / 1;
  align-self: flex-start;
  border-radius: clamp(16px, 1.25vw, 22px);
  background: var(--fraternal-light-pink);
  color: var(--fraternal-red);
}

.enquiry-icon svg {
  display: block;
  width: 62%;
  height: auto;
  aspect-ratio: 1 / 1;
  stroke-width: 1;
}

.enquiry-header__text {
  min-width: 0;
  padding-top: clamp(2px, 0.3vw, 6px);
}

.enquiry-title {
  font-family: var(--br-font-display);
  font-size: var(--font-h3);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--fraternal-navy);
}

.enquiry-desc {
  margin-top: clamp(6px, 0.55vw, 10px);
  font-size: var(--font-small);
  line-height: 1.5;
  color: var(--fraternal-text);
}

/* ---------- 7. Form ---------- */
.enquiry-form {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: var(--br-field-gap);
}

.enquiry-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--br-field-gap);
}

.enquiry-field {
  position: relative;
  min-width: 0;
}

.enquiry-field--textarea {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.enquiry-field__icon {
  position: absolute;
  left: 18px;
  top: calc(var(--br-input-h) / 2);
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  color: #34445f;
  pointer-events: none;
  transition: color 0.25s ease;
}

.enquiry-field--textarea .enquiry-field__icon {
  top: 18px;
  transform: none;
}

.enquiry-input {
  display: block;
  width: 100%;
  height: var(--br-input-h);
  padding: 15px 16px 15px 54px;
  font-family: var(--br-font-body);
  font-size: 16px; /* ≥16px prevents iOS zoom on focus */
  font-weight: 500;
  color: var(--fraternal-deep-navy);
  background: var(--fraternal-white);
  border: 1.5px solid var(--fraternal-border);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(11, 43, 89, 0.05);
  outline: none;
  appearance: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.enquiry-input::placeholder {
  color: #3d4b63;
  opacity: 0.9;
  font-weight: 500;
}

.enquiry-textarea {
  flex: 1 1 auto;
  height: auto;
  min-height: 110px;
  padding-top: 16px;
  line-height: 1.5;
  resize: vertical;
}

.enquiry-input:hover { border-color: #c6d5ea; }

.enquiry-input:focus {
  border-color: var(--fraternal-blue);
  box-shadow: 0 0 0 4px rgba(20, 85, 197, 0.14), 0 2px 6px rgba(11, 43, 89, 0.05);
}

.enquiry-field:focus-within .enquiry-field__icon { color: var(--fraternal-blue); }

/* validation */
.enquiry-field.is-invalid .enquiry-input {
  border-color: var(--fraternal-red);
  background-color: #fffafa;
}

.enquiry-field.is-invalid .enquiry-input:focus {
  box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.13);
}

.enquiry-field.is-invalid .enquiry-field__icon { color: var(--fraternal-red); }

.enquiry-error {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--fraternal-red-dark);
}

.enquiry-error:empty { display: none; }
.enquiry-error:not(:empty) { margin-top: 6px; padding-left: 4px; }

/* submit */
.enquiry-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: clamp(58px, 3.6vw, 65px);
  margin-top: clamp(4px, 0.6vw, 10px);
  padding: 0 24px;
  font-family: var(--br-font-display);
  font-size: clamp(18px, 1.1vw, 20px);
  font-weight: 700;
  color: var(--fraternal-white);
  background: linear-gradient(180deg, #ef232b 0%, #dd141c 100%);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 14px 28px -12px rgba(237, 28, 36, 0.6);
  cursor: pointer;
  transition: transform 0.3s var(--br-ease), box-shadow 0.3s var(--br-ease), filter 0.3s ease;
}

.enquiry-submit__arrow {
  width: 24px;
  height: 24px;
  transition: transform 0.35s var(--br-ease);
}

.enquiry-submit:hover {
  transform: translateY(-2px);
  filter: brightness(0.92);
  box-shadow: 0 18px 32px -12px rgba(237, 28, 36, 0.65);
}

.enquiry-submit:hover .enquiry-submit__arrow { transform: translateX(5px); }

.enquiry-submit:active { transform: translateY(0); }

.enquiry-submit:focus-visible {
  outline: 3px solid var(--fraternal-blue);
  outline-offset: 3px;
}

.enquiry-submit[aria-busy="true"] {
  cursor: progress;
  filter: saturate(0.85);
}

/* success status */
.enquiry-status {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #ecf8f1;
  border: 1px solid #bfe5cf;
  color: #155c36;
}

.enquiry-status[hidden] { display: none; }

.enquiry-status__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-top: 1px;
}

.enquiry-status__title {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
}

.enquiry-status__note {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.45;
  color: #3c6e52;
}

.enquiry-status__note:empty { display: none; }

/* ---------- 8. JS-driven pre-hide (only before GSAP takes over) ----------
   `fc-reveal` is added after 3s by the inline script as a safety net. */
.fc-js:not(.fc-br-ready):not(.fc-reveal) .branches-contact-section [data-br-anim] {
  opacity: 0;
}

/* ---------- 9. Responsive ---------- */

/* Large desktop: content stays at a comfortable max width */
@media (min-width: 1920px) {
  .branches-contact-section { --br-container: 1760px; }
}

/* Laptop 1200–1439: three columns, tighter cards; name/mobile stack */
@media (max-width: 1439px) {
  .branches-contact-section {
    --br-col-gap: 22px;
    --br-card-gap: 18px;
    --br-info-pad-x: 20px;
    --br-info-overlap: 22px;
  }

  .branches-contact-layout {
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  }

  .enquiry-icon { width: 76px; }
  .enquiry-input { padding-left: 50px; }
  .enquiry-field__icon { left: 16px; }
}

/* 1200–1279: the form column is too narrow for two inputs side by side */
@media (max-width: 1279px) {
  .branches-contact-section { --br-img-h: 232px; }
  .enquiry-form-row { grid-template-columns: 1fr; }
}

/* iPad landscape + portrait (≤1199): three columns would cramp the branch
   details, so the form moves under the two side-by-side cards */
@media (max-width: 1199px) {
  .branches-contact-section {
    --br-img-h: clamp(210px, 24vw, 250px);
    --br-info-pad-x: 22px;
    --br-col-gap: 28px;
    --br-card-gap: 22px;
    --br-card-title: 19px;
    --br-card-text: 14.5px;
    --br-contact-text: 14px;
  }

  .branches-contact-layout { grid-template-columns: 1fr; }

  .branches-enquiry { --br-form-pad: 28px; }
  .enquiry-icon { width: 84px; }
  .enquiry-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .branches-bg-glow { right: 10%; top: 60%; width: 80%; height: 40%; }
}

/* Wide tablets: header on the left, fields on the right */
@media (min-width: 900px) and (max-width: 1199px) {
  .branches-enquiry {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    column-gap: 36px;
    align-items: start;
  }

  .enquiry-header { flex-direction: column; margin-bottom: 0; }
}

/* Narrow tablets: tighten card internals so contacts stay on one line */
@media (max-width: 899px) {
  .branches-contact-section {
    --br-info-pad-x: 18px;
    --br-contact-text: 13.5px;
    --br-card-text: 14px;
    --br-card-gap: 18px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .branches-contact-section {
    --br-gutter: 18px;
    --br-img-h: 210px;
    --br-card-title: 18px;
    --br-card-text: 14px;
    --br-contact-text: 13.5px;
    --br-pin: 22px;
    --br-contact-icon: 17px;
    --br-info-pad-x: 20px;
    --br-info-pad-y: 20px;
    --br-form-pad: 20px;
    --br-input-h: 56px;
    --br-card-gap: 22px;
  }

  .branches-contact-desc { max-width: 34em; }

  /* single column: 1fr rows keep both cards the same height */
  .branches-list { grid-template-columns: 1fr; grid-auto-rows: 1fr; }

  .branches-accent-shape {
    top: -14px;
    left: -12px;
    width: 112px;
    height: 132px;
    border-radius: 30px;
  }

  .branches-enquiry { --br-form-pad: 20px; }

  .enquiry-header { gap: 16px; }
  .enquiry-icon { width: 64px; border-radius: 16px; }

  .branches-bg-curve--outer { right: -60%; width: 620px; opacity: 0.7; }
  .branches-bg-curve--inner { display: none; }
  .branches-bottom-wave__back { display: none; }
  .branches-bottom-wave { height: 60px; }

  .enquiry-submit { min-height: 60px; }
}

/* Small phones: stack the first form row */
@media (max-width: 520px) {
  .enquiry-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .section-eyebrow { letter-spacing: 1.6px; gap: 10px; font-size: var(--font-small); }
  .section-eyebrow__line { width: 22px; }
  .branch-contact-item { gap: 10px; }
  .enquiry-header { flex-direction: column; gap: 12px; }
  .enquiry-icon { width: 58px; }
}

/* Smallest phones (320–359) */
@media (max-width: 359px) {
  .branches-contact-section {
    --br-gutter: 14px;
    --br-info-pad-x: 16px;
    --br-card-title: 17px;
    --br-card-text: 13.5px;
    --br-contact-text: 13px;
    --br-pin: 20px;
    --br-contact-icon: 16px;
    --br-form-pad: 18px;
  }

  .section-eyebrow { letter-spacing: 1.2px; gap: 8px; font-size: var(--font-small); }
  .section-eyebrow__line { width: 16px; }
  .branch-location { gap: 10px; }
}

/* ---------- 10. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .branches-contact-section *,
  .branches-contact-section *::before,
  .branches-contact-section *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .branch-card:hover { transform: none; }
  .branch-card:hover .branch-image img { transform: none; }
}


/* === css/directors.css === */
/* Board of Directors — scoped to .directors-section */
.directors-section {
  --dr-navy: var(--primary-color);
  --dr-red: var(--secondary-color);
  --dr-blue: #287DEB;
  --dr-light-blue: #EAF4FF;
  --dr-border: #DCE8FA;
  --dr-text: #4B5873;
  --dr-font-display: "Red Hat Display", "Inter", system-ui, sans-serif;
  --dr-font-body: "Inter", system-ui, sans-serif;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fff;
  padding: clamp(48px, 6vw, 80px) 24px clamp(64px, 8vw, 110px);
  font-family: var(--dr-font-body);
  color: var(--dr-text);
}
.directors-section *,
.directors-section *::before,
.directors-section *::after { box-sizing: border-box; }

/* Decorative waves (behind content) */
.directors-section::before,
.directors-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.directors-section::before {
  inset: 0;
  background:
    radial-gradient(ellipse 45% 30% at 0% 22%, rgba(40,125,235,.10), transparent 70%),
    radial-gradient(ellipse 45% 38% at 100% 8%, rgba(40,125,235,.13), transparent 70%);
}
.directors-section::after {
  left: -10%; right: -10%; bottom: -60px; height: 160px;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(40,125,235,.14), transparent 72%);
  border-radius: 50% 50% 0 0;
}

.directors-container { max-width: 1280px; margin: 0 auto; }

/* Header */
.directors-header { text-align: center; margin-bottom: clamp(32px, 4vw, 52px); }

.directors-eyebrow {
  margin: 0 0 8px;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-family: var(--dr-font-display);
  font-weight: 800; font-size: var(--font-small); letter-spacing: 4px;
  text-transform: uppercase; color: var(--dr-navy);
}
.directors-eyebrow::before,
.directors-eyebrow::after {
  content: ""; width: 48px; height: 2px; background: var(--dr-red); flex: none;
}

.directors-title {
  margin: 0;
  font-family: var(--dr-font-display);
  font-weight: 900; font-style: italic;
  font-size: var(--font-h2); /* matches gold-loan-highlight title */ line-height: var(--line-height-h2);
  color: var(--dr-navy); letter-spacing: -0.5px;
}
.directors-title-highlight {
  position: relative; display: inline-block; color: var(--dr-red);
}
.directors-title-highlight::after {
  content: ""; position: absolute; left: 8%; right: 0; bottom: -4px; height: 10px;
  border-bottom: 4px solid var(--dr-red);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.directors-description {
  max-width: 850px; margin: 22px auto 0;
  font-size: var(--font-body); line-height: var(--line-height-body); font-weight: 500;
  color: var(--dr-text);
}

/* Grid */
.directors-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}
.directors-item { display: flex; min-width: 0; }

/* Card */
.director-card {
  width: 100%;
  display: flex; align-items: center; gap: clamp(16px, 2vw, 28px);
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--dr-border);
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(11, 52, 127, .06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.director-image {
  flex: none; margin: 0;
  width: 130px; height: 138px;
  border-radius: 22px; overflow: hidden;
  background: var(--dr-light-blue);
  box-shadow: 0 6px 16px rgba(11, 52, 127, .12);
}
.director-image img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform .45s ease;
}
.director-info { min-width: 0; flex: 1; }
.director-name {
  margin: 0;
  font-family: var(--dr-font-display);
  font-weight: 700;
  font-size: clamp(18px, 0.25vw + 17.2px, 20px);
  line-height: 1.35;
  color: var(--dr-navy);
  overflow-wrap: anywhere;
}
.director-name::after {
  content: ""; display: block; width: 36px; height: 6px; margin: 10px 0 12px;
  border-bottom: 3px solid var(--dr-red);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.director-designation {
  margin: 0; font-size: var(--font-small); line-height: var(--line-height-small); font-weight: 500;
  color: var(--dr-text); overflow-wrap: break-word;
}

@media (hover: hover) and (min-width: 1025px) {
  .director-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(11, 52, 127, .14);
  }
  .director-card:hover .director-image img { transform: scale(1.04); }
}

/* Tablet */
@media (max-width: 1100px) {
  .directors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .directors-section { padding-inline: 20px; }
  .director-card { padding: 16px 18px; }
  .director-image { width: 110px; height: 118px; border-radius: 18px; }
}
/* Mobile */
@media (max-width: 680px) {
  .directors-grid { grid-template-columns: 1fr; }
  .director-name { font-size: 18px; }
  .directors-eyebrow { font-size: var(--font-small); letter-spacing: 3px; gap: 12px; }
  .directors-eyebrow::before, .directors-eyebrow::after { width: 28px; }
}
@media (max-width: 400px) {
  .directors-section { padding-inline: 16px; }
  .director-card { gap: 14px; padding: 14px; border-radius: 18px; }
  .director-image { width: 88px; height: 96px; border-radius: 16px; }
  .director-name { font-size: 17px; }
  .director-designation { font-size: var(--font-small); }
  .directors-eyebrow { letter-spacing: 2px; }
}

/* Pre-animation state only when JS + motion allowed */
.fc-js .directors-section:not(.is-ready) .directors-eyebrow,
.fc-js .directors-section:not(.is-ready) .directors-title,
.fc-js .directors-section:not(.is-ready) .directors-description,
.fc-js .directors-section:not(.is-ready) .director-card { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .fc-js .directors-section:not(.is-ready) .directors-eyebrow,
  .fc-js .directors-section:not(.is-ready) .directors-title,
  .fc-js .directors-section:not(.is-ready) .directors-description,
  .fc-js .directors-section:not(.is-ready) .director-card { opacity: 1; }
  .director-card, .director-image img { transition: none; }
}


/* === css/who-can-benefit.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Who Can Benefit (vehicle loans)
   File: css/who-can-benefit.css
   Every selector is scoped under .who-benefit-section; no global element
   styles. The five customer cards share one set of classes; a colour
   modifier (--red / --blue) is the only per-card difference. Card internals
   respond to the card's own width (container queries), so the same markup
   works in every grid cell.
   ========================================================================== */

.who-benefit-section {
  /* Brand */
  --wcb-navy: var(--primary-color);
  --wcb-navy-deep: color-mix(in srgb, var(--primary-color) 72%, #000000);
  --wcb-red: var(--secondary-color);
  --wcb-blue: #1265E8;
  --wcb-white: #FFFFFF;
  --wcb-light-blue: #EAF4FF;
  --wcb-light-red: #FFF0F1;
  --wcb-text: #39465D;

  /* Type */
  --wcb-font: "Red Hat Display", "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;

  /* Layout (shared container with the rest of the site) */
  --fc-container: 1640px;
  --fc-gutter: clamp(16px, 4.4vw, 72px);
  --wcb-gap: clamp(12px, 1vw, 18px);
  --wcb-feature-w: 24%;
  --wcb-row-h: clamp(220px, 15.8vw, 292px);
  --wcb-radius: clamp(20px, 1.8vw, 30px);
  --wcb-pad: clamp(18px, 1.75vw, 32px);

  /* Depth */
  --wcb-shadow: 0 2px 6px rgba(8, 46, 105, 0.05), 0 14px 30px -16px rgba(8, 46, 105, 0.24);
  --wcb-shadow-hover: 0 4px 10px rgba(8, 46, 105, 0.07), 0 26px 44px -18px rgba(8, 46, 105, 0.32);
  --wcb-ease: cubic-bezier(0.22, 1, 0.36, 1);

  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--wcb-white);
  color: var(--wcb-text);
  font-family: var(--wcb-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.who-benefit-section *,
.who-benefit-section *::before,
.who-benefit-section *::after {
  box-sizing: border-box;
}

/* Soft pale-blue curves at the edges (decorative) */
.who-benefit-section::before,
.who-benefit-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.who-benefit-section::before {      /* top-right */
  top: -32%;
  right: -14%;
  width: 46%;
  height: 92%;
  background: linear-gradient(200deg, rgba(220, 235, 252, 0.85) 0%, rgba(234, 244, 255, 0.4) 55%, rgba(234, 244, 255, 0) 80%);
}

.who-benefit-section::after {       /* bottom sweep */
  left: -10%;
  bottom: -30%;
  width: 120%;
  height: 46%;
  background: radial-gradient(closest-side, rgba(234, 244, 255, 0.7), rgba(234, 244, 255, 0));
}

.who-benefit-container {
  width: 100%;
  max-width: var(--fc-container);
  margin-inline: auto;
  padding: clamp(40px, 3.4vw, 64px) var(--fc-gutter) clamp(48px, 4.4vw, 84px);
}

/* --------------------------------------------------------------------------
   Section heading
   -------------------------------------------------------------------------- */
.who-benefit-header {
  max-width: 1240px;
  margin: 0 auto clamp(30px, 3.4vw, 60px);
  text-align: center;
}

.who-benefit-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.4vw, 24px);
  margin: 0;
}

.who-benefit-eyebrow-text {
  color: var(--wcb-navy);
  font-size: var(--font-small);
  font-weight: 800;
  line-height: var(--line-height-small);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.who-benefit-eyebrow-line {
  flex: none;
  width: clamp(36px, 4.6vw, 82px);
  height: 3px;
  border-radius: 3px;
  background: var(--wcb-red);
}

.who-benefit-eyebrow-line--start { transform-origin: right center; }
.who-benefit-eyebrow-line--end { transform-origin: left center; }

.who-benefit-heading {
  margin: clamp(8px, 0.8vw, 14px) 0 0;
  color: var(--wcb-navy);
  font-size: var(--font-h2); /* matches gold-loan-highlight title */
  font-style: italic;
  font-weight: 900;
  line-height: var(--line-height-h2);
  letter-spacing: -0.025em;
}

.who-benefit-heading-highlight {
  color: var(--wcb-red);
  white-space: nowrap;
}

.who-benefit-heading-underlined {
  position: relative;
  display: inline-block;
}

.who-benefit-heading-underline {
  position: absolute;
  left: 2%;
  right: -2%;
  bottom: -0.16em;
  width: 96%;
  height: 0.2em;
  overflow: visible;
  color: var(--wcb-red);
  pointer-events: none;
}

/* Words created by js for the masked word reveal */
.who-benefit-section .wcb-word {
  display: inline-block;
  overflow: hidden;
  padding: 0.04em 0.12em 0.08em 0.02em;
  margin: -0.04em -0.12em -0.08em -0.02em;
  vertical-align: top;
}

.who-benefit-section .wcb-word-inner {
  display: inline-block;
}

.who-benefit-description {
  max-width: 70ch;
  margin: clamp(14px, 1.6vw, 28px) auto 0;
  color: var(--wcb-text);
  font-size: var(--font-body);
  font-weight: 500;
  line-height: var(--line-height-body);
}

/* --------------------------------------------------------------------------
   Bento grid: feature card + a 6-column area for the five cards
   -------------------------------------------------------------------------- */
.who-benefit-grid {
  display: grid;
  grid-template-columns: var(--wcb-feature-w) minmax(0, 1fr);
  gap: var(--wcb-gap);
}

.who-benefit-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(var(--wcb-row-h), auto);
  gap: var(--wcb-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* --------------------------------------------------------------------------
   Feature card
   -------------------------------------------------------------------------- */
.who-benefit-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--wcb-radius);
  background: linear-gradient(180deg, #0C3A82 0%, var(--wcb-navy) 38%, var(--wcb-navy-deep) 100%);
  box-shadow: var(--wcb-shadow);
  color: var(--wcb-white);
  isolation: isolate;
}

.who-benefit-feature-body {
  position: relative;
  z-index: 2;
  padding: calc(var(--wcb-pad) * 1.3) calc(var(--wcb-pad) * 1.25) 0;
}

.who-benefit-feature-icon {
  display: block;
  width: clamp(76px, 7.4vw, 132px);
  color: var(--wcb-white);
}

.who-benefit-feature-icon svg {
  display: block;
  width: 100%;
  height: auto;
}

.who-benefit-feature-icon-accent {
  color: var(--wcb-red);
}

.who-benefit-feature-title {
  margin: clamp(20px, 2.6vw, 50px) 0 0;
  color: var(--wcb-white);
  font-size: var(--font-h4);
  font-weight: 800;
  line-height: var(--line-height-h4);
  letter-spacing: -0.015em;
}

.who-benefit-feature-rule {
  display: block;
  width: clamp(64px, 5.6vw, 104px);
  height: 5px;
  margin-top: clamp(16px, 1.6vw, 28px);
  border-radius: 5px;
  background: var(--wcb-red);
  transform-origin: left center;
}

.who-benefit-feature-media {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 34%);
}

.who-benefit-feature-media picture,
.who-benefit-feature-img {
  display: block;
  width: 100%;
  height: 100%;
}

.who-benefit-feature-img {
  object-fit: cover;
  object-position: 50% 62%;
}

.who-benefit-feature-wave {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 18%;
  color: var(--wcb-red);
  pointer-events: none;
}

.who-benefit-feature-wave-line {
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Customer cards (one structure for all five)
   -------------------------------------------------------------------------- */
.who-benefit-card {
  --wcb-card-accent: var(--wcb-blue);
  --wcb-card-base: linear-gradient(135deg, #F6FAFF 0%, #EAF4FF 100%);
  --wcb-card-curve: linear-gradient(160deg, rgba(220, 235, 252, 0.95), rgba(207, 227, 251, 0.6));
  --wcb-body-w: 50%;
  --wcb-media-w: 54%;

  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  container-type: inline-size;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--wcb-radius);
  background: var(--wcb-card-base);
  box-shadow: var(--wcb-shadow);
  isolation: isolate;
  transition: transform 0.45s var(--wcb-ease), box-shadow 0.45s var(--wcb-ease);
}

.who-benefit-card--wide {
  grid-column: span 3;
  --wcb-body-w: 46%;
  --wcb-media-w: 52%;
}

.who-benefit-card--wide .who-benefit-card-title {
  font-size: clamp(18px, 0.25vw + 17.2px, 20px);
}

.who-benefit-card--red {
  --wcb-card-accent: var(--wcb-red);
  --wcb-card-base: linear-gradient(135deg, #FFE9EB 0%, var(--wcb-light-red) 55%, #FFF7F8 100%);
  --wcb-card-curve: linear-gradient(160deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.35));
}

/* Large soft curve on the right, behind the vehicle */
.who-benefit-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -38%;
  right: -26%;
  width: 82%;
  height: 176%;
  border-radius: 50%;
  background: var(--wcb-card-curve);
  pointer-events: none;
}

.who-benefit-card-body {
  position: relative;
  z-index: 2;
  max-width: var(--wcb-body-w);
  padding: var(--wcb-pad) 0 var(--wcb-pad) var(--wcb-pad);
}

.who-benefit-card-icon {
  display: grid;
  place-items: center;
  width: clamp(48px, 4.4vw, 80px);
  aspect-ratio: 1;
  border-radius: clamp(12px, 1.1vw, 18px);
  background: var(--wcb-white);
  box-shadow: 0 6px 16px -10px rgba(8, 46, 105, 0.35);
  color: var(--wcb-card-accent);
  transition: transform 0.45s var(--wcb-ease);
}

.who-benefit-card-icon svg {
  display: block;
  width: 56%;
  height: 56%;
}

.who-benefit-card-title {
  margin: clamp(12px, 1.3vw, 24px) 0 0;
  color: var(--wcb-navy);
  font-size: clamp(18px, 0.25vw + 17.2px, 20px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.who-benefit-card-text {
  margin: clamp(8px, 0.9vw, 16px) 0 0;
  color: var(--wcb-text);
  font-size: clamp(0.8125rem, 4.4cqi, 1.125rem);
  font-weight: 500;
  line-height: 1.42;
}

.who-benefit-card-media {
  position: absolute;
  z-index: 1;
  right: -3%;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: var(--wcb-media-w);
  height: 100%;
  padding: 0 0 calc(var(--wcb-pad) * 0.7) 0;
  pointer-events: none;
}

.who-benefit-card--wide .who-benefit-card-media {
  right: 0;
  align-items: center;
  padding: calc(var(--wcb-pad) * 0.6) calc(var(--wcb-pad) * 0.7) calc(var(--wcb-pad) * 0.4) 0;
}

.who-benefit-card-media picture {
  display: block;
  width: 100%;
}

.who-benefit-card-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 14px 12px rgba(8, 46, 105, 0.16));
  transform-origin: 70% 90%;
  transition: transform 0.6s var(--wcb-ease);
}

/* The construction card's machine is taller than the others */
.who-benefit-card-media--tall {
  padding-top: calc(var(--wcb-pad) * 0.6);
}

/* Narrow card: stack the text and the vehicle */
@container (max-width: 279px) {
  .who-benefit-card-body {
    max-width: none;
    padding-right: var(--wcb-pad);
    padding-bottom: 0;
  }

  .who-benefit-card-title {
    font-size: 18px;
  }

  .who-benefit-card-text {
    font-size: clamp(0.8125rem, 5.4cqi, 1rem);
  }

  .who-benefit-card-media,
  .who-benefit-card--wide .who-benefit-card-media {
    position: relative;
    width: 82%;
    height: auto;
    margin: auto 0 0 auto;
    padding: 10px calc(var(--wcb-pad) * 0.6) calc(var(--wcb-pad) * 0.7) 0;
  }
}

/* Hover (pointer devices only) */
@media (hover: hover) and (pointer: fine) {
  .who-benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--wcb-shadow-hover);
  }

  .who-benefit-card:hover .who-benefit-card-img {
    transform: scale(1.05);
  }

  .who-benefit-card:hover .who-benefit-card-icon {
    transform: translateY(-3px) scale(1.06);
  }
}

/* --------------------------------------------------------------------------
   Pre-hide (JS on, before GSAP has set start states). If GSAP never
   arrives, the 3s .fc-reveal fallback brings everything back.
   -------------------------------------------------------------------------- */
.fc-js:not(.fc-wcb-ready):not(.fc-reveal) .who-benefit-section [data-wcb-anim],
.fc-js:not(.fc-wcb-ready):not(.fc-reveal) .who-benefit-section [data-wcb-split] {
  opacity: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

/* Laptop */
@media (max-width: 1439px) {
  .who-benefit-section {
    --wcb-gap: 14px;
  }
}

@media (max-width: 1279px) {
  .who-benefit-section {
    --wcb-feature-w: 23%;
    --wcb-gap: 12px;
  }

  .who-benefit-feature-body {
    padding: var(--wcb-pad) var(--wcb-pad) 0;
  }
}

/* iPad portrait and below: feature card becomes a full-width banner,
   customer cards go to two columns */
@media (max-width: 1023px) {
  .who-benefit-section {
    --wcb-row-h: 236px;
    --wcb-pad: 22px;
  }

  .who-benefit-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .who-benefit-feature {
    min-height: 300px;
  }

  .who-benefit-feature-body {
    max-width: 56%;
    padding: 28px 0 56px 28px;
  }

  .who-benefit-feature-title {
    margin-top: 20px;
    font-size: var(--font-h4);
  }

  .who-benefit-feature-media {
    top: 0;
    left: auto;
    width: 52%;
    height: auto;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  }

  .who-benefit-feature-wave {
    height: 26%;
  }

  .who-benefit-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .who-benefit-card,
  .who-benefit-card--wide {
    grid-column: span 1;
    --wcb-body-w: 52%;
    --wcb-media-w: 48%;
  }

  .who-benefit-card:last-child {
    grid-column: 1 / -1;
    --wcb-body-w: 50%;
    --wcb-media-w: 40%;
  }

  .who-benefit-card--wide .who-benefit-card-media {
    right: -3%;
    align-items: flex-end;
    padding: 0 0 calc(var(--wcb-pad) * 0.7) 0;
  }

  .who-benefit-card--wide .who-benefit-card-title {
    font-size: 18px;
  }
}

/* Mobile: everything in one column */
@media (max-width: 599px) {
  .who-benefit-section {
    --wcb-row-h: 210px;
    --wcb-pad: 20px;
    --wcb-radius: 22px;
  }

  .who-benefit-heading-highlight {
    white-space: normal;
  }

  .who-benefit-eyebrow-line {
    width: 28px;
  }

  .who-benefit-feature {
    min-height: 0;
  }

  .who-benefit-feature-body {
    max-width: none;
    padding: 26px 24px 0;
  }

  .who-benefit-feature-icon {
    width: 76px;
  }

  .who-benefit-feature-media {
    position: relative;
    top: auto;
    width: 100%;
    height: 190px;
    margin-top: -12px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 40%);
  }

  .who-benefit-feature-wave {
    height: 64px;
  }

  .who-benefit-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .who-benefit-card:last-child {
    grid-column: auto;
    --wcb-body-w: 54%;
    --wcb-media-w: 46%;
  }

  .who-benefit-card,
  .who-benefit-card--wide {
    --wcb-body-w: 54%;
    --wcb-media-w: 46%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .who-benefit-section [data-wcb-anim],
  .who-benefit-section [data-wcb-split] {
    opacity: 1 !important;
  }

  .who-benefit-card,
  .who-benefit-card-img,
  .who-benefit-card-icon {
    transition: none;
  }
}


/* === css/commercial-equipment.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Commercial & Equipment Finance
   File: css/commercial-equipment.css
   Scope: .commercial-equipment-section (all tokens and rules are namespaced "ce-")
   ========================================================================== */

/* ---------- 1. Design tokens (scoped) ---------- */
.commercial-equipment-section {
  --ce-navy: var(--primary-color);
  --ce-navy-deep: color-mix(in srgb, var(--primary-color) 72%, #000000);
  --ce-red: var(--secondary-color);
  --ce-blue: #1265e8;
  --ce-white: #ffffff;
  --ce-sky: #eaf4ff;
  --ce-pink: #fff0f1;
  --ce-text: #39465d;

  --ce-font-display: "Red Hat Display", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ce-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ce-container: 1640px;
  --ce-gutter: clamp(16px, 4vw, 68px);
  --ce-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --ce-radius: 28px;
  --ce-gap: 18px;
  --ce-pad: 24px;
  --ce-row: 200px;
  --ce-shadow: 0 10px 30px rgba(8, 46, 105, 0.1);
  --ce-shadow-hover: 0 18px 40px rgba(8, 46, 105, 0.18);
  --ce-border: 2px solid rgba(255, 255, 255, 0.85);
  --ce-accent-h: 4px;

  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ce-white);
  font-family: var(--ce-font-body);
  color: var(--ce-text);
  padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 88px);
}

.commercial-equipment-section *,
.commercial-equipment-section *::before,
.commercial-equipment-section *::after {
  box-sizing: border-box;
}

/* ---------- 2. Decorative background ---------- */
.ce-bg {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}
.ce-bg--left {
  width: 56vw;
  height: 40vw;
  left: -22vw;
  bottom: -26vw;
  background: radial-gradient(closest-side, rgba(18, 101, 232, 0.12), rgba(18, 101, 232, 0));
}
.ce-bg--right {
  width: 60vw;
  height: 46vw;
  right: -20vw;
  top: -22vw;
  background: radial-gradient(closest-side, rgba(18, 101, 232, 0.1), rgba(234, 244, 255, 0));
}

.ce-container {
  width: 100%;
  max-width: calc(var(--ce-container) + var(--ce-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--ce-gutter);
}

/* ---------- 3. Header ---------- */
.ce-header {
  text-align: center;
  margin-bottom: clamp(28px, 3.4vw, 52px);
}

.ce-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 24px);
  margin: 0 0 14px;
  font-family: var(--ce-font-display);
  font-weight: 800;
  font-size: var(--font-small);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ce-navy);
}
.ce-eyebrow-line {
  flex: 0 1 clamp(28px, 6vw, 92px);
  height: 2px;
  background: var(--ce-red);
  transform-origin: center;
}
.ce-eyebrow-line:first-child { transform-origin: right center; }
.ce-eyebrow-line:last-child { transform-origin: left center; }
.ce-eyebrow-text { text-align: center; }

.ce-title {
  margin: 0;
  font-family: var(--ce-font-display);
  font-style: italic;
  font-weight: 800;
  font-size: var(--font-h2); /* matches gold-loan-highlight title */
  line-height: var(--line-height-h2);
  letter-spacing: -0.015em;
  color: var(--ce-navy);
}
.ce-title-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.04em 0.12em 0.2em 0;
  margin-right: 0.18em;
}
.ce-title-mask--accent {
  overflow: visible;
  margin-right: 0;
  padding-bottom: 0.26em;
}
.ce-title-line,
.ce-title-accent {
  display: inline-block;
  will-change: transform;
}
.ce-title-accent {
  position: relative;
  color: var(--ce-red);
}
.ce-underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2em;
  width: 100%;
  height: 0.28em;
  overflow: visible;
  pointer-events: none;
}
.ce-underline path {
  fill: none;
  stroke: var(--ce-red);
  stroke-width: 4;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.ce-lead {
  max-width: 1040px;
  margin: clamp(10px, 1.2vw, 18px) auto 0;
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  font-weight: 500;
  color: var(--ce-text);
}

/* ---------- 4. Bento grid ---------- */
.ce-grid {
  display: grid;
  grid-template-columns: 0.94fr 1fr 1fr;
  grid-template-rows: repeat(3, minmax(var(--ce-row), auto));
  gap: var(--ce-gap);
}

/* ---------- 5. Intro feature card ---------- */
.ce-intro {
  grid-column: 1;
  grid-row: 1 / span 3;
  position: relative;
  min-height: 560px;
}
.ce-intro-swoosh {
  position: absolute;
  z-index: 0;
  top: -16px;
  left: -16px;
  width: 62%;
  height: 40%;
  background: linear-gradient(135deg, #ff2f37, var(--ce-red) 60%, color-mix(in srgb, var(--secondary-color) 82%, #000000));
  border-radius: 40px 90px 0 60px;
}
.ce-intro-card {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--ce-radius);
  border: 2px solid rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(18, 101, 232, 0.35), transparent 60%),
    linear-gradient(165deg, #0a3a82 0%, var(--ce-navy) 45%, var(--ce-navy-deep) 100%);
  box-shadow: 0 18px 44px rgba(8, 46, 105, 0.28);
  color: #fff;
}
.ce-intro-body {
  position: relative;
  z-index: 2;
  padding: clamp(22px, 2.2vw, 36px) clamp(20px, 2.2vw, 34px) 0;
}
.ce-intro-icon {
  display: block;
  width: clamp(54px, 4.6vw, 76px);
  color: #fff;
  margin-bottom: clamp(12px, 1.4vw, 20px);
  filter: drop-shadow(0 0 10px rgba(120, 180, 255, 0.45));
  transform-origin: left center;
}
.ce-intro-icon svg { display: block; width: 100%; height: auto; }

.ce-intro-title {
  margin: 0 0 clamp(18px, 2.2vw, 34px);
  font-family: var(--ce-font-display);
  font-style: italic;
  font-weight: 800;
  font-size: var(--font-h4);
  line-height: var(--line-height-h4);
  letter-spacing: -0.015em;
  color: #fff;
}
.ce-line-mask {
  display: block;
  overflow: hidden;
  padding: 0.04em 0.1em 0.14em 0;
}
.ce-line-mask > span { display: inline-block; will-change: transform; }
.ce-intro-hl {
  position: relative;
  display: inline-block;
  font-style: italic;
  color: var(--ce-red);
}
.ce-intro-underline {
  position: absolute;
  left: 2%;
  bottom: -0.05em;
  width: 96%;
  height: 0.2em;
  overflow: visible;
}
.ce-intro-underline path {
  fill: none;
  stroke: var(--ce-red);
  stroke-width: 4;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.ce-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(10px, 1.1vw, 16px);
}
.ce-checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
}
.ce-check {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--ce-red);
  color: #fff;
  box-shadow: 0 4px 10px rgba(237, 28, 36, 0.4);
}
.ce-check svg { width: 16px; height: 16px; }

.ce-intro-photo {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 240px;
  margin-top: clamp(8px, 1vw, 16px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
}
.ce-intro-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 80%;
  display: block;
}

/* ---------- 6. Category cards ---------- */
.ce-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  min-height: var(--ce-row);
  padding: var(--ce-pad);
  border-radius: var(--ce-radius);
  border: var(--ce-border);
  box-shadow: var(--ce-shadow);
  transition: transform 0.45s var(--ce-ease), box-shadow 0.45s var(--ce-ease);
  isolation: isolate;
}
.ce-card--red {
  --ce-accent: var(--ce-red);
  background: linear-gradient(135deg, #ffecee 0%, #fff7f7 55%, #ffe3e5 100%);
}
.ce-card--blue {
  --ce-accent: var(--ce-blue);
  background: linear-gradient(135deg, #e6f1ff 0%, #f5faff 55%, #dcebff 100%);
}
.ce-card::before {            /* soft glow behind the vehicle */
  content: "";
  position: absolute;
  z-index: -1;
  right: -6%;
  bottom: -30%;
  width: 70%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
}

.ce-card-text {
  position: relative;
  z-index: 2;
  width: 52%;
  max-width: 52%;
}
.ce-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ce-card-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: clamp(38px, 2.5vw, 44px);
  height: clamp(38px, 2.5vw, 44px);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ce-accent);
  box-shadow: 0 4px 12px rgba(8, 46, 105, 0.08);
  transition: transform 0.4s var(--ce-ease);
}
.ce-card--red .ce-card-icon { background: #ffe2e4; }
.ce-card--blue .ce-card-icon { background: #dcebff; }
.ce-card-icon svg { width: 62%; height: 62%; }

.ce-card-title {
  margin: 0;
  padding-top: 1px;
  font-family: var(--ce-font-display);
  font-weight: 700;
  font-size: clamp(17px, 0.2vw + 16.5px, 19px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ce-navy);
}
.ce-card-desc {
  margin: 6px 0 0;
  max-width: 21ch;
  font-size: clamp(13px, 0.1vw + 12.8px, 14px);
  line-height: 1.45;
  font-weight: 400;
  color: var(--ce-text);
}

.ce-card-img {
  position: absolute;
  z-index: 1;
  right: 2%;
  bottom: 10px;
  width: 44%;
  height: auto;
  max-height: 82%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 12px 14px rgba(8, 46, 105, 0.16));
  transform-origin: 60% 90%;
  transition: transform 0.55s var(--ce-ease);
}
/* Per-vehicle tuning keeps the visual weight consistent between shapes */
.ce-card-img--taxi { width: 44%; }
.ce-card-img--bus { width: 45%; }
.ce-card-img--transport { width: 44%; }
.ce-card-img--jcb { width: 43%; max-height: 86%; }
.ce-card-img--tipper { width: 42%; }
.ce-card-img--loader { width: 45%; }

.ce-card-accent {
  position: absolute;
  z-index: 3;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: var(--ce-accent-h);
  border-radius: 4px 4px 0 0;
  background: var(--ce-accent);
  transform-origin: center;
  transition: left 0.4s var(--ce-ease), right 0.4s var(--ce-ease);
}

@media (hover: hover) and (pointer: fine) {
  .ce-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ce-shadow-hover);
  }
  .ce-card:hover .ce-card-img { transform: scale(1.06); }
  .ce-card:hover .ce-card-icon { transform: scale(1.08); }
  .ce-card:hover .ce-card-accent { left: 8px; right: 8px; }
}

/* ---------- 7. Responsive ---------- */
@media (min-width: 1920px) {
  .commercial-equipment-section { --ce-row: 214px; }
}

@media (max-width: 1439px) {
  .commercial-equipment-section { --ce-pad: 20px; --ce-row: 190px; --ce-radius: 26px; }
  .ce-grid { grid-template-columns: 0.9fr 1fr 1fr; }
}

@media (max-width: 1199px) {
  .commercial-equipment-section { --ce-pad: 16px; --ce-row: 180px; --ce-gap: 16px; --ce-radius: 24px; }
  .ce-card-text { width: 58%; max-width: 58%; }
  .ce-card-head { gap: 10px; }
  .ce-card-img { width: 41% !important; right: 2%; bottom: 12px; }
  .ce-intro { min-height: 520px; }
}

/* iPad portrait: intro goes full width, cards in two columns (text above image) */
@media (max-width: 1023px) {
  .commercial-equipment-section { --ce-pad: 20px; --ce-row: 0px; --ce-gap: 16px; }
  .ce-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .ce-intro { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
  .ce-intro-card { flex-direction: row; align-items: stretch; }
  .ce-intro-body { flex: 0 0 50%; padding-bottom: 28px; }
  .ce-intro-photo {
    flex: 1 1 auto;
    min-height: 280px;
    margin-top: 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%);
            mask-image: linear-gradient(to right, transparent 0, #000 22%);
  }
  .ce-intro-photo img { object-position: 60% 60%; }

  .ce-card {
    flex-direction: column;
    min-height: 270px;
    padding-bottom: 0;
  }
  .ce-card-text { width: 100%; max-width: none; }
  .ce-card-desc { max-width: none; }
  .ce-card-img {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: flex-end;
    width: 70% !important;
    margin: auto -4px 14px 0;
    max-height: none;
  }
}

/* Phones: single column, horizontal text + image where there is room */
@media (max-width: 767px) {
  .commercial-equipment-section { --ce-pad: 18px; --ce-gap: 14px; --ce-radius: 22px; }
  .ce-grid { grid-template-columns: 1fr; }
  .ce-intro-swoosh { top: -10px; left: -10px; border-radius: 30px 60px 0 40px; }
  .ce-intro-card { flex-direction: column; }
  .ce-intro-body { flex: none; padding-bottom: 0; }
  .ce-intro-photo {
    min-height: 220px;
    margin-top: 10px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
  }
  .ce-intro-photo img { object-position: 40% 70%; }

  .ce-card {
    flex-direction: row;
    align-items: center;
    min-height: 150px;
    padding-bottom: var(--ce-pad);
    box-shadow: 0 6px 18px rgba(8, 46, 105, 0.09);
  }
  .ce-card-text { width: 54%; max-width: 54%; }
  .ce-card-head { flex-direction: column; gap: 10px; }
  .ce-card-img {
    position: absolute;
    right: 2%;
    bottom: 14px;
    align-self: auto;
    width: 44% !important;
    margin: 0;
    max-height: 80%;
  }
  .ce-bg { opacity: 0.6; }
}

/* Very narrow phones: stack text above the vehicle so nothing collides */
@media (max-width: 479px) {
  .ce-eyebrow { letter-spacing: 0.16em; }
  .ce-card { flex-direction: column; align-items: flex-start; padding-bottom: 0; }
  .ce-card-text { width: 100%; max-width: none; }
  .ce-card-head { flex-direction: row; align-items: center; }
  .ce-card-desc { max-width: none; }
  .ce-card-img {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: flex-end;
    width: 70% !important;
    max-height: none;
    margin: 6px 0 14px auto;
  }
}

/* ---------- 8. Animation hooks ----------
   No JS → never hidden. GSAP missing → .fc-reveal shows everything after 3s. */
.fc-js:not(.fc-ce-ready):not(.fc-reveal) .commercial-equipment-section [data-ce-anim],
.fc-js:not(.fc-ce-ready):not(.fc-reveal) .commercial-equipment-section [data-ce-card],
.fc-js:not(.fc-ce-ready):not(.fc-reveal) .commercial-equipment-section [data-ce-intro] {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .ce-card,
  .ce-card-img,
  .ce-card-icon,
  .ce-card-accent { transition: none; }
  .ce-card:hover { transform: none; }
}


/* === css/interest-comparison.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Vehicle Loan Interest Rates
   File: css/interest-comparison.css
   Scope: .interest-comparison-section (all tokens and rules are namespaced)

   Breakpoints
     ≥1200px      two columns: image (left) · table + button (right)
     1024–1199px  two columns, reduced sizes
     768–1023px   stacked: header → image → table → button
     <768px       single column, full-width button, smaller shapes
   ========================================================================== */

/* ---------- 1. Design tokens (scoped) ---------- */
.interest-comparison-section {
  --ic-navy: var(--primary-color);
  --ic-navy-dark: color-mix(in srgb, var(--primary-color) 72%, #000000);
  --ic-red: var(--secondary-color);
  --ic-red-dark: color-mix(in srgb, var(--secondary-color) 82%, #000000);
  --ic-white: #ffffff;
  --ic-sky: #eaf4ff;
  --ic-pink: #fff0f1;
  --ic-text: #46546c;

  --ic-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ic-container: 1500px;
  --ic-gutter: clamp(16px, 4.4vw, 72px);
  --ic-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ic-focus: 0 0 0 3px #fff, 0 0 0 6px var(--ic-navy);

  --ic-pad-top: clamp(44px, 4.6vw, 88px);
  --ic-pad-bottom: clamp(52px, 5.4vw, 104px);
  --ic-col-gap: clamp(36px, 4.2vw, 80px);

  /* image */
  --ic-img-radius: clamp(26px, 2.6vw, 44px);
  --ic-img-ring: clamp(4px, 0.4vw, 7px);
  --ic-shape-offset: clamp(14px, 1.7vw, 30px);

  /* card */
  --ic-card-radius: clamp(20px, 2vw, 34px);
  --ic-cell-pad-y: clamp(16px, 2.2vw, 36px);
  --ic-cell-pad-x: clamp(14px, 2.4vw, 46px);
  --ic-th-size: var(--font-h4);
  --ic-label-size: var(--font-body);
  --ic-rate-size: var(--font-h4);
  --ic-icon-size: clamp(22px, 2.5vw, 44px);

  /* animation hooks — GSAP tweens these; 1 = fully shown (no-JS default) */
  --ic-line: 1;
  --ic-underline: 1;
  --ic-shape: 1;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--ic-pad-top) 0 var(--ic-pad-bottom);
  font-family: var(--ic-font);
  color: var(--ic-text);
  background:
    radial-gradient(60% 50% at 78% 0%, rgba(214, 232, 252, 0.55) 0%, rgba(234, 244, 255, 0) 70%),
    var(--ic-white);
}

.interest-comparison-section *,
.interest-comparison-section *::before,
.interest-comparison-section *::after {
  box-sizing: border-box;
}

.interest-comparison-section svg {
  display: block;
  flex-shrink: 0;
}

/* ---------- 2. Decorative light-blue swells (bottom corners) ---------- */
.interest-comparison-section::before,
.interest-comparison-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

.interest-comparison-section::before {
  left: -16%;
  bottom: -30%;
  width: 60%;
  height: 46%;
  background: linear-gradient(100deg, rgba(214, 232, 252, 0.95) 0%, rgba(228, 239, 252, 0.55) 55%, rgba(234, 244, 255, 0) 100%);
  opacity: 0.75;
}

.interest-comparison-section::after {
  right: -14%;
  bottom: -26%;
  width: 56%;
  height: 52%;
  background: linear-gradient(250deg, rgba(209, 228, 251, 0.95) 0%, rgba(226, 238, 252, 0.55) 50%, rgba(234, 244, 255, 0) 100%);
  opacity: 0.8;
}

/* ---------- 3. Container ---------- */
.interest-comparison-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--ic-container);
  margin: 0 auto;
  padding: 0 var(--ic-gutter);
}

/* ---------- 4. Header ---------- */
.interest-comparison-header {
  max-width: 1100px;
  margin: 0 auto clamp(30px, 3.6vw, 66px);
  text-align: center;
}

.interest-comparison-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 34px);
  margin: 0 0 clamp(6px, 0.7vw, 12px);
  font-size: var(--font-small);
  font-weight: 600;
  line-height: var(--line-height-small);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ic-navy);
}

.interest-comparison-eyebrow-line {
  display: block;
  width: clamp(32px, 4.6vw, 86px);
  height: 2px;
  border-radius: 2px;
  background: var(--ic-red);
  transform: scaleX(var(--ic-line));
}

.interest-comparison-eyebrow-line:first-child {
  transform-origin: right center;
}

.interest-comparison-eyebrow-line:last-child {
  transform-origin: left center;
}

.interest-comparison-title {
  margin: 0;
  font-size: var(--font-h2); /* matches gold-loan-highlight title */
  font-weight: 700;
  font-style: italic;
  line-height: var(--line-height-h2);
  letter-spacing: -0.03em;
  color: var(--ic-navy);
  text-wrap: balance;
}

.interest-comparison-title-lead {
  display: inline-block;
}

.interest-comparison-title-accent {
  position: relative;
  display: inline-block;
  padding-bottom: 0.1em;
  color: var(--ic-red);
}

.interest-comparison-title-accent-text {
  display: inline-block;
  /* room for italic overhang so clip-path never trims glyphs */
  padding: 0 0.08em 0 0.02em;
}

/* hand-drawn tapered underline */
.interest-comparison-title-accent::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 0;
  bottom: -0.04em;
  height: 0.16em;
  background-color: var(--secondary-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M2 12.5C70 6 180 2.2 298 2.6c-1 1.6-2.4 2.6-4 2.8C180 6.4 84 9.2 4 13.6c-1.4 0-2.2-.4-2-1.1z' fill='%23ed171f'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M2 12.5C70 6 180 2.2 298 2.6c-1 1.6-2.4 2.6-4 2.8C180 6.4 84 9.2 4 13.6c-1.4 0-2.2-.4-2-1.1z' fill='%23ed171f'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  clip-path: inset(-20% calc((1 - var(--ic-underline)) * 100%) -20% 0);
  pointer-events: none;
}

.interest-comparison-subtitle {
  max-width: 1100px;
  margin: clamp(10px, 1.2vw, 22px) auto 0;
  font-size: var(--font-body);
  font-weight: 500;
  line-height: var(--line-height-body);
  color: var(--ic-text);
  text-wrap: balance;
}

/* ---------- 5. Two-column content ---------- */
.interest-comparison-content {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  gap: var(--ic-col-gap);
  align-items: center;
}

/* ---------- 6. Image with decorative shapes ---------- */
.interest-comparison-image {
  position: relative;
  aspect-ratio: 1.34 / 1;
  /* keep the shapes' overhang inside the column */
  margin: var(--ic-shape-offset) var(--ic-shape-offset) var(--ic-shape-offset) var(--ic-shape-offset);
}

.interest-comparison-shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: var(--ic-shape);
}

/* thick red rounded block behind the top-left corner */
.interest-comparison-shape--red {
  top: calc(var(--ic-shape-offset) * -1);
  left: calc(var(--ic-shape-offset) * -1);
  width: 52%;
  height: 52%;
  border-radius: calc(var(--ic-img-radius) + 10px);
  background: linear-gradient(140deg, #f4333a 0%, var(--ic-red) 45%, #d1141b 100%);
  transform: translate(calc((1 - var(--ic-shape)) * -40px), calc((1 - var(--ic-shape)) * -40px));
}

/* navy block behind the lower-right corner */
.interest-comparison-shape--navy {
  right: calc(var(--ic-shape-offset) * -1);
  bottom: calc(var(--ic-shape-offset) * -1);
  width: 46%;
  height: 46%;
  border-radius: calc(var(--ic-img-radius) + 10px);
  background: linear-gradient(320deg, var(--ic-navy-dark) 0%, var(--ic-navy) 100%);
  transform: translate(calc((1 - var(--ic-shape)) * 40px), calc((1 - var(--ic-shape)) * 40px));
}

.interest-comparison-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border: var(--ic-img-ring) solid var(--ic-white);
  border-radius: var(--ic-img-radius);
  background: #cfe3f7;
  box-shadow: 0 26px 54px -22px rgba(7, 52, 119, 0.4);
}

.interest-comparison-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
}

/* ---------- 7. Details column ---------- */
.interest-comparison-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(26px, 2.8vw, 52px);
  min-width: 0;
}

/* ---------- 8. Comparison card ---------- */
.interest-comparison-card {
  width: 100%;
  overflow: hidden;
  border: clamp(3px, 0.32vw, 6px) solid var(--ic-white);
  border-radius: var(--ic-card-radius);
  background: var(--ic-white);
  box-shadow:
    0 28px 60px -24px rgba(7, 52, 119, 0.35),
    0 6px 18px -6px rgba(7, 52, 119, 0.12);
}

.interest-comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.interest-comparison-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.interest-comparison-table th,
.interest-comparison-table td {
  padding: var(--ic-cell-pad-y) var(--ic-cell-pad-x);
  text-align: left;
  vertical-align: middle;
}

/* thin white separators between columns and rows */
.interest-comparison-table td:first-child,
.interest-comparison-table th:first-child {
  border-right: 2px solid var(--ic-white);
}

.interest-comparison-table tbody tr + tr > * {
  border-top: 2px solid var(--ic-white);
}

.interest-comparison-table thead th {
  font-size: var(--ic-th-size);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ic-white);
  background: linear-gradient(180deg, var(--ic-navy) 0%, var(--ic-navy-dark) 100%);
}

.interest-comparison-cell {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 26px);
  min-width: 0;
}

.interest-comparison-th-icon,
.interest-comparison-row-icon {
  width: var(--ic-icon-size);
  height: var(--ic-icon-size);
}

.interest-comparison-th-icon {
  width: calc(var(--ic-icon-size) * 0.9);
  height: calc(var(--ic-icon-size) * 0.9);
}

.interest-comparison-row--used > * {
  background: var(--ic-pink);
}

.interest-comparison-row--new > * {
  background: var(--ic-sky);
}

.interest-comparison-row--used .interest-comparison-row-icon {
  color: var(--ic-red);
}

.interest-comparison-row--new .interest-comparison-row-icon {
  color: #2563d6;
}

.interest-comparison-vehicle {
  font-size: var(--ic-label-size);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ic-navy);
}

.interest-comparison-rate {
  display: block;
  font-size: var(--ic-rate-size);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--ic-red);
}

.interest-comparison-rate-unit {
  font-weight: 700;
}

/* ---------- 9. Enquiry button ---------- */
.interest-comparison-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: clamp(240px, 21vw, 400px);
  max-width: 100%;
  min-height: clamp(56px, 3.9vw, 74px);
  padding: 0 clamp(26px, 2.2vw, 46px);
  border: 2px solid var(--ic-red);
  border-radius: 12px;
  font-family: var(--fc-font-display, inherit);
  font-size: clamp(16px, 1.2vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ic-white);
  background: var(--ic-red);
  box-shadow: 0 12px 26px -12px rgba(227, 30, 38, 0.6);
  transition: transform 0.35s var(--ic-ease), background-color 0.35s var(--ic-ease), border-color 0.35s var(--ic-ease), box-shadow 0.35s var(--ic-ease);
}

.interest-comparison-button-arrow {
  width: 22px;
  height: 22px;
  transition: transform 0.35s var(--ic-ease);
}

.interest-comparison-button:hover {
  transform: translateY(-3px);
  background: var(--ic-red-dark);
  border-color: var(--ic-red-dark);
  box-shadow: 0 18px 32px -14px rgba(195, 20, 27, 0.65);
}

.interest-comparison-button:hover .interest-comparison-button-arrow {
  transform: translateX(6px);
}

.interest-comparison-button:active {
  transform: translateY(-1px);
}

.interest-comparison-button:focus-visible {
  outline: none;
  box-shadow: var(--ic-focus), 0 16px 32px -12px rgba(237, 23, 31, 0.55);
}

/* ---------- 10. Responsive ---------- */

/* iPad landscape */
@media (max-width: 1199px) {
  .interest-comparison-section {
    --ic-col-gap: clamp(28px, 3.4vw, 44px);
  }
  .interest-comparison-content {
    grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  }
}

/* iPad portrait & below: stack */
@media (max-width: 1023px) {
  .interest-comparison-section {
    --ic-th-size: var(--font-h4);
    --ic-label-size: var(--font-body);
    --ic-rate-size: var(--font-h4);
    --ic-icon-size: clamp(26px, 4vw, 34px);
    --ic-cell-pad-y: clamp(18px, 2.8vw, 28px);
    --ic-cell-pad-x: clamp(18px, 3.4vw, 36px);
  }
  .interest-comparison-title {
    font-size: var(--font-h2);
  }
  .interest-comparison-subtitle {
    font-size: var(--font-body);
  }
  .interest-comparison-eyebrow {
    font-size: var(--font-small);
  }
  .interest-comparison-content {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(36px, 6vw, 56px);
  }
  .interest-comparison-image {
    width: min(100%, 720px);
    margin-inline: auto;
    aspect-ratio: 1.6 / 1;
  }
  .interest-comparison-details {
    width: min(100%, 720px);
    margin-inline: auto;
  }
  .interest-comparison-button {
    width: min(100%, 420px);
    min-height: 56px;
    font-size: 17px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .interest-comparison-section {
    --ic-shape-offset: 12px;
    --ic-img-radius: 24px;
    --ic-cell-pad-y: 16px;
    --ic-cell-pad-x: 14px;
    --ic-th-size: var(--font-h4);
    --ic-label-size: var(--font-body);
    --ic-rate-size: var(--font-h4);
    --ic-icon-size: 24px;
  }
  .interest-comparison-title {
    font-size: var(--font-h2);
  }
  .interest-comparison-title-lead {
    display: block;
  }
  .interest-comparison-subtitle {
    font-size: var(--font-body);
  }
  .interest-comparison-eyebrow-line {
    width: clamp(24px, 9vw, 56px);
  }
  .interest-comparison-image {
    aspect-ratio: 1.45 / 1;
  }
  .interest-comparison-shape--red {
    width: 46%;
    height: 46%;
  }
  .interest-comparison-shape--navy {
    width: 40%;
    height: 40%;
  }
  .interest-comparison-cell {
    gap: 8px;
  }
  .interest-comparison-th-icon {
    width: 20px;
    height: 20px;
  }
  .interest-comparison-button {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    font-size: 16px;
    white-space: normal;
  }
}

/* Very small phones */
@media (max-width: 374px) {
  .interest-comparison-section {
    --ic-cell-pad-x: 10px;
    --ic-th-size: var(--font-h4);
    --ic-label-size: var(--font-body);
    --ic-rate-size: var(--font-h4);
    --ic-icon-size: 20px;
  }
  .interest-comparison-th-icon {
    width: 18px;
    height: 18px;
  }
  .interest-comparison-cell {
    gap: 6px;
  }
  .interest-comparison-button {
    font-size: 16px;
    padding: 0 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .interest-comparison-button,
  .interest-comparison-button-arrow {
    transition: none;
  }
}


/* === css/gold-evaluation.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Transparent Gold Valuation
   File: css/gold-evaluation.css
   Scope: .gold-evaluation-section (all rules are namespaced "gold-evaluation-")

   Breakpoints
     ≥1200px      two columns: image | 3 cards + benefits strip
     1024–1199px  two columns, compact cards
     768–1023px   stacked: image → 3 cards in a row → benefits row
     <768px       single column: cards and benefits stacked
   ========================================================================== */

/* ---------- 1. Design tokens (scoped) ---------- */
.gold-evaluation-section {
  --ge-navy: var(--primary-color);
  --ge-navy-deep: color-mix(in srgb, var(--primary-color) 72%, #000000);
  --ge-red: var(--secondary-color);
  --ge-blue: #1a56db;
  --ge-sky: #eaf4ff;
  --ge-pink: #fff0f1;
  --ge-white: #ffffff;
  --ge-text: #4b5871;
  --ge-neutral: #f6f8fc;

  --ge-font-display: "Red Hat Display", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ge-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ge-container: 1640px;
  --ge-gutter: clamp(16px, 4.4vw, 72px);
  --ge-gap: clamp(16px, 1.3vw, 24px);
  --ge-col-gap: clamp(28px, 3vw, 56px);
  --ge-shadow: 0 14px 34px rgba(24, 74, 150, 0.12);

  --ge-card-radius: clamp(20px, 1.6vw, 28px);
  --ge-photo-radius: clamp(24px, 2.6vw, 44px);

  /* animation hook: GSAP tweens it; 1 = fully drawn (no-JS default) */
  --ge-underline: 1;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  padding: clamp(48px, 4.4vw, 84px) 0 clamp(56px, 5.4vw, 104px);
  font-family: var(--ge-font-body);
  color: var(--ge-text);
  background: var(--ge-white);
}

.gold-evaluation-section *,
.gold-evaluation-section *::before,
.gold-evaluation-section *::after {
  box-sizing: border-box;
}

.gold-evaluation-section svg { display: block; }
.gold-evaluation-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.gold-evaluation-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--ge-container);
  margin-inline: auto;
  padding-inline: var(--ge-gutter);
}

/* ---------- 2. Decorative background curves ---------- */
.gold-evaluation-bg {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(234, 244, 255, 0.95), rgba(234, 244, 255, 0));
}
.gold-evaluation-bg--top {
  width: 70vw; height: 34vw;
  right: -18vw; top: -8vw;
}
.gold-evaluation-bg--bottom {
  width: 90vw; height: 22vw;
  left: -10vw; bottom: -10vw;
}

/* ---------- 3. Header ---------- */
.gold-evaluation-header {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto clamp(28px, 3.4vw, 60px);
}

.gold-evaluation-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1vw, 18px);
  margin: 0 0 clamp(6px, 0.7vw, 12px);
  font-family: var(--ge-font-display);
  font-weight: 800;
  font-size: var(--font-small);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ge-navy);
}
.gold-evaluation-eyebrow-line {
  display: block;
  width: clamp(26px, 3.4vw, 64px);
  height: 2px;
  background: var(--ge-red);
  border-radius: 2px;
}

.gold-evaluation-title {
  margin: 0;
  font-family: var(--ge-font-display);
  font-weight: 800;
  font-style: italic;
  font-size: var(--font-h2); /* matches gold-loan-highlight title */
  line-height: var(--line-height-h2);
  letter-spacing: -0.02em;
  color: var(--ge-navy);
}
.gold-evaluation-title-mask {
  display: inline-block;
  overflow: hidden;
  padding: 0.04em 0.12em 0.14em;
  margin: -0.04em -0.12em -0.14em;
  vertical-align: top;
}
.gold-evaluation-title-lead,
.gold-evaluation-title-accent { display: inline-block; }
.gold-evaluation-title-mask--accent { position: relative; overflow: visible; margin-left: 0.12em; }
.gold-evaluation-title-accent { color: var(--ge-red); }
.gold-evaluation-title-mask--accent::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 0;
  bottom: 0.02em;
  height: 0.09em;
  border-radius: 50%;
  border-bottom: 3px solid var(--ge-red);
  transform: scaleX(var(--ge-underline));
  transform-origin: left center;
}

.gold-evaluation-subtitle {
  margin: clamp(10px, 1vw, 18px) auto 0;
  max-width: 90ch;
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  font-weight: 500;
  color: var(--ge-text);
}

/* ---------- 4. Layout ---------- */
.gold-evaluation-layout {
  display: grid;
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  gap: var(--ge-col-gap);
  align-items: stretch;
}

/* ---------- 5. Image + decorative shapes ---------- */
.gold-evaluation-visual {
  position: relative;
  min-height: clamp(320px, 33vw, 640px);
  padding: clamp(16px, 2.2vw, 40px) 0 clamp(16px, 2.2vw, 40px) clamp(10px, 1.4vw, 24px);
}
.gold-evaluation-shape {
  position: absolute;
  z-index: 0;
}
.gold-evaluation-shape--red {
  top: 0; left: -8%;
  width: 42%; height: 46%;
  background: var(--ge-red);
  border-radius: clamp(26px, 3vw, 56px) clamp(60px, 6vw, 110px) clamp(40px, 4vw, 80px) clamp(26px, 3vw, 56px);
}
.gold-evaluation-shape--navy {
  right: -3%; bottom: 0;
  width: 46%; height: 36%;
  background: var(--ge-navy);
  border-radius: clamp(40px, 4vw, 80px) clamp(26px, 3vw, 56px) clamp(60px, 6vw, 110px) clamp(40px, 4vw, 80px);
}
.gold-evaluation-photo {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: inherit;
  margin: 0;
  overflow: hidden;
  border: clamp(4px, 0.4vw, 7px) solid var(--ge-white);
  border-radius: var(--ge-photo-radius);
  background: #5a1f1f;
  box-shadow: 0 18px 44px rgba(7, 55, 127, 0.22);
  /* clip the corner as in the reference (slight slant) */
  clip-path: inset(0 round var(--ge-photo-radius));
}
.gold-evaluation-photo picture { display: block; width: 100%; height: 100%; }
.gold-evaluation-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 55% 62%;
}

/* ---------- 6. Valuation cards ---------- */
.gold-evaluation-content {
  display: flex;
  flex-direction: column;
  gap: var(--ge-gap);
  min-width: 0;
}
.gold-evaluation-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ge-gap);
  flex: 1;
}
.gold-evaluation-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(16px, 1.6vw, 30px) clamp(14px, 1.4vw, 26px) clamp(12px, 1.2vw, 22px);
  border: 2px solid var(--ge-white);
  border-radius: var(--ge-card-radius);
  box-shadow: var(--ge-shadow);
}
.gold-evaluation-card--blue { background: linear-gradient(180deg, var(--ge-sky) 0%, #f6faff 100%); }
.gold-evaluation-card--red  { background: linear-gradient(180deg, var(--ge-pink) 0%, #fff8f9 100%); }

.gold-evaluation-card-icon {
  display: grid;
  place-items: center;
  width: clamp(48px, 4.9vw, 92px);
  height: clamp(48px, 4.9vw, 92px);
  margin-bottom: clamp(12px, 1.3vw, 24px);
  background: var(--ge-white);
  border-radius: clamp(12px, 1.2vw, 22px);
  box-shadow: 0 6px 16px rgba(24, 74, 150, 0.08);
  color: var(--ge-blue);
}
.gold-evaluation-card--red .gold-evaluation-card-icon { color: var(--ge-red); }
.gold-evaluation-card-icon svg { width: 56%; height: 56%; }

.gold-evaluation-card-title {
  margin: 0 0 clamp(6px, 0.6vw, 10px);
  font-family: var(--ge-font-display);
  font-weight: 700;
  font-size: clamp(18px, 0.25vw + 17.2px, 20px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ge-navy);
}
.gold-evaluation-card-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ge-text);
}
.gold-evaluation-card-art {
  margin-top: auto;
  padding-top: clamp(12px, 1.4vw, 24px);
}
.gold-evaluation-card-art svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin-inline: auto;
}

/* ---------- 7. Benefits strip ---------- */
.gold-evaluation-benefits {
  list-style: none;
  margin: 0;
  padding: clamp(10px, 1.1vw, 20px) clamp(8px, 1vw, 18px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--ge-neutral);
  border: 2px solid var(--ge-white);
  border-radius: clamp(18px, 1.6vw, 30px);
  box-shadow: var(--ge-shadow);
}
.gold-evaluation-benefit {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.9vw, 16px);
  padding: clamp(4px, 0.5vw, 8px) clamp(10px, 1.2vw, 24px);
  min-width: 0;
}
.gold-evaluation-benefit + .gold-evaluation-benefit {
  border-left: 2px solid var(--ge-red);
  border-left-color: rgba(237, 28, 36, 0.85);
}
.gold-evaluation-benefit-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(36px, 3.4vw, 64px);
  height: clamp(36px, 3.4vw, 64px);
  color: var(--ge-red);
}
.gold-evaluation-benefit-icon svg { width: 100%; height: 100%; }
.gold-evaluation-benefit-text {
  font-family: var(--ge-font-display);
  font-weight: 700;
  font-size: clamp(13px, 1.12vw, 21px);
  line-height: 1.22;
  color: var(--ge-navy);
}

/* ---------- 8. 1024–1199: compact ---------- */
@media (max-width: 1199px) {
  .gold-evaluation-layout { grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); gap: 28px; }
  .gold-evaluation-card { padding: 14px 12px 10px; }
  .gold-evaluation-card-icon { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 10px; }
  .gold-evaluation-card-title { font-size: clamp(17px, 0.25vw + 16.5px, 19px); }
  .gold-evaluation-card-text { font-size: 14px; }
  .gold-evaluation-benefit { flex-direction: column; align-items: flex-start; gap: 6px; }
  .gold-evaluation-benefit-icon { width: 34px; height: 34px; }
  .gold-evaluation-benefit-text { font-size: 13px; }
}

/* ---------- 9. 768–1023: stacked ---------- */
@media (max-width: 1023px) {
  .gold-evaluation-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .gold-evaluation-visual { min-height: 0; padding: 22px 0 22px 14px; }
  .gold-evaluation-photo { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
  .gold-evaluation-photo img { min-height: 0; }
  .gold-evaluation-card { padding: 18px 16px 14px; }
  .gold-evaluation-card-icon { width: 56px; height: 56px; }
  .gold-evaluation-card-title { font-size: 18px; }
  .gold-evaluation-card-text { font-size: 14px; }
  .gold-evaluation-benefit { flex-direction: row; align-items: center; gap: 10px; }
  .gold-evaluation-benefit-icon { width: 40px; height: 40px; }
  .gold-evaluation-benefit-text { font-size: 14px; }
}

/* ---------- 10. <768: single column ---------- */
@media (max-width: 767px) {
  .gold-evaluation-layout { gap: 24px; }
  .gold-evaluation-visual { padding: 16px 0 16px 10px; }
  .gold-evaluation-photo { aspect-ratio: 4 / 3; }
  .gold-evaluation-cards { grid-template-columns: minmax(0, 1fr); }
  .gold-evaluation-card-title { font-size: 18px; }
  .gold-evaluation-card-text { font-size: 14px; }
  .gold-evaluation-card-art svg { max-width: 240px; }
  .gold-evaluation-benefits { grid-template-columns: minmax(0, 1fr); padding: 6px 14px; }
  .gold-evaluation-benefit { padding: 14px 4px; }
  .gold-evaluation-benefit + .gold-evaluation-benefit {
    border-left: 0;
    border-top: 2px solid rgba(237, 28, 36, 0.85);
  }
  .gold-evaluation-benefit-text { font-size: 15px; }
}

@media (max-width: 359px) {
  .gold-evaluation-title { font-size: var(--font-h2); }
  .gold-evaluation-eyebrow { letter-spacing: 0.12em; }
}

@media (prefers-reduced-motion: reduce) {
  .gold-evaluation-section *,
  .gold-evaluation-section *::before,
  .gold-evaluation-section *::after { transition: none !important; animation: none !important; }
}


/* === css/gold-loan-benefits.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Gold Loan Benefits & Key Features
   File: css/gold-loan-benefits.css
   Scope: .gold-benefits-section (all tokens and rules are namespaced)
   ========================================================================== */

/* ---------- 1. Design tokens (scoped) ---------- */
.gold-benefits-section {
  --gb-navy: var(--primary-color);
  --gb-navy-2: var(--primary-color);
  --gb-red: var(--secondary-color);
  --gb-blue-bg: #eaf4ff;
  --gb-pink-bg: #fff0f1;
  --gb-text: #35445d;
  --gb-white: #ffffff;

  --gb-font-display: "Red Hat Display", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gb-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gb-container: 1670px;
  --gb-gutter: clamp(16px, 3.1vw, 56px);
  --gb-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --gb-pad-y: clamp(48px, 4.2vw, 78px);
  --gb-grid-gap: clamp(16px, 1.25vw, 22px);
  --gb-card-radius: clamp(20px, 1.5vw, 26px);
  --gb-card-pad: clamp(18px, 1.4vw, 24px);
  --gb-card-min-h: clamp(250px, 16.4vw, 296px);
  --gb-icon-box: clamp(56px, 4vw, 70px);
  --gb-icon-size: clamp(28px, 2.1vw, 36px);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  padding: var(--gb-pad-y) 0 calc(var(--gb-pad-y) * 1.05);
  font-family: var(--gb-font-body);
  color: var(--gb-text);
  background: #fff;
}

.gold-benefits-section *,
.gold-benefits-section *::before,
.gold-benefits-section *::after {
  box-sizing: border-box;
}

/* Decorative background: top-right blue curve + bottom wave */
.gold-benefits-section::before,
.gold-benefits-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.gold-benefits-section::before {
  top: -34%;
  right: -14%;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 60%, rgba(214, 233, 255, 0.85) 0%, rgba(234, 244, 255, 0.55) 55%, rgba(234, 244, 255, 0) 72%);
}

.gold-benefits-section::after {
  left: -8%;
  right: -8%;
  bottom: -70px;
  height: 160px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(90deg, rgba(220, 236, 255, 0.55), rgba(234, 244, 255, 0.9) 45%, rgba(220, 236, 255, 0.55));
}

.gold-benefits-container {
  width: 100%;
  max-width: calc(var(--gb-container) + var(--gb-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gb-gutter);
}

/* ---------- 2. Header ---------- */
.gold-benefits-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(28px, 3.4vw, 60px);
}

.gold-benefits-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1vw, 18px);
  margin: 0 0 clamp(6px, 0.8vw, 12px);
  font-family: var(--gb-font-display);
  font-weight: 800;
  font-size: var(--font-small);
  line-height: var(--line-height-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gb-navy);
}

.gold-benefits-eyebrow::before,
.gold-benefits-eyebrow::after {
  content: "";
  width: clamp(28px, 3.9vw, 70px);
  height: 2px;
  border-radius: 2px;
  background: var(--gb-red);
  transform-origin: center;
}

.gold-benefits-title {
  margin: 0;
  font-family: var(--gb-font-display);
  font-style: italic;
  font-weight: 900;
  font-size: var(--font-h2); /* matches gold-loan-highlight title */
  line-height: var(--line-height-h2);
  letter-spacing: -0.015em;
  color: var(--gb-navy);
}

.gold-benefits-title-line {
  display: inline;
}

.gold-benefits-title-plain {
  display: inline-block;
  color: var(--gb-navy);
}

.gold-benefits-title-accent {
  position: relative;
  display: inline-block;
  margin-left: 0.22em;
  color: var(--gb-red);
}

.gold-benefits-underline {
  position: absolute;
  left: -2%;
  bottom: -0.2em;
  width: 104%;
  height: 0.3em;
  overflow: visible;
  color: var(--gb-red);
  pointer-events: none;
}

.gold-benefits-description {
  max-width: 62ch;
  margin: clamp(14px, 1.6vw, 28px) 0 0;
  font-weight: 500;
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  color: var(--gb-text);
}

/* ---------- 3. Grid ---------- */
.gold-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: var(--gb-grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gold-benefits-card {
  min-width: 0;
  display: flex;
}

/* ---------- 4. Card ---------- */
.gold-benefits-card-inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  gap: clamp(8px, 1vw, 18px);
  flex: 1;
  min-height: var(--gb-card-min-h);
  padding: var(--gb-card-pad);
  border: 3px solid var(--gb-white);
  border-radius: var(--gb-card-radius);
  box-shadow:
    0 0 0 1px rgba(11, 52, 116, 0.05),
    0 10px 24px -8px rgba(11, 52, 116, 0.14);
  transition: transform 0.45s var(--gb-ease), box-shadow 0.45s var(--gb-ease);
}

.gold-benefits-card--blue .gold-benefits-card-inner {
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, #f1f8ff 0%, var(--gb-blue-bg) 45%, #d9eaff 100%);
}

.gold-benefits-card--pink .gold-benefits-card-inner {
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, #fff6f7 0%, var(--gb-pink-bg) 45%, #ffe1e4 100%);
}

/* Very light decorative curves inside every card */
.gold-benefits-card-inner::before,
.gold-benefits-card-inner::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

.gold-benefits-card-inner::before {
  right: -14%;
  bottom: -46%;
  width: 78%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.4);
}

.gold-benefits-card-inner::after {
  left: -20%;
  top: -52%;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

@media (hover: hover) and (pointer: fine) {
  .gold-benefits-card-inner:hover {
    transform: translateY(-6px);
    box-shadow:
      0 0 0 1px rgba(11, 52, 116, 0.06),
      0 22px 36px -12px rgba(11, 52, 116, 0.26);
  }

  .gold-benefits-card-inner:hover .gold-benefits-visual img {
    transform: scale(1.06);
  }
}

/* ---------- 5. Card content ---------- */
.gold-benefits-content {
  position: relative;
  z-index: 1;
  flex: 0 1 57%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gold-benefits-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: var(--gb-icon-box);
  height: var(--gb-icon-box);
  margin-bottom: clamp(10px, 0.85vw, 16px);
  border-radius: 16px;
  background: var(--gb-white);
  box-shadow: 0 6px 16px -6px rgba(11, 52, 116, 0.22);
}

.gold-benefits-icon svg {
  width: var(--gb-icon-size);
  height: var(--gb-icon-size);
}

.gold-benefits-icon--navy { color: var(--gb-navy-2); }
.gold-benefits-icon--red  { color: var(--gb-red); }

.gold-benefits-card-title {
  margin: 0 0 clamp(6px, 0.5vw, 10px);
  font-family: var(--gb-font-display);
  font-weight: 700;
  font-size: clamp(18px, 0.25vw + 17.2px, 20px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--gb-navy);
}

.gold-benefits-card-text {
  margin: 0;
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gb-text);
}

/* ---------- 6. Card visual ---------- */
.gold-benefits-visual {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gold-benefits-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: clamp(160px, 14.5vw, 255px);
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s var(--gb-ease);
  filter: drop-shadow(0 12px 14px rgba(70, 45, 8, 0.16));
  will-change: transform;
}

/* Per-visual tuning so all six sit like the reference */
.gold-benefits-card:nth-child(1) .gold-benefits-visual { align-items: flex-end; margin-right: -3%; margin-bottom: 4%; }
.gold-benefits-card:nth-child(1) .gold-benefits-visual img { max-height: clamp(110px, 10.4vw, 185px); transform-origin: 50% 70%; }
.gold-benefits-card:nth-child(6) .gold-benefits-visual { margin-right: -2%; }

/* ---------- 7. Entrance pre-hide ----------
   Applies only while JS is running and before GSAP takes over; `fc-reveal`
   (set by a 3 s safety timer in <head>) guarantees visibility if scripts fail. */
.fc-js:not(.fc-gb-ready):not(.fc-reveal) .gold-benefits-section [data-gb-eyebrow],
.fc-js:not(.fc-gb-ready):not(.fc-reveal) .gold-benefits-section [data-gb-title-plain],
.fc-js:not(.fc-gb-ready):not(.fc-reveal) .gold-benefits-section [data-gb-title-accent],
.fc-js:not(.fc-gb-ready):not(.fc-reveal) .gold-benefits-section [data-gb-description],
.fc-js:not(.fc-gb-ready):not(.fc-reveal) .gold-benefits-section [data-gb-card] {
  opacity: 0;
}

/* ---------- 8. Responsive ---------- */

/* Laptop — 1280 to 1439 */
@media (max-width: 1439px) {
  .gold-benefits-card-inner { gap: 8px; }
}

/* iPad landscape / small laptop — 768 to 1279: two columns, side-by-side card */
@media (max-width: 1279px) {
  .gold-benefits-section {
    --gb-card-min-h: clamp(230px, 27vw, 290px);
    --gb-card-pad: clamp(20px, 2.4vw, 28px);
    --gb-icon-box: clamp(60px, 6.4vw, 72px);
    --gb-icon-size: clamp(30px, 3.2vw, 36px);
  }

  .gold-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gold-benefits-title { font-size: var(--font-h2); }
  .gold-benefits-eyebrow { font-size: var(--font-small); }
  .gold-benefits-description { font-size: var(--font-body); }
  .gold-benefits-card-title { font-size: clamp(17px, 0.25vw + 16.5px, 19px); }
  .gold-benefits-card-text { font-size: 14px; }
  .gold-benefits-visual img { max-height: clamp(150px, 20vw, 220px); }
  .gold-benefits-card:nth-child(1) .gold-benefits-visual img { max-height: clamp(100px, 13vw, 150px); }
}

/* Mobile — below 768: single column */
@media (max-width: 767px) {
  .gold-benefits-section {
    --gb-card-min-h: 0px;
    --gb-card-pad: 18px;
    --gb-icon-box: 56px;
    --gb-icon-size: 28px;
    --gb-grid-gap: 16px;
    --gb-card-radius: 20px;
  }

  .gold-benefits-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .gold-benefits-title { font-size: var(--font-h2); }
  .gold-benefits-title-accent { margin-left: 0; }
  .gold-benefits-title-line--accent { display: block; }
  .gold-benefits-description { font-size: var(--font-body); }
  .gold-benefits-card-title { font-size: 18px; }
  .gold-benefits-card-text { font-size: 14px; }
  .gold-benefits-content { flex-basis: 56%; }
  .gold-benefits-visual img { max-height: 170px; }
  .gold-benefits-card:nth-child(1) .gold-benefits-visual img { max-height: 110px; }
}

/* Small mobile — below 480: content then visual */
@media (max-width: 479px) {
  .gold-benefits-card-inner { flex-direction: column; gap: 12px; }
  .gold-benefits-content { flex: none; width: 100%; }
  .gold-benefits-card-title { font-size: 17px; }
  .gold-benefits-visual { flex: none; width: 100%; margin-right: 0 !important; }
  .gold-benefits-visual img { width: auto; max-width: 78%; max-height: 170px; }
  .gold-benefits-card:nth-child(1) .gold-benefits-visual img { max-width: 80%; max-height: 120px; }
}

/* ---------- 9. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .gold-benefits-card-inner,
  .gold-benefits-visual img {
    transition: none;
  }

  .gold-benefits-card-inner:hover,
  .gold-benefits-card-inner:hover .gold-benefits-visual img {
    transform: none;
  }
}


/* === css/gold-loan-eligibility.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Gold Loan Eligibility & Documentation
   File: css/gold-loan-eligibility.css
   Scope: .gold-eligibility-section (all tokens and rules are namespaced)

   Breakpoints
     ≥992px       two columns (45 / 55)
     768–991px    single column, illustration first
     <768px       single column, compact cards, no image tilt
   ========================================================================== */

/* ---------- 1. Design tokens (scoped) ---------- */
.gold-eligibility-section {
  --ge-navy: var(--primary-color);
  --ge-navy-2: var(--primary-color);
  --ge-red: var(--secondary-color);
  --ge-blue: #2a63e6;
  --ge-sky: #eaf4ff;
  --ge-pink: #fff0f1;
  --ge-text: #45546b;

  --ge-font-display: "Red Hat Display", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ge-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ge-container: 1640px;
  --ge-gutter: clamp(16px, 3.4vw, 64px);
  --ge-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --ge-pad-top: clamp(48px, 4.4vw, 84px);
  --ge-pad-bottom: clamp(64px, 6vw, 112px);
  --ge-gap: clamp(40px, 4.2vw, 80px);
  --ge-media-h: clamp(340px, 28vw, 500px);
  --ge-card-h: clamp(76px, 5.9vw, 100px);
  --ge-card-gap: clamp(14px, 1.2vw, 22px);
  --ge-card-radius: clamp(24px, 2vw, 36px);
  --ge-icon-w: clamp(76px, 6.2vw, 100px);
  --ge-icon-h: clamp(58px, 4.6vw, 75px);
  --ge-icon-size: clamp(30px, 2.5vw, 42px);
  --ge-title-size: clamp(17px, 0.25vw + 16.5px, 19px);

  /* animation hook — GSAP tweens this; 1 = fully drawn (no-JS default) */
  --ge-underline: 1;
}

/* ---------- 2. Section + decorative background ---------- */
.gold-eligibility-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--ge-pad-top) 0 var(--ge-pad-bottom);
  background: #fff;
  font-family: var(--ge-font-body);
  color: var(--ge-text);
  box-sizing: border-box;
}

.gold-eligibility-section *,
.gold-eligibility-section *::before,
.gold-eligibility-section *::after {
  box-sizing: border-box;
}

/* soft curved blue wave along the bottom */
.gold-eligibility-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -10%;
  right: -10%;
  bottom: -14%;
  height: 30%;
  background:
    radial-gradient(60% 100% at 20% 100%, rgba(214, 231, 255, 0.8) 0%, rgba(232, 242, 255, 0.45) 55%, transparent 72%),
    radial-gradient(55% 90% at 80% 100%, rgba(222, 236, 255, 0.75) 0%, rgba(238, 246, 255, 0.4) 55%, transparent 72%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}

/* faint abstract shape top-right */
.gold-eligibility-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 4%;
  right: -16%;
  width: 42%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(220, 235, 255, 0.7), rgba(240, 247, 255, 0.3) 60%, transparent 100%);
  border-radius: 50%;
  transform: rotate(-12deg);
  pointer-events: none;
}

.gold-eligibility-container {
  width: 100%;
  max-width: var(--ge-container);
  margin: 0 auto;
  padding: 0 var(--ge-gutter);
}

/* ---------- 3. Header ---------- */
.gold-eligibility-header {
  text-align: center;
  margin: 0 auto clamp(40px, 4vw, 76px);
}

.gold-eligibility-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 22px);
  margin: 0 0 clamp(4px, 0.5vw, 10px);
  font-family: var(--ge-font-display);
  font-weight: 700;
  font-size: var(--font-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ge-navy-2);
}

.gold-eligibility-eyebrow::before,
.gold-eligibility-eyebrow::after {
  content: "";
  width: clamp(28px, 3.8vw, 72px);
  height: 2px;
  background: var(--ge-red);
  border-radius: 2px;
}

.gold-eligibility-title {
  margin: 0;
  font-family: var(--ge-font-display);
  font-style: italic;
  font-weight: 800;
  font-size: var(--font-h2); /* matches gold-loan-highlight title */
  line-height: var(--line-height-h2);
  letter-spacing: -0.02em;
  color: var(--ge-navy);
}

.gold-eligibility-title-plain,
.gold-eligibility-title-accent {
  display: inline-block;
}

.gold-eligibility-title-accent {
  position: relative;
  color: var(--ge-red);
  margin-left: 0.18em;
}

.gold-eligibility-accent-text {
  display: inline-block;
}

.gold-eligibility-underline {
  position: absolute;
  left: 2%;
  bottom: -0.12em;
  width: 96%;
  height: 0.2em;
  overflow: visible;
  color: var(--ge-red);
  pointer-events: none;
}

.gold-eligibility-subtitle {
  margin: clamp(12px, 1.2vw, 22px) auto 0;
  max-width: 70ch;
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  font-weight: 500;
  color: var(--ge-text);
}

/* ---------- 4. Two-column layout ---------- */
.gold-eligibility-layout {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: var(--ge-gap);
  align-items: center;
}

/* ---------- 5. Left: illustration ---------- */
.gold-eligibility-visual {
  position: relative;
  isolation: isolate;
  height: var(--ge-media-h);
  margin: 0;
}

.gold-eligibility-shape {
  position: absolute;
  z-index: 0;
  will-change: transform;
}

/* red shape behind the upper-left corner */
.gold-eligibility-shape--red {
  top: -6%;
  left: -3.5%;
  width: 56%;
  height: 62%;
  background: var(--ge-red);
  border-top-left-radius: clamp(60px, 6vw, 120px);
  border-bottom-left-radius: clamp(40px, 4vw, 80px);
  border-top-right-radius: clamp(30px, 3vw, 60px);
}

/* navy shape behind the lower-right corner */
.gold-eligibility-shape--navy {
  right: -4%;
  bottom: -6%;
  width: 52%;
  height: 52%;
  background: var(--ge-navy-2);
  border-bottom-right-radius: clamp(50px, 5vw, 90px);
  border-bottom-left-radius: clamp(30px, 3vw, 60px);
  border-top-left-radius: clamp(40px, 4vw, 80px);
  border-top-right-radius: clamp(40px, 4vw, 80px);
}

.gold-eligibility-media {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: clamp(5px, 0.4vw, 7px) solid #fff;
  border-radius: clamp(34px, 3.2vw, 55px);
  background: #fff;
  box-shadow: 0 24px 50px -14px rgba(7, 55, 121, 0.35), 0 4px 14px rgba(7, 55, 121, 0.1);
  transform: rotate(-1.2deg);
  will-change: transform;
}

.gold-eligibility-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

/* ---------- 6. Right: checklist cards ---------- */
.gold-eligibility-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ge-card-gap);
}

.gold-eligibility-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.4vw, 26px);
  min-height: var(--ge-card-h);
  margin: 0;
  padding: clamp(8px, 0.7vw, 12px) clamp(18px, 2vw, 36px) clamp(8px, 0.7vw, 12px) clamp(10px, 0.9vw, 16px);
  border: 3px solid #fff;
  border-radius: var(--ge-card-radius);
  transition: transform 0.45s var(--ge-ease), box-shadow 0.45s var(--ge-ease);
  will-change: transform;
}

.gold-eligibility-card--blue {
  --ge-accent: var(--ge-blue);
  background: linear-gradient(90deg, #f3f9ff 0%, var(--ge-sky) 100%);
  box-shadow: 0 10px 28px -10px rgba(42, 99, 230, 0.3), 0 2px 8px rgba(42, 99, 230, 0.08);
}

.gold-eligibility-card--red {
  --ge-accent: var(--ge-red);
  background: linear-gradient(90deg, #fff7f8 0%, var(--ge-pink) 100%);
  box-shadow: 0 10px 28px -10px rgba(237, 16, 29, 0.28), 0 2px 8px rgba(237, 16, 29, 0.08);
}

.gold-eligibility-card--blue:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px -12px rgba(42, 99, 230, 0.42), 0 4px 12px rgba(42, 99, 230, 0.12);
}

.gold-eligibility-card--red:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px -12px rgba(237, 16, 29, 0.4), 0 4px 12px rgba(237, 16, 29, 0.12);
}

.gold-eligibility-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: var(--ge-icon-w);
  height: var(--ge-icon-h);
  border-radius: clamp(18px, 1.5vw, 26px);
  background: var(--ge-accent);
  color: #fff;
  box-shadow: 0 8px 18px -6px var(--ge-accent);
  transition: transform 0.4s var(--ge-ease);
}

.gold-eligibility-icon svg {
  width: var(--ge-icon-size);
  height: var(--ge-icon-size);
}

.gold-eligibility-card:hover .gold-eligibility-icon {
  transform: scale(1.08);
}

.gold-eligibility-divider {
  flex: 0 0 auto;
  width: 2px;
  height: clamp(28px, 2.4vw, 40px);
  border-radius: 2px;
  background: var(--ge-accent);
  opacity: 0.85;
}

.gold-eligibility-card-title {
  margin: 0;
  font-family: var(--ge-font-display);
  font-weight: 700;
  font-size: var(--ge-title-size);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ge-navy-2);
}

/* ---------- 7. Responsive ---------- */

/* Tablet landscape: stay two-column, tighten */
@media (max-width: 1199px) {
  .gold-eligibility-section {
    --ge-gap: 36px;
    --ge-media-h: 400px;
    --ge-card-h: 72px;
    --ge-card-gap: 14px;
    --ge-icon-w: 72px;
    --ge-icon-h: 54px;
    --ge-icon-size: 30px;
    --ge-title-size: clamp(16px, 0.2vw + 16px, 18px);
  }
  .gold-eligibility-card { gap: 14px; padding-right: 18px; }
}

/* Tablet portrait: stacked, illustration first */
@media (max-width: 991px) {
  .gold-eligibility-section {
    --ge-media-h: auto;
    --ge-card-h: 80px;
    --ge-card-gap: 16px;
    --ge-icon-w: 84px;
    --ge-icon-h: 62px;
    --ge-icon-size: 34px;
    --ge-title-size: 18px;
  }
  .gold-eligibility-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }
  .gold-eligibility-visual {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    aspect-ratio: 1220 / 840;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .gold-eligibility-section {
    --ge-pad-top: 44px;
    --ge-pad-bottom: 56px;
    --ge-card-h: 68px;
    --ge-card-gap: 12px;
    --ge-card-radius: 24px;
    --ge-icon-w: 62px;
    --ge-icon-h: 50px;
    --ge-icon-size: 27px;
    --ge-title-size: 17px;
  }
  .gold-eligibility-title { font-size: var(--font-h2); }
  .gold-eligibility-title-accent { margin-left: 0; }
  .gold-eligibility-subtitle { font-size: var(--font-body); }
  .gold-eligibility-eyebrow { font-size: var(--font-small); }
  .gold-eligibility-layout { gap: 44px; }
  .gold-eligibility-visual { max-width: 100%; }
  .gold-eligibility-media {
    transform: none;
    border-radius: 30px;
    border-width: 4px;
  }
  .gold-eligibility-shape--red { left: -2%; top: -4%; }
  .gold-eligibility-shape--navy { right: -2%; bottom: -4%; }
  .gold-eligibility-card { gap: 12px; padding: 8px 16px 8px 8px; }
  .gold-eligibility-divider { height: 26px; }
}

@media (max-width: 400px) {
  .gold-eligibility-section {
    --ge-icon-w: 54px;
    --ge-icon-h: 46px;
    --ge-icon-size: 24px;
    --ge-title-size: 16px;
  }
  .gold-eligibility-card { gap: 10px; padding-right: 12px; }
}

/* ---------- 8. Pre-JS state: avoid a flash before GSAP sets initial values ---------- */
html.fc-js:not(.fc-reveal):not(.fc-ge-ready) .gold-eligibility-eyebrow,
html.fc-js:not(.fc-reveal):not(.fc-ge-ready) .gold-eligibility-title-plain,
html.fc-js:not(.fc-reveal):not(.fc-ge-ready) .gold-eligibility-accent-text,
html.fc-js:not(.fc-reveal):not(.fc-ge-ready) .gold-eligibility-subtitle,
html.fc-js:not(.fc-reveal):not(.fc-ge-ready) .gold-eligibility-visual,
html.fc-js:not(.fc-reveal):not(.fc-ge-ready) .gold-eligibility-card {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .gold-eligibility-card,
  .gold-eligibility-icon { transition: none; }
  .gold-eligibility-card:hover { transform: none; }
  .gold-eligibility-card:hover .gold-eligibility-icon { transform: none; }
}


/* === css/gold-loan-process.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Gold Loan Process
   File: css/gold-loan-process.css
   Scope: .gold-process-section (all tokens and rules are namespaced)

   Breakpoints
     ≥992px       four cards in a row, circular arrow connectors
     768–991px    two-column grid, connectors hidden
     <768px       single column, vertical step line between cards
   ========================================================================== */

/* ---------- 1. Design tokens (scoped) ---------- */
.gold-process-section {
  --fc-navy: var(--primary-color);
  --fc-navy-deep: color-mix(in srgb, var(--primary-color) 72%, #000000);
  --fc-red: var(--secondary-color);
  --fc-blue: #2454c5;
  --fc-text: #3e4658;
  --fc-sky: #eaf3ff;
  --fc-sky-2: #f4f9ff;
  --fc-pink: #ffe9ec;
  --fc-pink-2: #fff5f6;

  --fc-font-display: "Red Hat Display", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fc-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fc-container: 1640px;
  --fc-gutter: clamp(16px, 3.4vw, 64px);
  --fc-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --gp-pad-top: clamp(56px, 5vw, 96px);
  --gp-pad-bottom: clamp(64px, 6vw, 112px);
  --gp-gap: clamp(36px, 2.9vw, 56px);        /* gap between cards (hosts the arrow) */
  --gp-radius: clamp(24px, 1.7vw, 32px);
  --gp-badge: clamp(60px, 4.2vw, 82px);
  --gp-arrow: clamp(44px, 3.1vw, 60px);
  --gp-card-pad: clamp(18px, 1.5vw, 28px);
  --gp-title-size: clamp(18px, 0.25vw + 17.2px, 20px);
  --gp-text-size: 14px;

  /* animation hook — GSAP tweens this; 1 = fully drawn (no-JS default) */
  --gp-underline: 1;
}

/* ---------- 2. Section + decorative background ---------- */
.gold-process-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--gp-pad-top) 0 var(--gp-pad-bottom);
  background: #fff;
  font-family: var(--fc-font-body);
  color: var(--fc-text);
  box-sizing: border-box;
}

.gold-process-section *,
.gold-process-section *::before,
.gold-process-section *::after {
  box-sizing: border-box;
}

/* soft curved blue wave along the bottom */
.gold-process-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -10%;
  right: -10%;
  bottom: -12%;
  height: 34%;
  background:
    radial-gradient(60% 100% at 18% 100%, rgba(214, 231, 255, 0.85) 0%, rgba(232, 242, 255, 0.5) 55%, transparent 72%),
    radial-gradient(55% 90% at 78% 100%, rgba(222, 236, 255, 0.8) 0%, rgba(238, 246, 255, 0.4) 55%, transparent 72%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}

/* very subtle abstract shape on the right */
.gold-process-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 6%;
  right: -14%;
  width: 40%;
  height: 78%;
  background: radial-gradient(closest-side, rgba(220, 235, 255, 0.7), rgba(240, 247, 255, 0.35) 60%, transparent 100%);
  border-radius: 50%;
  transform: rotate(-12deg);
  pointer-events: none;
}

.gold-process-container {
  width: 100%;
  max-width: var(--fc-container);
  margin: 0 auto;
  padding: 0 var(--fc-gutter);
}

/* ---------- 3. Header ---------- */
.gold-process-header {
  text-align: center;
  margin: 0 auto clamp(48px, 4.6vw, 88px);
}

.gold-process-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 22px);
  margin: 0 0 clamp(6px, 0.6vw, 12px);
  font-family: var(--fc-font-display);
  font-weight: 700;
  font-size: var(--font-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fc-navy);
}

.gold-process-eyebrow::before,
.gold-process-eyebrow::after {
  content: "";
  width: clamp(28px, 3.8vw, 72px);
  height: 2px;
  background: var(--fc-red);
  border-radius: 2px;
}

.gold-process-title {
  margin: 0;
  font-family: var(--fc-font-display);
  font-style: italic;
  font-weight: 800;
  font-size: var(--font-h2); /* matches gold-loan-highlight title */
  line-height: var(--line-height-h2);
  letter-spacing: -0.02em;
  color: var(--fc-navy);
}

.gold-process-title-plain,
.gold-process-title-accent {
  display: inline-block;
}

.gold-process-title-accent {
  position: relative;
  color: var(--fc-red);
  margin-left: 0.18em;
}

.gold-process-accent-text {
  display: inline-block;
}

.gold-process-underline {
  position: absolute;
  left: 2%;
  bottom: -0.12em;
  width: 96%;
  height: 0.2em;
  overflow: visible;
  color: var(--fc-red);
  pointer-events: none;
}

.gold-process-subtitle {
  margin: clamp(14px, 1.4vw, 26px) auto 0;
  max-width: 62ch;
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  font-weight: 500;
  color: #4a5266;
}

/* ---------- 4. Grid ---------- */
.gold-process-grid {
  list-style: none;
  margin: 0;
  padding: clamp(36px, 2.6vw, 48px) 0 0;   /* room for overlapping badges */
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gp-gap);
  align-items: stretch;
}

.gold-process-step {
  position: relative;
  display: flex;
  margin: 0;
  padding: 0;
}

/* ---------- 5. Card ---------- */
.gold-process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: clamp(34px, 2.8vw, 52px) var(--gp-card-pad) clamp(22px, 1.9vw, 36px);
  border: 3px solid #fff;
  border-radius: var(--gp-radius);
  transition: transform 0.45s var(--fc-ease), box-shadow 0.45s var(--fc-ease);
  will-change: transform;
}

.gold-process-step--blue .gold-process-card {
  background: linear-gradient(180deg, var(--fc-sky-2) 0%, var(--fc-sky) 100%);
  box-shadow: 0 10px 30px -8px rgba(36, 84, 197, 0.28), 0 2px 8px rgba(36, 84, 197, 0.08);
}

.gold-process-step--red .gold-process-card {
  background: linear-gradient(180deg, var(--fc-pink-2) 0%, var(--fc-pink) 100%);
  box-shadow: 0 10px 30px -8px rgba(227, 30, 38, 0.26), 0 2px 8px rgba(227, 30, 38, 0.08);
}

.gold-process-step--blue .gold-process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px -10px rgba(36, 84, 197, 0.4), 0 4px 12px rgba(36, 84, 197, 0.12);
}

.gold-process-step--red .gold-process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px -10px rgba(227, 30, 38, 0.38), 0 4px 12px rgba(227, 30, 38, 0.12);
}

/* ---------- 6. Number badge ---------- */
.gold-process-badge {
  position: absolute;
  z-index: 3;
  top: calc(var(--gp-badge) / -2);
  left: 50%;
  margin-left: calc(var(--gp-badge) / -2);
  width: var(--gp-badge);
  height: var(--gp-badge);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--fc-font-display);
  font-weight: 800;
  font-size: calc(var(--gp-badge) * 0.42);
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.55), 0 10px 22px -4px rgba(16, 43, 92, 0.35);
}

.gold-process-badge--blue { background: linear-gradient(180deg, #3a6fe0 0%, #1f4fc0 100%); }
.gold-process-badge--red  { background: linear-gradient(180deg, #f2232b 0%, #d4121a 100%); box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.55), 0 10px 22px -4px rgba(227, 30, 38, 0.45); }

/* ---------- 7. Media ---------- */
.gold-process-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 480 / 260;
  margin: 0 0 clamp(14px, 1.3vw, 24px);
  overflow: hidden;
}

.gold-process-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.7s var(--fc-ease);
  will-change: transform;
}

.gold-process-card:hover .gold-process-media img {
  transform: scale(1.06);
}

/* ---------- 8. Content ---------- */
.gold-process-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.gold-process-step-title {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.7vw, 12px);
  margin: 0 0 clamp(8px, 0.8vw, 14px);
  font-family: var(--fc-font-display);
  font-weight: 700;
  font-size: var(--gp-title-size);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--fc-navy);
}

.gold-process-icon {
  flex: 0 0 auto;
  width: 1.25em;
  height: 1.25em;
  color: var(--fc-red);
}

.gold-process-text {
  margin: 0;
  font-size: var(--gp-text-size);
  line-height: 1.55;
  font-weight: 400;
  color: var(--fc-text);
}

/* ---------- 9. Arrow connectors ---------- */
.gold-process-arrow {
  position: absolute;
  z-index: 4;
  top: 38%;
  right: calc((var(--gp-gap) / 2 + var(--gp-arrow) / 2) * -1);
  margin-top: calc(var(--gp-arrow) / -2);
  width: var(--gp-arrow);
  height: var(--gp-arrow);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--fc-red);
  box-shadow: 0 8px 20px -4px rgba(16, 43, 92, 0.25), 0 1px 4px rgba(16, 43, 92, 0.1);
}

.gold-process-arrow svg {
  width: 46%;
  height: 46%;
}

/* ---------- 10. Responsive ---------- */

/* Tablet landscape: stay four-up but tighten */
@media (max-width: 1199px) {
  .gold-process-section {
    --gp-gap: 34px;
    --gp-card-pad: 14px;
    --gp-title-size: clamp(17px, 0.25vw + 16.5px, 19px);
    --gp-text-size: 14px;
    --gp-badge: 58px;
    --gp-arrow: 40px;
  }
  .gold-process-step-title { align-items: flex-start; }
  .gold-process-icon { margin-top: 0.05em; }
}

/* Tablet portrait: two columns, connectors removed */
@media (max-width: 991px) {
  .gold-process-section {
    --gp-gap: 28px;
    --gp-card-pad: 22px;
    --gp-title-size: 18px;
    --gp-text-size: 14px;
    --gp-badge: 68px;
  }
  .gold-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: calc(var(--gp-badge) / 2 + 36px);
  }
  .gold-process-arrow { display: none; }
}

/* Mobile: single column with vertical connecting line */
@media (max-width: 767px) {
  .gold-process-section {
    --gp-gap: 0px;
    --gp-card-pad: 20px;
    --gp-title-size: 18px;
    --gp-text-size: 14px;
    --gp-badge: 60px;
    --gp-pad-top: 48px;
    --gp-pad-bottom: 56px;
  }
  .gold-process-title { font-size: var(--font-h2); }
  .gold-process-title-accent { margin-left: 0; }
  .gold-process-subtitle { font-size: var(--font-body); }
  .gold-process-eyebrow { font-size: var(--font-small); }

  .gold-process-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: calc(var(--gp-badge) / 2 + 44px);
    max-width: 520px;
    margin: 0 auto;
  }

  /* dashed vertical connector running from one card down to the next badge */
  .gold-process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 100%;
    height: calc(var(--gp-badge) / 2 + 44px);
    width: 0;
    border-left: 3px dashed rgba(227, 30, 38, 0.45);
    transform: translateX(-50%);
  }
}

@media (max-width: 400px) {
  .gold-process-section { --gp-card-pad: 16px; --gp-title-size: 17px; }
}

/* ---------- 11. Pre-JS state: avoid a flash before GSAP sets initial values ---------- */
html.fc-js:not(.fc-reveal):not(.fc-gp-ready) .gold-process-eyebrow,
html.fc-js:not(.fc-reveal):not(.fc-gp-ready) .gold-process-title-plain,
html.fc-js:not(.fc-reveal):not(.fc-gp-ready) .gold-process-accent-text,
html.fc-js:not(.fc-reveal):not(.fc-gp-ready) .gold-process-subtitle,
html.fc-js:not(.fc-reveal):not(.fc-gp-ready) .gold-process-step {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .gold-process-card,
  .gold-process-media img { transition: none; }
  .gold-process-card:hover { transform: none; }
  .gold-process-card:hover .gold-process-media img { transform: none; }
}


/* === css/repayment-options.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Gold Loan Repayment Options
   File: css/repayment-options.css
   Scope: .repayment-section (all tokens and rules are namespaced)

   Breakpoints
     ≥992px       two columns (48 / 52)
     <992px       single column: content, cards, then illustration
   ========================================================================== */

/* ---------- 1. Design tokens (scoped) ---------- */
.repayment-section {
  --rp-navy: var(--primary-color);
  --rp-blue: #1260c8;
  --rp-red: var(--secondary-color);
  --rp-sky: #eaf4ff;
  --rp-pink: #fff0f1;
  --rp-text: #45536b;

  --rp-font-display: "Red Hat Display", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rp-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --rp-container: 1640px;
  --rp-gutter: clamp(16px, 3.4vw, 64px);
  --rp-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --rp-pad-top: clamp(48px, 5vw, 96px);
  --rp-pad-bottom: clamp(72px, 7vw, 130px);
  --rp-gap: clamp(24px, 3vw, 60px);
  --rp-card-gap: clamp(12px, 1.2vw, 22px);
  --rp-card-radius: clamp(28px, 2.9vw, 52px);
  --rp-icon-w: clamp(64px, 5.7vw, 100px);
  --rp-icon-h: clamp(54px, 4.8vw, 84px);
  --rp-icon-size: clamp(28px, 2.6vw, 46px);
  --rp-card-size: clamp(17px, 0.25vw + 16.5px, 19px);

  --rp-underline: 1;
}

/* ---------- 2. Section + decorative background ---------- */
.repayment-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--rp-pad-top) 0 var(--rp-pad-bottom);
  background: #fff;
  font-family: var(--rp-font-body);
  color: var(--rp-text);
  box-sizing: border-box;
}

.repayment-section *,
.repayment-section *::before,
.repayment-section *::after {
  box-sizing: border-box;
}

/* large soft light-blue circle behind the illustration */
.repayment-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -14%;
  right: -12%;
  width: 66%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(209, 227, 250, 0.95) 0%, rgba(225, 238, 255, 0.7) 55%, rgba(240, 247, 255, 0) 100%);
  border-radius: 50%;
  pointer-events: none;
}

/* light-blue wave along the bottom edge */
.repayment-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -8%;
  right: -8%;
  bottom: -12%;
  height: 26%;
  background:
    radial-gradient(60% 100% at 22% 100%, rgba(214, 231, 255, 0.85) 0%, rgba(232, 242, 255, 0.45) 55%, transparent 72%),
    radial-gradient(55% 90% at 82% 100%, rgba(222, 236, 255, 0.8) 0%, rgba(238, 246, 255, 0.4) 55%, transparent 72%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}

.repayment-container {
  width: 100%;
  max-width: var(--rp-container);
  margin: 0 auto;
  padding: 0 var(--rp-gutter);
  display: grid;
  grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
  gap: var(--rp-gap);
  align-items: center;
}

/* ---------- 3. Content ---------- */
.repayment-content {
  min-width: 0;
}

.repayment-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 22px);
  margin: 0 0 clamp(4px, 0.6vw, 12px);
  font-family: var(--rp-font-display);
  font-weight: 700;
  font-size: var(--font-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rp-blue);
}

.repayment-eyebrow::before,
.repayment-eyebrow::after {
  content: "";
  width: clamp(26px, 3.4vw, 66px);
  height: 2px;
  background: var(--rp-red);
  border-radius: 2px;
}

.repayment-title {
  margin: 0;
  font-family: var(--rp-font-display);
  font-style: italic;
  font-weight: 900;
  font-size: var(--font-h2); /* matches gold-loan-highlight title */
  line-height: var(--line-height-h2);
  letter-spacing: -0.025em;
}

.repayment-line-wrap {
  display: block;
  position: relative;
  padding-right: 0.1em;
}

.repayment-line {
  display: inline-block;
}

.repayment-line--plain { color: var(--rp-navy); }
.repayment-line--accent { color: var(--rp-red); }

.repayment-line-wrap--accent {
  width: fit-content;
  max-width: 100%;
}

.repayment-underline {
  position: absolute;
  left: 3%;
  bottom: -0.1em;
  width: 88%;
  height: 0.2em;
  overflow: visible;
  color: var(--rp-red);
  pointer-events: none;
}

.repayment-text {
  margin: clamp(18px, 2.2vw, 40px) 0 clamp(22px, 2.2vw, 40px);
  max-width: 24em;
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  font-weight: 500;
  color: var(--rp-text);
}

/* ---------- 4. Benefit cards ---------- */
.repayment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 44em;
  display: flex;
  flex-direction: column;
  gap: var(--rp-card-gap);
  font-size: var(--font-body);
}

.repayment-card {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 30px);
  min-height: clamp(76px, 6.6vw, 118px);
  margin: 0;
  padding: clamp(8px, 0.8vw, 14px) clamp(18px, 2.2vw, 40px) clamp(8px, 0.8vw, 14px) clamp(10px, 1vw, 18px);
  border: 3px solid #fff;
  border-radius: var(--rp-card-radius);
  transition: transform 0.45s var(--rp-ease), box-shadow 0.45s var(--rp-ease);
  will-change: transform;
}

.repayment-card--blue {
  --rp-accent: var(--rp-blue);
  background: linear-gradient(90deg, #f3f9ff 0%, var(--rp-sky) 100%);
  box-shadow: 0 10px 26px -10px rgba(18, 96, 200, 0.3), 0 2px 8px rgba(18, 96, 200, 0.08);
}

.repayment-card--red {
  --rp-accent: var(--rp-red);
  background: linear-gradient(90deg, #fff7f8 0%, var(--rp-pink) 100%);
  box-shadow: 0 10px 26px -10px rgba(237, 23, 31, 0.28), 0 2px 8px rgba(237, 23, 31, 0.08);
}

.repayment-card--blue:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -12px rgba(18, 96, 200, 0.42), 0 4px 12px rgba(18, 96, 200, 0.12);
}

.repayment-card--red:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -12px rgba(237, 23, 31, 0.4), 0 4px 12px rgba(237, 23, 31, 0.12);
}

.repayment-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: var(--rp-icon-w);
  height: var(--rp-icon-h);
  border-radius: clamp(18px, 1.7vw, 30px);
  background: var(--rp-accent);
  color: #fff;
  box-shadow: 0 8px 18px -6px var(--rp-accent);
  transition: transform 0.4s var(--rp-ease);
}

.repayment-icon svg {
  width: var(--rp-icon-size);
  height: var(--rp-icon-size);
}

.repayment-card:hover .repayment-icon { transform: scale(1.08); }

.repayment-divider {
  flex: 0 0 auto;
  width: 2px;
  height: clamp(30px, 2.8vw, 48px);
  border-radius: 2px;
  background: var(--rp-navy);
  opacity: 0.85;
}

.repayment-card-title {
  margin: 0;
  font-family: var(--rp-font-display);
  font-weight: 700;
  font-size: var(--rp-card-size);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--rp-navy);
}

/* ---------- 5. Illustration (one image, four clipped layers) ---------- */
.repayment-visual {
  min-width: 0;
}

.repayment-art {
  position: relative;
  width: 100%;
  aspect-ratio: 914 / 640;
  /* feather the edges so the artwork melts into the page background */
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect;
}

.repayment-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  will-change: transform;
}

.repayment-layer--calendar  { clip-path: polygon(4.38% 0.00%,52.52% 0.00%,52.52% 26.56%,57.44% 26.56%,57.44% 55.47%,66.19% 55.47%,66.19% 60.94%,50.11% 60.94%,49.78% 71.09%,38.84% 71.09%,38.29% 71.88%,4.38% 71.88%); z-index: 2; }
.repayment-layer--clipboard { clip-path: polygon(52.52% 0.00%,100.00% 0.00%,100.00% 55.47%,57.44% 55.47%,57.44% 26.56%,52.52% 26.56%); z-index: 1; }
.repayment-layer--coins     { clip-path: polygon(0.00% 71.88%,38.29% 71.88%,38.84% 71.09%,49.78% 71.09%,50.11% 60.94%,66.19% 60.94%,66.19% 100.00%,0.00% 100.00%); z-index: 3; }
.repayment-layer--calc      { clip-path: polygon(66.19% 55.47%,100.00% 55.47%,100.00% 100.00%,66.19% 100.00%); z-index: 4; }

/* ---------- 6. Responsive ---------- */
@media (max-width: 1199px) {
  .repayment-section {
    --rp-card-size: clamp(16px, 0.2vw + 16px, 18px);
    --rp-icon-w: 62px;
    --rp-icon-h: 52px;
    --rp-icon-size: 27px;
  }
  .repayment-card { gap: 14px; min-height: 76px; }
}

@media (max-width: 991px) {
  .repayment-section {
    --rp-pad-top: 56px;
    --rp-pad-bottom: 84px;
    --rp-card-size: 18px;
    --rp-icon-w: 72px;
    --rp-icon-h: 58px;
    --rp-icon-size: 31px;
  }
  .repayment-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .repayment-content { text-align: left; }
  .repayment-title { font-size: var(--font-h2); }
  .repayment-text { font-size: var(--font-body); max-width: 30em; }
  .repayment-list { max-width: 640px; }
  .repayment-visual { max-width: 720px; margin: 0 auto; width: 100%; }
  .repayment-section::before { top: auto; bottom: 4%; right: -30%; width: 110%; }
}

@media (max-width: 767px) {
  .repayment-section {
    --rp-pad-top: 44px;
    --rp-pad-bottom: 64px;
    --rp-card-size: 17px;
    --rp-card-radius: 30px;
    --rp-icon-w: 58px;
    --rp-icon-h: 50px;
    --rp-icon-size: 26px;
  }
  .repayment-title { font-size: var(--font-h2); }
  .repayment-eyebrow { font-size: var(--font-small); }
  .repayment-text { font-size: var(--font-body); }
  .repayment-card { gap: 12px; padding: 8px 16px 8px 8px; min-height: 70px; }
  .repayment-divider { height: 28px; }
}

@media (max-width: 400px) {
  .repayment-section {
    --rp-card-size: 16px;
    --rp-icon-w: 52px;
    --rp-icon-h: 46px;
    --rp-icon-size: 24px;
  }
  .repayment-card { gap: 10px; padding-right: 12px; }
}

/* ---------- 7. Pre-JS state ---------- */
html.fc-js:not(.fc-reveal):not(.fc-rp-ready) .repayment-eyebrow,
html.fc-js:not(.fc-reveal):not(.fc-rp-ready) .repayment-line,
html.fc-js:not(.fc-reveal):not(.fc-rp-ready) .repayment-text,
html.fc-js:not(.fc-reveal):not(.fc-rp-ready) .repayment-card,
html.fc-js:not(.fc-reveal):not(.fc-rp-ready) .repayment-layer {
  visibility: hidden;
}

/* line-reveal mask */
.repayment-line-wrap { overflow: visible; }

@media (prefers-reduced-motion: reduce) {
  .repayment-card,
  .repayment-icon { transition: none; }
  .repayment-card:hover,
  .repayment-card:hover .repayment-icon { transform: none; }
}


/* === css/security-safety.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Gold Loan Security & Safety
   File: css/security-safety.css
   Scope: .security-safety-section (all rules are namespaced "security-safety-")

   Breakpoints
     ≥1200px      two columns: image | header + 2×2 cards + full-width card
     992–1199px   two columns, compact
     768–991px    two columns, tighter (iPad landscape/portrait-large)
     576–767px    single column: image → header → 2-col cards (5th spans)
     <576px       single column: image → header → stacked cards
   ========================================================================== */

/* ---------- 1. Design tokens (scoped) ---------- */
.security-safety-section {
  --ss-navy: var(--primary-color);
  --ss-navy-deep: color-mix(in srgb, var(--primary-color) 72%, #000000);
  --ss-red: var(--secondary-color);
  --ss-red-deep: color-mix(in srgb, var(--secondary-color) 82%, #000000);
  --ss-blue: #2585f5;
  --ss-blue-deep: #1561d6;
  --ss-sky: #eaf4ff;
  --ss-pink: #fff0f2;
  --ss-white: #ffffff;
  --ss-text: #53647d;

  --ss-font: "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ss-container: 1640px;
  --ss-gutter: clamp(16px, 4.4vw, 72px);
  --ss-gap: clamp(12px, 1.3vw, 22px);
  --ss-col-gap: clamp(28px, 3.4vw, 64px);

  --ss-card-radius: clamp(18px, 1.7vw, 30px);
  --ss-icon-radius: clamp(12px, 1.2vw, 20px);
  --ss-photo-radius: clamp(24px, 3vw, 52px);

  --ss-shadow-blue: 0 12px 30px rgba(37, 133, 245, 0.14);
  --ss-shadow-red: 0 12px 30px rgba(237, 28, 36, 0.12);

  /* animation hook: GSAP tweens it; 1 = fully drawn (no-JS default) */
  --ss-underline: 1;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  padding: clamp(40px, 5vw, 96px) 0;
  font-family: var(--ss-font);
  color: var(--ss-text);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.security-safety-section *,
.security-safety-section *::before,
.security-safety-section *::after { box-sizing: border-box; }

.security-safety-section svg { display: block; }

.security-safety-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--ss-container);
  margin-inline: auto;
  padding-inline: var(--ss-gutter);
}

/* ---------- 2. Background decoration ---------- */
.security-safety-bg { position: absolute; z-index: 0; pointer-events: none; }
.security-safety-bg--top {
  width: 62vw; height: 34vw;
  right: -16vw; top: -10vw;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 232, 255, 0.9), rgba(234, 244, 255, 0));
}
.security-safety-bg--waves {
  left: 0; bottom: 0;
  width: 100%;
  height: clamp(60px, 9vw, 150px);
}

/* ---------- 3. Layout ---------- */
.security-safety-layout {
  display: grid;
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  gap: var(--ss-col-gap);
  align-items: stretch;
}

/* ---------- 4. Image + decorative corner shapes ---------- */
.security-safety-visual {
  position: relative;
  min-height: clamp(360px, 40vw, 760px);
  padding: clamp(16px, 2.2vw, 40px) clamp(10px, 1.6vw, 28px) clamp(16px, 2.2vw, 40px) clamp(10px, 1.6vw, 28px);
}
.security-safety-shape { position: absolute; z-index: 0; }
.security-safety-shape--red {
  top: 0; left: 0;
  width: 44%; height: 40%;
  background: var(--ss-red);
  border-radius: clamp(30px, 4vw, 72px) clamp(70px, 7vw, 130px) clamp(40px, 5vw, 90px) clamp(30px, 4vw, 72px);
}
.security-safety-shape--navy {
  right: 0; bottom: 0;
  width: 46%; height: 36%;
  background: var(--ss-navy-deep);
  border-radius: clamp(40px, 5vw, 90px) clamp(30px, 4vw, 72px) clamp(70px, 7vw, 130px) clamp(40px, 5vw, 90px);
}
.security-safety-photo {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: inherit;
  margin: 0;
  overflow: hidden;
  border: clamp(4px, 0.45vw, 8px) solid var(--ss-white);
  border-radius: var(--ss-photo-radius);
  background: #0e1f45;
  box-shadow: 0 20px 48px rgba(8, 47, 111, 0.25);
  clip-path: inset(0 round var(--ss-photo-radius));
}
.security-safety-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 30% 55%;
}

/* ---------- 5. Header ---------- */
.security-safety-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(22px, 2.6vw, 48px);
  min-width: 0;
}
.security-safety-header { text-align: center; }

.security-safety-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1vw, 18px);
  margin: 0 0 clamp(8px, 0.9vw, 16px);
  font-weight: 700;
  font-size: var(--font-small);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ss-navy);
}
.security-safety-eyebrow-line {
  display: block;
  width: clamp(26px, 3.6vw, 64px);
  height: 2px;
  border-radius: 2px;
  background: var(--ss-red);
}

.security-safety-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 800;
  font-style: italic;
  font-size: var(--font-h2); /* matches gold-loan-highlight title */
  line-height: var(--line-height-h2);
  letter-spacing: -0.025em;
  color: var(--ss-navy-deep);
}
.security-safety-title-mask {
  display: block;
  overflow: hidden;
  padding: 0.04em 0.12em 0.12em;
  margin: -0.04em -0.12em -0.12em;
}
.security-safety-title-lead,
.security-safety-title-accent { display: inline-block; }
.security-safety-title-accent { color: var(--ss-red); }
.security-safety-title-mask--accent { position: relative; overflow: visible; }
.security-safety-title-mask--accent::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 4%;
  bottom: -0.02em;
  height: 0.12em;
  border-radius: 50%;
  border-bottom: clamp(2px, 0.25vw, 4px) solid var(--ss-red);
  transform: scaleX(var(--ss-underline)) rotate(-0.6deg);
  transform-origin: left center;
}

.security-safety-description {
  margin: clamp(16px, 1.6vw, 28px) auto 0;
  max-width: 44ch;
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  font-weight: 500;
  color: var(--ss-text);
}

/* ---------- 6. Feature cards ---------- */
.security-safety-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ss-gap);
}
.security-safety-card {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 24px);
  min-width: 0;
  padding: clamp(14px, 1.5vw, 26px) clamp(14px, 1.6vw, 28px);
  border: 2px solid var(--ss-white);
  border-radius: var(--ss-card-radius);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}
.security-safety-card--blue  { background: linear-gradient(135deg, #e6f1ff 0%, #f4f9ff 100%); box-shadow: var(--ss-shadow-blue); }
.security-safety-card--red   { background: linear-gradient(135deg, #ffeaed 0%, #fff6f7 100%); box-shadow: var(--ss-shadow-red); }
.security-safety-card--plain { background: linear-gradient(135deg, #e9f3ff 0%, #f6faff 100%); box-shadow: var(--ss-shadow-blue); }
.security-safety-card--wide  { grid-column: 1 / -1; justify-content: center; }

.security-safety-card-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(48px, 4.6vw, 88px);
  height: clamp(48px, 4.6vw, 88px);
  border-radius: var(--ss-icon-radius);
  color: var(--ss-white);
  transition: transform 0.35s ease;
}
.security-safety-card--blue .security-safety-card-icon {
  background: linear-gradient(145deg, #3f9bff 0%, var(--ss-blue-deep) 100%);
  box-shadow: 0 8px 18px rgba(37, 133, 245, 0.32);
}
.security-safety-card--red .security-safety-card-icon {
  background: linear-gradient(145deg, #ff4a50 0%, var(--ss-red-deep) 100%);
  box-shadow: 0 8px 18px rgba(237, 28, 36, 0.3);
}
.security-safety-card--plain .security-safety-card-icon {
  width: clamp(40px, 3.6vw, 68px);
  height: clamp(40px, 3.6vw, 68px);
  color: var(--ss-navy);
  background: transparent;
}
.security-safety-card-icon svg { width: 56%; height: 56%; }
.security-safety-card--plain .security-safety-card-icon svg { width: 100%; height: 100%; }

.security-safety-card-divider {
  flex: none;
  align-self: stretch;
  width: 2px;
  margin-block: clamp(4px, 0.5vw, 8px);
  border-radius: 2px;
  background: var(--ss-navy);
  opacity: 0.85;
}
.security-safety-card--red .security-safety-card-divider { background: var(--ss-red); opacity: 0.9; }
.security-safety-card--wide .security-safety-card-divider { align-self: center; height: clamp(28px, 2.6vw, 44px); }

.security-safety-card-title {
  margin: 0;
  min-width: 0;
  font-weight: 700;
  font-size: clamp(17px, 0.25vw + 16.5px, 19px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ss-navy-deep);
}
.security-safety-card--wide .security-safety-card-title { font-size: clamp(17px, 0.25vw + 16.5px, 19px); }

/* Hover (desktop pointers only) */
@media (hover: hover) and (pointer: fine) {
  .security-safety-card:hover { transform: translateY(-5px); }
  .security-safety-card--blue:hover,
  .security-safety-card--plain:hover { box-shadow: 0 18px 38px rgba(37, 133, 245, 0.24); }
  .security-safety-card--red:hover { box-shadow: 0 18px 38px rgba(237, 28, 36, 0.2); }
  .security-safety-card:hover .security-safety-card-icon { transform: scale(1.08); }
}

/* ---------- 7. 992–1199: compact ---------- */
@media (max-width: 1199px) {
  .security-safety-layout { grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); gap: 32px; }
  .security-safety-card { padding: 14px 14px; gap: 12px; }
  .security-safety-card-icon { width: 52px; height: 52px; }
  .security-safety-card-title { font-size: clamp(16px, 0.2vw + 16px, 18px); }
}

/* ---------- 8. 768–991: tighter two-column ---------- */
@media (max-width: 991px) {
  .security-safety-layout { grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); gap: 24px; }
  .security-safety-visual { min-height: 460px; }
  .security-safety-description { font-size: var(--font-body); }
  .security-safety-cards { gap: 12px; }
  .security-safety-card { padding: 12px; gap: 10px; border-radius: 20px; }
  .security-safety-card-icon { width: 44px; height: 44px; border-radius: 12px; }
  .security-safety-card--plain .security-safety-card-icon { width: 40px; height: 40px; }
  .security-safety-card-title { font-size: 18px; }
  .security-safety-card--wide .security-safety-card-title { font-size: 18px; }
}

/* ---------- 9. ≤767: single column ---------- */
@media (max-width: 767px) {
  .security-safety-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .security-safety-visual { min-height: 0; padding: 18px 12px; }
  .security-safety-photo { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .security-safety-photo img { min-height: 0; object-position: 35% 55%; }
  .security-safety-title { font-size: var(--font-h2); }
  .security-safety-description { font-size: var(--font-body); }
  .security-safety-cards { gap: 14px; }
  .security-safety-card { padding: 16px; gap: 14px; border-radius: 22px; }
  .security-safety-card-icon { width: 54px; height: 54px; }
  .security-safety-card--plain .security-safety-card-icon { width: 46px; height: 46px; }
  .security-safety-card-title { font-size: 17px; }
  .security-safety-card--wide .security-safety-card-title { font-size: 17px; }
}

/* ---------- 10. <576: stacked cards ---------- */
@media (max-width: 575px) {
  .security-safety-section { padding: 32px 0 48px; }
  .security-safety-visual { padding: 12px 8px; }
  .security-safety-shape--red { width: 40%; height: 34%; }
  .security-safety-shape--navy { width: 42%; height: 30%; }
  .security-safety-photo { --ss-photo-radius: 22px; border-width: 4px; aspect-ratio: 5 / 4; }
  .security-safety-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .security-safety-card { padding: 14px 16px; border-radius: 18px; }
  .security-safety-card--wide { justify-content: flex-start; }
  .security-safety-card-icon { width: 50px; height: 50px; border-radius: 13px; }
  .security-safety-card-title,
  .security-safety-card--wide .security-safety-card-title { font-size: 16px; }
  .security-safety-bg--top { display: none; }
}

@media (max-width: 359px) {
  .security-safety-title { font-size: var(--font-h2); }
  .security-safety-eyebrow { letter-spacing: 0.12em; }
}

@media (prefers-reduced-motion: reduce) {
  .security-safety-section *,
  .security-safety-section *::before,
  .security-safety-section *::after { transition: none !important; animation: none !important; }
}


/* === css/our-gallery.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Our Gallery
   File: css/our-gallery.css
   Scope: .fr-gallery (all rules namespaced "fr-gallery-")

   Breakpoints
     ≥1024px      4 columns × 2 rows
     360–1023px   2 columns
     ≤359px       1 column
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
.fr-gallery {
  --fr-navy: var(--primary-color);
  --fr-navy-deep: color-mix(in srgb, var(--primary-color) 72%, #000000);
  --fr-red: var(--secondary-color);
  --fr-sky: #eaf4ff;
  --fr-white: #ffffff;
  --fr-text: #526584;
  --fr-font: "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fr-container: 1600px;
  --fr-gutter: clamp(16px, 4.6vw, 80px);
  --fr-gap: clamp(10px, 1.1vw, 16px);
  --fr-radius: clamp(14px, 1.4vw, 20px);
  --fr-zoom-size: clamp(34px, 2.9vw, 42px);
  --fr-shadow: 0 10px 26px rgba(37, 100, 200, 0.16);
  --fr-shadow-hover: 0 18px 38px rgba(37, 100, 200, 0.28);

  /* animation hook: GSAP tweens it; 1 = fully drawn (no-JS default) */
  --fr-underline: 1;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  padding: clamp(36px, 3.6vw, 64px) 0 clamp(60px, 7vw, 130px);
  font-family: var(--fr-font);
  color: var(--fr-text);
  background: var(--fr-white);
}
.fr-gallery *,
.fr-gallery *::before,
.fr-gallery *::after { box-sizing: border-box; }
.fr-gallery svg { display: block; }

.fr-gallery-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--fr-container);
  margin-inline: auto;
  padding-inline: var(--fr-gutter);
}

/* ---------- 2. Decorative waves ---------- */
.fr-gallery-wave { position: absolute; z-index: 0; pointer-events: none; }
.fr-gallery-wave--tl { top: 0; left: 0; width: clamp(180px, 34vw, 560px); height: clamp(70px, 14vw, 230px); }
.fr-gallery-wave--tr { top: 0; right: 0; width: clamp(130px, 22vw, 380px); height: clamp(110px, 20vw, 340px); }
.fr-gallery-wave--bottom { left: 0; bottom: 0; width: 100%; height: clamp(50px, 8vw, 140px); }

/* ---------- 3. Header ---------- */
.fr-gallery-header {
  text-align: center;
  margin: 0 auto clamp(26px, 4.2vw, 76px);
}
.fr-gallery-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.1vw, 20px);
  margin: 0 0 clamp(6px, 0.8vw, 14px);
  font-weight: 800;
  font-size: var(--font-small);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fr-navy);
}
.fr-gallery-eyebrow-line {
  display: block;
  width: clamp(28px, 4.4vw, 80px);
  height: 2px;
  border-radius: 2px;
  background: var(--fr-red);
}

.fr-gallery-title {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.28em;
  font-weight: 800;
  font-style: italic;
  font-size: var(--font-h2); /* matches gold-loan-highlight title */
  line-height: var(--line-height-h2);
  letter-spacing: -0.03em;
  color: var(--fr-navy);
}
.fr-gallery-title-mask {
  display: inline-block;
  overflow: hidden;
  padding: 0.04em 0.12em 0.14em;
  margin: -0.04em -0.12em -0.14em;
}
.fr-gallery-title-lead,
.fr-gallery-title-accent { display: inline-block; }
.fr-gallery-title-accent { color: var(--fr-red); }
.fr-gallery-title-mask--accent { position: relative; overflow: visible; }
.fr-gallery-title-mask--accent::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 0;
  bottom: 0;
  height: 0.16em;
  border-radius: 50%;
  border-bottom: clamp(3px, 0.32vw, 6px) solid var(--fr-red);
  transform: scaleX(var(--fr-underline)) rotate(-0.8deg);
  transform-origin: left center;
}

.fr-gallery-description {
  margin: clamp(14px, 1.5vw, 26px) auto 0;
  max-width: 950px;
  font-size: var(--font-body);
  line-height: var(--line-height-body);
  font-weight: 500;
  color: var(--fr-text);
}

/* ---------- 4. Grid ---------- */
.fr-gallery-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--fr-gap);
}
.fr-gallery-item {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.5 / 1;
  border: 3px solid var(--fr-white);
  border-radius: var(--fr-radius);
  background: var(--fr-sky);
  box-shadow: var(--fr-shadow);
  overflow: hidden;
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}
.fr-gallery-open {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.fr-gallery-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* hover overlay */
.fr-gallery-open::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 42, 99, 0.18), rgba(5, 42, 99, 0.42));
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* zoom icon */
.fr-gallery-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: var(--fr-zoom-size);
  height: var(--fr-zoom-size);
  border-radius: 50%;
  background: var(--fr-white);
  color: var(--fr-navy);
  box-shadow: 0 4px 14px rgba(5, 42, 99, 0.25);
  transition: transform 0.4s ease, background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
  pointer-events: none;
}
.fr-gallery-zoom svg { width: 52%; height: 52%; }

@media (hover: hover) and (pointer: fine) {
  .fr-gallery-item:hover { box-shadow: var(--fr-shadow-hover); }
  .fr-gallery-item:hover .fr-gallery-img { transform: scale(1.06); }
  .fr-gallery-item:hover .fr-gallery-open::after { opacity: 1; }
  .fr-gallery-item:hover .fr-gallery-zoom {
    transform: scale(1.12);
    background: var(--fr-sky);
    box-shadow: 0 6px 18px rgba(37, 100, 200, 0.4);
  }
}

.fr-gallery-open:focus-visible {
  outline: 3px solid var(--fr-red);
  outline-offset: -3px;
}
.fr-gallery-open:focus-visible .fr-gallery-img { transform: scale(1.04); }
.fr-gallery-open:focus-visible::after { opacity: 1; }

/* ---------- 5. Lightbox ---------- */
.fr-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(56px, 7vw, 90px) clamp(12px, 6vw, 110px);
  background: rgba(4, 16, 40, 0.92);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.fr-gallery-lightbox[hidden] { display: none; }
.fr-gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0s;
}
.fr-gallery-lb-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: scale(0.94);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.fr-gallery-lightbox.is-open .fr-gallery-lb-figure { transform: scale(1); }
.fr-gallery-lb-img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 190px);
  max-height: calc(100dvh - 190px);
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  background: #0b1a3a;
}
.fr-gallery-lb-caption {
  color: #fff;
  font-weight: 600;
  font-size: clamp(14px, 1.2vw, 18px);
  text-align: center;
  min-height: 1.4em;
}
.fr-gallery-lb-btn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.fr-gallery-lb-btn svg { width: 24px; height: 24px; }
.fr-gallery-lb-btn:hover { background: var(--fr-red, var(--secondary-color)); transform: scale(1.08); }
.fr-gallery-lb-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.fr-gallery-lb-close { top: clamp(12px, 2vw, 28px); right: clamp(12px, 2vw, 28px); }
.fr-gallery-lb-prev { left: clamp(10px, 2vw, 28px); top: 50%; margin-top: -24px; }
.fr-gallery-lb-next { right: clamp(10px, 2vw, 28px); top: 50%; margin-top: -24px; }
.fr-gallery-lb-prev:hover, .fr-gallery-lb-next:hover { transform: scale(1.08); }

body.fr-gallery-lb-lock { overflow: hidden; }

/* ---------- 6. Responsive ---------- */
@media (max-width: 1199px) {
  .fr-gallery-grid { --fr-gap: 12px; }
}

/* iPad landscape / portrait: 2 columns for comfortable image size */
@media (max-width: 1023px) {
  .fr-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .fr-gallery-zoom { --fr-zoom-size: 40px; }
}

@media (max-width: 767px) {
  .fr-gallery { padding: 32px 0 70px; }
  .fr-gallery-grid { gap: 10px; }
  .fr-gallery-item { border-width: 2px; border-radius: 14px; }
  .fr-gallery-zoom { --fr-zoom-size: 34px; top: 8px; right: 8px; }
  .fr-gallery-lb-btn { width: 42px; height: 42px; }
  .fr-gallery-lb-prev { left: 8px; }
  .fr-gallery-lb-next { right: 8px; }
}

@media (max-width: 359px) {
  .fr-gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .fr-gallery-title { font-size: var(--font-h2); }
  .fr-gallery-eyebrow { letter-spacing: 0.12em; }
}

@media (prefers-reduced-motion: reduce) {
  .fr-gallery *,
  .fr-gallery *::before,
  .fr-gallery *::after,
  .fr-gallery-lightbox,
  .fr-gallery-lightbox * { transition: none !important; animation: none !important; }
}


/* === css/find-us.css === */
/* Fraternal Credit – Find Us section */
.fr-find-section {
  --fr-navy: var(--primary-color);
  --fr-red: var(--secondary-color);
  --fr-blue-light: #EAF4FF;
  --fr-pink-light: #FFF0F2;
  --fr-text: #526584;
  --fr-gap: clamp(14px, 1.6vw, 28px);

  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 90px) 0 clamp(56px, 7vw, 110px);
  background: #fff;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--fr-text);
  isolation: isolate;
}
.fr-find-section *, .fr-find-section *::before, .fr-find-section *::after { box-sizing: border-box; }
body { margin: 0; }

/* ---------- Background waves ---------- */
.fr-find-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fr-find-wave { position: absolute; display: block; }
.fr-find-wave--top {
  top: -25%; right: -12%; width: 55%; height: 80%;
  background: radial-gradient(ellipse at 70% 30%, rgba(190, 220, 255, .55), rgba(234, 244, 255, 0) 70%);
  border-radius: 50%;
}
.fr-find-wave--left {
  top: 12%; left: -15%; width: 40%; height: 40%;
  background: radial-gradient(ellipse at 60% 50%, rgba(214, 233, 255, .5), rgba(234, 244, 255, 0) 70%);
  border-radius: 50%;
}
.fr-find-wave--bottom {
  left: 0; right: 0; bottom: 0; height: 22%;
  background: linear-gradient(180deg, rgba(234, 244, 255, 0), rgba(214, 233, 255, .55));
  border-radius: 100% 100% 0 0 / 60% 60% 0 0;
}

/* ---------- Layout ---------- */
.fr-find-container {
  width: min(100% - 32px, 1650px);
  margin-inline: auto;
}

/* ---------- Header ---------- */
.fr-find-header { text-align: center; margin-bottom: clamp(32px, 4.5vw, 70px); }

.fr-find-label {
  display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.5vw, 24px);
  margin: 0 0 clamp(8px, 1vw, 14px);
  font-size: var(--font-small);
  font-weight: 800; letter-spacing: 4px; text-transform: uppercase;
  color: var(--fr-navy);
}
.fr-find-label::before, .fr-find-label::after {
  content: ""; width: clamp(36px, 5.5vw, 95px); height: 3px; background: var(--fr-red); border-radius: 3px;
}
.fr-find-label span { display: inline-block; }

.fr-find-title {
  margin: 0;
  font-size: var(--font-h2); /* matches gold-loan-highlight title */
  font-weight: 800; font-style: italic; line-height: var(--line-height-h2); letter-spacing: -.02em;
  color: var(--fr-navy);
}
.fr-find-title-navy, .fr-find-title-red { display: inline-block; }
.fr-find-title-red { position: relative; color: var(--fr-red); margin-left: .12em; }
.fr-find-flourish {
  position: absolute; left: 0; bottom: -.22em; width: 100%; height: .22em;
  fill: var(--fr-red); overflow: visible;
}

.fr-find-desc {
  max-width: 1000px; margin: clamp(16px, 2vw, 28px) auto 0;
  font-size: var(--font-body);
  font-weight: 500; line-height: var(--line-height-body); color: var(--fr-text);
}

/* ---------- Grid & cards ---------- */
.fr-find-grid {
  display: grid; gap: var(--fr-gap);
  max-width: 1280px; margin-inline: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.fr-find-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(18px, 1.8vw, 30px) clamp(12px, 1.3vw, 22px) clamp(36px, 3.8vw, 56px);
  border: 3px solid #fff; border-radius: clamp(20px, 1.8vw, 26px);
  box-shadow: 0 10px 30px rgba(7, 59, 130, .10);
  transition: transform .4s ease, box-shadow .4s ease, background .5s ease;
}
.fr-find-card--blue { background: linear-gradient(160deg, #F2F8FF, var(--fr-blue-light)); }
.fr-find-card--pink { background: linear-gradient(160deg, #FFF7F8, var(--fr-pink-light)); }
.fr-find-card--blue:hover { background: linear-gradient(160deg, #E4F0FF, #D9EAFF); }
.fr-find-card--pink:hover { background: linear-gradient(160deg, #FFE9EC, #FFDDE2); }
.fr-find-card:hover { transform: translateY(-6px); box-shadow: 0 18px 42px rgba(7, 59, 130, .18); }

/* decorative bottom waves (kept below content via padding-bottom) */
.fr-find-card::before, .fr-find-card::after {
  content: ""; position: absolute; right: -10%; bottom: -28%;
  width: 75%; height: 55%; border-radius: 50%; pointer-events: none;
}
.fr-find-card::after { right: auto; left: -25%; bottom: -40%; width: 70%; opacity: .6; }
.fr-find-card--blue::before, .fr-find-card--blue::after { background: rgba(120, 175, 245, .28); }
.fr-find-card--pink::before, .fr-find-card--pink::after { background: rgba(250, 150, 165, .26); }

/* icon tile */
.fr-find-icon {
  display: grid; place-items: center; flex: none;
  width: clamp(52px, 5.2vw, 80px); height: clamp(48px, 4.7vw, 72px);
  border-radius: clamp(14px, 1.4vw, 20px);
  color: #fff; font-size: clamp(1.4rem, 2.3vw, 2.2rem);
  box-shadow: 0 10px 22px rgba(7, 59, 130, .25);
  transition: transform .4s ease;
}
.fr-find-icon--blue { background: linear-gradient(145deg, #2F8BFF, #0A52C8); }
.fr-find-icon--red  { background: linear-gradient(145deg, #FF3B3B, #D80F18); box-shadow: 0 10px 22px rgba(237, 28, 36, .28); }
.fr-find-card:hover .fr-find-icon { transform: scale(1.06); }

.fr-find-card-title {
  position: relative; margin: clamp(16px, 1.8vw, 28px) 0 clamp(20px, 2.2vw, 34px);
  padding-bottom: clamp(10px, 1.1vw, 16px);
  font-size: var(--font-h3); font-weight: 800; letter-spacing: -.02em;
  color: var(--fr-navy);
}
.fr-find-card-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: clamp(60px, 6.5vw, 100px); height: 3px; border-radius: 3px; background: var(--fr-red);
}

.fr-find-text {
  position: relative; z-index: 1; margin: 0; width: 100%;
  font-size: clamp(.85rem, .95vw, 1rem); font-weight: 500; line-height: 1.55; color: var(--fr-text);
}
.fr-find-address { font-style: normal; }
.fr-find-address-line, .fr-find-phone { display: block; }

.fr-find-link {
  color: inherit; text-decoration: none; overflow-wrap: anywhere;
  transition: color .3s ease;
}
.fr-find-link:hover, .fr-find-link:focus-visible { color: var(--fr-red); text-decoration: underline; }
.fr-find-phone { font-weight: 700; }
.fr-find-phone + .fr-find-phone { margin-top: .3em; }

/* ---------- Social ---------- */
.fr-find-social {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(8px, 1vw, 16px);
  margin: 0; padding: 0; list-style: none;
}
.fr-find-social-link {
  display: grid; place-items: center;
  width: clamp(34px, 2.8vw, 42px); aspect-ratio: 1; border-radius: 50%;
  color: #fff; font-size: clamp(.9rem, 1.2vw, 1.15rem); text-decoration: none;
  box-shadow: 0 6px 14px rgba(7, 59, 130, .2);
  transition: transform .3s ease, box-shadow .3s ease;
}
.fr-find-social-link:hover, .fr-find-social-link:focus-visible {
  transform: scale(1.12); box-shadow: 0 10px 22px rgba(7, 59, 130, .32);
}
.fr-find-social-link i {
  width: 50%;
  height: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
}
.fr-find-social-link i svg {
  width: 100%;
  height: 100%;
}
.fr-find-social--facebook  { background: #1877F2; }
.fr-find-social--instagram { background: linear-gradient(45deg, #FEDA75, #FA7E1E 30%, #D62976 60%, #962FBF 80%, #4F5BD5); }
.fr-find-social--youtube   { background: #FF0000; }
.fr-find-social--linkedin  { background: #0A66C2; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) and (min-width: 1025px) { .fr-find-card { padding-inline: 12px; } }

@media (max-width: 1024px) {
  .fr-find-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fr-find-icon { width: clamp(56px, 9vw, 76px); height: clamp(52px, 8vw, 70px); font-size: clamp(1.5rem, 3.6vw, 2rem); }
  .fr-find-card-title { font-size: var(--font-h3); }
  .fr-find-text { font-size: clamp(.85rem, 1.8vw, 1rem); }
  .fr-find-social-link { width: clamp(36px, 5.5vw, 44px); }
}

@media (max-width: 767px) {
  .fr-find-card { padding-bottom: 44px; border-width: 3px; }
  .fr-find-label { letter-spacing: 3px; }
  .fr-find-icon { width: 56px; height: 52px; font-size: 1.4rem; border-radius: 15px; }
  .fr-find-card-title { font-size: var(--font-h3); }
  .fr-find-text { font-size: .85rem; }
  .fr-find-social-link { width: 38px; font-size: 1rem; }
}

@media (max-width: 400px) {
  .fr-find-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .fr-find-card, .fr-find-icon, .fr-find-social-link, .fr-find-link { transition: none; }
  .fr-find-card:hover { transform: none; }
}


/* === css/get-in-touch.css === */
/* Get in Touch – Fraternal Credit. All selectors scoped under .fc-get-in-touch */

.fc-get-in-touch {
  --fc-navy: var(--primary-color);
  --fc-deep: color-mix(in srgb, var(--primary-color) 72%, #000000);
  --fc-red: var(--secondary-color);
  --fc-red-dark: color-mix(in srgb, var(--secondary-color) 82%, #000000);
  --fc-blue: #1676F5;
  --fc-light-blue: #EAF4FF;
  --fc-light-red: #FFF0F1;
  --fc-white: #FFFFFF;
  --fc-text: #53617E;
  --fc-border: #D5DFEE;
  --fc-shadow: 0 18px 50px rgba(22, 90, 190, .16);

  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(40px, 5vw, 70px) 24px clamp(90px, 9vw, 150px);
  background: linear-gradient(180deg, #fff 0%, #F4F9FF 60%, #EAF4FF 100%);
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  color: var(--fc-text);
}
.fc-get-in-touch *, .fc-get-in-touch *::before, .fc-get-in-touch *::after { box-sizing: border-box; }

/* ---------- Background decoration ---------- */
.fc-get-in-touch .fcgit__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fc-get-in-touch .fcgit__blob { position: absolute; border-radius: 50%; }
.fc-get-in-touch .fcgit__blob--tl {
  width: 60vw; height: 28vw; left: -22vw; top: 9%;
  background: linear-gradient(135deg, #E3EFFF, rgba(234, 244, 255, 0));
}
.fc-get-in-touch .fcgit__blob--tr {
  width: 38vw; height: 38vw; right: -14vw; top: -14vw;
  background: linear-gradient(200deg, #D6E8FF, rgba(234, 244, 255, 0));
}
.fc-get-in-touch .fcgit__waves { position: absolute; left: 0; bottom: 0; width: 100%; height: clamp(90px, 14vw, 200px); display: block; }

/* ---------- Layout ---------- */
.fc-get-in-touch .fcgit__container { max-width: 1600px; margin: 0 auto; }

/* ---------- Heading ---------- */
.fc-get-in-touch .fcgit__head { text-align: center; margin-bottom: clamp(32px, 4vw, 58px); }
.fc-get-in-touch .fcgit__eyebrow {
  display: inline-flex; align-items: center; gap: 16px; margin: 0 0 10px;
  font-size: var(--font-small); font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--fc-navy);
}
.fc-get-in-touch .fcgit__line { width: clamp(30px, 6vw, 108px); height: 3px; background: var(--fc-red); border-radius: 3px; }
.fc-get-in-touch .fcgit__title {
  margin: 0; font-size: var(--font-h2); /* matches gold-loan-highlight title */ line-height: var(--line-height-h2); font-weight: 800; font-style: italic;
  letter-spacing: -.5px;
}
.fc-get-in-touch .fcgit__title-mask { display: inline-block; overflow: hidden; padding: 0 .08em .18em; vertical-align: top; }
.fc-get-in-touch .fcgit__title-navy, .fc-get-in-touch .fcgit__title-red { display: inline-block; position: relative; }
.fc-get-in-touch .fcgit__title-navy { color: var(--fc-navy); }
.fc-get-in-touch .fcgit__title-red { color: var(--fc-red); }
.fc-get-in-touch .fcgit__underline { position: absolute; left: 0; bottom: -.08em; width: 100%; height: .2em; overflow: visible; }
.fc-get-in-touch .fcgit__underline path { transform-origin: left center; }
.fc-get-in-touch .fcgit__desc {
  max-width: 1100px; margin: 14px auto 0; font-size: var(--font-body);
  line-height: var(--line-height-body); font-weight: 500; color: var(--fc-text);
}

/* ---------- Grid ---------- */
.fc-get-in-touch .fcgit__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch;
}

/* ---------- Map ---------- */
.fc-get-in-touch .fcgit__map-wrap { position: relative; min-height: 490px; padding: 0 0 0 0; }
.fc-get-in-touch .fcgit__map-shape {
  position: absolute; left: -24px; bottom: -22px; width: 82%; height: 78%;
  background: var(--fc-deep); border-radius: 60px 40px 60px 70px; z-index: 0;
}
.fc-get-in-touch .fcgit__map {
  position: relative; z-index: 1; height: 100%; min-height: 490px;
  border: 5px solid #fff; border-radius: 40px; overflow: hidden; background: #E8EEF7;
  box-shadow: var(--fc-shadow); transition: transform .4s ease, box-shadow .4s ease;
}
.fc-get-in-touch .fcgit__map:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(22, 90, 190, .24); }
.fc-get-in-touch .fcgit__map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Marker: overlay ignores pointer events so map stays interactive */
.fc-get-in-touch .fcgit__marker {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -100%);
  display: flex; align-items: center; gap: 10px; pointer-events: none; z-index: 2;
}
.fc-get-in-touch .fcgit__pin { width: 46px; height: 60px; flex: none; filter: drop-shadow(0 6px 8px rgba(242, 13, 29, .35)); transform-origin: 50% 100%; animation: fcgitPulse 2.4s ease-in-out infinite; }
.fc-get-in-touch .fcgit__marker-label {
  display: flex; flex-direction: column; padding: 12px 22px 12px 18px; margin-top: -26px;
  background: #fff; border-radius: 18px; box-shadow: 0 10px 28px rgba(8, 45, 104, .22); white-space: nowrap;
}
.fc-get-in-touch .fcgit__marker-label strong { color: var(--fc-navy); font-size: 1.15rem; font-weight: 700; line-height: 1.2; }
.fc-get-in-touch .fcgit__marker-label span { color: var(--fc-text); font-size: .95rem; }
@keyframes fcgitPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* ---------- Form card ---------- */
.fc-get-in-touch .fcgit__card {
  position: relative; overflow: hidden; padding: 35px; border: 5px solid #fff; border-radius: 40px;
  background: linear-gradient(180deg, #fff 0%, #F3F8FF 100%); box-shadow: var(--fc-shadow);
  display: flex; flex-direction: column;
}
.fc-get-in-touch .fcgit__card::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -60px; height: 140px; z-index: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(207, 227, 255, .65), rgba(207, 227, 255, 0) 70%);
  pointer-events: none;
}
.fc-get-in-touch .fcgit__card > * { position: relative; z-index: 1; }
.fc-get-in-touch .fcgit__card-title {
  margin: 0 0 28px; text-align: center; color: var(--fc-navy); font-weight: 700; font-size: var(--font-h3);
}
.fc-get-in-touch .fcgit__card-title::after {
  content: ""; display: block; width: 56px; height: 3px; margin: 10px auto 0; background: var(--fc-red); border-radius: 3px;
}
.fc-get-in-touch .fcgit__form { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.fc-get-in-touch .fcgit__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fc-get-in-touch .fcgit__field { min-width: 0; }
.fc-get-in-touch .fcgit__sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.fc-get-in-touch .fcgit__control { position: relative; }
.fc-get-in-touch .fcgit__icon {
  position: absolute; left: 18px; top: 29px; transform: translateY(-50%); width: 24px; height: 24px;
  fill: none; stroke: var(--fc-navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none;
}
.fc-get-in-touch .fcgit__control--area .fcgit__icon { top: 28px; }
.fc-get-in-touch .fcgit__chevron {
  position: absolute; right: 16px; top: 29px; transform: translateY(-50%); width: 20px; height: 20px;
  fill: none; stroke: var(--fc-navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; pointer-events: none;
}
.fc-get-in-touch .fcgit__input {
  width: 100%; height: 58px; padding: 0 16px 0 60px; font: 500 1.05rem/1 "Outfit", system-ui, sans-serif;
  color: var(--fc-navy); background: rgba(255, 255, 255, .9); border: 1.5px solid var(--fc-border); border-radius: 14px;
  outline: none; appearance: none; -webkit-appearance: none; transition: border-color .25s, box-shadow .25s, background .25s;
}
.fc-get-in-touch .fcgit__input::placeholder { color: var(--fc-navy); opacity: .85; }
.fc-get-in-touch .fcgit__select { padding-right: 44px; cursor: pointer; }
.fc-get-in-touch .fcgit__textarea { height: auto; min-height: 120px; padding: 18px 16px 18px 60px; line-height: 1.5; resize: vertical; display: block; }
.fc-get-in-touch .fcgit__input:hover { border-color: #A9C3EA; }
.fc-get-in-touch .fcgit__input:focus { border-color: var(--fc-blue); background: #fff; box-shadow: 0 0 0 4px rgba(22, 118, 245, .14); }
.fc-get-in-touch .fcgit__field.is-invalid .fcgit__input { border-color: var(--fc-red); box-shadow: 0 0 0 4px rgba(242, 13, 29, .08); }
.fc-get-in-touch .fcgit__error { margin: 6px 4px 0; min-height: 0; font-size: .85rem; color: var(--fc-red); }
.fc-get-in-touch .fcgit__error:empty { display: none; }

.fc-get-in-touch .fcgit__actions { display: flex; justify-content: center; margin-top: 6px; }
.fc-get-in-touch .fcgit__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 340px; max-width: 100%; height: 58px;
  border: 0; border-radius: 999px; cursor: pointer; background: var(--fc-red); color: #fff;
  font: 600 1.15rem/1 "Outfit", system-ui, sans-serif; box-shadow: 0 10px 24px rgba(242, 13, 29, .32);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.fc-get-in-touch .fcgit__btn svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fc-get-in-touch .fcgit__btn:hover { transform: translateY(-3px); background: var(--fc-red-dark); box-shadow: 0 16px 32px rgba(242, 13, 29, .4); }
.fc-get-in-touch .fcgit__btn:focus-visible { outline: 3px solid var(--fc-blue); outline-offset: 3px; }
.fc-get-in-touch .fcgit__success {
  margin: 0; padding: 12px 16px; text-align: center; border-radius: 12px; font-weight: 500;
  color: var(--fc-navy); background: var(--fc-light-blue); border: 1px solid #BBD7FA;
}
.fc-get-in-touch .fcgit__success[hidden] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1439px) {
  .fc-get-in-touch .fcgit__card { padding: 28px; }
  .fc-get-in-touch .fcgit__map-wrap, .fc-get-in-touch .fcgit__map { min-height: 470px; }
}
@media (max-width: 1100px) {
  .fc-get-in-touch .fcgit__grid { gap: 24px; }
  .fc-get-in-touch .fcgit__card { padding: 24px 20px; }
  .fc-get-in-touch .fcgit__row { gap: 12px; }
  .fc-get-in-touch .fcgit__input { padding-left: 52px; font-size: 1rem; }
  .fc-get-in-touch .fcgit__icon { left: 14px; }
  .fc-get-in-touch .fcgit__textarea { padding-left: 52px; }
}
@media (max-width: 991px) {
  .fc-get-in-touch .fcgit__grid { grid-template-columns: 1fr; gap: 40px; }
  .fc-get-in-touch .fcgit__map-wrap, .fc-get-in-touch .fcgit__map { min-height: 400px; }
  .fc-get-in-touch .fcgit__map-shape { left: -14px; bottom: -14px; }
}
@media (max-width: 767px) {
  .fc-get-in-touch { padding-inline: 16px; }
  .fc-get-in-touch .fcgit__eyebrow { letter-spacing: 3px; gap: 10px; }
  .fc-get-in-touch .fcgit__map-wrap, .fc-get-in-touch .fcgit__map { min-height: 300px; height: 300px; }
  .fc-get-in-touch .fcgit__map, .fc-get-in-touch .fcgit__card { border-radius: 26px; }
  .fc-get-in-touch .fcgit__map-shape { border-radius: 36px; left: -8px; bottom: -8px; }
  .fc-get-in-touch .fcgit__card { padding: 22px 16px; }
  .fc-get-in-touch .fcgit__row { grid-template-columns: 1fr; }
  .fc-get-in-touch .fcgit__btn { width: 100%; }
  .fc-get-in-touch .fcgit__pin { width: 36px; height: 48px; }
  .fc-get-in-touch .fcgit__marker-label { padding: 8px 14px; margin-top: -20px; border-radius: 14px; }
  .fc-get-in-touch .fcgit__marker-label strong { font-size: .95rem; }
  .fc-get-in-touch .fcgit__marker-label span { font-size: .8rem; }
}
@media (max-width: 380px) {
  .fc-get-in-touch .fcgit__line { width: 22px; }
  .fc-get-in-touch .fcgit__eyebrow { letter-spacing: 2px; font-size: var(--font-small); }
  .fc-get-in-touch .fcgit__marker { flex-direction: column; gap: 0; }
  .fc-get-in-touch .fcgit__marker-label { margin-top: 0; order: -1; margin-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .fc-get-in-touch .fcgit__pin { animation: none; }
  .fc-get-in-touch * { transition-duration: .01ms !important; }
}


/* === css/faq.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Frequently Asked Questions
   File: css/faq.css
   Scope: .faq-section (all tokens and rules are namespaced)
   ========================================================================== */

/* ---------- 1. Design tokens (scoped) ---------- */
.faq-section {
  --fraternal-navy: var(--primary-color);
  --fraternal-deep-navy: color-mix(in srgb, var(--primary-color) 72%, #000000);
  --fraternal-red: var(--secondary-color);
  --fraternal-blue: #1455C5;

  --fraternal-white: #FFFFFF;
  --fraternal-light-blue: #EAF3FF;
  --fraternal-light-pink: #FFF0F1;

  --fraternal-text: #303F59;
  --fraternal-muted: #596579;

  --fraternal-border: #C9D2E0;

  --faq-font-display: "Red Hat Display", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --faq-font-body: "Red Hat Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --faq-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --faq-focus: 0 0 0 3px #fff, 0 0 0 5px var(--fraternal-blue);

  /* layout */
  --faq-gutter: clamp(16px, 4vw, 64px);
  --faq-pad-top: clamp(48px, 4.2vw, 84px);
  --faq-pad-bottom: clamp(88px, 9vw, 180px);
  --faq-accordion-max: 1100px;
  --faq-radius: 18px;

  /* type */
  --faq-eyebrow-size: var(--font-small);
  --faq-eyebrow-track: 4px;
  --faq-title-size: var(--font-h2); /* matches gold-loan-highlight title */
  --faq-desc-size: var(--font-body);
  --faq-q-size: var(--font-h4);
  --faq-a-size: var(--font-body);

  /* accordion rows */
  --faq-row-min-h: 62px;
  --faq-row-pad-x: 32px;
  --faq-row-pad-y: 12px;
  --faq-icon-size: 24px;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--faq-pad-top) var(--faq-gutter) var(--faq-pad-bottom);
  font-family: var(--faq-font-body);
  color: var(--fraternal-text);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 55%, #F5F9FF 100%);
}

.faq-section *,
.faq-section *::before,
.faq-section *::after {
  box-sizing: border-box;
}

/* ---------- 2. Background decoration ---------- */
.faq-background-decoration {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Large soft curve breaking out of the top-right corner */
.faq-bg-curve {
  position: absolute;
  top: clamp(-560px, -26vw, -120px);
  right: clamp(-860px, -41vw, -160px);
  width: clamp(420px, 60vw, 1300px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(190deg,
      rgba(190, 218, 250, 1) 38%,
      rgba(210, 229, 252, 0.85) 52%,
      rgba(232, 242, 255, 0.45) 68%,
      rgba(255, 255, 255, 0) 84%);
  will-change: transform;
}

/* Gentle wave along the bottom edge */
.faq-bottom-wave {
  position: absolute;
  left: -3%;
  bottom: 0;
  width: 106%; /* overscan so the scroll drift never exposes an edge */
  height: clamp(60px, 9vw, 170px);
  color: var(--fraternal-light-blue);
  display: block;
  will-change: transform;
}

/* ---------- 3. Container + header ---------- */
.faq-container {
  position: relative;
  width: 100%;
  max-width: 1520px;
  margin-inline: auto;
}

.faq-header {
  text-align: center;
  margin: 0 auto clamp(28px, 3.1vw, 54px);
  max-width: 1200px;
}

.faq-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 44px);
  margin-bottom: clamp(8px, 0.7vw, 12px);
}

.faq-eyebrow-text {
  margin: 0;
  font-family: var(--faq-font-display);
  font-size: var(--font-small);
  font-weight: 800;
  line-height: var(--line-height-small);
  letter-spacing: var(--faq-eyebrow-track);
  text-transform: uppercase;
  color: var(--fraternal-navy);
  /* letter-spacing adds trailing space after the last glyph; balance it */
  margin-right: calc(var(--faq-eyebrow-track) * -1);
}

.faq-line {
  flex: 0 0 auto;
  display: block;
  width: clamp(28px, 3.9vw, 70px);
  height: 3px;
  border-radius: 3px;
  background: var(--fraternal-red);
}

.faq-title {
  margin: 0;
  font-family: var(--faq-font-display);
  font-size: var(--font-h2);
  font-weight: 900;
  font-style: italic;
  line-height: var(--line-height-h2);
  letter-spacing: -0.025em;
  color: var(--fraternal-navy);
}

.faq-title-primary,
.faq-title-accent {
  display: inline-block;
}

.faq-title-accent {
  color: var(--fraternal-red);
}

.faq-title-underline-wrap {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.faq-title-underline {
  position: absolute;
  left: -2%;
  bottom: -0.2em;
  width: 106%;
  height: 0.24em;
  color: var(--fraternal-red);
  transform-origin: left center;
  overflow: visible;
}

.faq-description {
  margin: clamp(14px, 1.2vw, 22px) auto 0;
  max-width: 62ch;
  font-size: var(--font-body);
  font-weight: 500;
  line-height: var(--line-height-body);
  color: var(--fraternal-deep-navy);
}

/* ---------- 4. Accordion ---------- */
.faq-accordion {
  width: 100%;
  max-width: var(--faq-accordion-max);
  margin-inline: auto;
}

/* Each row draws its own border; rows overlap by 1px so separators stay
   hairline-thin and the active row's tinted border can sit on top. */
.faq-item {
  position: relative;
  border: 1px solid var(--fraternal-border);
  background: var(--fraternal-white);
  transition: border-color 0.45s var(--faq-ease);
}

.faq-item + .faq-item {
  margin-top: -1px;
}

.faq-item:first-child {
  border-top-left-radius: var(--faq-radius);
  border-top-right-radius: var(--faq-radius);
}

.faq-item:last-child {
  border-bottom-left-radius: var(--faq-radius);
  border-bottom-right-radius: var(--faq-radius);
}

/* Active tint lives on a pseudo-element so it can fade (gradients can't
   be transitioned directly). */
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, #FFECEE 0%, #FFF1F2 45%, #FFF7F7 100%);
  opacity: 0;
  transition: opacity 0.45s var(--faq-ease);
  pointer-events: none;
}

.faq-item.is-active {
  z-index: 1;
  border-color: rgba(237, 28, 36, 0.3);
}

.faq-item.is-active::before {
  opacity: 1;
}

.faq-question-heading {
  margin: 0;
  font: inherit;
}

.faq-question {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 32px);
  width: 100%;
  min-height: var(--faq-row-min-h);
  margin: 0;
  padding: var(--faq-row-pad-y) var(--faq-row-pad-x);
  border: 0;
  border-radius: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  color: var(--fraternal-navy);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.faq-item:first-child .faq-question {
  border-radius: var(--faq-radius) var(--faq-radius) 0 0;
}

.faq-question-text {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--faq-font-display);
  font-size: var(--font-h4);
  font-weight: 900;
  line-height: var(--line-height-h4);
  letter-spacing: -0.004em;
  word-spacing: 0.04em;
  color: var(--fraternal-navy);
  overflow-wrap: anywhere;
  transition: color 0.3s var(--faq-ease);
}

.faq-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--faq-icon-size);
  height: var(--faq-icon-size);
  color: var(--fraternal-navy);
  transition: color 0.35s var(--faq-ease), transform 0.45s var(--faq-ease);
}

.faq-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.faq-item.is-active .faq-icon {
  color: var(--fraternal-red);
  transform: rotate(180deg);
}

@media (hover: hover) {
  .faq-item:not(.is-active) .faq-question:hover .faq-question-text,
  .faq-item:not(.is-active) .faq-question:hover .faq-icon {
    color: var(--fraternal-blue);
  }
}

.faq-question:focus {
  outline: none;
}

.faq-question:focus-visible {
  outline: 2px solid var(--fraternal-blue);
  outline-offset: -6px;
}

/* Answer panel */
.faq-answer {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.faq-answer-inner {
  max-width: calc(1200px + var(--faq-row-pad-x) * 2);
  padding: 0 var(--faq-row-pad-x) 22px;
  margin-top: -6px;
}

.faq-answer-inner p {
  margin: 0;
  font-family: var(--faq-font-body);
  font-size: var(--font-body);
  font-weight: 500;
  line-height: var(--line-height-body);
  color: #263A59;
}

.faq-answer-inner p + p {
  margin-top: 0.75em;
}

/* With JS, collapsed answers start closed (no flash of open content).
   Without JS every answer stays visible and readable. */
.fc-js .faq-item:not(.is-active) .faq-answer {
  height: 0;
  visibility: hidden;
}

/* ---------- 5. Pre-animation state ----------
   Only while JS is running and before GSAP takes over; `fc-reveal`
   (added after 3s by the page) is a failsafe so content never stays hidden. */
.fc-js:not(.fc-faq-ready):not(.fc-reveal) .faq-section [data-faq-anim] {
  opacity: 0;
}

/* ---------- 6. Responsive ---------- */

/* Laptop: 1024–1439 */
@media (max-width: 1439px) {
  .faq-section {
    --faq-accordion-max: 1000px;
    --faq-eyebrow-size: var(--font-small);
    --faq-q-size: var(--font-h4);
    --faq-a-size: var(--font-body);
    --faq-row-min-h: 58px;
    --faq-row-pad-x: 28px;
    --faq-icon-size: 22px;
  }
}

/* iPad landscape: ≤1024 */
@media (max-width: 1024px) {
  .faq-section {
    --faq-accordion-max: 94%;
    --faq-eyebrow-size: var(--font-small);
    --faq-eyebrow-track: 3.5px;
    --faq-title-size: var(--font-h2);
    --faq-desc-size: var(--font-body);
    --faq-q-size: var(--font-h4);
    --faq-a-size: var(--font-body);
    --faq-row-min-h: 56px;
    --faq-row-pad-x: 26px;
    --faq-icon-size: 22px;
    --faq-radius: 18px;
  }
}

/* iPad portrait: ≤900 */
@media (max-width: 900px) {
  .faq-section {
    --faq-accordion-max: 93%;
    --faq-eyebrow-size: var(--font-small);
    --faq-eyebrow-track: 3px;
    --faq-title-size: var(--font-h2);
    --faq-desc-size: var(--font-body);
    --faq-q-size: var(--font-h4);
    --faq-a-size: var(--font-body);
    --faq-row-min-h: 54px;
    --faq-row-pad-x: 22px;
    --faq-row-pad-y: 12px;
    --faq-icon-size: 24px;
  }

  .faq-answer-inner {
    padding-bottom: 20px;
  }
}

/* Mobile: ≤767 */
@media (max-width: 767px) {
  .faq-section {
    --faq-accordion-max: 100%;
    --faq-eyebrow-size: var(--font-small);
    --faq-eyebrow-track: 2px;
    --faq-title-size: var(--font-h2);
    --faq-desc-size: var(--font-body);
    --faq-q-size: var(--font-h4);
    --faq-a-size: var(--font-body);
    --faq-row-min-h: 60px;
    --faq-row-pad-x: 18px;
    --faq-row-pad-y: 16px;
    --faq-icon-size: 22px;
    --faq-radius: 16px;
    --faq-pad-bottom: 84px;
  }

  .faq-eyebrow {
    gap: 12px;
  }

  .faq-line {
    width: 26px;
    height: 2px;
  }

  .faq-title-primary,
  .faq-title-accent {
    display: block;
  }

  .faq-question {
    align-items: flex-start;
  }

  .faq-question-text {
    letter-spacing: -0.005em;
  }

  /* keep the chevron optically centred on the first line of text */
  .faq-icon {
    margin-top: calc((var(--faq-q-size) * 1.35 - var(--faq-icon-size)) / 2);
  }

  .faq-answer-inner {
    margin-top: -4px;
    padding-bottom: 18px;
  }

  .faq-bg-curve {
    top: -260px;
    right: -300px;
    width: 460px;
    opacity: 0.7;
  }
}

@media (max-width: 374px) {
  .faq-section {
    --faq-row-pad-x: 16px;
    --faq-a-size: var(--font-body);
    --faq-desc-size: var(--font-body);
    --faq-eyebrow-size: var(--font-small);
  }
}

/* ---------- 7. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .faq-section *,
  .faq-section *::before,
  .faq-section *::after {
    transition-duration: 0.01ms !important;
  }

  .fc-js .faq-section [data-faq-anim] {
    opacity: 1 !important;
  }
}


/* === css/cta.css === */
/* ==========================================================================
   CTA SECTION — Fraternal Credit & Financial Services Ltd.
   All selectors are prefixed with `cta-` so they cannot clash with other
   sections. Edit the custom properties below to retheme.
   ========================================================================== */

.cta-section,
.cta-section *,
.cta-section *::before,
.cta-section *::after {
  box-sizing: border-box;
}

.cta-section {
  --cta-navy: var(--primary-color);
  --cta-navy-2: var(--primary-color);
  --cta-red: var(--secondary-color);
  --cta-red-dark: color-mix(in srgb, var(--secondary-color) 82%, #000000);
  --cta-sky: #eaf4ff;
  --cta-white: #ffffff;
  --cta-text: #596579;
  --cta-font-display: "Red Hat Display", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --cta-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;           /* prevents any horizontal overflow from decor */
  background:
    radial-gradient(ellipse 60% 70% at 8% 10%, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  font-family: var(--cta-font-body);
  color: var(--cta-text);
}

/* ---------- Decorative background ---------- */
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.cta-bg__circle {
  position: absolute;
  right: -6%;
  top: 14%;
  width: min(62vw, 980px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #e3f0ff 0%, var(--cta-sky) 55%, #e2eefc 100%);
  opacity: 0.95;
  will-change: transform;
}

.cta-bg__wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(70px, 11vw, 170px);
  display: block;
}

.cta-bg__wave path {
  fill: var(--cta-sky);
  opacity: 0.8;
}

/* ---------- Layout ---------- */
.cta-container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3vw, 64px);
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 128px) clamp(24px, 5.2vw, 100px);
  min-height: clamp(420px, 40vw, 640px);
}

/* ---------- Content ---------- */
.cta-content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.cta-heading {
  margin: 0;
  font-family: var(--cta-font-display);
  font-size: var(--font-h2); /* matches gold-loan-highlight title */
  font-weight: 800;
  line-height: var(--line-height-h2);
  letter-spacing: -0.02em;
  color: var(--cta-navy);
  white-space: nowrap;        /* one line on desktop; relaxed below */
}

.cta-underline {
  display: block;
  width: clamp(72px, 9.6vw, 170px);
  height: 4px;
  margin: clamp(18px, 2.4vw, 34px) 0 clamp(20px, 2.6vw, 38px);
  border-radius: 4px;
  background: var(--cta-red);
  transform-origin: left center;
}

.cta-description {
  max-width: 700px;
  margin: 0 0 clamp(28px, 3.4vw, 54px);
  font-size: var(--font-body);
  font-weight: 500;
  line-height: var(--line-height-body);
  color: var(--cta-text);
}

/* ---------- Button ---------- */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: clamp(240px, 21vw, 400px);
  min-height: clamp(56px, 3.9vw, 74px);
  padding: 0 clamp(26px, 2.2vw, 46px);
  border: 2px solid var(--cta-red);
  border-radius: 12px;
  background: var(--cta-red);
  color: var(--cta-white);
  font-family: var(--cta-font-display);
  font-size: var(--font-btn);
  font-weight: 700;
  line-height: var(--line-height-btn);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 26px -12px rgba(227, 30, 38, 0.6);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, background-color 0.35s ease, border-color 0.35s ease;
  -webkit-tap-highlight-color: transparent;
}

.cta-button__icon {
  width: 22px;
  height: 22px;
  flex: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-3px);
  background: var(--cta-red-dark);
  border-color: var(--cta-red-dark);
  box-shadow: 0 18px 32px -14px rgba(195, 20, 27, 0.65);
}

.cta-button:hover .cta-button__icon,
.cta-button:focus-visible .cta-button__icon {
  transform: translateX(6px);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button:focus-visible {
  outline: 3px solid var(--cta-navy-2);
  outline-offset: 4px;
}

/* ---------- Vehicle visual ---------- */
.cta-visual {
  position: relative;
  z-index: 1;
  margin: 0;
  min-width: 0;
  justify-self: end;
  width: 100%;
  max-width: 860px;
}

/* Soft ground shadow so the vehicles feel planted */
.cta-visual::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 2%;
  bottom: 3%;
  height: 9%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(11, 52, 116, 0.28) 0%, rgba(11, 52, 116, 0) 70%);
  filter: blur(6px);
}

.cta-visual__img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  will-change: transform;
}

/* ---------- Animation pre-hide (only while JS runs) ----------
   GSAP sets inline styles, which override these rules. The `fc-reveal`
   class (added after 3 s by the page) is a no-JS-failure safety net. */
.fc-js .cta-section [data-cta-anim] { opacity: 0; }
.fc-js .cta-section [data-cta-anim="underline"] { transform: scaleX(0); }
.fc-reveal .cta-section [data-cta-anim] { opacity: 1; }
.fc-reveal .cta-section [data-cta-anim="underline"] { transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Laptop / iPad landscape */
@media (max-width: 1366px) {
  .cta-container { gap: 20px; }
  .cta-visual { max-width: 700px; }
}

@media (max-width: 1100px) {
  .cta-heading { font-size: var(--font-h2); }
  .cta-description { max-width: 440px; }
  .cta-bg__circle { width: 66vw; right: -10%; }
}

/* iPad portrait & below: stacked, centred */
@media (max-width: 899px) {
  .cta-container {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 36px;
    padding: 56px 28px 72px;
    min-height: 0;
    text-align: center;
  }

  .cta-heading { white-space: normal; font-size: var(--font-h2); }
  .cta-underline { margin-left: auto; margin-right: auto; transform-origin: center; width: 90px; }
  .cta-description { margin-left: auto; margin-right: auto; max-width: 560px; font-size: var(--font-body); }
  .cta-button { font-size: var(--font-btn); }

  .cta-visual { justify-self: center; max-width: 640px; }

  .cta-bg__circle {
    width: 105vw;
    right: -25%;
    top: auto;
    bottom: -8%;
  }
}

/* Mobile */
@media (max-width: 599px) {
  .cta-container { padding: 44px 20px 60px; gap: 28px; }
  .cta-heading { font-size: var(--font-h2); }
  .cta-description { font-size: var(--font-body); line-height: var(--line-height-body); }
  .cta-button { width: 100%; min-width: 0; max-width: 320px; min-height: 56px; font-size: var(--font-btn); }
  .cta-visual { max-width: 100%; }
  .cta-bg__circle { width: 130vw; right: -35%; bottom: 4%; opacity: 0.8; }
  .cta-bg__wave { height: 60px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .cta-button,
  .cta-button__icon { transition: none; }
  .fc-js .cta-section [data-cta-anim] { opacity: 1; }
  .fc-js .cta-section [data-cta-anim="underline"] { transform: none; }
}


/* === css/footer.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Site Footer
   File: css/footer.css
   Scope: .footer-section (all tokens and rules are namespaced)
   ========================================================================== */

/* ---------- 1. Design tokens (scoped) ---------- */
.footer-section {
  --fraternal-navy: var(--primary-color);
  --fraternal-deep-navy: color-mix(in srgb, var(--primary-color) 72%, #000000);
  --fraternal-blue: #0755B8;
  --fraternal-light-blue: #287DCB;

  --fraternal-red: var(--secondary-color);
  --fraternal-dark-red: color-mix(in srgb, var(--secondary-color) 82%, #000000);

  --fraternal-white: #FFFFFF;
  --fraternal-muted: #D7E2F2;
  --fraternal-border: rgba(70, 145, 220, 0.35);

  --ft-font-display: "Red Hat Display", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ft-font-body: "Red Hat Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ft-font-brand: "Source Serif 4", Georgia, "Times New Roman", serif;

  --ft-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ft-focus: 0 0 0 2px var(--fraternal-deep-navy), 0 0 0 4px #5AA8F0;

  /* layout */
  --ft-gutter: clamp(16px, 3.2vw, 48px);
  --ft-pad-top: clamp(60px, 7.5vw, 110px);
  --ft-col-offset: clamp(0px, 2.5vw, 36px);
  --ft-col-gap: clamp(16px, 2vw, 30px);
  --ft-wave-h: clamp(120px, 15vw, 220px);

  /* type */
  --ft-title-size: var(--font-h3);
  --ft-link-size: var(--font-footer);
  --ft-desc-size: var(--font-footer);
  --ft-contact-size: var(--font-footer);
  --ft-copy-size: var(--font-small);
  --ft-name-size: var(--font-h3);

  /* components */
  --ft-social-size: 40px;
  --ft-contact-icon: 38px;
  --ft-link-gap: 13px;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  font-family: var(--ft-font-body);
  color: var(--fraternal-white);
  background:
    radial-gradient(ellipse at 75% 0%, rgba(12, 74, 145, 0.55), transparent 48%),
    radial-gradient(ellipse at 12% 55%, rgba(10, 56, 118, 0.35), transparent 45%),
    linear-gradient(120deg, #061A38 0%, #082B58 48%, #03152F 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.footer-section *,
.footer-section *::before,
.footer-section *::after {
  box-sizing: border-box;
}

.footer-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-section a {
  color: inherit;
  text-decoration: none;
}

.footer-section a:focus-visible {
  outline: none;
  box-shadow: var(--ft-focus);
  border-radius: 6px;
}

.footer-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 2. Decorations ---------- */
.footer-decoration-top,
.footer-decoration-waves {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.footer-decoration-top svg,
.footer-decoration-waves svg {
  position: absolute;
  display: block;
  overflow: visible;
}

/* A. top-left red accent */
.footer-corner-accent {
  top: 0;
  left: 0;
  width: clamp(160px, 20vw, 340px);
  height: auto;
  transform-origin: 0 0;
}

/* B. top-right line pattern */
.footer-decoration-pattern {
  top: 0;
  right: 0;
  width: clamp(260px, 34vw, 640px);
  height: auto;
  opacity: 0.85;
  transform-origin: 100% 0;
}

/* C. bottom waves */
.footer-waves-svg {
  left: -2%;
  bottom: 0;
  width: 104%;
  height: var(--ft-wave-h);
}

.footer-blue-wave,
.footer-red-wave {
  transform-box: fill-box;
}

/* ---------- 3. Container + grid ---------- */
.footer-container {
  position: relative;
  z-index: 2;
  width: min(100% - 2 * var(--ft-gutter), 1480px);
  margin-inline: auto;
  padding-top: var(--ft-pad-top);
}

.footer-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.42fr)
    1px
    minmax(0, 0.84fr)
    1px
    minmax(0, 1.12fr)
    1px
    minmax(0, 0.96fr)
    1px
    minmax(0, 1.32fr);
  grid-template-areas: "brand sep1 quick sep2 services sep3 legal sep4 contact";
  column-gap: var(--ft-col-gap);
  align-items: start;
}

.footer-brand { grid-area: brand; }
.footer-separator--1 { grid-area: sep1; }
.footer-column--quick { grid-area: quick; }
.footer-separator--2 { grid-area: sep2; }
.footer-column--services { grid-area: services; }
.footer-separator--3 { grid-area: sep3; }
.footer-column--legal { grid-area: legal; }
.footer-separator--4 { grid-area: sep4; }
.footer-contact { grid-area: contact; }

/* vertical separators */
.footer-separator {
  display: block;
  width: 1px;
  height: clamp(200px, 18vw, 260px);
  margin-top: var(--ft-col-offset);
  background: linear-gradient(180deg, rgba(70, 145, 220, 0) 0%, var(--fraternal-border) 14%, var(--fraternal-border) 86%, rgba(70, 145, 220, 0) 100%);
  opacity: 0.6;
  transform-origin: 50% 0;
}

/* ---------- 4. Branding ---------- */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo-mark {
  display: block;
  width: auto;
  height: clamp(48px, 4.2vw, 56px);
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.footer-company-name {
  display: block;
  margin: 14px 0 0;
  font-family: var(--ft-font-brand);
  font-size: var(--font-h3);
  font-weight: 700;
  line-height: var(--line-height-h3);
  letter-spacing: -0.012em;
  color: var(--fraternal-white);
}

.footer-name-line {
  display: block;
  white-space: nowrap;
}

.footer-description {
  max-width: 32ch;
  margin: 14px 0 0;
  font-size: var(--ft-desc-size);
  font-weight: 400;
  line-height: 1.55;
  color: var(--fraternal-muted);
}

@media (min-width: 1440px) {
  .footer-description { max-width: 30ch; }
}

/* social icons */
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px !important;
}

.footer-social-link {
  display: grid;
  place-items: center;
  width: var(--ft-social-size);
  height: var(--ft-social-size);
  border-radius: 50%;
  color: var(--fraternal-white);
  background: radial-gradient(circle at 35% 30%, #1a529e 0%, #0d346b 65%, #08234c 100%);
  border: 1px solid rgba(80, 160, 240, 0.38);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.35s var(--ft-ease), background 0.35s var(--ft-ease), border-color 0.35s var(--ft-ease), box-shadow 0.35s var(--ft-ease);
}

.footer-social-link svg,
.footer-social-link i {
  width: 44%;
  height: 44%;
  display: grid;
  place-items: center;
  font-style: normal;
  transition: transform 0.35s var(--ft-ease);
}

.footer-social-link i svg {
  width: 100%;
  height: 100%;
}

.footer-section .footer-social-link:focus-visible {
  border-radius: 50%;
}

/* ---------- 5. Link columns ---------- */
.footer-column {
  min-width: 0;
  padding-top: var(--ft-col-offset);
}

.footer-column-title {
  margin: 0;
  font-family: var(--ft-font-display);
  font-size: var(--font-h3);
  font-weight: 700;
  line-height: var(--line-height-h3);
  letter-spacing: -0.01em;
  color: var(--fraternal-white);
}

.footer-title-underline {
  display: block;
  width: 38px;
  height: 3px;
  margin: 10px 0 20px;
  border-radius: 2px;
  background: var(--fraternal-red);
  transform-origin: 0 50%;
}

.footer-links {
  display: grid;
  gap: var(--ft-link-gap);
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-nav);
  font-weight: 400;
  line-height: var(--line-height-nav);
  color: var(--fraternal-white);
  transition: color 0.3s var(--ft-ease);
}

.footer-link-chevron {
  flex: none;
  display: inline-block;
  font-size: var(--font-nav);
  line-height: var(--line-height-nav);
  color: var(--fraternal-white);
  transition: transform 0.3s var(--ft-ease), color 0.3s var(--ft-ease);
}

/* ---------- 6. Contact ---------- */
.footer-contact-list {
  display: grid;
  gap: 16px;
  font-style: normal;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.footer-contact-item--address {
  align-items: flex-start;
}

.footer-contact-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: var(--ft-contact-icon);
  height: var(--ft-contact-icon);
  border-radius: 8px;
  color: var(--fraternal-white);
  background: linear-gradient(145deg, #b81424 0%, #900d1a 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: background 0.35s var(--ft-ease), box-shadow 0.35s var(--ft-ease), transform 0.35s var(--ft-ease);
}

.footer-contact-icon i {
  width: 46%;
  height: 46%;
  display: grid;
  place-items: center;
  font-style: normal;
}

.footer-contact-icon i svg {
  width: 100%;
  height: 100%;
}

.footer-contact-icon svg {
  width: 48%;
  height: 48%;
  transition: transform 0.35s var(--ft-ease);
}

.footer-contact-text {
  min-width: 0;
  font-size: var(--ft-contact-size);
  font-weight: 400;
  line-height: 1.45;
  color: var(--fraternal-white);
  overflow-wrap: anywhere;
  transition: color 0.3s var(--ft-ease);
}

.footer-address-line {
  display: block;
  white-space: nowrap;
}

.footer-contact-item--address .footer-contact-text {
  font-size: calc(var(--ft-contact-size) - 1px);
  padding-top: 1px;
}

/* ---------- 7. Copyright ---------- */
.footer-bottom {
  position: relative;
  z-index: 2;
  margin-top: clamp(36px, 4.8vw, 68px);
  padding-bottom: calc(var(--ft-wave-h) * 0.58);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(70, 145, 220, 0.15) 0%, rgba(70, 145, 220, 0.55) 22%, rgba(90, 168, 240, 0.7) 50%, rgba(70, 145, 220, 0.55) 78%, rgba(70, 145, 220, 0.15) 100%);
  opacity: 0.75;
  transform-origin: 0 50%;
}

.footer-copyright {
  margin: 20px auto 0;
  max-width: 64ch;
  font-size: var(--font-small);
  font-weight: 400;
  line-height: var(--line-height-small);
  text-align: center;
  color: var(--fraternal-muted);
  text-wrap: balance;
}

/* ---------- 8. Hover (pointer devices only) ---------- */
@media (hover: hover) {
  .footer-social-link:hover {
    transform: translateY(-3px);
    background: radial-gradient(circle at 35% 30%, #2F86E0 0%, #0755B8 70%, #064A9F 100%);
    border-color: rgba(120, 185, 245, 0.7);
    box-shadow: 0 8px 18px rgba(7, 85, 184, 0.4);
  }

  .footer-social-link:hover svg,
  .footer-social-link:hover i {
    transform: scale(1.1);
  }

  .footer-link:hover {
    color: #6FB4F5;
  }

  .footer-link:hover .footer-link-chevron {
    transform: translateX(3px);
    color: var(--fraternal-red);
  }

  .footer-contact-item:hover .footer-contact-icon {
    background: linear-gradient(145deg, #d41829 0%, #aa0f1d 100%);
    box-shadow: 0 8px 18px rgba(237, 28, 36, 0.35);
    transform: translateY(-2px);
  }

  .footer-contact-item:hover .footer-contact-icon svg {
    transform: scale(1.1);
  }

  .footer-contact-item:hover .footer-contact-text {
    color: #6FB4F5;
  }
}

/* ---------- 9. JS-enhanced initial state ---------- */
.fc-js:not(.fc-footer-ready):not(.fc-reveal) .footer-section [data-footer-anim] {
  opacity: 0;
}

/* ==========================================================================
   10. Responsive
   ========================================================================== */

/* Laptop / iPad landscape — 1024px to 1365px */
@media (max-width: 1365px) {
  .footer-section {
    --ft-col-offset: 16px;
    --ft-title-size: var(--font-h3);
    --ft-link-size: var(--font-footer);
    --ft-desc-size: var(--font-footer);
    --ft-contact-size: var(--font-footer);
    --ft-name-size: var(--font-h3);
    --ft-social-size: 38px;
    --ft-contact-icon: 36px;
    --ft-link-gap: 11px;
  }

  .footer-grid {
    grid-template-columns:
      minmax(0, 1.3fr)
      1px
      minmax(0, 0.8fr)
      1px
      minmax(0, 1fr)
      1px
      minmax(0, 0.9fr);
    grid-template-areas:
      "brand sep1 quick sep2 services sep3 legal"
      "brand sep1 contact contact contact contact contact";
    row-gap: 28px;
  }

  .footer-separator--4 {
    display: none;
  }

  .footer-contact {
    padding-top: 24px;
    border-top: 1px solid rgba(70, 145, 220, 0.22);
  }

  .footer-contact-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: space-between;
    column-gap: 20px;
  }

  .footer-decoration-pattern {
    width: clamp(240px, 28vw, 400px);
    opacity: 0.55;
  }
}

/* iPad portrait — 768px to 1023px: two-column grid */
@media (max-width: 1023px) {
  .footer-section {
    --ft-col-offset: 0px;
    --ft-title-size: var(--font-h3);
    --ft-link-size: var(--font-footer);
    --ft-desc-size: var(--font-footer);
    --ft-contact-size: var(--font-footer);
    --ft-name-size: var(--font-h3);
    --ft-wave-h: 120px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "brand contact"
      "sep1 sep1"
      "quick services"
      "legal legal";
    column-gap: 36px;
    row-gap: 30px;
  }

  .footer-separator--1 {
    grid-area: sep1;
    display: block;
    width: 100%;
    height: 1px;
    margin: 0;
    background: linear-gradient(90deg, rgba(70, 145, 220, 0) 0%, var(--fraternal-border) 15%, var(--fraternal-border) 85%, rgba(70, 145, 220, 0) 100%);
    opacity: 0.45;
    transform-origin: 0 50%;
  }

  .footer-separator--2,
  .footer-separator--3,
  .footer-separator--4 {
    display: none;
  }

  .footer-contact {
    padding-top: 0;
    border-top: 0;
  }

  .footer-contact-list {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .footer-corner-accent { opacity: 0.85; }
  .footer-decoration-pattern { opacity: 0.55; }
}

/* Mobile — up to 767px */
@media (max-width: 767px) {
  .footer-section {
    --ft-gutter: 20px;
    --ft-pad-top: 64px;
    --ft-title-size: var(--font-h3);
    --ft-link-size: var(--font-footer);
    --ft-desc-size: var(--font-footer);
    --ft-contact-size: var(--font-footer);
    --ft-name-size: var(--font-h3);
    --ft-social-size: 38px;
    --ft-contact-icon: 36px;
    --ft-link-gap: 10px;
    --ft-wave-h: 100px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "brand brand"
      "sep1 sep1"
      "quick services"
      "legal legal"
      "contact contact";
    column-gap: 20px;
    row-gap: 26px;
  }

  .footer-separator--1 {
    grid-area: sep1;
    display: block;
    width: 100%;
    height: 1px;
    margin: 0;
    background: linear-gradient(90deg, rgba(70, 145, 220, 0) 0%, var(--fraternal-border) 15%, var(--fraternal-border) 85%, rgba(70, 145, 220, 0) 100%);
  }

  .footer-separator--2,
  .footer-separator--3,
  .footer-separator--4 {
    display: none;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-description {
    max-width: 36ch;
    margin-inline: auto;
  }

  .footer-socials {
    justify-content: center;
    gap: 10px;
    margin-top: 18px !important;
  }

  .footer-title-underline {
    width: 32px;
    height: 2.5px;
    margin: 8px 0 16px;
  }

  .footer-link { gap: 8px; }
  .footer-contact-list { gap: 14px; }

  .footer-bottom { margin-top: 30px; }

  .footer-corner-accent { width: 140px; }
  .footer-decoration-pattern { width: 240px; opacity: 0.45; }
}

/* Small phones — single column */
@media (max-width: 359px) {
  .footer-section {
    --ft-gutter: 16px;
    --ft-name-size: var(--font-h3);
  }

  .footer-address-line { white-space: normal; }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "brand"
      "sep1"
      "quick"
      "services"
      "legal"
      "contact";
  }
}

/* ---------- 11. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .footer-section *,
  .footer-section *::before,
  .footer-section *::after {
    transition-duration: 0.01ms !important;
  }
}


/* === css/about-us-page.css === */
/* About Us page — page-level additions only (section styles live in their own files) */



/* "View All Directors" button below the shortened directors grid */
.directors-section .directors-more {
  display: flex; justify-content: center;
  margin-top: clamp(32px, 4vw, 52px);
}
.directors-section .directors-more-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 32px; border-radius: 12px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--secondary-color) 82%, #000000) 0%, var(--secondary-color) 60%, color-mix(in srgb, var(--secondary-color) 82%, #000000) 100%);
  box-shadow: 0 12px 26px rgba(237, 28, 36, .30), inset 0 1px 0 rgba(255, 255, 255, .18);
  font-family: var(--dr-font-display);
  font-size: var(--font-btn); font-weight: 700; line-height: var(--line-height-btn);
  color: #fff; text-decoration: none;
  transition: transform .35s ease, background .35s ease, box-shadow .35s ease;
}
.directors-section .directors-more-btn svg { width: 1.2em; height: 1.2em; flex: none; transition: transform .35s ease; }
.directors-section .directors-more-btn:hover,
.directors-section .directors-more-btn:focus-visible {
  background: var(--dr-navy); transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(11, 52, 127, .28);
}
.directors-section .directors-more-btn:hover svg { transform: translateX(4px); }
.directors-section .directors-more-btn:focus-visible { outline: 3px solid var(--dr-blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .directors-section .directors-more-btn, .directors-section .directors-more-btn svg { transition: none; }
}


/* === css/contact-us-page.css === */
/* Contact Us page — page-level additions only (section styles live in their own files) */




/* Breadcrumb shown above the banner label: Home / Contact Us */
.fraternal-inner-banner .contact-breadcrumb { margin: 0 0 14px; font-family: "Red Hat Display", "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif; }
.fraternal-inner-banner .contact-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: clamp(14px, 1vw, 16px); font-weight: 600; color: #475569; }
.fraternal-inner-banner .contact-breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--secondary-color); }
.fraternal-inner-banner .contact-breadcrumb a { color: var(--primary-color); text-decoration: none; transition: color .25s ease; }
.fraternal-inner-banner .contact-breadcrumb a:hover,
.fraternal-inner-banner .contact-breadcrumb a:focus-visible { color: var(--secondary-color); }
.fraternal-inner-banner .contact-breadcrumb [aria-current="page"] { color: var(--secondary-color); }

/* Contact form states */
.fc-get-in-touch .fcgit__success.is-pending { background: #FFF8E6; border-color: #F2D48A; color: #6B4E00; }
.fc-get-in-touch .fcgit__success.is-error { background: #FFF0F2; border-color: #F5B3BB; color: #B3121A; }
.fc-get-in-touch .fcgit__btn:disabled { opacity: .7; cursor: progress; transform: none; }

/* Guard against horizontal overflow from decorative layers */
#main-content { overflow-x: clip; }


/* === css/vehicle-loans-page.css === */
/* ==========================================================================
   Fraternal Credit & Financial Services Ltd. — Vehicle Loans page
   File: css/vehicle-loans-page.css
   Loaded LAST on vehicle-loans-page.html. Contains only the small
   page-level adjustments needed to reuse the shared sections for this page.
   No section stylesheet is modified; every rule is scoped to a section class.
   ========================================================================== */

/* ---------- Page base (same as index.html) ---------- */




/* ---------- Inner banner: breadcrumb (reuses the banner label style) ---------- */
.fraternal-inner-banner__breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}
.fraternal-inner-banner__breadcrumb a:hover,
.fraternal-inner-banner__breadcrumb a:focus-visible {
  color: var(--ib-red);
}
.fraternal-inner-banner__breadcrumb a:focus-visible {
  outline: 2px solid var(--ib-red);
  outline-offset: 3px;
  border-radius: 2px;
}
.fraternal-inner-banner__crumb-sep {
  margin-inline: 0.7em;
  color: var(--ib-red);
}

/* Vehicle composition is wider than tall: keep the vehicles in frame */
.page-vehicle-loans .fraternal-inner-banner__image {
  object-fit: contain;
  object-position: center bottom;
}

/* ---------- Vehicle Loan Categories: three cards instead of four ---------- */
@media (min-width: 1200px) {
  .services-section--vehicle .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1280px;
    margin-inline: auto;
  }
}
/* Two-column layout: centre the odd third card on its own row */
@media (min-width: 768px) and (max-width: 1199px) {
  .services-section--vehicle .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - var(--svc-gap) / 2);
  }
}

/* ---------- Interest rates: disclaimer line under the table ---------- */
.interest-comparison-note {
  margin: calc(clamp(26px, 2.8vw, 52px) * -0.45) 0 0;
  max-width: 34em;
  text-align: center;
  font-family: var(--ic-font);
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.55;
  color: var(--ic-text);
}

/* ---------- CTA: longer heading + two buttons ---------- */
.page-vehicle-loans .cta-section .cta-heading {
  white-space: normal;
  max-width: 17ch;
  text-wrap: balance;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cta-actions .cta-button {
  min-width: clamp(190px, 15vw, 290px);
}
.cta-button--outline {
  background: transparent;
  color: var(--cta-navy);
  border-color: var(--cta-navy);
  box-shadow: none;
}
.cta-button--outline:hover,
.cta-button--outline:focus-visible {
  background: var(--cta-navy);
  border-color: var(--cta-navy);
  color: var(--cta-white);
  box-shadow: 0 18px 32px -14px rgba(11, 52, 116, 0.55);
}
@media (max-width: 899px) {
  .page-vehicle-loans .cta-section .cta-heading { max-width: 22ch; margin-inline: auto; }
  .cta-actions { justify-content: center; }
}
@media (max-width: 599px) {
  .cta-actions { flex-direction: column; align-items: center; width: 100%; }
  .cta-actions .cta-button { width: 100%; }
}
