/* Mongolia Fund — Global Styles */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy:       #0A1628;
  --navy-dark:  #060E1E;
  --navy-mid:   #0D1F3C;
  --navy-light: #152236;
  --navy-card:  #0F1C32;
  --gold:       #C9A84C;
  --gold-light: #E2C46A;
  --gold-pale:  #F5E9C8;
  --white:      #FFFFFF;
  --off-white:  #F8F6F0;
  --text-warm:  #D4C9A8;
  --text-muted: #7A7060;
  --border-gold: rgba(201,168,76,0.28);

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  --max-w:  1200px;
  --nav-h:  80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy-dark);
  color: var(--text-warm);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1rem, 2vw, 1.35rem); }
p  { font-size: 1rem; }

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.divider {
  width: 56px;
  height: 1.5px;
  background: var(--gold);
  margin: 1.25rem 0 2rem;
}
.divider--center { margin-left: auto; margin-right: auto; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section   { padding: 6rem 0; }

.section--alt   { background: var(--navy-light); }
.section--mid   { background: var(--navy-mid); }

.section--light {
  background: var(--off-white);
  color: #1e1508;
}
.section--light h2,
.section--light h3 { color: var(--navy); }
.section--light p  { color: #3a2e14; }
.section--light .section-label { color: var(--gold); }
.section--light .divider { background: var(--gold); }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(6,14,30,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-gold);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}
.nav__logo-svg { width: 42px; height: 42px; flex-shrink: 0; }

.nav__wordmark { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.nav__wordmark-top {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
}
.nav__wordmark-bot {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav__links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-warm);
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--gold); }

.nav__cta {
  padding: 0.48rem 1.2rem !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s !important;
}
.nav__cta:hover {
  background: var(--gold) !important;
  color: var(--navy-dark) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  transition: 0.3s;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy-dark);
  padding-top: var(--nav-h);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 85%, rgba(201,168,76,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 85% 15%, rgba(13,31,60,0.9) 0%, transparent 65%);
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
}

.hero__eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero__title { color: var(--white); max-width: 15ch; margin-bottom: 1.75rem; }
.hero__title em { font-style: italic; color: var(--gold); }

