/* ═══════════════════════════════════════════════════════════════════
   MGI Investment — main.css
   Pixel-perfect port từ React (index.css + Home.css)
   Brand Green #1C4A2A · Brand Gold #C9A84C · Stats Gold #fed977
   Fonts: EB Garamond (headline) · Montserrat (body)
═══════════════════════════════════════════════════════════════════ */


/* ── Variables ── */
:root {
  --g900: #0e2a18;
  --g800: #1C4A2A;
  --g700: #2D6F3F;
  --gold: #C9A84C;
  --gold-l: #e2c97e;
  --gold-pale: #f5edcc;
  --gold-stats: #fed977;
  --cream: #F9F6EE;
  --ink: #0e1a10;
  --mid: #4a6350;
  --white: #fff;
  --nav-h: 80px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --max-w: 1280px;
  --side: 5%;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-headline {
  font-family: 'EB Garamond', 'Eb Garamond', serif;
  font-weight: 400;
}

h1 em,
h2 em,
h3 em,
h4 em,
h5 em,
h6 em,
.font-headline em {
  font-style: italic !important;
  color: var(--gold) !important;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ═══════════ SCROLL PROGRESS BAR ═══════════ */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-l));
  width: 0%;
  z-index: 9999;
  transition: width .1s linear;
  pointer-events: none;
}

/* ═══════════ HEADER ═══════════ */
#mgi-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--g800);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: box-shadow .3s var(--ease);
}

#mgi-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, .25);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo img {
  height: 60px;
  width: auto;
}

.header-logo-text {
  font-family: 'EB Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo-text .sub {
  font-family: 'Montserrat', sans-serif;
  font-size: .5rem;
  letter-spacing: .3em;
  color: var(--gold);
  font-weight: 500;
  display: block;
  margin-top: 2px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--g800) !important;
  padding: 8px 24px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .2s;
}

.nav-cta:hover {
  background: #fff !important;
  color: var(--g800) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  padding: 4px;
  transition: color .2s;
}

.menu-toggle:hover {
  color: var(--gold);
}

.menu-toggle .material-symbols-outlined {
  font-size: 30px;
}

/* Mobile Menu */
#mobile-menu {
  display: none;
  background: var(--g800);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 0 var(--side) 24px;
}

#mobile-menu.open {
  display: block;
}

.mobile-nav-links a {
  display: block;
  padding: 14px 0;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .8);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  transition: color .2s;
}

.mobile-nav-links a:hover {
  color: var(--gold);
}

.mobile-cta {
  display: block;
  margin-top: 20px;
  text-align: center;
  background: var(--gold);
  color: var(--g800) !important;
  padding: 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

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

/* Dot pattern */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(201, 168, 76, .4) .5px, transparent .5px);
  background-size: 24px 24px;
  opacity: .15;
  pointer-events: none;
}

.hero-container {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 0 var(--side);
  position: relative;
  z-index: 20;
  align-items: center;
}

.hero-h1 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.hero-h1 em {
  font-style: italic !important;
  color: var(--gold) !important;
  white-space: nowrap !important;
  display: inline-block !important;
}

.hero-desc {
  color: rgba(255, 255, 255, .6);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 480px;
  font-weight: 300;
}

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

.hero-right {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Orbit */
.orbit-container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.85);
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(201, 168, 76, .15);
  border-radius: 20%;
  transform: rotate(45deg);
}

.orbit-ring .dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--gold);
}

.central-node {
  width: 32px;
  height: 32px;
  background: var(--gold);
  border-radius: 4px;
  transform: rotate(45deg);
  box-shadow: 0 0 30px rgba(201, 168, 76, .5);
}

@keyframes rotateCW {
  from {
    transform: rotate(45deg);
  }

  to {
    transform: rotate(405deg);
  }
}

@keyframes rotateCCW {
  from {
    transform: rotate(45deg);
  }

  to {
    transform: rotate(-315deg);
  }
}

/* ═══════════ TICKER ═══════════ */
#ticker {
  background: var(--g800);
  padding: 16px 0;
  border-top: 1px solid rgba(201, 168, 76, .15);
  border-bottom: 1px solid rgba(201, 168, 76, .15);
  overflow: hidden;
  position: relative;
  z-index: 40;
}

