body.nmm-hide-theme-footer #colophon,
body.nmm-hide-theme-footer footer.site-footer:not(.nmm-site-footer),
body.nmm-hide-theme-footer .site-footer:not(.nmm-site-footer),
body.nmm-hide-theme-footer .elementor-location-footer,
body.nmm-hide-theme-footer .ast-footer-overlay,
body.nmm-hide-theme-footer .site-primary-footer-wrap,
body.nmm-hide-theme-footer .site-above-footer-wrap,
body.nmm-hide-theme-footer .site-below-footer-wrap{
  display:none!important;
}

.nmm-site-footer{
  position:relative;
  z-index:30;
  overflow:hidden;
  width:100%;
  margin:0;
  color:rgba(255,255,255,.82);
  background:
    radial-gradient(circle at 12% 85%,rgba(216,179,95,.13),transparent 25%),
    radial-gradient(circle at 88% 25%,rgba(153,25,43,.22),transparent 28%),
    linear-gradient(145deg,var(--nmm-bg),#0d302c 58%,#350810 145%);
  font-family:inherit;
}

.nmm-site-footer *,
.nmm-site-footer *::before,
.nmm-site-footer *::after{
  box-sizing:border-box;
}

.nmm-site-footer a{
  text-decoration:none!important;
}

.nmm-site-footer::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.34;
  background-image:
    radial-gradient(circle,rgba(255,255,255,.34) 0 1px,transparent 1.5px),
    radial-gradient(circle,rgba(216,179,95,.42) 0 1px,transparent 1.7px);
  background-position:0 0,31px 43px;
  background-size:82px 82px,117px 117px;
}

.nmm-footer__ornaments{
  position:absolute;
  top:122px;
  right:max(2vw,18px);
  z-index:1;
  display:grid;
  gap:34px;
  color:rgba(244,223,178,.17);
  font-size:18px;
  pointer-events:none;
  animation:nmmFooterFloat 7s ease-in-out infinite alternate;
}

.nmm-footer__ornaments span:nth-child(2n){
  margin-left:36px;
  color:rgba(255,255,255,.13);
  font-size:12px;
}

/* Llamada a la acción superior */
.nmm-footer-cta{
  position:relative;
  z-index:3;
  border-top:1px solid rgba(216,179,95,.34);
  border-bottom:1px solid rgba(216,179,95,.2);
  background:
    linear-gradient(110deg,rgba(255,255,255,.035),transparent 45%),
    linear-gradient(90deg,rgba(143,20,36,.92),rgba(110,15,29,.92));
}

.nmm-footer-cta::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:linear-gradient(90deg,transparent,var(--nmm-accent),#f5dfac,var(--nmm-accent),transparent);
}

.nmm-footer-cta__inner{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:22px;
  align-items:center;
  padding:31px 0;
}

