/* ============================================================
   MOVERS FOR ME — CONTACT PAGE STYLES
   Sections that exist only on the Contact page.
   Loaded only on Contact via functions.php.
   ============================================================ */


/* ============================================================
   CONTACT HERO — COMPACT INTRO
   Same pattern as other secondary-page heroes.
   ============================================================ */

.mfm-contact-hero {
  position: relative;
  width: 100%;
  padding-top: 65px;
  min-height: 45vh;
  background-image: url('https://moversforme.mystagingwebsite.com/wp-content/uploads/2026/06/Contact-Banner.webp');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.mfm-contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18, 18, 18, 0.88) 0%,
    rgba(18, 18, 18, 0.7) 50%,
    rgba(18, 18, 18, 0.88) 100%
  );
  z-index: -1;
}

.mfm-contact-hero__inner {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 70px 32px;
  color: var(--mfm-white);
  text-align: center;
}

.mfm-contact-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--mfm-font-subhead);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mfm-teal);
  margin-bottom: 22px;
}

.mfm-contact-hero__eyebrow::before,
.mfm-contact-hero__eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background-color: var(--mfm-teal);
}

.mfm-contact-hero__title {
  font-family: var(--mfm-font-heading);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 50px);
  line-height: 1.05;
  letter-spacing: 0.5px;
  color: var(--mfm-white);
  text-transform: uppercase;
  margin: 0 auto 20px auto;
  max-width: 760px;
}

.mfm-contact-hero__title .accent {
  color: var(--mfm-orange);
}

.mfm-contact-hero__subtitle {
  font-family: var(--mfm-font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 auto;
  max-width: 620px;
}

@media (max-width: 768px) {
  .mfm-contact-hero {
    min-height: 40vh;
  }

  .mfm-contact-hero__inner {
    padding: 56px 20px;
  }

  .mfm-contact-hero__title {
    font-size: clamp(28px, 7vw, 38px);
  }

  .mfm-contact-hero__subtitle {
    font-size: 14px;
  }
}

/* ============================================================
   CONTACT METHODS — QUICK-REACH CARDS
   3 cards: Phone, Email, Quote Online. Cards are <div>s (not
   <a>s) so WordPress doesn't mangle them. Clickable area is
   an absolutely-positioned overlay <a> covering the whole card.
   ============================================================ */

.mfm-contact-methods {
  position: relative;
  background-color: var(--mfm-warm-gray);
  padding: 70px 32px 80px 32px;
  overflow: hidden;
}

.mfm-contact-methods__inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.mfm-contact-methods__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Brute-force: hide ANY paragraphs WordPress injects between cards */
.mfm-contact-methods__grid > p,
.mfm-contact-methods__grid > br {
  display: none !important;
}

.mfm-contact-method {
  position: relative;
  background-color: var(--mfm-white);
  border: 1px solid rgba(18, 18, 18, 0.06);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.mfm-contact-method:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 157, 91, 0.3);
  box-shadow:
    0 16px 36px rgba(18, 18, 18, 0.08),
    0 4px 12px rgba(18, 18, 18, 0.05);
}

/* The link overlay — covers the whole card */
.mfm-contact-method__link-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none !important;
}

.mfm-contact-method__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--mfm-soft-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.35s ease;
}

.mfm-contact-method__icon i {
  color: var(--mfm-orange);
  font-size: 26px;
  line-height: 1;
}

.mfm-contact-method:hover .mfm-contact-method__icon {
  background-color: var(--mfm-orange);
}

.mfm-contact-method:hover .mfm-contact-method__icon i {
  color: var(--mfm-white);
}

.mfm-contact-method__label {
  font-family: var(--mfm-font-subhead);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mfm-teal);
  margin-bottom: 10px;
  display: block;
}

.mfm-contact-method__value {
  font-family: var(--mfm-font-heading);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--mfm-charcoal);
  margin: 0 0 6px 0;
}

.mfm-contact-method__sub {
  font-family: var(--mfm-font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mfm-slate);
  margin: 0;
}

@media (max-width: 991px) {
  .mfm-contact-methods__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .mfm-contact-methods {
    padding: 50px 20px 60px 20px;
  }

  .mfm-contact-method {
    padding: 28px 24px;
  }
}

/* ============================================================
   CONTACT FORM + SIDEBAR
   Form on the left (Ninja Forms widget, default styling).
   Sidebar on the right with social links + supporting text.
   White section so form fields contrast cleanly.
   ============================================================ */

.mfm-contact-form-section {
  position: relative;
  background-color: var(--mfm-white);
  padding: 90px 32px 100px 32px;
  overflow: hidden;
}

.mfm-contact-form-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.mfm-contact-form-section .row {
  align-items: stretch !important;
}

/* --- Form side --- */

