/* HOMEPAGE — Cards Showcase, Branch Locator, Digital Banking
   (gold var(--gold) · dark var(--dark) · Inter) */

/* Cards showcase */
.cards-section {
  padding: 100px 0;
  background: linear-gradient(160deg, #ffffff 0%, #faf9f7 50%, #f7f7f5 100%);
  position: relative;
  overflow: hidden;
}

.cards-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.cards-section::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 184, 19, 0.1) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  pointer-events: none;
}

.cards-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 64px;
  position: relative;
  z-index: 2;
}

.cards-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
}

.cards-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.cards-headline {
  font-family: "Inter", sans-serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cards-headline em {
  font-style: normal;
  color: var(--gold);
}

.cards-topbar-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.cards-topbar-sub {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 320px;
  text-align: right;
}

.btn-cards-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1a1200;
  text-decoration: none;
  background: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 8px;
  padding: 10px 20px;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-cards-all:hover {
  background: #f5a800;
  border-color: #f5a800;
  gap: 11px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.card-tile {
  background: linear-gradient(160deg, #ffffff 0%, #fcfcfb 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease,
    border-color 0.25s;
  position: relative;
}

.card-tile:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 21px 45px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(253, 184, 19, 0.25);
  border-color: rgba(253, 184, 19, 0.3);
}

.ct-visual {
  height: 200px;
  position: relative;
  perspective: 800px;
  overflow: hidden;
}

.ct-card-wrap {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
  position: relative;
}

.card-tile:hover .ct-card-wrap {
  transform: rotateY(-6deg) rotateX(3deg) scale(1.04);
}

.ct-card-img {
  width: 85%;
  height: 85%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  overflow: hidden;
}

.ct-card-img svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ct-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: translateX(-200%);
  animation: ctShimmer 4s ease-in-out infinite;
  pointer-events: none;
  border-radius: 14px;
}

@keyframes ctShimmer {
  0% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(300%);
  }
}

.ct-reflection {
  position: absolute;
  bottom: -10px;
  left: 10%;
  right: 10%;
  height: 20px;
  background: radial-gradient(ellipse, rgba(253, 184, 19, 0.15) 0%, transparent 80%);
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s;
}

.card-tile:hover .ct-reflection {
  opacity: 1;
}

.ct-info {
  padding: 20px 20px 24px;
}

.ct-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.ct-badge.mc {
  background: rgba(0, 0, 0, 0.06);
  color: #6b6b6b;
}

.ct-badge.verve {
  background: rgba(253, 184, 19, 0.15);
  color: var(--gold);
}

.ct-name {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.2;
}

.ct-sub {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 16px;
}

.ct-perks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.ct-perk {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: #4a4a4a;
}

.ct-perk::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.ct-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ct-cta-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}

.ct-cta-link:hover {
  gap: 8px;
}