.ticker-inner {
  display: flex;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-right: 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ticker-item span {
  color: var(--gold);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ═══════════ SHARED UTILS ═══════════ */
.label-gold {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.gold-bar {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2rem;
}

.h2-serif {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--g800);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.body-text {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--mid);
  font-weight: 300;
  margin-bottom: 1.2rem;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side);
}

.section {
  padding: 120px 0;
}

.section-sm {
  padding: 80px 0;
}

.bg-green {
  background: var(--g800);
}

.bg-cream {
  background: var(--cream);
}

.btn-gold {
  background: var(--gold);
  color: var(--g900);
  padding: 16px 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  border-radius: 2px;
  display: inline-block;
  transition: all .3s;
  border: none;
}

.btn-gold:hover {
  background: var(--gold-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 168, 76, .35);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  padding: 16px 32px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  border-radius: 2px;
  display: inline-block;
  transition: all .3s;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.up {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════ ABOUT ═══════════ */
#about {
  padding: 120px 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 168, 76, .2);
}

.about-feature {
  display: flex;
  gap: 1rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--g800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.feature-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--g800);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 12px;
  color: var(--mid);
}

.about-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .25);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ═══════════ STATS ═══════════ */
#stats {
  background: var(--g800);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

#stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--gold) .5px, transparent .5px);
  background-size: 24px 24px;
  opacity: .05;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(201, 168, 76, .1);
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 40px;
  border-right: 1px solid rgba(201, 168, 76, .1);
  border-bottom: 1px solid rgba(201, 168, 76, .1);
}

.stat-value {
  font-family: 'EB Garamond', serif;
  font-size: 3rem;
  color: #fed977;
  line-height: 1;
  margin-bottom: .75rem;
}

.stat-label {
  font-size: 11px;
  color: #fed977;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: .5rem;
}

.stat-desc {
  font-size: 10px;
  color: rgba(255, 255, 255, .3);
  line-height: 1.5;
}

/* ═══════════ SERVICES ═══════════ */
#services {
  padding: 120px 0;
}

.services-header {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
}

.services-header-new {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 4rem;
}

.tabs-nav {
  display: flex;
  gap: 3rem;
  border-bottom: 1px solid rgba(201, 168, 76, .1);
  margin-bottom: 0;
}

.tab-btn {
  padding-bottom: 1rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(28, 74, 42, .5);
  transition: all .2s;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
}

.tab-btn.active {
  color: var(--g800);
  border-bottom-color: var(--gold);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(201, 168, 76, .05);
  border-left: 1px solid rgba(201, 168, 76, .05);
}

.svc-tile {
  padding: 40px;
  border-right: 1px solid rgba(201, 168, 76, .05);
  border-bottom: 1px solid rgba(201, 168, 76, .05);
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  transition: background .2s;
}

.svc-tile:hover {
  background: var(--cream);
}

.svc-num {
  font-family: 'EB Garamond', serif;
  font-size: 3rem;
  color: rgba(201, 168, 76, .2);
  flex-shrink: 0;
  line-height: 1;
}

.svc-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--g800);
  margin-bottom: .75rem;
}

.svc-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.7;
  font-weight: 300;
}

/* ═══════════ TEAM / VALUES ═══════════ */
#team {
  padding: 120px 0;
  background: var(--cream);
}

.team-heading {
  text-align: center;
  margin-bottom: 6rem;
}

.team-heading h2 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--g800);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.team-heading h2 em {
  font-style: italic;
  color: var(--gold);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.value-card {
  background: #fff;
  padding: 48px;
  border: 1px solid rgba(201, 168, 76, .1);
  box-shadow: 0 2px 8px rgba(28, 74, 42, .04);
  transition: all .5s;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s;
}

.value-card:hover {
  box-shadow: 0 20px 50px rgba(28, 74, 42, .08);
}

.value-card:hover::before {
  transform: scaleY(1);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: var(--g800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  color: var(--gold);
  border-radius: 2px;
}

.value-icon .material-symbols-outlined {
  font-size: 30px;
}

.value-title {
  font-family: 'EB Garamond', serif;
  font-size: 1.5rem;
  color: var(--g800);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.value-desc {
  font-size: 14px;
  color: var(--mid);
  font-weight: 300;
  line-height: 1.8;
}

/* ═══════════ WHY MGI ═══════════ */
#why {
  padding: 120px 0;
}

.why-items {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.why-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-item.reverse .why-img {
  order: -1;
}

.why-img {
  height: 320px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
}

.why-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ═══════════ PARTNERS ═══════════ */
#partners {
  background: var(--g800);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

#partners::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--gold) .5px, transparent .5px);
  background-size: 24px 24px;
  opacity: .05;
}

.partners-heading {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.partners-heading h2 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.partner-tile {
  padding: 24px;
  border: 1px solid rgba(201, 168, 76, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s;
}

.partner-tile:hover {
  border-color: rgba(201, 168, 76, .3);
  background: rgba(201, 168, 76, .05);
}

.partner-name {
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: .04em;
}

/* ═══════════ CONTACT ═══════════ */
#contact {
  padding: 120px 0;
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--g800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.contact-info-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--g800);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 13px;
  color: var(--mid);
}

.contact-info-value a {
  color: var(--mid);
}

.contact-info-value a:hover {
  color: var(--g800);
}

.contact-form-wrap {
  background: #fff;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(28, 74, 42, .08);
  border-top: 4px solid var(--gold);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--g800);
  margin-bottom: .5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--cream);
  border: none;
  padding: 14px 16px;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  border-radius: 2px;
  color: var(--ink);
  outline: none;
  transition: box-shadow .2s;
}

