/* ==========================================================
   SCOPED PREMIUM MOROCCAN ARTISAN FOOTER
   Strictly scoped under .mh-footer.
   Zero global leaks, zero container changes.
   ========================================================== */
.mh-footer.section-shell {
  padding-inline: 0 !important;
  background-color: #FAF6EF;
  border: 1px solid rgba(189, 168, 133, 0.45);
  box-shadow: 0 4px 20px rgba(50, 35, 25, 0.05);
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  margin-bottom: 24px;
  box-sizing: border-box;
}

.mh-footer * {
  box-sizing: border-box;
}

.mh-footer__main {
  position: relative;
  padding: 44px 24px 38px;
  min-height: 400px;
}

/* Subtle side ornaments (~75px wide, restrained opacity) */
.mh-footer__ornament {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 75px;
  pointer-events: none;
  opacity: 0.55;
  z-index: 1;
}
.mh-footer__ornament--left {
  left: 0;
}
.mh-footer__ornament--right {
  right: 0;
  transform: scaleX(-1);
}
.mh-footer__ornament svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 5-Column Centered Inner Grid */
.mh-footer__grid {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Proportional Columns */
.mh-footer__col--brand {
  flex: 0 0 31%;
  max-width: 31%;
}
.mh-footer__col--mag {
  flex: 0 0 13%;
  max-width: 13%;
}
.mh-footer__col--rubriques {
  flex: 0 0 15%;
  max-width: 15%;
}
.mh-footer__col--social {
  flex: 0 0 14%;
  max-width: 14%;
}
.mh-footer__col--contact {
  flex: 0 0 21%;
  max-width: 21%;
}

/* Subtle 1px Vertical Dividers with Central Diamond */
.mh-footer__v-sep {
  flex: 0 0 1px;
  align-self: stretch;
  background: rgba(181, 138, 75, 0.35);
  position: relative;
  margin: 0 10px;
  min-height: 280px;
}
.mh-footer__v-sep::after {
  content: '◇';
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  color: #B58A4B;
  background: #FAF6EF;
  padding: 3px 0;
  line-height: 1;
}

/* Brand Column Elements */
.mh-footer__brand-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 46px;
  font-weight: 700;
  color: #B64628;
  line-height: 1.1;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 1px rgba(74, 30, 18, 0.15);
}
.mh-footer__brand-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  width: 90%;
}
.mh-footer__divider-line {
  flex: 1;
  height: 1px;
  background: #C29A5B;
}
.mh-footer__rosette {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}
.mh-footer__descriptor {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #786B61;
  line-height: 1.45;
  margin: 0 0 14px;
}
.mh-footer__statement {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: #4A3B32;
  line-height: 1.4;
  margin: 0;
}

/* Headings */
.mh-footer__col-heading {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17.5px;
  font-weight: 600;
  color: #2E201B;
  margin: 0 0 14px;
  position: relative;
  padding-bottom: 6px;
  line-height: 1.2;
}
.mh-footer__col-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 1px;
  background: #C29A5B;
}

/* Links */
.mh-footer__links a {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13.5px;
  color: #4A3E39;
  text-decoration: none;
  margin-bottom: 6.5px;
  line-height: 1.45;
  transition: color 0.15s ease;
}
.mh-footer__links a:hover {
  color: #B64628;
}

/* Social List */
.mh-footer__social-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mh-footer__social-list li {
  margin-bottom: 7px;
}
.mh-footer__social-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.mh-footer__social-list a:hover .mh-footer__social-label {
  color: #B64628;
}
.mh-footer__medallion {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: #B64628;
  border: 1.5px solid #C29A5B;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FAF6EF;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mh-footer__social-list a:hover .mh-footer__medallion {
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.22);
}
.mh-footer__medallion svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.mh-footer__social-label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13.5px;
  color: #4A3E39;
  font-weight: 500;
  transition: color 0.15s ease;
}

/* Contact Column */
.mh-footer__contact-items {
  margin-bottom: 12px;
}
.mh-footer__contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  text-decoration: none;
  color: #4A3E39;
}
.mh-footer__medallion--contact {
  background: #C29A5B;
  border-color: #D7BA84;
}
.mh-footer__contact-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #4A3E39;
  word-break: break-word;
  transition: color 0.15s ease;
}
a.mh-footer__contact-row:hover .mh-footer__contact-text {
  color: #B64628;
}
.mh-footer__contact-divider {
  width: 85%;
  height: 1px;
  background: rgba(181, 138, 75, 0.35);
  margin: 14px 0 11px;
}
.mh-footer__contact-quote {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 13.5px;
  color: #4A3B32;
  line-height: 1.4;
  margin: 0 0 10px;
}
.mh-footer__quote-line {
  width: 38px;
  height: 1px;
  background: #C29A5B;
}

/* Bottom Terracotta Legal Bar */
.mh-footer__legal-bar {
  background-color: #9E381F;
  border-top: 1.5px solid #C29A5B;
  padding: 16px 28px;
  position: relative;
  z-index: 2;
}
.mh-footer__legal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 12px;
}
.mh-footer__legal-left p {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12.5px;
  color: #FAF6EF;
  line-height: 1.4;
}
.mh-footer__legal-left a {
  color: #FAF6EF;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mh-footer__legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mh-footer__legal-links a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12.5px;
  color: #FAF6EF;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.mh-footer__legal-links a:hover {
  opacity: 0.8;
  text-decoration: underline;
}
.mh-footer__legal-sep {
  color: #D7BA84;
  font-size: 12px;
  opacity: 0.7;
}

/* Responsive Rules */
@media (max-width: 1080px) {
  .mh-footer__grid {
    flex-wrap: wrap;
    gap: 28px 0;
    padding: 0 20px;
  }
  .mh-footer__col--brand {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 10px;
  }
  .mh-footer__v-sep {
    display: none;
  }
  .mh-footer__col--mag {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .mh-footer__col--rubriques {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .mh-footer__col--social {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .mh-footer__col--contact {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .mh-footer__ornament {
    width: 45px;
    opacity: 0.35;
  }
}

@media (max-width: 768px) {
  .mh-footer__main {
    padding: 32px 18px 28px;
  }
  .mh-footer__ornament {
    display: none;
  }
  .mh-footer__grid {
    padding: 0;
    gap: 26px 0;
  }
  .mh-footer__col--mag,
  .mh-footer__col--rubriques,
  .mh-footer__col--social,
  .mh-footer__col--contact {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .mh-footer__legal-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
  }
  .mh-footer__legal-links {
    flex-wrap: wrap;
    gap: 8px 10px;
  }
}
