/* DIASPORA BANKING — hero stat strip, about split, reason grid,
   account cards, service cards, 4-step flow and testimonial
   (gold #fdb813 · dark #1a1200 · Montserrat + Inter) */

/* Hero */
.dp-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.dp-hero-photo {
  border-radius: 20px;
  overflow: hidden;
  /* Matches the source photo's wide crop (1248 × 650) */
  aspect-ratio: 16 / 10;
}

.dp-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Stat strip */

/* About split */
.dp-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.dp-about-copy p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 16px;
}

.dp-about-photo {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.dp-about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.dp-chip {
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--gold-pale);
  font-size: 12.5px;
  font-weight: 600;
  color: #b37a00;
}

/* Reason grid */
.dp-reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Account cards */
.dp-accounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.dp-account {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-top: 3px solid var(--gold);
  border-radius: 16px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dp-account:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
}

.dp-account-cur {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 14px;
  margin-bottom: 16px;
  border-radius: 20px;
  background: var(--gold-pale);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #b37a00;
}

.dp-account h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.35;
}

.dp-account p {
  flex: 1;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 18px;
}

/* Service cards */
.dp-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.dp-service {
  display: flex;
  flex-direction: column;
  padding: 34px 32px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px;
}

.dp-service-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--gold-pale);
}

.dp-service-ico svg {
  width: 22px;
  height: 22px;
  stroke: #b37a00;
  fill: none;
  stroke-width: 1.9;
}

.dp-service h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.dp-service p {
  flex: 1;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 18px;
}

/* 4-step flow */
.dp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.dp-step {
  position: relative;
  padding: 30px 26px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 16px;
}

.dp-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--gold);
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #1a1200;
}

.dp-step h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.dp-step p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray);
}

/* Testimonial */
.dp-quote {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 48px;
  background: linear-gradient(135deg, #1a1200 0%, #0d0d0d 100%);
  border: 1px solid rgba(253, 184, 19, 0.18);
  border-radius: 22px;
  text-align: center;
}

.dp-quote blockquote {
  max-width: 860px;
  margin: 0 auto 22px;
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.dp-quote-by {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
}

/* See also grid */
.dp-next-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 1100px) {
  .dp-reasons,
  .dp-accounts,
  .dp-steps,
  .dp-next-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .dp-hero-grid,
  .dp-about {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Image leads once the split stacks */
  .dp-hero-photo,
  .dp-about-photo {
    order: -1;
  }
}

@media (max-width: 760px) {
  .dp-reasons,
  .dp-accounts,
  .dp-services,
  .dp-steps,
  .dp-next-grid {
    grid-template-columns: 1fr;
  }

  .dp-quote {
    padding: 34px 24px;
  }

  .dp-service {
    padding: 28px 24px;
  }
}


/* Button reset to look like your original link */
button.next-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Modal Overlay */
.dp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 29, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dp-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Container Card */
.dp-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  border-radius: 18px;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dp-modal-overlay.active .dp-modal-card {
  transform: translateY(0) scale(1);
}

/* Close Button */
.dp-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1f3f7;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.dp-modal-close:hover {
  background: #e2e5eb;
  transform: rotate(90deg);
}

/* Modal Header */
.dp-modal-cur {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #c98e26; /* Gold/brand accent */
  background: rgba(201, 142, 38, 0.1);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.dp-modal-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

/* Modal Body / Scrollable Area */
.dp-modal-body {
  margin-top: 18px;
  overflow-y: auto;
  padding-right: 6px;
}

/* Scrollbar styling */
.dp-modal-body::-webkit-scrollbar {
  width: 5px;
}
.dp-modal-body::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 10px;
}

.dp-modal-body h5 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #6b7280;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
}

/* Feature List */
.dp-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dp-modal-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}

.dp-modal-list li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #10b981; /* Green checkmark */
}

/* Modal Footer / Action CTA */
.dp-modal-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

.dp-modal-action-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #111827; /* Dark banking theme */
  color: #ffffff;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s;
}

.dp-modal-action-btn:hover {
  background: #c98e26;
  transform: translateY(-1px);
}