/* MRemittance — visual system premium */
:root {
  --green: #00a05a;
  --green-deep: #007a44;
  --green-soft: rgba(0, 160, 90, 0.2);
  --ink: #07140f;
  --ink-2: #0d1d17;
  --surface: #12261e;
  --surface-2: #1a3228;
  --text: #f4f8f6;
  --muted: #b3c0ba;
  --line: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --font-sans: "Sora", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 16px 50px rgba(0, 0, 0, 0.25);
  --shadow-strong: 0 28px 90px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at 12% -8%, rgba(0, 160, 90, 0.24), transparent 42%),
    radial-gradient(circle at 85% 0%, rgba(0, 110, 64, 0.2), transparent 32%),
    linear-gradient(180deg, var(--ink) 0%, #08140f 42%, #07120e 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #4fe4a2;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #90ffcd;
}

.wrap {
  width: min(1160px, 100% - 2.6rem);
  margin-inline: auto;
}

.wrap.narrow {
  width: min(760px, 100% - 2.6rem);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 0.85rem 0;
  background: rgba(7, 20, 15, 0.7);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 11px;
  background: linear-gradient(140deg, #20d38a 0%, #0c8a51 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 160, 90, 0.35);
}

.brand-word {
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #d8f7e8;
}

.brand-word strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18em;
  color: #7ff7bf;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-desktop a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 0.72rem;
  border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav-desktop a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 26px rgba(0, 160, 90, 0.28);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 0.15rem;
  padding-inline: 0.3rem;
}

.language-switcher .lang-link {
  color: var(--muted);
  text-decoration: none;
  padding: 0.3rem 0.45rem;
  border-radius: 8px;
}

.language-switcher .lang-link[aria-current="page"] {
  background: rgba(127, 247, 191, 0.2);
  color: #fff;
}

.language-switcher .lang-sep {
  color: rgba(255, 255, 255, 0.3);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  font-size: 1.2rem;
}

@media (max-width: 930px) {
  .menu-toggle {
    display: block;
  }

  .nav-desktop {
    position: fixed;
    inset: 72px 1rem auto 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding: 1rem;
    border-radius: var(--radius);
    background: rgba(11, 24, 19, 0.95);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-strong);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }

  .nav-desktop.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-desktop a {
    padding: 0.6rem 0.5rem;
  }
}

.hero {
  position: relative;
  padding: clamp(7.4rem, 14vw, 10rem) 0 clamp(4.5rem, 8vw, 6.5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: min(780px, 85vw);
  height: min(780px, 85vw);
  right: -18%;
  top: -35%;
  background: radial-gradient(circle, rgba(0, 160, 90, 0.24) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.2rem;
  align-items: start;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #7af0ba;
}

.hero h1 {
  margin: 0 0 1.3rem;
  font-family: var(--font-display);
  font-weight: 550;
  font-size: clamp(2.3rem, 4.8vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero .lead {
  margin: 0 0 2rem;
  max-width: 42ch;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  color: #cbdbd4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.45rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #00b466 0%, #007d47 100%);
  box-shadow: 0 14px 30px rgba(0, 160, 90, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  color: #e8f3ee;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.56);
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  background: linear-gradient(160deg, rgba(25, 52, 42, 0.95), rgba(15, 31, 25, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-strong);
}

.hero-card h3 {
  margin: 0 0 1rem;
  font-size: 1.04rem;
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  padding: 0.68rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbdbd4;
  font-size: 0.92rem;
}

.hero-card li:last-child {
  border-bottom: 0;
}

.hero-card strong {
  color: #fff;
}

.btn-with-icon {
  gap: 0.95rem;
}

.btn-icon {
  flex-shrink: 0;
}

.section-media {
  margin: 0 auto 2rem;
  display: flex;
  justify-content: center;
}

.section-media img {
  width: 100%;
  max-width: 50%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32);
  background: rgba(9, 20, 16, 0.5);
}

.stats {
  padding: 2.6rem 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.stats-grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat {
  position: relative;
  padding: 1.2rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: clamp(1.9rem, 3.3vw, 2.4rem);
  font-family: var(--font-display);
}

.stat span {
  font-size: 0.9rem;
  color: var(--muted);
}

.flag-thumb {
  display: block;
  height: 1.25rem;
  width: auto;
  max-width: none;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

section {
  padding: clamp(3.8rem, 8vw, 6rem) 0;
}

section:nth-of-type(even):not(.hero):not(.presence) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.3rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.grid-cards {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 760px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1060px) {
  .grid-cards.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 1.45rem 1.3rem;
  background: linear-gradient(160deg, rgba(22, 42, 34, 0.9), rgba(13, 28, 22, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: -35% auto auto -25%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 160, 90, 0.18) 0%, transparent 72%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(117, 255, 191, 0.5);
}

.card h3 {
  margin: 0 0 0.55rem;
  color: #fff;
  font-size: 1.07rem;
}

.card p {
  margin: 0;
  font-size: 0.93rem;
  color: #c6d4ce;
}

.tag {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #95ffd1;
}

.editorial {
  position: relative;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 45%, rgba(0, 160, 90, 0.09) 100%);
  border-block: 1px solid var(--line);
}

.editorial-grid {
  display: grid;
  gap: 1.1rem;
  align-items: stretch;
}

@media (min-width: 980px) {
  .editorial-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.4rem;
  }
}

.editorial-lead {
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.5rem);
  background: linear-gradient(150deg, rgba(14, 35, 27, 0.92), rgba(18, 46, 35, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-soft);
}

.editorial-lead h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.08;
}

.editorial-lead p {
  margin: 0 0 1.25rem;
  color: #c7d8d1;
}

.insight-stack {
  display: grid;
  gap: 1rem;
}

.insight-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem;
  background: linear-gradient(160deg, rgba(24, 44, 36, 0.92), rgba(9, 24, 18, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.insight-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 247, 191, 0.22), transparent 65%);
  pointer-events: none;
}

.insight-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  color: #fff;
}

.insight-card p {
  margin: 0;
  color: #c0d0c9;
  font-size: 0.92rem;
}

.presence {
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 160, 90, 0.18), transparent 42%),
    linear-gradient(180deg, #0f231b 0%, #0a1913 100%);
  border-block: 1px solid var(--line);
}

.flag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
}

.pill .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #33d98d;
  box-shadow: 0 0 16px rgba(51, 217, 141, 0.9);
}

.pill .flag-thumb {
  height: 1.25rem;
  border-radius: 4px;
}

.cta-band {
  text-align: center;
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 4.7rem);
  background:
    linear-gradient(140deg, rgba(0, 160, 90, 0.9), rgba(0, 117, 66, 0.95)),
    linear-gradient(transparent, transparent);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 90px rgba(0, 160, 90, 0.3);
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 44ch;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
}

.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.cta-band .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.site-footer {
  padding: 2.8rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer .inner {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-copy {
  margin: 0;
}

.footer-brand img {
  width: 110px;
  height: auto;
  opacity: 0.95;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .btn,
  .card,
  .reveal {
    transition: none;
    animation: none;
    transform: none;
    opacity: 1;
  }
}
