/* ===========================================================================
   GENZ — Navidad 2026 · Footer: distribución y contacto
   (sections/footer.liquid + sections/navidad-footer-contact.liquid)
   Sección informativa, sencilla y compacta: el texto va directo sobre el cielo
   del footer (assets/theme-navidad-footer.css), sin tarjetas, recuadros ni
   bordes, en peso regular (salvo los dos títulos), con íconos chicos (sede,
   teléfono, email, redes). Los botones de la app, como todo el año.
   - Escritorio (≥1025 px): arriba los menús (La Empresa, Soporte, Marcas);
     debajo, una fila con las sedes, la central de atención con las redes y, a la
     derecha, la app y el sello ISO. Al final, la barra legal.
   - Tablet (768–1024 px): menús en acordeón; sedes y central lado a lado; la
     app y el sello debajo.
   - Celular (≤767 px): una columna.
   Interacción: los enlaces se aclaran y se subrayan al pasar el cursor o con el
   foco del teclado (anillo dorado, como el header).
   Contrastes sobre el cielo (#0a1a3d): blanco 15:1, --xf-soft 10:1,
   --xf-muted 7:1, --xf-icon 7.6:1.
   ======================================================================== */
.theme-navidad .footer {
  --xf-gold: #ffd27a;
  --xf-soft: rgba(255, 255, 255, 0.84);
  --xf-muted: rgba(255, 255, 255, 0.68);
  --xf-icon: rgba(255, 210, 122, 0.78);
}

/* --- Distribución del footer ---------------------------------------------- */
/* Escritorio: menús arriba; abajo, contacto (sedes + central) y app/ISO.
   .footer-columns_main deja de ser caja ("contents"): sus dos columnas y la
   fila de la app pasan a la grilla del contenedor. */
@media (min-width: 1025px) {
  .theme-navidad .footer-content_main--xmas > .container {
    column-gap: clamp(40px, 5vw, 88px);
    display: grid;
    grid-template-areas:
      'menus menus'
      'contact apps';
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    padding-bottom: 36px;
  }

  .theme-navidad .footer-content_main--xmas .footer-columns_main {
    display: contents !important;
  }

  /* La fila de la app queda cerca de la lista de marcas; las sedes y la
     central, con su propio aire arriba. */
  .theme-navidad .footer-content_main--xmas .footer-columns_menus {
    grid-area: menus;
    margin-bottom: 8px !important;
  }

  .theme-navidad .footer-content_main--xmas .footer-column_contact {
    grid-area: contact;
    padding-top: 20px !important;
  }

  /* Marcas: columnas más juntas (4 de ~120 px en vez de 3 a todo el ancho) y
     filas más bajas; mismas marcas, mismo orden y tamaño de letra. */
  .theme-navidad .footer-content_main--xmas .footer-pages__brands {
    column-count: 4;
    column-gap: 28px;
    max-width: 560px;
  }

  .theme-navidad .footer-content_main--xmas .footer-pages__brands .footer-page_item,
  .theme-navidad .footer-content_main--xmas .footer-box_page__brands .footer-pages__brands .footer-page_item:first-of-type {
    padding: 3px 0;
  }

  .theme-navidad .footer-content_main--xmas .footer-apps {
    align-content: start;
    align-items: flex-end;
    border-top: 0;
    flex-direction: column;
    gap: 18px;
    grid-area: apps;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
  }

  .theme-navidad .footer-content_main--xmas .footer-apps_download {
    gap: 10px 18px;
    justify-content: flex-end;
  }
}

/* Tablet y celular: los menús (acordeón) primero, después el contacto. */
@media (max-width: 1024px) {
  .theme-navidad .footer-content_main--xmas .footer-columns_main {
    display: flex !important;
    flex-direction: column;
  }

  .theme-navidad .footer-content_main--xmas .footer-columns_menus {
    margin-bottom: 32px !important;
    order: -1;
  }

  .theme-navidad .footer-content_main--xmas .footer-columns_main > .footer-column_contact {
    margin-bottom: 0;
  }

  .theme-navidad .footer-content_main--xmas .footer-apps {
    border-top: 0;
    margin-top: 28px;
    padding: 0 0 28px;
  }
}

/* --- Contacto: sedes | central ------------------------------------------- */
.theme-navidad .xf-contact {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .theme-navidad .xf-contact {
    align-items: start;
    column-gap: clamp(24px, 3vw, 48px);
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
}

.theme-navidad .xf-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Títulos: como los de los menús (en negrita); el resto, en peso regular. */
.theme-navidad .xf-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 22px;
  margin: 0 0 12px;
}

/* Íconos: chicos y en un dorado suave. */
.theme-navidad .xf-icon {
  color: var(--xf-icon);
  display: block;
  flex: 0 0 auto;
}