.hero__sub {
  font-size: 1.08rem;
  color: var(--text-warm);
  max-width: 52ch;
  margin-bottom: 3rem;
  line-height: 1.75;
  opacity: 0.85;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn--gold:hover { background: var(--gold-light); color: var(--navy-dark); }

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn--outline:hover { background: var(--gold); color: var(--navy-dark); }

/* ── STATS BAND ──────────────────────────────────────────── */
.stats-band {
  background: var(--navy-mid);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 3rem 0;
}
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.stat-item {
  text-align: center;
  padding: 1rem 0.5rem;
  border-right: 1px solid var(--border-gold);
}
.stat-item:last-child { border-right: none; }
.stat-item__val {
  font-family: var(--font-head);
  font-size: 2.1rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-item__lbl {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-warm);
  opacity: 0.65;
}

/* ── ABOUT ───────────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about__ornament {
  display: flex;
  justify-content: center;
}
.about__logo-large { width: 280px; height: 280px; opacity: 0.88; }

.about__body p {
  color: var(--text-warm);
  line-height: 1.8;
  max-width: 55ch;
  margin-bottom: 1.25rem;
}
.about__body p:last-of-type { margin-bottom: 2.5rem; }

/* ── CARDS ───────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--navy-card);
  border: 1px solid var(--border-gold);
  border-radius: 3px;
  padding: 2rem;
  transition: border-color 0.25s, transform 0.25s;
}
.card:hover { border-color: rgba(201,168,76,0.7); transform: translateY(-3px); }
.card__icon { font-size: 1.6rem; margin-bottom: 1rem; display: block; }
.card__title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.card__body {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-warm);
  opacity: 0.8;
  max-width: 100%;
}

/* ── WHY MONGOLIA GRID ───────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-gold);
  border: 1px solid var(--border-gold);
  border-radius: 3px;
  overflow: hidden;
}
.why-item {
  background: var(--navy-card);
  padding: 2.5rem 2rem;
  transition: background 0.2s;
}
.why-item:hover { background: var(--navy-light); }
.why-item__val {
  font-family: var(--font-head);
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.why-item__title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.why-item__text {
  font-size: 0.87rem;
  color: var(--text-warm);
  opacity: 0.7;
  line-height: 1.6;
  max-width: 100%;
}

/* ── CTA STRIP ───────────────────────────────────────────── */
.cta-strip {
  background: var(--navy-mid);
  border-top: 1px solid var(--border-gold);
  padding: 5rem 0;
  text-align: center;
}
.cta-strip h2 { color: var(--white); margin-bottom: 1rem; }
.cta-strip p  { color: var(--text-warm); opacity: 0.8; max-width: 52ch; margin: 0 auto 2.5rem; }

/* ── PAGE HERO ───────────────────────────────────────────── */
.page-hero {
  background: var(--navy-dark);
  padding: calc(var(--nav-h) + 4.5rem) 0 4rem;
  border-bottom: 1px solid var(--border-gold);
  position: relative;
  overflow: hidden;
}
.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.page-hero h1 { color: var(--white); position: relative; z-index: 2; }
.page-hero .section-label { position: relative; z-index: 2; }
.page-hero p {
  position: relative;
  z-index: 2;
  color: var(--text-warm);
  opacity: 0.8;
  max-width: 60ch;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ── STRATEGY PAGE ───────────────────────────────────────── */
.strategy-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.strategy-overview h2 { color: var(--white); margin-bottom: 1rem; }
.strategy-overview p  { color: var(--text-warm); opacity: 0.85; line-height: 1.8; margin-bottom: 1rem; max-width: 100%; }

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.criteria-item {
  background: var(--navy-card);
  border: 1px solid var(--border-gold);
  border-radius: 3px;
  padding: 2rem 1.5rem;
  text-align: center;
}
.criteria-item__val {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
  line-height: 1;
}
.criteria-item__lbl {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-warm);
  opacity: 0.7;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 1px;
  background: var(--border-gold);
}
.process-step { text-align: center; }
.process-step__num {
  width: 54px;
  height: 54px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--gold);
  background: var(--navy-dark);
  position: relative;
  z-index: 1;
}
.process-step h3 { color: var(--white); margin-bottom: 0.5rem; font-size: 0.95rem; }
.process-step p {
  font-size: 0.85rem;
  color: var(--text-warm);
  opacity: 0.7;
  max-width: 22ch;
  margin: 0 auto;
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}
.contact-info__icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  background: var(--navy-card);
}
.contact-info__lbl {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.contact-info__val {
  font-size: 0.92rem;
  color: var(--text-warm);
  line-height: 1.5;
}

.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--navy-card);
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(212,201,168,0.28); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: rgba(201,168,76,0.7); }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23C9A84C'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-group select option { background: #0A1628; }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* ── LOGIN ───────────────────────────────────────────────── */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-dark);
  padding: var(--nav-h) 2rem 4rem;
  position: relative;
}
.login-wrap__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}
.login-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  background: var(--navy-card);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  padding: 3rem;
  text-align: center;
}
.login-card__logo { display: flex; justify-content: center; margin-bottom: 2rem; }
.login-card__logo svg { width: 72px; height: 72px; }
.login-card h2 { color: var(--white); font-size: 1.35rem; margin-bottom: 0.5rem; }
.login-card .sub {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.5;
}
.login-card .form-group { text-align: left; }
.login-card .btn { width: 100%; justify-content: center; margin-top: 0.25rem; }
.login-card .notice {
  margin-top: 2rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.login-card .notice a { font-size: inherit; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  border-top: 1px solid var(--border-gold);
  padding: 4.5rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer__brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
}
.footer__brand-link svg { width: 38px; height: 38px; }
.footer__brand-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--white);
}
.footer__brand p {
  font-size: 0.87rem;
  color: var(--text-warm);
  opacity: 0.55;
  line-height: 1.65;
  max-width: 36ch;
}
.footer__col-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer__links a {
  font-size: 0.87rem;
  color: var(--text-warm);
  opacity: 0.6;
  transition: color 0.2s, opacity 0.2s;
}
.footer__links a:hover { color: var(--gold); opacity: 1; }

.footer__bottom {
  border-top: 1px solid var(--border-gold);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
.footer__copy {
  font-size: 0.77rem;
  color: var(--text-warm);
  opacity: 0.35;
}
.footer__disc {
  font-size: 0.7rem;
  color: var(--text-warm);
  opacity: 0.28;
  max-width: 60ch;
  line-height: 1.55;
  text-align: right;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .about__grid,
  .strategy-overview,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  .about__ornament { order: -1; }
  .about__logo-large { width: 200px; height: 200px; }

  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-item:nth-child(5),
  .why-item:nth-child(6) { border-bottom: none; }

  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }

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

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }

  .stats-band__grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item:nth-child(3) { border-right: none; }
  .stat-item:nth-child(4),
  .stat-item:nth-child(5),
  .stat-item:nth-child(6) { border-top: 1px solid var(--border-gold); }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    background: rgba(6,14,30,0.98);
    padding: 3rem 2rem;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    z-index: 99;
  }
  .nav__links.open a { font-size: 1rem; letter-spacing: 0.2em; }

  .why-grid { grid-template-columns: 1fr; }
  .criteria-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; }
  .footer__disc { text-align: left; }

  .stats-band__grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border-gold); }
  .stat-item { border-top: 1px solid var(--border-gold); }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-top: none; }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
}
