.mgx-appt {
  --teal: #126968;
  --teal-dk: #0B4645;
  --teal-soft: #E8F4F3;
  --gold: #C8A252;
  --ink: #1A2B2A;
  --muted: #5B6E6C;
  --page: #F4F8F8;
  --line: #D5E3E2;
  font-family: Montserrat, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}
.mgx-hero {
  background: var(--teal-dk);
  color: #fff;
  text-align: center;
  padding: 88px 24px 72px;
}
.mgx-eyebrow {
  color: var(--gold);
  letter-spacing: .32em;
  font-size: 13px;
  font-weight: 700;
}
.mgx-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin: 12px 0 14px;
  color: #fff;
}
.mgx-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: #D7E8E6;
  line-height: 1.7;
}
.mgx-wrap {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}
.mgx-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: -36px;
  position: relative;
}
.mgx-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 10px 28px rgba(11,70,69,.08);
}
.mgx-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 12px;
}
.mgx-card h3,
.mgx-grid h2,
.mgx-form-card h3,
.mgx-steps h2,
.mgx-faq-wrap h2 {
  margin: 0 0 8px;
  color: var(--teal-dk);
}
.mgx-card p,
.mgx-muted,
.mgx-steps p,
.mgx-faq-wrap details p,
.mgx-grid aside p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}
.mgx-grid {
  display: grid;
  grid-template-columns: .38fr .62fr;
  gap: 36px;
  padding: 56px 0 72px;
  align-items: start;
}
.mgx-line {
  width: 72px;
  height: 2px;
  background: var(--gold);
  margin: 10px 0 18px;
}
.mgx-center { margin-left: auto; margin-right: auto; }
.mgx-list { list-style: none; padding: 0; margin: 20px 0; }
.mgx-list li { display: flex; gap: 10px; padding: 8px 0; }
.mgx-list span { color: var(--gold); }
.mgx-alert {
  background: var(--teal-soft);
  border-left: 4px solid var(--gold);
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--teal-dk);
  font-size: 14px;
}
.mgx-form-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 16px 40px rgba(11,70,69,.10);
}
.mgx-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.mgx-form label { display: block; font-size: 13px; font-weight: 600; color: var(--teal-dk); margin-bottom: 6px; }
.mgx-form input,
.mgx-form select,
.mgx-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.mgx-full { grid-column: 1 / -1; }
.mgx-btn {
  background: var(--gold);
  color: var(--teal-dk);
  border: 0;
  border-radius: 6px;
  padding: 16px 22px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  text-decoration: none;
  display: inline-block;
}
.mgx-btn:hover { background: var(--teal); color: #fff; }
.mgx-btn-inline { width: auto; }
.mgx-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); font-weight: 400; }
.mgx-consent input { width: auto; margin-top: 3px; }
.mgx-success { background: var(--teal-soft); color: var(--teal-dk); padding: 12px 14px; border-radius: 8px; font-weight: 600; margin-bottom: 14px; }
.mgx-error { background: #FDECEC; color: #8A1F1F; padding: 12px 14px; border-radius: 8px; margin-bottom: 14px; }
.mgx-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.mgx-steps { padding: 12px 0 72px; }
.mgx-steps h2,
.mgx-faq-wrap h2 { text-align: center; }
.mgx-step-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mgx-num { font-size: 40px; color: var(--gold); font-weight: 700; margin: 0; }
.mgx-faq-wrap { background: #fff; padding: 28px 0 88px; }
.mgx-faq-wrap details {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 10px 0;
}
.mgx-faq-wrap summary { cursor: pointer; font-weight: 600; color: var(--teal-dk); }
.mgx-cta { background: var(--teal); color: #fff; text-align: center; padding: 64px 24px; }
.mgx-cta h2 { color: #fff; margin-top: 0; }
.mgx-cta p { color: #D7E8E6; }
@media (max-width: 860px) {
  .mgx-cards,
  .mgx-grid,
  .mgx-step-row,
  .mgx-form { grid-template-columns: 1fr; }
  .mgx-cards { margin-top: 24px; }
}