.form-input:focus,
.form-textarea:focus {
  box-shadow: 0 0 0 1px var(--gold);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  background: var(--g800);
  color: var(--gold);
  padding: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: background .2s;
}

.form-submit:hover {
  background: var(--g700);
}

/* ═══════════ FOOTER ═══════════ */
#mgi-footer {
  background: var(--g800);
  color: rgba(255, 255, 255, .7);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  height: 100px;
  width: auto;
  margin-bottom: 1.5rem;
  display: block;
}

.footer-logo-text {
  font-family: 'EB Garamond', serif;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 1.5rem;
  display: block;
}

.footer-tagline {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px;
  line-height: 1.625;
  color: rgba(255, 255, 255, .7);
  max-width: 300px;
  font-weight: 400;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .7);
  transition: all .2s;
}

.footer-social-btn .material-symbols-outlined {
  font-size: 18px;
}

.footer-social-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.footer-heading {
  font-family: 'EB Garamond', serif !important;
  font-size: 1.25rem !important;
  color: var(--gold) !important;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  transition: color .2s;
  font-weight: 400;
}

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

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  font-weight: 400;
}

.footer-contact-icon {
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, .7);
  transition: color .2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
  font-weight: 400;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
  transition: color .2s;
  font-weight: 400;
}

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

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-right {
    height: 400px;
    order: -1;
  }

  .hero-left {
    text-align: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-header {
    grid-template-columns: 1fr;
  }

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

  .why-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .why-item.reverse .why-img {
    order: 0;
  }

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

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

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tab-pane.active {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════ PAGE HERO ═══════════ */
.page-hero {
  min-height: 60vh;
  background: var(--g800);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--g800) 40%, transparent);
}

.page-hero-content {
  position: relative;
  z-index: 10;
  padding: 80px var(--side);
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-hero-eyebrow {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .75rem;
  display: block;
}

.page-hero-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.page-hero-title em {
  font-style: italic !important;
  color: var(--gold) !important;
  white-space: nowrap !important;
  display: inline-block !important;
}

.page-hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, .7);
  max-width: 560px;
  line-height: 1.7;
}

/* ═══════════ ADMIN BAR OFFSET ═══════════ */
.admin-bar #mgi-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar #mgi-header {
    top: 46px;
  }
}

/* ═══════════ TAILWIND COMPATIBILITY UTILITIES ═══════════ */
.bg-brand-green,
.bg-deep-emerald,
.bg-primary {
  background-color: #1C4A2A !important;
}

.bg-brand-gold,
.bg-luxury-gold {
  background-color: #C9A84C !important;
}

.bg-brand-cream,
.bg-cream-bg {
  background-color: #F9F6EE !important;
}

.bg-surface-container-lowest {
  background-color: #fff !important;
}

.bg-surface-bright {
  background-color: #fdfbf7 !important;
}

.text-brand-green,
.text-primary {
  color: #1C4A2A !important;
}

.text-brand-gold,
.text-luxury-gold {
  color: #C9A84C !important;
}

.text-brand-mid,
.text-on-surface-variant {
  color: #4a6350 !important;
}

.text-brand-ink,
.text-on-surface {
  color: #0e1a10 !important;
}

.text-white\/60 {
  color: rgba(255, 255, 255, 0.6) !important;
}

.text-white\/70 {
  color: rgba(255, 255, 255, 0.7) !important;
}

.text-white\/80 {
  color: rgba(255, 255, 255, 0.8) !important;
}

.border-brand-green {
  border-color: #1C4A2A !important;
}

.border-brand-gold,
.border-hairline-gold {
  border-color: #C9A84C !important;
}

.border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.font-serif,
.font-headline,
.font-display-hero {
  font-family: 'EB Garamond', 'Eb Garamond', serif !important;
}

.font-body-main,
.font-body-large {
  font-family: 'Montserrat', sans-serif !important;
}

/* Line Clamp Utilities */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Section Divider */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1rem;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
}

/* Glass effect */
.glass-effect {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Webkit Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

/* ═══════════ ARTICLE DETAIL PAGE ═══════════ */
.article-layout-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.article-hero-img-container {
  position: relative;
  width: 100%;
  height: 50vh;
  border-radius: 4px;
  overflow: hidden;
}

.article-further-reading-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(201, 168, 76, 0.15);
  /* bg-hairline-gold */
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 4px;
  overflow: hidden;
}

.article-further-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 32px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.5s ease;
  height: 100%;
}

.article-further-card:hover {
  background: #FDFBF7;
}