/* Sedes */
.theme-navidad .xf-places {
  display: grid;
  gap: 12px;
}

.theme-navidad .xf-place {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 14px minmax(0, 1fr);
}

.theme-navidad .xf-place .xf-icon {
  margin-top: 3px;
}

.theme-navidad .xf-place_text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.theme-navidad .xf-place_head {
  color: var(--xf-soft);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.theme-navidad .xf-place_city {
  color: #fff;
}

.theme-navidad .xf-place_sep {
  color: var(--xf-muted);
  margin: 0 4px;
}

.theme-navidad .xf-place_role {
  color: var(--xf-muted);
}

.theme-navidad .xf-place_address {
  color: var(--xf-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

/* Teléfono y email */
.theme-navidad .xf-reach {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.theme-navidad .footer .xf-link {
  align-items: center;
  border-radius: 4px;
  color: var(--xf-soft);
  display: inline-flex;
  font-size: 14px;
  font-weight: 400;
  gap: 10px;
  line-height: 20px;
  min-height: 28px;
  opacity: 1;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.theme-navidad .footer .xf-link__phone {
  font-size: 15px;
  letter-spacing: 0.01em;
}

.theme-navidad .footer .xf-link:hover,
.theme-navidad .footer .xf-link:focus {
  color: #fff;
  opacity: 1;
}

.theme-navidad .footer .xf-link:hover .xf-link_text,
.theme-navidad .footer .xf-link:focus-visible .xf-link_text {
  text-decoration: underline;
}

.theme-navidad .footer .xf-link:focus-visible {
  outline: 2px solid var(--xf-gold);
  outline-offset: 3px;
}

.theme-navidad .xf-icon__wa svg {
  display: block;
  height: 14px;
  width: 14px;
}

.theme-navidad .xf-icon__wa svg path[fill='white'],
.theme-navidad .xf-icon__wa svg path[fill='#fff'],
.theme-navidad .xf-icon__wa svg path[fill='#ffffff'] {
  fill: currentColor;
}

/* El email se corta después de la @ (<wbr> en el markup) si no entra. */
.theme-navidad .xf-link__email .xf-link_text {
  overflow-wrap: break-word;
  min-width: 0;
}

/* Redes: solo los íconos, chicos; el área de clic sigue siendo cómoda (32 px). */
.theme-navidad .footer .xf-social {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 10px 0 0 -8px;
  padding: 0;
}

.theme-navidad .xf-social .footer-social_item {
  margin: 0;
}

.theme-navidad .footer .xf-social_link {
  align-items: center;
  background: none;
  border: 0;
  border-radius: 6px;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  opacity: 1;
  width: 32px;
}

.theme-navidad .footer .xf-social_link svg,
.theme-navidad .footer .xf-social_link svg > * {
  fill: var(--xf-soft);
  max-height: 15px;
  max-width: 15px;
  transition: fill 0.15s ease;
}

.theme-navidad .footer .xf-social_link img {
  max-height: 15px;
  max-width: 15px;
}

.theme-navidad .footer .xf-social_link:hover,
.theme-navidad .footer .xf-social_link:focus {
  opacity: 1;
}

.theme-navidad .footer .xf-social_link:hover svg,
.theme-navidad .footer .xf-social_link:hover svg > *,
.theme-navidad .footer .xf-social_link:focus-visible svg,
.theme-navidad .footer .xf-social_link:focus-visible svg > * {
  fill: var(--xf-gold);
}

.theme-navidad .footer .xf-social_link:focus-visible {
  outline: 2px solid var(--xf-gold);
  outline-offset: 0;
}

/* --- App y sello ISO ---------------------------------------------------------- */
/* «Descargá la app de Genz» en peso regular. Los botones de tienda quedan como
   en todo el año (vidrio oscuro con borde fino, logo, «App Store» / «Google
   Play» destacados; theme-custom.css + theme-navidad-footer.css). */
.theme-navidad .footer-content_main--xmas .footer-apps_title,
.theme-navidad .footer-content_main--xmas .footer-apps_title b,
.theme-navidad .footer-content_main--xmas .footer-apps_title span {
  color: var(--xf-soft);
  font-size: 14px;
  font-weight: 400;
}

/* Sello ISO más chico, junto a la app (el tema le da todo el ancho debajo de
   las marcas). */
.theme-navidad .footer .footer-apps_iso {
  margin: 0;
  min-height: 0;
  width: auto;
}

.theme-navidad .footer .footer-apps_iso img {
  display: block;
  height: auto;
  max-height: 72px;
  max-width: 72px;
  width: auto;
}

@media (prefers-reduced-motion: reduce) {
  .theme-navidad .footer .xf-link,
  .theme-navidad .footer .xf-social_link svg,
  .theme-navidad .footer .xf-social_link svg > * {
    transition: none;
  }
}