.nmm-footer-cta__icon{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  flex:0 0 54px;
  color:#2b1a04;
  border-radius:18px;
  background:linear-gradient(145deg,#f7e7bd,var(--nmm-accent));
  box-shadow:0 14px 30px rgba(0,0,0,.2);
  font-size:25px;
  animation:nmmFooterSpark 2.4s ease-in-out infinite alternate;
}

.nmm-footer-cta__copy h2{
  margin:0;
  color:#fff;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(25px,3vw,39px);
  line-height:1.05;
  letter-spacing:-.025em;
}

.nmm-footer-cta__copy p{
  max-width:760px;
  margin:8px 0 0;
  color:rgba(255,255,255,.76);
  font-size:15px;
  line-height:1.55;
}

.nmm-footer-cta__button{
  display:inline-flex;
  min-height:49px;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 21px;
  color:#251705!important;
  border:1px solid rgba(255,255,255,.35);
  border-radius:999px;
  background:linear-gradient(135deg,#f7e5b7,var(--nmm-accent));
  box-shadow:0 14px 31px rgba(0,0,0,.21);
  font-size:14px;
  font-weight:900;
  white-space:nowrap;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}

.nmm-footer-cta__button:hover,
.nmm-footer-cta__button:focus{
  color:#251705!important;
  transform:translateY(-3px);
  filter:saturate(1.08);
  box-shadow:0 19px 37px rgba(0,0,0,.28);
}

.nmm-footer-cta__button span:last-child{
  transition:transform .2s ease;
}

.nmm-footer-cta__button:hover span:last-child{
  transform:translateX(4px);
}

/* Cuatro áreas independientes de widgets */
.nmm-footer__main{
  position:relative;
  z-index:2;
  padding:69px 0 58px;
}

.nmm-footer__grid{
  display:grid;
  grid-template-columns:minmax(0,1.22fr) repeat(3,minmax(0,1fr));
  gap:44px;
  align-items:start;
}

.nmm-footer__column{
  min-width:0;
}

.nmm-footer-widget{
  min-width:0;
  margin:0;
  padding:0;
  color:rgba(255,255,255,.7);
}

.nmm-footer-widget + .nmm-footer-widget{
  margin-top:31px;
  padding-top:29px;
  border-top:1px solid rgba(255,255,255,.1);
}

.nmm-footer-widget__title,
.nmm-footer-widget .widget-title,
.nmm-footer-widget .wp-block-heading,
.nmm-footer-widget > h1,
.nmm-footer-widget > h2,
.nmm-footer-widget > h3,
.nmm-footer-widget > h4{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 20px!important;
  padding:0 0 12px;
  color:#fff!important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:19px!important;
  line-height:1.25;
  font-weight:700;
  letter-spacing:0;
}

.nmm-footer-widget__title::after,
.nmm-footer-widget .widget-title::after,
.nmm-footer-widget .wp-block-heading::after,
.nmm-footer-widget > h1::after,
.nmm-footer-widget > h2::after,
.nmm-footer-widget > h3::after,
.nmm-footer-widget > h4::after{
  content:"";
  position:absolute;
  left:0;
  bottom:3px;
  width:34px;
  height:2px;
  border-radius:2px;
  background:var(--nmm-accent);
}

.nmm-footer-widget p,
.nmm-footer-widget address,
.nmm-footer-widget figcaption{
  margin:0;
  color:rgba(255,255,255,.68);
  font-size:14px;
  line-height:1.72;
}

.nmm-footer-widget p + p{
  margin-top:12px;
}

.nmm-footer-widget img{
  max-width:100%;
  height:auto;
}

.nmm-footer-widget figure{
  margin:0;
}

/* Menús clásicos, bloque Navegación y listas */
.nmm-footer-widget ul,
.nmm-footer-widget ol,
.nmm-footer-widget .menu,
.nmm-footer-widget .sub-menu,
.nmm-footer-widget .wp-block-navigation__container,
.nmm-footer-widget .wp-block-page-list{
  display:grid!important;
  gap:9px;
  padding:0!important;
  margin:0!important;
  list-style:none!important;
}

.nmm-footer-widget li{
  min-width:0;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}

.nmm-footer-widget li::marker{
  content:"";
}

.nmm-footer-widget li > ul,
.nmm-footer-widget li > ol,
.nmm-footer-widget .sub-menu,
.nmm-footer-widget .wp-block-navigation__submenu-container{
  position:static!important;
  visibility:visible!important;
  opacity:1!important;
  width:auto!important;
  min-width:0!important;
  display:grid!important;
  gap:8px!important;
  margin:8px 0 0 12px!important;
  padding:0 0 0 12px!important;
  border:0!important;
  border-left:1px solid rgba(216,179,95,.28)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
}

.nmm-footer-widget a:not(.wp-block-button__link){
  position:relative;
  display:inline-flex;
  align-items:flex-start;
  gap:8px;
  max-width:100%;
  padding:2px 0;
  color:rgba(255,255,255,.72)!important;
  font-size:13px;
  line-height:1.45;
  overflow-wrap:anywhere;
  transition:color .2s ease,transform .2s ease;
}

.nmm-footer-widget li > a:not(.wp-block-button__link)::before,
.nmm-footer-widget .wp-block-navigation-item__content::before{
  content:"";
  width:5px;
  height:5px;
  flex:0 0 5px;
  margin-top:.55em;
  border-radius:50%;
  background:var(--nmm-accent);
  opacity:.78;
}

.nmm-footer-widget a:not(.wp-block-button__link):hover,
.nmm-footer-widget a:not(.wp-block-button__link):focus{
  color:#fff!important;
  transform:translateX(4px);
}

.nmm-footer-widget .wp-block-navigation,
.nmm-footer-widget .wp-block-navigation__responsive-container,
.nmm-footer-widget .wp-block-navigation__responsive-container-content{
  display:block!important;
  position:static!important;
  padding:0!important;
  background:transparent!important;
  color:inherit!important;
}

.nmm-footer-widget .wp-block-navigation__responsive-container-open,
.nmm-footer-widget .wp-block-navigation__responsive-container-close,
.nmm-footer-widget .wp-block-navigation__submenu-icon{
  display:none!important;
}

/* Botones y formulario dentro de widgets */
.nmm-footer-widget .wp-block-buttons{
  gap:9px;
  margin-top:17px;
}

.nmm-footer-widget .wp-block-button__link,
.nmm-footer-widget button,
.nmm-footer-widget input[type="submit"]{
  display:inline-flex;
  min-height:42px;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  color:#251705!important;
  border:0;
  border-radius:999px;
  background:linear-gradient(135deg,#f7e5b7,var(--nmm-accent));
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}

.nmm-footer-widget input[type="text"],
.nmm-footer-widget input[type="email"],
.nmm-footer-widget input[type="search"],
.nmm-footer-widget input[type="url"],
.nmm-footer-widget select,
.nmm-footer-widget textarea{
  width:100%;
  min-height:42px;
  padding:9px 12px;
  color:#fff;
  border:1px solid rgba(255,255,255,.16);
  border-radius:12px;
  outline:0;
  background:rgba(255,255,255,.065);
}

.nmm-footer-widget input::placeholder,
.nmm-footer-widget textarea::placeholder{
  color:rgba(255,255,255,.5);
}

/* Contenido predeterminado de la columna 1 */
.nmm-footer__brand{
  max-width:390px;
}

.nmm-footer__logo{
  display:inline-flex;
  align-items:center;
  transition:transform .25s ease,filter .25s ease;
}

.nmm-footer__logo:hover{
  transform:translateY(-3px);
  filter:drop-shadow(0 11px 19px rgba(216,179,95,.21));
}

.nmm-footer__logo img{
  width:min(295px,100%);
  height:auto;
  max-height:105px;
  display:block;
  object-fit:contain;
  object-position:left center;
}

.nmm-footer__description{
  max-width:380px;
  margin:22px 0 0;
  color:rgba(255,255,255,.68);
  font-size:14px;
  line-height:1.72;
}

.nmm-footer__contact{
  display:grid;
  gap:10px;
  margin-top:23px;
}

.nmm-footer__contact a{
  width:max-content;
  max-width:100%;
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:rgba(255,255,255,.84)!important;
  font-size:14px;
  line-height:1.4;
  overflow-wrap:anywhere;
  transition:color .2s ease,transform .2s ease;
}

.nmm-footer__contact a span{
  width:31px;
  height:31px;
  display:grid;
  place-items:center;
  flex:0 0 31px;
  color:#2b1a04;
  border-radius:10px;
  background:var(--nmm-accent);
  font-size:13px;
}

.nmm-footer__contact a:hover,
.nmm-footer__contact a:focus{
  color:#fff!important;
  transform:translateX(4px);
}

.nmm-footer__social{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:24px;
}

.nmm-footer__social a{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.15);
  border-radius:13px;
  background:rgba(255,255,255,.065);
  font-size:13px;
  font-weight:900;
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}

.nmm-footer__social a:hover,
.nmm-footer__social a:focus{
  transform:translateY(-3px) rotate(-2deg);
  border-color:rgba(216,179,95,.55);
  background:rgba(216,179,95,.16);
}

/* Franja inferior */
.nmm-footer__bottom{
  position:relative;
  z-index:2;
  border-top:1px solid rgba(255,255,255,.1);
  background:rgba(0,0,0,.17);
}

.nmm-footer__bottom-inner{
  min-height:69px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:16px 0;
}

.nmm-footer__bottom p{
  margin:0;
  color:rgba(255,255,255,.52);
  font-size:12px;
}

.nmm-footer__top{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:rgba(255,255,255,.75)!important;
  font-size:12px;
  font-weight:800;
  transition:color .2s ease,transform .2s ease;
}

.nmm-footer__top span{
  width:31px;
  height:31px;
  display:grid;
  place-items:center;
  color:#2b1a04;
  border-radius:50%;
  background:var(--nmm-accent);
}

.nmm-footer__top:hover,
.nmm-footer__top:focus{
  color:#fff!important;
  transform:translateY(-2px);
}

@keyframes nmmFooterSpark{
  from{transform:rotate(-5deg) scale(.94);filter:brightness(.96)}
  to{transform:rotate(5deg) scale(1.05);filter:brightness(1.08)}
}

@keyframes nmmFooterFloat{
  from{transform:translateY(-9px) rotate(-3deg)}
  to{transform:translateY(10px) rotate(4deg)}
}

@media(max-width:1100px){
  .nmm-footer__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:46px 38px;
  }
}

@media(max-width:760px){
  .nmm-footer-cta__inner{grid-template-columns:auto 1fr;padding:27px 0}
  .nmm-footer-cta__button{grid-column:1/-1;width:100%}
  .nmm-footer__main{padding:55px 0 43px}
  .nmm-footer__grid{gap:38px 28px}
  .nmm-footer__bottom-inner{align-items:flex-start;flex-direction:column}
  .nmm-footer__ornaments{display:none}
}

@media(max-width:560px){
  .nmm-footer-cta__inner{grid-template-columns:1fr;text-align:center}
  .nmm-footer-cta__icon{margin:0 auto}
  .nmm-footer__grid{grid-template-columns:1fr;gap:36px}
  .nmm-footer__column + .nmm-footer__column{
    padding-top:31px;
    border-top:1px solid rgba(255,255,255,.1);
  }
  .nmm-footer__logo img{width:min(280px,100%)}
}

@media(prefers-reduced-motion:reduce){
  .nmm-site-footer *,
  .nmm-site-footer *::before,
  .nmm-site-footer *::after{
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