.ct-tag {
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Branch locator */
.branch-section {
  background: linear-gradient(135deg, #fdb813 0%, #f5a800 50%, #e79a00 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.branch-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(253, 184, 19, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.branch-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.branch-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 18, 0, 0.7);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.branch-eyebrow span {
  display: block;
  width: 20px;
  height: 1px;
  background: rgba(26, 18, 0, 0.55);
  opacity: 0.5;
}

.branch-left h2 {
  font-family: "Inter", sans-serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 800;
  color: #1a1200;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.branch-left h2 em {
  font-style: normal;
  color: #fff;
}

.branch-left p {
  font-size: 15px;
  color: rgba(26, 18, 0, 0.68);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 420px;
}

.branch-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
}

.branch-stat-num {
  font-family: "Inter", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #1a1200;
  line-height: 1;
  margin-bottom: 4px;
}

.branch-stat-num em {
  font-style: normal;
  color: #1a1200;
}

.branch-stat-lbl {
  font-size: 11.5px;
  color: #1a1200;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.branch-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* inverted CTAs so they read on the gold band:
   primary = black bg / white text, secondary = white bg / black text */
.branch-cta-row .btn-gold {
  background: #1a1200;
  color: #fff;
  box-shadow: 0 3px 11px rgba(26, 18, 0, 0.12);
}

.branch-cta-row .btn-gold:hover {
  background: #000;
  box-shadow: 0 5px 17px rgba(26, 18, 0, 0.12);
}

.branch-cta-row .btn-ghost-white {
  border-color: rgba(26, 18, 0, 0.15);
  background: #fff;
  color: #1a1200;
}

.branch-cta-row .btn-ghost-white:hover {
  border-color: #1a1200;
  background: #fff;
}

.branch-right {
  position: relative;
}

.branch-map-card {
  background: #ffffff;
  border: 1px solid rgba(26, 18, 0, 0.08);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 13px 35px rgba(26, 18, 0, 0.1);
}

.branch-map-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.branch-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.branch-map-title {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(26, 18, 0, 0.8);
  letter-spacing: 0.04em;
}

.branch-map-pill {
  font-size: 10px;
  font-weight: 700;
  background: rgba(253, 184, 19, 0.2);
  color: #a06f00;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.branch-map-visual {
  background: #fff8e7 url("../../images/map.jpeg") center / cover no-repeat;
  border-radius: 12px;
  height: 220px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(26, 18, 0, 0.06);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.branch-map-grid {
  position: absolute;
  inset: 0;
  background: rgba(26, 18, 0, 0.12);
}

.branch-map-pins {
  position: absolute;
  inset: 0;
}

.branch-pin {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(253, 184, 19, 0.15), 0 0 0 8px rgba(253, 184, 19, 0.06);
  animation: pinPulse 2.5s ease-in-out infinite;
}

.branch-pin:nth-child(2) {
  animation-delay: 0.4s;
  width: 8px;
  height: 8px;
  background: rgba(253, 184, 19, 0.6);
}

.branch-pin:nth-child(3) {
  animation-delay: 0.8s;
  width: 9px;
  height: 9px;
  background: rgba(253, 184, 19, 0.8);
}

.branch-pin:nth-child(4) {
  animation-delay: 1.2s;
  width: 7px;
  height: 7px;
  background: rgba(253, 184, 19, 0.5);
}

.branch-pin:nth-child(5) {
  animation-delay: 1.6s;
  width: 11px;
  height: 11px;
}

.branch-pin:nth-child(6) {
  animation-delay: 0.2s;
  width: 8px;
  height: 8px;
  background: rgba(253, 184, 19, 0.7);
}

@keyframes pinPulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(253, 184, 19, 0.2), 0 0 0 6px rgba(253, 184, 19, 0.08);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(253, 184, 19, 0.3), 0 0 0 12px rgba(253, 184, 19, 0.1);
  }
}

.branch-map-center-tag {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(214, 155, 0, 0.4);
  padding: 10px 20px;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #a06f00;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

.branch-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.branch-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(26, 18, 0, 0.02);
  border: 1px solid rgba(26, 18, 0, 0.07);
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
}

.branch-list-item:hover {
  border-color: rgba(253, 184, 19, 0.5);
  background: rgba(253, 184, 19, 0.08);
}

.branch-list-ico {
  width: 32px;
  height: 32px;
  background: rgba(253, 184, 19, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.branch-list-ico svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.branch-list-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(26, 18, 0, 0.8);
  flex: 1;
}

.branch-list-tag {
  font-size: 10px;
  color: rgba(26, 18, 0, 0.45);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Digital banking */
.dbs-section {
  background: linear-gradient(160deg, #ffffff 0%, #f9f9f8 40%, #f7f7f5 100%);
  padding: 90px 80px;
  position: relative;
  overflow: hidden;
}

.dbs-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 10% 20%, rgba(100, 150, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(253, 184, 19, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.dbs-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.dbs-header {
  text-align: center;
  margin-bottom: 56px;
}

.dbs-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dbs-eyebrow span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.dbs-header h2 {
  font-family: "Inter", sans-serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 16px;
}

.dbs-header h2 em {
  font-style: normal;
  color: var(--gold);
}

.dbs-header p {
  font-size: 15px;
  color: var(--gray);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

.dbs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.dbs-tile {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.02);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.dbs-tile:hover {
  border-color: rgba(253, 184, 19, 0.3);
  background: var(--gold-pale);
  transform: translateY(-3px);
}

.dbs-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(253, 184, 19, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.dbs-tile:hover::before {
  opacity: 1;
}

.dbs-tile-ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(253, 184, 19, 0.08);
  border: 1px solid rgba(253, 184, 19, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.2s, border-color 0.2s;
}

.dbs-tile:hover .dbs-tile-ico {
  background: rgba(253, 184, 19, 0.15);
  border-color: rgba(253, 184, 19, 0.3);
}

.dbs-tile-ico svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.dbs-tile-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.35);
  margin-bottom: 8px;
}

.dbs-tile-name {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.dbs-tile-desc {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 22px;
}

.dbs-tile-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 26px;
}

.dbs-tile-feat {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: #4a4a4a;
}

.dbs-tile-feat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  opacity: 0.7;
}

.dbs-tile-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.dbs-tile-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.03em;
  transition: gap 0.2s;
}

.dbs-tile-link:hover {
  gap: 8px;
}

.dbs-tile-pill {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dbs-tile-pill.live {
  background: rgba(100, 220, 100, 0.1);
  color: #3fae3f;
  border: 1px solid rgba(100, 220, 100, 0.2);
}

.dbs-tile-pill.new {
  background: rgba(253, 184, 19, 0.12);
  color: var(--gold);
  border: 1px solid rgba(253, 184, 19, 0.25);
}

.dbs-cta-banner {
  background: linear-gradient(
    135deg,
    rgba(253, 184, 19, 0.1) 0%,
    rgba(253, 184, 19, 0.05) 50%,
    rgba(100, 150, 255, 0.07) 100%
  );
  border: 1px solid rgba(253, 184, 19, 0.2);
  border-radius: 18px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.dbs-cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(253, 184, 19, 0.4), transparent);
}

.dbs-cta-text h3 {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.dbs-cta-text p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.6;
}

.dbs-cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1100px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .cards-topbar-right {
    align-items: flex-start;
  }

  .cards-topbar-sub {
    text-align: left;
  }

  .branch-inner,
  .dbs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .branch-inner {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .cards-section {
    padding: 60px 0;
  }

  .cards-inner {
    padding: 0 24px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .branch-section {
    padding: 60px 0;
  }

  .dbs-section {
    padding: 60px 24px;
  }

  .branch-inner {
    padding: 0 24px;
  }

  .branch-inner,
  .dbs-grid {
    grid-template-columns: 1fr;
  }

  .branch-stats {
    gap: 20px;
  }

  .dbs-cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .dbs-cta-actions {
    justify-content: center;
  }
}
