/* =========================
   FOOTER (Geely)
   ========================= */
.site-footer {
  margin-top: 0;
}

.mg-footer {
   color: #0b0c0c;
  padding: 80px;
  background: linear-gradient(180deg, #C9D4FE 0%, #D1ECF5 50%, #A3B7FF 100%);
  //background-image: none;
}

.mg-footer__inner {
  max-width: 1200px;
}

.mg-footer__cols {
  gap: 40px !important;
  margin-bottom: 0 !important;
  max-width: 100%;
  width: 100%;
}

/* --- Logo blanco (site-logo) --- */
.mg-footer .wp-block-site-logo img {
  filter: brightness(0) invert(1);
  width: 174px;
  margin-bottom: 40px;
}

/* Texto */
.mg-footer__text {
  margin: 14px 0 0 0;
  max-width: 1000px;
  font-family: var(--font-inter);
  font-size: 14px;
  line-height: 18px;
  opacity: 0.92;
  color: #0b0c0c;
}

/* Títulos */
.mg-footer__title {
  margin: 0 0 24px 0;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
 font-family: var(--font-geely);
  
  color: #0b0c0c;
}

.mg-footer__titleLink {
  color: #0b0c0c;
  text-decoration: none;
}

.mg-footer__titleLink:hover {
  text-decoration: underline;
}

/* Listas */
.mg-footer__list {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mg-footer__list a {
  color: #0b0c0c !important;
  text-decoration: none;
  font-family: var(--font-inter);
  font-size: 14px;
  line-height: 140%;
  font-weight: 400;
 // opacity: 1;
}

.mg-footer__list a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Columna derecha */
.mg-footer__col--side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

/* Libro reclamaciones */
.mg-footer__claims {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border: 1.5px solid #0b0c0c;
  border-radius: 8px;
  padding: 10px 16px;
  width: auto;
  max-width: fit-content;
}

.mg-footer__claimsImg {
  width: 38px;
  height: 32px;
  display: block;
  border: none;
  filter: invert(1) brightness(0);
}

.mg-footer__claims-text {
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 500;
  color: #0b0c0c;
}

/* Desktop: muestra desktop */
.mg-footer__claimsImg--desktop {
  display: block;
}
.mg-footer__claimsImg--mobile {
  display: none;
}

/* Redes */
.mg-footer__social {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 15px;
  margin: 0;
}

.mg-footer__socialLabel {
  margin: 0;
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0px;
  color: #0b0c0c;
  margin: 0 auto;
}

.mg-footer__socialIcons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.mg-footer__iconLink {
  display: inline-flex;
  width: 24px;
  height: 24px;
}

.mg-footer__iconLink img {
  width: 32.53px;
  height: 32.53px;
  display: block;
}

/* Copy */
.mg-footer__copy {
  margin: 6px 0 0 0;
  font-family: var(--font-inter);
  font-size: 14px;
  line-height: 18px;
  opacity: 0.9;
  color: #0b0c0c;
}

/* Quitar margin extra de WordPress en columnas */
.mg-footer .wp-block-columns {
  margin-bottom: 0 !important;
}

.mg-footer .wp-block-column {
  margin-bottom: 0 !important;
}


.mg-footer__wrap {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.mg-footer__left-block {
  flex: 3;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mg-footer__cols-left {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.mg-footer__right-block {
  flex: 1;
  min-width: 220px;
}

.mg-footer__brand {
  padding-top: 24px;
  max-width: 800px;
}


/* Bottom del footer */
.mg-footer__bottom {
  display: flex;
  align-items: flex-start;
  //justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  gap: 200px;
}

.mg-footer__bottom-left {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
}

.mg-footer__bottom-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

/* Imagen GEELY grande */
.mg-footer__geely-bg {
  width: 100%;
  margin-top: 60px;
  max-width: 1200px;
  margin-bottom:50px;
}

.mg-footer__geely-bg img {
  width: 100%;
  height: auto;
  display: block;
}

/* Copyright centrado */
.mg-footer__copy {
  text-align: center;
  margin-top: 25px;
  font-family: var(--font-inter);
  font-size: 14px;
  color: #0b0c0c;
  opacity: 0.8;
}

.mg-footer__logo {
 display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.mg-footer__logo-text {
  font-family: var(--font-geely);
  font-weight: 700;
  font-size: 20px;
  color: #0b0c0c;
}
/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  .mg-footer {
    padding: 40px 16px;
  }

  .mg-footer__wrap {
    flex-direction: column;
    gap: 0;
  }

  /* Orden mobile */
  .mg-footer__left-block {
    order: 1;
  }

  .mg-footer__right-block {
    order: 2;
  }

  .mg-footer__brand {
    order: 3;
    padding-top: 16px;
    margin-top: 8px;
  }

  .mg-footer__text {
    max-width: 100%;
  }

  .mg-footer__claimsImg--desktop {
  
  }

  .mg-footer__claimsImg--mobile {
    display: block;
    width: 161px;
  }

  .mg-footer__claims {
    max-width: 100%;
    padding: 10px 60px;
  }

  .mg-footer__cols-left {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mg-footer__left-block {
    gap: 0;
  }

  .mg-footer__col {
    padding: 16px 0;
  }

  .mg-footer__cols {
    gap: 32px;
  }

  .mg-footer__title {
    margin: 0 0 16px 0;
    font-size: 16px;
  }

  .mg-footer__list {
    gap: 12px;
  }




  .mg-footer__right-block {
    min-width: unset;
    width: 100%;
  }

  .mg-footer__bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 16px;
    padding-top: 0;
    margin-top: 0;
  }

  .mg-footer__bottom-right {
    align-items: flex-start;
  }

  .mg-footer__social {
    padding-top: 24px;
    margin: 0 auto;
  }
}

/* ── Menu Flotante ───────────────────────── */
.mf-wrap {
  position: fixed;
  bottom: 2rem;
  right: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  padding-right: 20px;
}

.mf-list {
  list-style: none;
  margin: 0;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;

  /* Tarjeta contenedora translúcida (glassmorphism) */
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 3px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px 20px 0 20px;
  box-shadow: 0px 8px 24px rgba(20, 40, 120, 0.12);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.mf-list.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.mf-list__item a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-inter);
  background: transparent;
  color: #212529;
  text-decoration: none;
  padding: 10px 16px;
  min-width: 220px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 14px;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.mf-list__item a:hover {
  background: rgba(25, 75, 255, 0.08);
  color: #194BFF;
  text-decoration: none;
}

/* Contenedor del icono: el círculo/cuadrado translúcido detrás del SVG */
.mf-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.mf-list__icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.mf-list__label {
  white-space: nowrap;
}

/* Botón toggle (X / ☰) — azul de marca */
.mf-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #194BFF;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  cursor: pointer;
  box-shadow: 0px 4px 14px rgba(25, 75, 255, 0.35);
  transition: background 0.2s ease, transform 0.15s ease;
}

.mf-toggle svg {
  width: 16px;
  height: 16px;
}

.mf-toggle:hover {
  background: #143dcc;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .mf-wrap {
    bottom: 1rem;
  }

  .mf-list {
  }

  .mf-list__item a {
    min-width: 180px;
    font-size: 13px;
    padding: 9px 14px;
  }

  .mf-list__icon,
  .mf-list__icon svg {
    width: 24px;
    height: 24px;
  }
}

/* Cuando el menú está cerrado, el wrap no intercepta clicks */
.mf-wrap {
  pointer-events: none; /* por defecto no intercepta */
}

/* Solo el botón toggle siempre es clickeable */
.mf-toggle {
  pointer-events: auto;
}

/* El list solo es clickeable cuando está abierto */
.mf-list:not(.is-hidden) {
  pointer-events: auto;
}

.mg-footer__principal {
display:flex;
flex-direction: row;
}