/* Homepage conversion layout. All rules target new components only.
   Existing testimonials, FAQ and their inherited styles are untouched. */
.mf-home-header { position: relative; z-index: 20; padding: 1.6rem max(2rem, calc((100vw - 116rem) / 2)); display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; background: #fff; }
.mf-home-logo { display: inline-flex; align-items: center; min-height: 4.4rem; margin-right: auto; }
.mf-home-logo img { display: block; width: 12rem; height: auto; }
.mf-home-languages { display: flex; align-items: center; gap: .2rem; }
.mf-home-languages a { min-width: 4.4rem; min-height: 4.4rem; display: grid; place-items: center; font-size: 1.4rem; color: #4a294a; text-decoration: none; border-radius: .8rem; }
.mf-home-languages a[aria-current] { background: #f3d9fa; font-weight: 600; }
.mf-home-menu-toggle { border: 1px solid #d8bfdc; border-radius: .8rem; min-width: 4.4rem; min-height: 4.4rem; background: white; color: #4a294a; font-size: 2.4rem; cursor: pointer; }
.mf-home-nav { width: 100%; display: flex; flex-direction: column; gap: .8rem; padding-top: 1.2rem; }
.mf-home-nav[hidden] { display: none; }
.mf-home-nav > a { min-height: 4.4rem; display: flex; align-items: center; font-size: 1.6rem; color: #4a294a; text-decoration: none; padding: .8rem 1rem; }
.mf-home-container { width: min(100% - 4rem, 112rem); margin: auto; }
.mf-home-section { padding: 5.6rem 0; color: #4a294a; background: #fff; font-size: 1.6rem; line-height: 1.65; }
.mf-home-section h1 { font-size: clamp(3.6rem, 6vw, 6.4rem); line-height: 1.08; letter-spacing: -.03em; max-width: 88rem; margin: 1.2rem 0 2rem; font-weight: 600; }
.mf-home-section h2 { font-size: clamp(2.8rem, 4vw, 4rem); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 2.4rem; font-weight: 600; }
.mf-home-section h3 { font-size: 2rem; line-height: 1.35; margin: 1rem 0; font-weight: 500; }
.mf-home-eyebrow { font-size: 1.4rem; line-height: 1.5; font-weight: 500; color: #862e9c; margin: 0 0 1rem; }
.mf-home-hero { padding-top: 4rem; background: linear-gradient(155deg, #fdf8fe, #f3d9fa); }
.mf-home-intro { max-width: 70rem; font-size: 1.8rem; line-height: 1.7; margin-bottom: 2.4rem; }
.mf-home-button, .mf-home-nav > .mf-home-button { display: inline-flex; align-items: center; justify-content: center; min-height: 4.8rem; padding: 1.4rem 2rem; font-size: 1.6rem; line-height: 1.4; font-weight: 500; color: #fff; background: #862e9c; border-radius: 1rem; text-decoration: none; border: 0; text-align: center; }
.mf-home-button:hover { background: #4a294a; }
.mf-home-header > .mf-home-header-cta { display: none; }
.mf-home-chips { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 2rem; }
.mf-home-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 4.4rem; border: 1px solid #a177aa; border-radius: 3rem; padding: .8rem 1.4rem; color: #4a294a; background: #fff; font-size: 1.4rem; line-height: 1.4; text-decoration: none; }
.mf-home-chip:hover { border-color: #862e9c; background: #fdf7ff; }
.mf-home-trust { list-style: none; display: flex; flex-wrap: wrap; gap: .8rem 2rem; font-size: 1.4rem; line-height: 1.6; margin-bottom: 1rem; }
.mf-home-whatsapp { display: inline-flex; align-items: center; min-height: 4.4rem; color: #4a294a; font-size: 1.4rem; text-underline-offset: .3rem; }
.mf-home-grid { display: grid; gap: 1.6rem; margin-bottom: 2.4rem; }
.mf-home-card { border: 1px solid #e5d2e9; border-radius: 1.6rem; padding: 2.4rem; background: #fdf9fe; }
.mf-home-number { display: inline-grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: #f3d9fa; color: #4a294a; font-weight: 500; font-size: 1.8rem; }
.mf-home-spain { background: #fcf8fd; }
.mf-home-spain .mf-home-scroll { width: 100%; overflow-x: auto; border-radius: 1.4rem; border: 1px solid #e5d2e9; margin-bottom: 1.6rem; -webkit-overflow-scrolling: touch; }
.mf-home-spain .cost-table { min-width: 66rem; width: 100%; }
.mf-home-scroll-hint { margin-bottom: 1.2rem; font-size: 1.4rem; }
.mf-home-spain .cost-table__note { margin: 1.6rem 0 2.4rem; }
.mf-home-about-grid { display: grid; gap: 2.4rem; align-items: center; }
.mf-home-about img { width: 100%; max-width: 36rem; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 2rem; }
.mf-home-about p { margin-bottom: 1.6rem; }
.mf-home-about strong { font-weight: 500; }
.mf-home-network { background: #f8eefb; }
.mf-home-network p { max-width: 76rem; margin-bottom: 2.4rem; }
.mf-home-disclaimer { font-size: 1.4rem; margin: 0 0 1.8rem; }
.mf-home-final { background: #4a294a; color: white; text-align: center; }
.mf-home-final .mf-home-button { background: #f3d9fa; color: #4a294a; }
.mf-home-final h2 { max-width: 80rem; margin: 0 auto 2.4rem; }
.mf-home-bottom { position: fixed; z-index: 19; left: 0; right: 0; bottom: 0; padding: 1.2rem 2rem max(1.2rem, env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 20px #4a294a15; }
.mf-home-bottom[hidden] { display: none; }
.mf-home-bottom .mf-home-button { width: 100%; }
.mf-home-header :focus-visible, .mf-home-section :focus-visible, .mf-home-bottom :focus-visible, .mf-home-guide-link:focus-visible { outline: 3px solid #862e9c; outline-offset: 4px; box-shadow: none; }
.mf-home-final :focus-visible { outline-color: #f3d9fa; }
.mf-home-guide-link { display: inline-flex; align-items: center; min-height: 4.4rem; }
.mf-home-skip { position: absolute; z-index: 30; left: 2rem; top: -10rem; font-size: 1.6rem; padding: 1.4rem; color: #4a294a; background: #fff; }
.mf-home-skip:focus { top: 1rem; }
.mf-home-legacy-anchor { display: block; height: 0; }
.mf-home-bottom-space { height: 0; }
/* Keep the existing WhatsApp control clear of the new mobile conversion bar. */
@media (max-width: 1099px) { .mf-home-bottom:not([hidden]) ~ .btn-whatsapp-float { bottom: calc(9rem + env(safe-area-inset-bottom)); } .mf-home-bottom:not([hidden]) ~ .mf-home-bottom-space { height: calc(9rem + env(safe-area-inset-bottom)); } }
@media (min-width: 700px) { .mf-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mf-home-about-grid { grid-template-columns: minmax(0, 1fr) 28rem; } .mf-home-about img { order: 2; } }
@media (min-width: 1100px) {
  .mf-home-header { flex-wrap: nowrap; gap: 2rem; }
  .mf-home-logo img { width: 19.2rem; }
  .mf-home-menu-toggle { display: none; }
  .mf-home-nav, .mf-home-nav[hidden] { display: flex; width: auto; flex-direction: row; align-items: center; gap: .8rem; padding: 0; }
  .mf-home-languages { order: 2; }
  .mf-home-nav > .mf-home-button { display: none; }
  .mf-home-header > .mf-home-header-cta { display: inline-flex; order: 3; }
  .mf-home-section { padding: 7.2rem 0; }
  .mf-home-hero { padding: 7.2rem 0; }
  .mf-home-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mf-home-who { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mf-home-bottom { display: none; }
  .mf-home-scroll-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mf-home-header *, .mf-home-section *, .mf-home-bottom * { transition: none; animation: none; } }
