/* ═══════════════════════════════════════════════════════════════
   PLUGZO PAYTECH — remit4me.css
   REMIT4ME PAGE ONLY: hero · banner · principles · problem · what
   Requires: common.css
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   SECTION SUB-HEADING (remit4me only)
───────────────────────────────────────────── */
.sec-sub {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--clr-text-muted);
  text-align: center;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 52px;
}
.sec-sub--wide {
  max-width: 700px;
}

/* ─────────────────────────────────────────────
   R4M HERO
───────────────────────────────────────────── */
.r4m-hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-gradient);
  padding: 80px 40px 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.r4m-hero__inner {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1000px;
}
.r4m-hero__title {
  font-family: var(--ff-head);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.r4m-hero__sub {
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  color: var(--clr-text-muted);
  line-height: 1.72;
  max-width: 580px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────────
   BANNER — full-width photo with text overlay
───────────────────────────────────────────── */
.r4m-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.r4m-banner__photo {
  display: block;
  width: 100%;
}
.r4m-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11, 143, 111, 0.85) 0%,
    rgba(11, 143, 111, 0.6) 32%,
    rgba(11, 143, 111, 0.18) 60%,
    transparent 82%
  );
  z-index: 1;
}
.r4m-banner__text {
  position: absolute;
  left: 7%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  line-height: 1.08;
}
.r4m-banner__l1 {
  font-family: var(--ff-head);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3px;
}
.r4m-banner__l2 {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  font-weight: 800;
  color: #fff;
}
.r4m-banner__l3 {
  font-family: var(--ff-head);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 3px;
}

/* ─────────────────────────────────────────────
   CORE PRINCIPLES — white bg, 3-col
───────────────────────────────────────────── */
.r4m-principles {
  position: relative;
  overflow: hidden;
  background: var(--clr-bg); /* #ffffff */
  padding: 70px 40px 90px;
}
.r4m-principles .container {
  position: relative;
  z-index: 10;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.p-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 28px 22px 32px;
  transition:
    transform var(--ease),
    box-shadow var(--ease);
}
.p-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.p-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
/* Yellow icon — bolt/lightning */
.p-card__icon--blue {
  background-color: color-mix(in oklab, #3b82f6 10%, transparent);
  color: #3b82f6;
}
.p-card__icon--yellow {
  background: rgba(234, 179, 8, 0.1);
  color: #ca8a04;
}
/* Purple icon — globe */
.p-card__icon--purple {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
}
/* Teal icon — shield */
.p-card__icon--teal {
  background-color: color-mix(in oklab, #0891b2 10%, transparent);
  color: #0891b2;
}

.p-card__title {
  font-family: var(--ff-head);
  font-size: 1.4rem;
  width: 90%;
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.p-card__body {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.78;
}

/* ─────────────────────────────────────────────
   THE PROBLEM WE SOLVE — light grey bg, 2×2
───────────────────────────────────────────── */
.r4m-problem {
  background: var(--clr-bg-alt); /* #f7f8fa */
  padding: 70px 40px 80px;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 80%;
  margin: auto;
}
.prb-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow var(--ease);
}
.prb-card:hover {
  box-shadow: var(--shadow-md);
}

.prb-card__x {
  flex-shrink: 0;
  margin-top: 1px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.1);
  color: #fb2c36;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prb-card__issue {
  font-family: var(--ff-head);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 5px;
  letter-spacing: -0.005em;
}
.prb-card__fix {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 400;
}
.prb-card__check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(15, 168, 132, 0.1);
  color: var(--clr-teal);
  font-size: 0.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─────────────────────────────────────────────
   WHAT REMIT4ME DOES — white bg, 2×2 icon cards
───────────────────────────────────────────── */
.r4m-what {
  position: relative;
  overflow: hidden;
  background: var(--clr-bg); /* #ffffff */
  padding: 70px 40px 90px;
}
.r4m-what .container {
  position: relative;
  z-index: 10;
}
.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.w-card {
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, #1a1d29 20%, transparent);
  border-style: solid;
  border-width: 1px;
  padding: 24px 26px 30px;
  border-radius: var(--radius);
}
.w-card:hover {
  box-shadow: var(--shadow-lg);
}
.w-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    #10b981 0%,
    #0891b2 100%
  ); /* #0fa884 solid teal */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.1s ease;
}
.w-card:hover .w-card__icon {
  transform: scale(1.05);
}
.w-card__title {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.4;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.w-card__body {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.78;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 768px) {
  .r4m-hero {
    padding: 64px 20px 72px;
    min-height: auto;
  }

  .r4m-banner__text {
    left: 5%;
  }
  .r4m-banner__l1 {
    font-size: 1.2rem;
  }
  .r4m-banner__l2 {
    font-size: 1.85rem;
  }
  .r4m-banner__l3 {
    font-size: 1.2rem;
  }

  .r4m-principles {
    padding: 72px 20px 80px;
  }
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .r4m-problem {
    padding: 72px 20px 80px;
  }
  .problem-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .r4m-what {
    padding: 72px 20px 80px;
  }
  .what-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sec-sub,
  .sec-sub--wide {
    max-width: 100%;
  }
}
