/* ============================================================
   MOVERS FOR ME — HOMEPAGE-SPECIFIC STYLES
   Sections that exist only on the homepage.
   Loaded only on front-page via functions.php.
   Depends on brand-foundation.css for variables and utilities.
   ============================================================ */

/* ============================================================
   HERO — HOMEPAGE (2026 REFRESH)
   First section migrated to the new brand system.
   Uses .mfm-hero prefix so it never collides with the legacy
   .hero-container used on other pages.
   ============================================================ */

.mfm-hero {
  position: relative;
  width: 100%;
  min-height: 85vh;
  background-image: url('https://moversforme.mystagingwebsite.com/wp-content/uploads/2024/08/CH2_6969-scaled.jpg');
  background-size: cover;
  background-position: center 15%;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

/* Gradient overlay: transparent at top (shows the team),
   dark at bottom (lets text read cleanly). */
.mfm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18, 18, 18, 0.15) 0%,
    rgba(18, 18, 18, 0.55) 55%,
    rgba(18, 18, 18, 0.88) 100%
  );
  z-index: -1;
}

.mfm-hero__inner {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 120px 32px 80px 32px;
  color: var(--mfm-white);
}

.mfm-hero__eyebrow {
  font-family: var(--mfm-font-subhead);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mfm-teal);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* Small teal accent rule next to the eyebrow */
.mfm-hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background-color: var(--mfm-teal);
}

.mfm-hero__title {
  font-family: var(--mfm-font-heading);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: 0.5px;
  color: var(--mfm-white);
  text-transform: uppercase;
  margin: 0 0 24px 0;
  max-width: 900px;
}

.mfm-hero__title .accent {
  color: var(--mfm-orange);
}

.mfm-hero__subtitle {
  font-family: var(--mfm-font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 36px 0;
  max-width: 620px;
}

.mfm-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.mfm-hero__cta {
  display: inline-block;
  font-family: var(--mfm-font-subhead);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 36px;
  background-color: var(--mfm-orange);
  color: var(--mfm-white) !important;
  border: 2px solid var(--mfm-orange);
  border-radius: 4px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.mfm-hero__cta:hover {
  background-color: var(--mfm-white);
  color: var(--mfm-orange) !important;
  border-color: var(--mfm-white);
  transform: translateY(-1px);
}

.mfm-hero__phone {
  font-family: var(--mfm-font-subhead);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.mfm-hero__phone:hover {
  color: var(--mfm-orange) !important;
}

.mfm-hero__phone i {
  color: var(--mfm-teal);
  font-size: 16px;
}

/* Small label above phone number */
.mfm-hero__phone-label {
  font-family: var(--mfm-font-subhead);
  font-weight: 500;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  margin: 0;
}

/* --- Mobile adjustments --- */
@media (max-width: 768px) {
  .mfm-hero {
    min-height: 70vh;
    align-items: flex-end;
    background-position: center 20%;
  }

  .mfm-hero__inner {
    padding: 80px 20px 60px 20px;
    text-align: left;
  }

  .mfm-hero::before {
    background: linear-gradient(
      to bottom,
      rgba(18, 18, 18, 0.25) 0%,
      rgba(18, 18, 18, 0.7) 40%,
      rgba(18, 18, 18, 0.92) 100%
    );
  }

  .mfm-hero__title {
    font-size: clamp(32px, 8vw, 44px);
  }

  .mfm-hero__actions {
    gap: 16px;
  }

  .mfm-hero__cta {
    padding: 14px 24px;
    font-size: 14px;
  }

  .mfm-hero__phone {
    font-size: 13px;
  }
}

/* ============================================================
   END HERO
   ============================================================ */

/* ============================================================
   WE ARE — VIDEO + STORY SECTION (2026 REFRESH)
   Homepage brand-story moment. Video on left, story on right.
   Uses Bootstrap grid for layout; .mfm-story__* for styling.
   ============================================================ */

.mfm-story {
  position: relative;
  background-color: var(--mfm-warm-gray);
  padding: 100px 0;
  overflow: hidden;
}

/* Decorative cube motif watermark — per style guide Section 4.
   Sits behind content, very low opacity, won't interfere with text. */
.mfm-story::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 360px;
  height: 360px;
  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.08;
  pointer-events: none;
  z-index: 0;
}

.mfm-story .container {
  position: relative;
  z-index: 1;
}

/* --- Video column --- */

.mfm-story__video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(18, 18, 18, 0.12),
    0 6px 18px rgba(18, 18, 18, 0.08);
  background-color: var(--mfm-charcoal);
}

.mfm-story__video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Small teal accent bar that sits under the video */
.mfm-story__video-accent {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-family: var(--mfm-font-subhead);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mfm-slate);
}

.mfm-story__video-accent::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background-color: var(--mfm-teal);
}

/* --- Story column --- */

.mfm-story__content {
  padding-left: 20px;
}

.mfm-story__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: 20px;
}

.mfm-story__eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background-color: var(--mfm-teal);
}

.mfm-story__title {
  font-family: var(--mfm-font-heading);
  font-weight: 700;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.1;
  letter-spacing: 0.5px;
  color: var(--mfm-charcoal);
  text-transform: uppercase;
  margin: 0 0 28px 0;
}

.mfm-story__title .accent {
  color: var(--mfm-orange);
}

.mfm-story__lead {
  font-family: var(--mfm-font-body);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.55;
  color: var(--mfm-charcoal);
  margin: 0 0 20px 0;
}

.mfm-story__body {
  font-family: var(--mfm-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--mfm-slate);
  margin: 0 0 32px 0;
}

.mfm-story__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.mfm-story__link {
  font-family: var(--mfm-font-subhead);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mfm-orange) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 2px solid var(--mfm-orange);
  transition: all 0.3s ease;
}

.mfm-story__link:hover {
  color: var(--mfm-charcoal) !important;
  border-bottom-color: var(--mfm-charcoal);
}

.mfm-story__link i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.mfm-story__link:hover i {
  transform: translateX(4px);
}

.mfm-story__phone {
  font-family: var(--mfm-font-subhead);
  font-weight: 500;
  font-size: 14px;
  color: var(--mfm-slate);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.mfm-story__phone:hover {
  color: var(--mfm-orange) !important;
}

.mfm-story__phone i {
  color: var(--mfm-teal);
  font-size: 16px;
}

/* --- Tablet + Mobile --- */

@media (max-width: 991px) {
  .mfm-story__content {
    padding-left: 0;
    padding-top: 40px;
  }

  .mfm-story__video-accent {
    display: none;
  }
}

@media (max-width: 768px) {
  .mfm-story {
    padding: 70px 0;
  }

  .mfm-story::before {
    width: 220px;
    height: 220px;
    top: -30px;
    right: -50px;
  }

  .mfm-story__video-wrap {
    border-radius: 8px;
  }

  .mfm-story__title {
    font-size: clamp(28px, 8vw, 36px);
    margin-bottom: 20px;
  }

  .mfm-story__lead {
    font-size: 17px;
  }

  .mfm-story__body {
    font-size: 15px;
  }

  .mfm-story__actions {
    gap: 16px;
  }
}

/* ============================================================
   END WE ARE — VIDEO + STORY SECTION
   ============================================================ */