:root {
  --mg-bg: #0b0b0d;
  --mg-bg-soft: #121214;
  --mg-panel: #16161a;
  --mg-panel-2: #1d1d22;
  --mg-gold: #c2a24d;
  --mg-gold-dark: #a88a3f;
  --mg-text: #ffffff;
  --mg-text-soft: #d1d1d1;
  --mg-muted: #9a9a9a;
  --mg-border: rgba(194, 162, 77, 0.18);
  --mg-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.mg-homepage {
  background: var(--mg-bg);
  color: var(--mg-text);
}

.mg-homepage * {
  box-sizing: border-box;
}

.mg-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.mg-homepage section {
  padding: 84px 0;
}

.mg-kicker {
  margin: 0 0 16px;
  color: var(--mg-gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
}

.mg-homepage h1,
.mg-homepage h2,
.mg-homepage h3 {
  color: var(--mg-text);
  line-height: 1.1;
  margin: 0 0 18px;
}

.mg-homepage h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  max-width: 10ch;
}

.mg-homepage h2 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
}

.mg-homepage h3 {
  font-size: 1.2rem;
}

.mg-homepage p,
.mg-homepage li {
  color: var(--mg-text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.mg-sub {
  max-width: 700px;
  font-size: 1.12rem;
}

.mg-section-head {
  margin-bottom: 32px;
  max-width: 780px;
}

.mg-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.mg-btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
  border: 1px solid var(--mg-gold);
}

.mg-btn-primary {
  background: var(--mg-gold);
  color: #111111;
}

.mg-btn-primary:hover {
  background: var(--mg-gold-dark);
  border-color: var(--mg-gold-dark);
  color: #111111;
}

.mg-btn-secondary {
  background: transparent;
  color: var(--mg-text);
}

.mg-btn-secondary:hover {
  background: rgba(194, 162, 77, 0.08);
  color: var(--mg-text);
}

.mg-hero {
  padding-top: 110px;
  padding-bottom: 110px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0) 30%),
    var(--mg-bg);
}

.mg-services,
.mg-clients,
.mg-cta {
  background: var(--mg-bg);
}

.mg-trust,
.mg-process {
  background: var(--mg-bg-soft);
}

.mg-grid {
  display: grid;
  gap: 24px;
}

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

.mg-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mg-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mg-card,
.mg-step,
.mg-list-card,
.mg-pill {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01));
  border: 1px solid var(--mg-border);
  border-radius: 14px;
  box-shadow: var(--mg-shadow);
}

.mg-card,
.mg-step,
.mg-list-card {
  padding: 28px;
}

.mg-pill {
  padding: 18px 20px;
  text-align: center;
  font-weight: 600;
  color: var(--mg-text);
}

.mg-list-card ul {
  margin: 0;
  padding-left: 20px;
}

.mg-list-card li + li {
  margin-top: 10px;
}

.mg-align-center {
  align-items: center;
}

.mg-step-num {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--mg-gold);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.mg-cta {
  text-align: center;
}

.mg-cta .mg-wrap {
  max-width: 760px;
}

.mg-cta .mg-btn {
  margin-top: 14px;
}

@media (max-width: 900px) {
  .mg-grid-4,
  .mg-grid-3,
  .mg-grid-2 {
    grid-template-columns: 1fr;
  }

  .mg-homepage section {
    padding: 64px 0;
  }

  .mg-hero {
    padding-top: 88px;
    padding-bottom: 88px;
  }
}

.mg-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: nowrap !important;
    margin-top: 28px !important;
}

.mg-buttons .mg-btn {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    min-width: 180px !important;
    margin: 0 !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
}

/* Center hero text as well (optional but recommended) */
.mg-hero .mg-wrap {
    text-align: center;
}


.mg-btn {
    min-width: 200px;
    text-align: center;
}


.mg-hero-small {
    padding: 100px 0 60px;
    text-align: center;
}

.mg-service-block {
    padding: 80px 0;
    background: #0B0B0D;
}

.mg-service-block.alt {
    background: #121214;
}

.mg-service-block h2 {
    margin-bottom: 16px;
}

.mg-service-block p {
    max-width: 700px;
}

.mg-grid {
    display: grid;
    gap: 24px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .mg-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.mg-card {
    background: #121214;
    padding: 30px;
    border-radius: 8px;
}

.mg-card h3 {
    margin-bottom: 10px;
}

.mg-form input,
.mg-form select,
.mg-form textarea {
  background: #0F0F12 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(194, 162, 77, 0.25) !important;
}

.mg-form input::placeholder,
.mg-form textarea::placeholder {
  color: #888 !important;
}

.mg-form button {
  display: block;
  margin: 20px auto 0;
}

.mg-form {
  max-width: 500px;
  margin: 0 auto;
}

.mg-about-intro,
.mg-about-section {
  padding: 72px 0;
  background: #0B0B0D;
}

.mg-about-section.alt {
  background: #121214;
}

.mg-about-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}

.mg-about-card {
  background: #121214;
  border: 1px solid rgba(194, 162, 77, 0.16);
  border-radius: 12px;
  padding: 28px;
}

.mg-about-card h2 {
  margin-bottom: 14px;
}

.mg-about-section h2 {
  margin-bottom: 18px;
}

.mg-about-section p {
  max-width: 760px;
}

@media (max-width: 900px) {
  .mg-about-grid {
    grid-template-columns: 1fr;
  }

  .mg-about-card {
    padding: 22px;
  }
}

.mg-card {
  transition: all 0.25s ease;
}

.mg-card:hover {
  border-color: rgba(194, 162, 77, 0.5);
  transform: translateY(-4px);
}

.mg-process-intro,
.mg-process-steps,
.mg-process-extra {
  padding: 72px 0;
  background: #0B0B0D;
}

.mg-process-extra.alt {
  background: #121214;
}

.mg-step-card {
  position: relative;
}

.mg-step-num {
  display: inline-block;
  margin-bottom: 14px;
  color: #C2A24D;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.mg-step-card h3 {
  margin-bottom: 12px;
}

.mg-legal-content {
  padding: 72px 0;
  background: #0B0B0D;
}

.mg-legal-content .mg-about-card h2 {
  margin-top: 24px;
  margin-bottom: 12px;
}

.mg-legal-content .mg-about-card h2:first-child {
  margin-top: 0;
}