/* Global Remittance — layout/type aligned with funds.css */

.gr-page main {
  padding-bottom: 0;
}

/* Hero + Advantages shared module */
.gr-hero-features-module {
  background: linear-gradient(159deg, rgba(78, 66, 194, 0.11) 0%, rgba(249, 250, 252, 0) 98%), #f8f8fb;
  position: relative;
  overflow: hidden;
}

.gr-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4.8%;
}

/* Hero */
.gr-hero {
  background: transparent;
  position: relative;
  padding: 80px 0 0;
  overflow: hidden;
}

.gr-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  position: relative;
}

.gr-hero-text {
  flex-shrink: 0;
  max-width: 600px;
}

.gr-hero-title {
  margin: 0 0 24px;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.3;
  color: #000;
}

.gr-hero-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gr-hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
}

.gr-hero-points li::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: url("../../web-assets/global-remittance/checkbox-base.svg") no-repeat center / contain;
}

.gr-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 60px;
  margin-top: 32px;
  padding: 15px 30px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: #514ed1;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.gr-hero-btn:hover {
  color: #fff;
  background: #4340b8;
  text-decoration: none;
}

.gr-hero-img {
  flex: 1;
  max-width: 560px;
  min-width: 300px;
}

.gr-hero-img img {
  display: block;
  width: 100%;
  height: auto;
}

/* Advantages */
.gr-advantages {
  background: transparent;
  padding: 10px 0 80px;
  position: relative;
}

.gr-advantages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.gr-advantage {
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-areas:
    "icon title"
    "icon desc";
  column-gap: 20px;
  row-gap: 6px;
  align-items: center;
  width: calc(50% - 20px);
  min-height: 140px;
  padding: 30px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 60px rgba(0, 0, 0, 0.04);
}

.gr-advantage-icon {
  grid-area: icon;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.gr-advantage-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gr-advantage-title {
  grid-area: title;
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: #000;
}

.gr-advantage-desc {
  grid-area: desc;
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
}

/* Product modules */
.gr-module {
  padding: 80px 0;
  background: #f8f8fb;
}

.gr-module--alt {
  background: #fff;
}

.gr-module-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 120px;
}

.gr-module--flip .gr-module-inner {
  flex-direction: row-reverse;
}

.gr-module-copy {
  flex: 1;
  min-width: 0;
}

.gr-module-title {
  margin: 0 0 16px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.35;
  color: #000;
}

.gr-module-subtitle {
  margin: 0 0 48px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #333;
}

.gr-module-points {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gr-module-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 20px;
  line-height: 1.5;
  color: #333;
}

.gr-module-points li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z' fill='%23514ED1'/%3E%3C/svg%3E") no-repeat center / contain;
}

.gr-point-title {
  display: inline;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: #000;
}

.gr-point-title::after {
  content: " | ";
  font-weight: 400;
  color: #333;
}

.gr-point-desc {
  display: inline;
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #333;
}

.gr-module-visual {
  flex-shrink: 0;
  width: 420px;
}

.gr-module-visual > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.gr-module-visual--sm > img {
  width: 80%;
  max-width: 336px;
  margin-left: auto;
  margin-right: auto;
}

.gr-wallet-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  margin-top: 24px;
}

.gr-wallet-logos--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
  align-items: center;
  column-gap: 72px;
  row-gap: 40px;
  width: fit-content;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.gr-wallet-logos img {
  width: auto;
  height: 36px;
  max-width: 120px;
  object-fit: contain;
}

/* English heading override against airstar.css — same as funds */
html[lang="en"] .gr-hero-title {
  font-size: 40px;
}

html[lang="en"] .gr-module-title {
  font-size: 36px;
}

html[lang="en"] .gr-advantage-title {
  font-size: 22px;
}

/* Stage 2 — Tablet */
@media (max-width: 1024px) {
  .gr-hero-title {
    font-size: 40px;
  }

  .gr-hero-points li {
    font-size: 20px;
  }

  .gr-hero-img {
    max-width: 400px;
  }

  .gr-advantages {
    padding: 0 0 60px;
  }

  .gr-advantages-grid {
    gap: 24px;
  }

  .gr-advantage {
    width: calc(50% - 12px);
    min-height: 120px;
    padding: 24px 16px;
  }

  .gr-advantage-icon {
    width: 64px;
    height: 64px;
  }

  .gr-advantage-title {
    font-size: 20px;
  }

  .gr-advantage-desc {
    font-size: 16px;
  }

  .gr-module-title {
    font-size: 34px;
  }

  .gr-module-inner,
  .gr-module--flip .gr-module-inner {
    flex-direction: column;
    gap: 40px;
  }

  .gr-module-visual {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  html[lang="en"] .gr-hero-title {
    font-size: 36px;
  }

  html[lang="en"] .gr-module-title {
    font-size: 30px;
  }
}

/* Stage 3 — Mobile */
@media (max-width: 768px) {
  .gr-hero {
    padding: 60px 0 0;
  }

  .gr-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .gr-hero-title {
    font-size: 32px;
    text-align: left;
  }

  .gr-hero-points li {
    justify-content: flex-start;
    font-size: 18px;
  }

  .gr-hero-btn {
    width: auto;
    height: auto;
    padding: 12px 32px;
    font-size: 18px;
  }

  .gr-hero-img {
    max-width: 320px;
    min-width: unset;
    width: 80%;
    margin: 0 auto;
  }

  .gr-advantages {
    padding: 0 0 40px;
  }

  .gr-advantages-grid {
    flex-direction: column;
    gap: 16px;
  }

  .gr-advantage {
    width: 100%;
    min-height: 100px;
    padding: 20px 16px;
  }

  .gr-advantage-icon {
    width: 56px;
    height: 56px;
  }

  .gr-advantage-title {
    font-size: 18px;
  }

  .gr-advantage-desc {
    font-size: 14px;
  }

  .gr-module {
    padding: 60px 0;
  }

  .gr-module-title {
    margin-bottom: 12px;
    font-size: 28px;
    text-align: left;
  }

  .gr-module-subtitle {
    margin-bottom: 32px;
    font-size: 16px;
    text-align: left;
  }

  .gr-module-points {
    gap: 24px;
  }

  .gr-module-points li::before {
    width: 18px;
    height: 18px;
    margin-top: 3px;
  }

  .gr-point-title,
  .gr-point-desc {
    font-size: 16px;
  }

  html[lang="en"] .gr-hero-title {
    font-size: 28px;
  }

  html[lang="en"] .gr-module-title {
    font-size: 24px;
  }
}

/* Stage 4 — Small */
@media (max-width: 575.98px) {
  .gr-page main {
    padding-top: 60px;
  }

  .gr-hero-title {
    font-size: 28px;
  }

  .gr-hero-points li {
    font-size: 16px;
  }

  .gr-hero-img {
    width: 90%;
  }

  .gr-module-inner {
    align-items: flex-start;
  }

  .gr-module-title {
    font-size: 24px;
    text-align: left;
  }

  .gr-module-subtitle,
  .gr-point-title,
  .gr-point-desc {
    font-size: 15px;
  }

  .gr-module-visual {
    max-width: 300px;
  }

  .gr-wallet-logos img {
    height: 28px;
  }
}

/* FAQ spacing — same as deposit.css */
.deposit-faq-padding {
  padding-top: 60px !important;
}