.mfm-contact-form__header {
  margin-bottom: 30px;
}

.mfm-contact-form__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mfm-font-subhead);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mfm-teal);
  margin-bottom: 16px;
}

.mfm-contact-form__eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background-color: var(--mfm-teal);
}

.mfm-contact-form__title {
  font-family: var(--mfm-font-heading) !important;
  font-weight: 700 !important;
  font-size: clamp(28px, 3.4vw, 38px) !important;
  line-height: 1.1 !important;
  letter-spacing: 0.5px !important;
  color: var(--mfm-charcoal) !important;
  text-transform: uppercase !important;
  margin: 0 0 14px 0 !important;
}

.mfm-contact-form__title .accent {
  color: var(--mfm-orange);
}

.mfm-contact-form__desc {
  font-family: var(--mfm-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--mfm-slate);
  margin: 0;
}

/* --- Sidebar (right side) --- */

.mfm-contact-sidebar {
  background-color: var(--mfm-charcoal);
  border-radius: 12px;
  padding: 40px 36px;
  color: var(--mfm-white);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.mfm-contact-sidebar::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 160px;
  height: 160px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%2369A39F' stroke-width='1.5'><polygon points='50,10 90,30 90,75 50,95 10,75 10,30'/><line x1='50' y1='10' x2='50' y2='55'/><line x1='50' y1='55' x2='10' y2='30'/><line x1='50' y1='55' x2='90' y2='30'/><line x1='50' y1='55' x2='50' y2='95'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.12;
  pointer-events: none;
}

.mfm-contact-sidebar__inner {
  position: relative;
  z-index: 1;
}

.mfm-contact-sidebar__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mfm-font-subhead);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mfm-teal);
  margin-bottom: 16px;
}

.mfm-contact-sidebar__eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background-color: var(--mfm-teal);
}

.mfm-contact-sidebar__title {
  font-family: var(--mfm-font-heading) !important;
  font-weight: 700 !important;
  font-size: 26px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.5px !important;
  color: var(--mfm-white) !important;
  text-transform: uppercase !important;
  margin: 0 0 20px 0 !important;
}

.mfm-contact-sidebar__text {
  font-family: var(--mfm-font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 28px 0;
}

/* Divider */
.mfm-contact-sidebar__divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.12);
  margin: 28px 0;
}

/* Quick-info items in sidebar */
.mfm-contact-sidebar__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.mfm-contact-sidebar__item:last-of-type {
  margin-bottom: 0;
}

.mfm-contact-sidebar__item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(105, 163, 159, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mfm-contact-sidebar__item-icon i {
  color: var(--mfm-teal);
  font-size: 15px;
  line-height: 1;
}

.mfm-contact-sidebar__item-content {
  flex: 1;
  min-width: 0;
}

.mfm-contact-sidebar__item-label {
  font-family: var(--mfm-font-subhead);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
  display: block;
}

.mfm-contact-sidebar__item-value {
  font-family: var(--mfm-font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mfm-white);
  margin: 0;
  word-break: break-word;
}

.mfm-contact-sidebar__item-value a {
  color: var(--mfm-white) !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.mfm-contact-sidebar__item-value a:hover {
  color: var(--mfm-orange) !important;
}

/* Social icons */
.mfm-contact-sidebar__social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.mfm-contact-sidebar__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mfm-white) !important;
  transition: all 0.3s ease;
}

.mfm-contact-sidebar__social a:hover {
  background-color: var(--mfm-orange);
  transform: translateY(-2px);
}

.mfm-contact-sidebar__social i {
  font-size: 15px;
  line-height: 1;
}

/* --- Tablet + Mobile --- */

@media (max-width: 991px) {
  .mfm-contact-form-section .row {
    align-items: flex-start !important;
  }

  .mfm-contact-sidebar {
    margin-top: 50px;
  }
}

@media (max-width: 768px) {
  .mfm-contact-form-section {
    padding: 60px 16px 70px 16px;
  }

  .mfm-contact-form__title {
    font-size: clamp(24px, 6.5vw, 32px) !important;
  }

  .mfm-contact-form__desc {
    font-size: 15px;
  }

  .mfm-contact-sidebar {
    padding: 32px 26px;
  }

  .mfm-contact-sidebar__title {
    font-size: 22px !important;
  }
}

/* ============================================================
   END CONTACT PAGE STYLES
   ============================================================ */
/* ============================================================
   NINJA FORMS LABEL OVERRIDES — Force black for readability
   Targets the form ID directly to beat legacy #nf-form-8-cont
   rule in style.css that forces labels to white.
   ============================================================ */

#nf-form-8-cont label,
#nf-form-8-cont .nf-field-label label,
#nf-form-8-cont .ninja-forms-req-symbol {
  color: #000 !important;
  font-family: var(--mfm-font-subhead) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}