/* ==========================================================================
   Magengrim — contact
   Brings the Get In Touch section into the same language as the rest of the
   site: the shared section head, the two panels as white cards, and form
   controls in the brand's ink and purple.
   Scoped under .mg-ct throughout because the theme ships global rules for
   `input`, `button` and `a` that out-specify a lone component class.
   ========================================================================== */

.mg-ct {
  background: var(--mg-bg);
  padding: clamp(56px, 7vw, 104px) 0 clamp(64px, 8vw, 110px) !important;
}

/* The `.mg-ct__inner` class this sheet was written against does not exist in
   the markup — the section uses Elementor's own container — so the gutter was
   never applied and content ran to the viewport edges. */
.mg-ct > .elementor-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Wordmark ----------------------------------------------------------- */

/* The section leads with the words set large and solid rather than with a
   heading plus meta row — the page has one job, so it says so. */
.mg-ct .mg-ct__wordmark {
  margin: 0 0 clamp(38px, 5vw, 76px);
  font-family: var(--mg-display);
  font-size: clamp(2.6rem, 11.5vw, 9rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--mg-ink);
}

/* --- Two columns: details left, form right ------------------------------ */

/* contact-us.css paints this inner section #f3f5f7; the section owns its own
   white ground now, so the band has to go. */
.mg-ct .elementor-element-17786417 {
  background: transparent !important;
}

/* The markup puts the form first because that was the old layout. Rather than
   move it in the HTML — and risk the form's own scripts — the columns are
   re-ordered here, which is what `order` is for. */
.mg-ct .elementor-element-17786417 > .elementor-container {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.75fr);
  gap: clamp(32px, 5vw, 90px);
  align-items: start;
}

.mg-ct .elementor-element-17786417 > .elementor-container > .elementor-column {
  width: 100% !important;
}

.mg-ct .elementor-element-4b12452f { order: 2; }
.mg-ct .elementor-element-126558d2 { order: 1; }

/* No cards: the reference sits everything straight on the page. */
.mg-ct .elementor-column > .elementor-widget-wrap {
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* --- Details column ----------------------------------------------------- */

/* Small stacked blocks, the way the reference lists its address and hours. */
.mg-ct .elementor-element-126558d2 .elementor-widget-heading .elementor-heading-title {
  font-family: var(--mg-body) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.4 !important;
  color: var(--mg-ink) !important;
}

.mg-ct .elementor-element-126558d2 .elementor-widget-text-editor,
.mg-ct .elementor-element-126558d2 .elementor-widget-text-editor p {
  font-size: 0.78rem !important;
  line-height: 1.6 !important;
  color: var(--mg-muted) !important;
}

.mg-ct .elementor-element-126558d2 .elementor-icon-list-item a,
.mg-ct .elementor-element-126558d2 .elementor-icon-list-text {
  font-size: 0.78rem !important;
  color: var(--mg-muted) !important;
  text-decoration: none;
}

.mg-ct .elementor-element-126558d2 .elementor-icon-list-item a:hover,
.mg-ct .elementor-element-126558d2 .elementor-icon-list-item a:hover .elementor-icon-list-text {
  color: var(--mg-ink) !important;
}

.mg-ct .elementor-element-126558d2 .elementor-icon-list-icon svg,
.mg-ct .elementor-element-126558d2 .elementor-icon-list-icon i {
  fill: var(--mg-faint) !important;
  color: var(--mg-faint) !important;
}

/* The anchor was a block, so the icon stacked above its own label instead of
   sitting beside it. */
.mg-ct .elementor-element-126558d2 .elementor-icon-list-item a {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
}

.mg-ct .elementor-element-126558d2 .elementor-icon-list-icon {
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
}

/* --- Details column spacing --------------------------------------------- */

/* Small stacked blocks with air between them, as in the reference. */
.mg-ct .elementor-element-126558d2 > .elementor-widget-wrap > .elementor-element {
  margin-bottom: 20px !important;
}

.mg-ct .elementor-element-126558d2 .elementor-social-icons-wrapper,
.mg-ct .elementor-element-126558d2 .jkit-social-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.mg-ct .elementor-element-126558d2 .elementor-social-icon,
.mg-ct .elementor-element-126558d2 .jkit-social-icon a {
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
}

.mg-ct .elementor-element-126558d2 .elementor-social-icon,
.mg-ct .elementor-element-126558d2 .jkit-social-icon a {
  background: transparent !important;
  color: var(--mg-muted) !important;
  border-radius: 0 !important;
  transition: color 240ms var(--mg-ease);
}

.mg-ct .elementor-element-126558d2 .elementor-social-icon:hover,
.mg-ct .elementor-element-126558d2 .jkit-social-icon a:hover {
  background: transparent !important;
  color: var(--mg-ink) !important;
}

/* --- Typography inside the panels --------------------------------------- */

.mg-ct .elementor-column .elementor-widget-heading .elementor-heading-title {
  font-family: var(--mg-display) !important;
  font-weight: 600 !important;
  letter-spacing: -0.012em;
  color: var(--mg-ink) !important;
}

.mg-ct .elementor-widget-text-editor,
.mg-ct .elementor-widget-text-editor p {
  font-size: 0.88rem;
  line-height: 1.68;
  color: var(--mg-muted);
}

/* Form controls are styled in the page's own inline block, which owns the
   form markup and loads after this sheet — see contact-us.html. Duplicating
   them here would just be a second source of truth fighting for specificity. */

/* --- Contact list and socials ------------------------------------------- */

.mg-ct .elementor-icon-list-item a,
.mg-ct .elementor-icon-list-text {
  font-size: 0.9rem;
  color: var(--mg-ink);
  text-decoration: none;
}

.mg-ct .elementor-icon-list-item a:hover {
  color: var(--mg-purple);
}

.mg-ct .elementor-social-icon,
.mg-ct .jkit-social-icon a {
  background: var(--mg-surface-soft) !important;
  color: var(--mg-ink) !important;
  border-radius: var(--mg-radius-sm) !important;
  transition:
    background-color 260ms var(--mg-ease),
    color 260ms var(--mg-ease);
}

.mg-ct .elementor-social-icon:hover,
.mg-ct .jkit-social-icon a:hover {
  background: var(--mg-purple) !important;
  color: #ffffff !important;
}

/* --- Responsive --------------------------------------------------------- */

/* The section grid had no small-screen case, so at 390px the details column
   was squeezed to about one word per line beside the form. */
@media (max-width: 860px) {
  .mg-ct .elementor-element-17786417 > .elementor-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .mg-ct .elementor-element-4b12452f { order: 1; }
  .mg-ct .elementor-element-126558d2 { order: 2; }
}

@media (max-width: 900px) {
      }

@media (max-width: 560px) {
  }

@media (prefers-reduced-motion: reduce) {
    .mg-ct button[type="submit"]:hover {
    transform: none;
  }
}
