/* Mariachis Órale — footer.css
   Use this in DirectoryCrafter field: Footer CSS (.css o URL)
   Scope: footer only.
*/
:root{
  --mo-primary:#0f6b57;
  --mo-primary-hover:#0b5646;
  --mo-secondary:#c89b3c;
  --mo-secondary-hover:#b8872f;
  --mo-red:#b33a2e;
  --mo-bg:#faf7f2;
  --mo-bg-soft:#f3eadc;
  --mo-white:#ffffff;
  --mo-card:#ffffff;
  --mo-text:#252525;
  --mo-muted:#6f6a61;
  --mo-footer:#12382f;
  --mo-footer-deep:#0d2a23;
  --mo-border:#e8ddcc;
  --mo-border-soft:#efe6d8;
  --mo-shadow:0 14px 34px rgba(42,36,31,.08);
  --mo-shadow-soft:0 8px 22px rgba(42,36,31,.06);
  --mo-radius-card:6px;
  --mo-radius-btn:4px;
  --mo-radius-badge:8px;
  --mo-container:1180px;
  --mo-header-h:78px;
  --mo-font:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
  --mo-serif:Georgia, "Times New Roman", serif;
}

*{box-sizing:border-box}

.footer{
  background:var(--mo-footer);
  color:#f8f3ea;
  margin-top:auto;
}

.footer-inner{
  width:min(100% - 32px,var(--mo-container));
  margin-inline:auto;
  display:grid;
  grid-template-columns:1.25fr .7fr 1.05fr;
  gap:2rem;
  padding:clamp(2.3rem,5vw,4rem) 0 2.2rem;
}

.footer-logo{
  display:block;
  width:min(230px,70vw);
  max-height:64px;
  object-fit:contain;
  margin-bottom:1rem;
  background:#fff;
  border-radius:var(--mo-radius-card);
  padding:.35rem .55rem;
}

.footer p{
  color:#d8d1c6;
  max-width:420px;
  margin:0;
  line-height:1.65;
}

.footer h3{
  color:#fff;
  font-size:1rem;
  margin:0 0 .75rem;
  letter-spacing:-.015em;
  line-height:1.2;
}

.footer a{
  display:block;
  color:#eadfce;
  margin:.35rem 0;
  font-size:.94rem;
  line-height:1.45;
  text-decoration:none;
}

.footer a:hover{
  color:#fff;
  text-decoration:underline;
  text-decoration-color:var(--mo-secondary);
  text-underline-offset:3px;
}

.footer-bottom{
  background:var(--mo-footer-deep);
  color:#d9cec0;
  text-align:center;
  padding:.9rem 1rem;
  font-size:.88rem;
  border-top:1px solid rgba(255,255,255,.08);
}

@media (max-width:860px){
  .footer-inner{
    grid-template-columns:1fr;
    gap:1.6rem;
  }
}

@media (max-width:640px){
  .footer-inner{
    width:min(100% - 24px,var(--mo-container));
  }
}

.footer-logo{max-width:260px;height:auto}
.footer *{box-sizing:border-box}

/* =========================================================
   v3 — DirectoryCrafter shared-footer compatibility guard
   Keeps the HUB footer independent from DirectoryCrafter's
   generated .footer/.footer-inner/.footer-logo rules.
   ========================================================= */
.footer{
  background:var(--mo-footer,#12382f)!important;
  color:#f8f3ea!important;
  margin-top:auto!important;
}
.footer-inner{
  width:min(100% - 32px,var(--mo-container,1180px))!important;
  max-width:var(--mo-container,1180px)!important;
  margin-inline:auto!important;
  display:grid!important;
  grid-template-columns:1.25fr .7fr 1.05fr!important;
  gap:2rem!important;
  padding:clamp(2.3rem,5vw,4rem) 0 2.2rem!important;
  background:transparent!important;
  border:0!important;
}
.footer-logo{
  display:block!important;
  width:min(230px,70vw)!important;
  height:auto!important;
  max-width:260px!important;
  max-height:64px!important;
  object-fit:contain!important;
  margin:0 0 1rem!important;
  background:#fff!important;
  border-radius:var(--mo-radius-card,6px)!important;
  padding:.35rem .55rem!important;
}
.footer p{
  color:#d8d1c6!important;
  max-width:420px!important;
  margin:0!important;
  line-height:1.65!important;
}
.footer h3{
  color:#fff!important;
  font-size:1rem!important;
  margin:0 0 .75rem!important;
  letter-spacing:-.015em!important;
  line-height:1.2!important;
}
.footer a,
.footer a:visited{
  display:block!important;
  color:#eadfce!important;
  margin:.35rem 0!important;
  font-size:.94rem!important;
  line-height:1.45!important;
  text-decoration:none!important;
}
.footer a:hover{
  color:#fff!important;
  text-decoration:underline!important;
  text-decoration-color:var(--mo-secondary,#c89b3c)!important;
  text-underline-offset:3px!important;
}
.footer-bottom{
  max-width:none!important;
  background:var(--mo-footer-deep,#0d2a23)!important;
  color:#d9cec0!important;
  text-align:center!important;
  padding:.9rem 1rem!important;
  font-size:.88rem!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
  margin:0!important;
}
@media (max-width:860px){.footer-inner{grid-template-columns:1fr!important;gap:1.6rem!important;}}
@media (max-width:640px){.footer-inner{width:min(100% - 24px,var(--mo-container,1180px))!important;}}