.article-further-card .img-container {
  height: 192px;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(201, 168, 76, 0.15);
  margin-bottom: 24px;
  position: relative;
}

.article-further-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.article-further-card:hover img {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .article-layout-grid {
    flex-direction: row;
    gap: 64px;
  }

  .article-hero-img-container {
    height: 70vh;
  }

  .article-further-reading-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .hidden-md {
    display: none !important;
  }
}

/* ═══════════ CONTACT FORM 7 STYLES ═══════════ */
.form-contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.form-contact-wrapper .form-group {
  margin-bottom: 0;
}

.form-contact-wrapper br {
  display: none !important;
}

.form-contact-wrapper p {
  margin: 0 !important;
  padding: 0 !important;
}

.form-contact-wrapper label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1C4A2A;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
}

.form-contact-wrapper .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.form-contact-wrapper .wpcf7-form-control.wpcf7-text,
.form-contact-wrapper .wpcf7-form-control.wpcf7-select,
.form-contact-wrapper .wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  outline: none;
  padding: 12px 0;
  font-size: 14px;
  color: #0e1a10;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-contact-wrapper .wpcf7-form-control.wpcf7-text:focus,
.form-contact-wrapper .wpcf7-form-control.wpcf7-select:focus,
.form-contact-wrapper .wpcf7-form-control.wpcf7-textarea:focus {
  border-bottom-color: #C9A84C;
}

.form-contact-wrapper .wpcf7-form-control.wpcf7-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C9A84C'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 20px;
  padding-right: 24px;
  border-radius: 0;
}

.form-contact-wrapper .wpcf7-form-control.wpcf7-textarea {
  height: 100px;
  resize: none;
}

.form-contact-wrapper .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #1C4A2A;
  color: #C9A84C;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  border-radius: 2px;
  transition: background-color 0.2s, color 0.2s;
  width: auto !important;
  box-sizing: border-box;
}

.form-contact-wrapper .wpcf7-submit:hover {
  background-color: #245c35;
}

.form-contact-wrapper .wpcf7-spinner {
  margin: 0 0 0 10px;
  vertical-align: middle;
}

/* ═══════════ HOMEPAGE CONTACT FORM ═══════════ */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

figure {
  max-width: 100% !important;
}

@media (min-width: 576px) {
  .form-row-2col {
    grid-template-columns: 1fr 1fr;
    /* Chia 2 cột bằng nhau từ màn hình tablet trở lên */
  }
}

.contact-form-wrap form,
.contact-form-wrap .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form-wrap .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 576px) {
  .contact-form-wrap .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form-wrap .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form-wrap .form-label,
.contact-form-wrap label {
  display: block !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #1C4A2A !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
  letter-spacing: 0.1em !important;
  font-family: 'Montserrat', sans-serif;
}

.contact-form-wrap .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-form-wrap br {
  display: none !important;
}

.contact-form-wrap p {
  margin: 0 !important;
  padding: 0 !important;
}

.contact-form-wrap .form-input,
.contact-form-wrap .form-select,
.contact-form-wrap .form-textarea,
.contact-form-wrap .wpcf7-form-control.wpcf7-text,
.contact-form-wrap .wpcf7-form-control.wpcf7-select,
.contact-form-wrap .wpcf7-form-control.wpcf7-textarea {
  width: 100% !important;
  background-color: #F9F6EE !important;
  border: 1px solid transparent !important;
  padding: 16px !important;
  font-size: 13px !important;
  border-radius: 2px !important;
  box-sizing: border-box !important;
  color: #0e1a10 !important;
  outline: none !important;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.2s !important;
}

.contact-form-wrap .form-input:focus,
.contact-form-wrap .form-select:focus,
.contact-form-wrap .form-textarea:focus,
.contact-form-wrap .wpcf7-form-control.wpcf7-text:focus,
.contact-form-wrap .wpcf7-form-control.wpcf7-select:focus,
.contact-form-wrap .wpcf7-form-control.wpcf7-textarea:focus {
  border-color: #C9A84C !important;
  background-color: #fff !important;
}

.contact-form-wrap .form-select,
.contact-form-wrap .wpcf7-form-control.wpcf7-select {
  appearance: auto !important;
}

.contact-form-wrap .form-textarea,
.contact-form-wrap .wpcf7-form-control.wpcf7-textarea {
  resize: none !important;
  height: 120px !important;
}

.contact-form-wrap .form-submit,
.contact-form-wrap .wpcf7-submit {
  width: 100% !important;
  background-color: #1C4A2A !important;
  color: #C9A84C !important;
  padding: 20px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2em !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.2s !important;
  font-family: 'Montserrat', sans-serif;
  border-radius: 2px !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.contact-form-wrap .form-submit:hover,
.contact-form-wrap .wpcf7-submit:hover {
  background-color: #245c35 !important;
}