/* =====================================================
   footer.css  ·  Footer del sitio
   Grafito, con línea naranja arriba, 4 columnas,
   métodos de pago y la franja final.
   Los iconos .svg vienen en negro: aquí se pintan con filtros.
   ===================================================== */

#site-footer {
  --grafito:        #34383D;
  --grafito-oscuro: #26292D;
  --naranja:        #F26B1D;
  --naranja-hover:  #FF8238;
  --blanco:         #FFFFFF;
  --texto-claro:    #F3F1EE;
  --texto-claro-suave: #B9BCC0;
  --linea:          rgba(255, 255, 255, .1);
  --ancho:          1200px;
  --pad-x: max(6vw, calc((100% - var(--ancho)) / 2));

  --icono-naranja: brightness(0) saturate(100%) invert(43%) sepia(95%) saturate(1296%) hue-rotate(350deg) brightness(99%) contrast(93%);
  --icono-blanco:  brightness(0) invert(1);

  background: var(--grafito);
  color: var(--texto-claro-suave);
}
#site-footer *,
#site-footer *::before,
#site-footer *::after { box-sizing: border-box; }



/* Iconos de las listas: naranjas, sin fondo */
#site-footer .icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
#site-footer .icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#site-footer .footer-highlights .icon img,
#site-footer .footer-contact-list .icon img { filter: var(--icono-naranja); }

/* =====================================================
   COLUMNAS PRINCIPALES
   ===================================================== */
#site-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  padding: 88px var(--pad-x) 72px;
}

/* Títulos con rayita naranja */
#site-footer h3 {
  margin: 0 0 26px;
  font-weight: 400;          /* Bebas Neue solo tiene 400 */
  line-height: 1.05;
  letter-spacing: .5px;
  color: var(--blanco);
}
#site-footer h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 12px;
  border-radius: 2px;
  background: var(--naranja);
}

/* ----- Marca ----- */
/* El logo va sobre una placa blanca para que se vea bien sobre el grafito */

#site-footer .footer-logo img {
  display: block;
  width: auto;
  height: 100px;
  object-fit: contain;
}
#site-footer .footer-tagline {
  max-width: 34ch;
  margin: 24px 0 26px;
  line-height: 1.75;
  color: var(--texto-claro-suave);
}

/* Redes: solo el icono en blanco, sin círculo; al pasar el mouse, naranja */
#site-footer .footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
#site-footer .footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}
#site-footer .footer-social-icon img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: var(--icono-blanco);
  transition: filter .25s, transform .25s;
}
#site-footer .footer-social-icon:hover img {
  filter: var(--icono-naranja);
  transform: translateY(-2px);
}

/* ----- Listas ----- */
#site-footer .footer-menu,
#site-footer .footer-highlights,
#site-footer .footer-contact-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
#site-footer .footer-menu > li,
#site-footer .footer-highlights li,
#site-footer .footer-contact-list li {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--linea);
  line-height: 1.5;
}
#site-footer .footer-menu > li:first-child,
#site-footer .footer-highlights li:first-child,
#site-footer .footer-contact-list li:first-child { padding-top: 0; }
#site-footer .footer-menu > li:last-child,
#site-footer .footer-highlights li:last-child,
#site-footer .footer-contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }

/* Enlaces del menú con flechita naranja */
#site-footer .footer-menu a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--texto-claro-suave);
  text-decoration: none;
  transition: color .25s, transform .25s;
}
#site-footer .footer-menu a::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border: solid var(--naranja);
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}
#site-footer .footer-menu a:hover {
  color: var(--blanco);
  transform: translateX(3px);
}
#site-footer .footer-menu .sub-menu {
  display: grid;
  gap: 8px;
  margin: 10px 0 0 16px;
  padding: 0;
  list-style: none;
}

/* Por qué elegirnos y contacto: icono naranja + texto */
#site-footer .footer-highlights li,
#site-footer .footer-contact-list li,
#site-footer .footer-contact-list a {
  display: flex;
  align-items: center;
  gap: 12px;
}
#site-footer .footer-highlights li {
  color: var(--texto-claro);
  font-weight: 500;
}
#site-footer .footer-contact-list li { color: var(--texto-claro-suave); }
#site-footer .footer-contact-list a {
  color: var(--texto-claro);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .25s;
}
#site-footer .footer-contact-list a:hover { color: var(--naranja-hover); }

/* =====================================================
   MÉTODOS DE PAGO
   ===================================================== */
#site-footer .footer-payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  margin: 0 var(--pad-x);
  padding: 32px 0;
  border-top: 1px solid var(--linea);
}
#site-footer .footer-payments-label {
  color: var(--blanco);
  font-weight: 600;
}
#site-footer .footer-payments-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
/* Cada método de pago: cuadrado, la imagen ocupa todo el espacio */
#site-footer .footer-payments-icons .icon {
  width: 52px;
  height: 52px;
  padding: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--blanco);
}
#site-footer .footer-payments-icons .icon img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: none;
}

/* =====================================================
   FRANJA FINAL
   ===================================================== */
#site-footer .footer-bottom {
  padding: 26px var(--pad-x) 30px;
  background: var(--grafito-oscuro);
}
#site-footer .footer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
#site-footer .footer-bottom p {
  margin: 0;
  line-height: 1.6;
  color: var(--texto-claro-suave);
}
#site-footer .footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
#site-footer .footer-bottom a {
  color: var(--texto-claro);
  font-weight: 500;
  text-decoration: none;
  transition: color .25s;
}
#site-footer .footer-bottom a:hover { color: var(--naranja-hover); }

#site-footer .footer-credits {
  margin-top: 18px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
}
#site-footer .footer-credits a { color: var(--naranja-hover); }
#site-footer .footer-credits a:hover { color: var(--blanco); }

#site-footer a:focus-visible {
  outline: 3px solid var(--naranja-hover);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  #site-footer .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 44px;
    padding-top: 72px;
    padding-bottom: 56px;
  }
}

@media (max-width: 767px) {
  #site-footer { --pad-x: 20px; }
  #site-footer .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    padding-top: 56px;
    padding-bottom: 44px;
  }
  #site-footer .footer-logo img { height: 42px; }
  #site-footer .footer-payments { flex-direction: column; gap: 14px; }
  #site-footer .footer-payments-icons .icon { width: 46px; height: 46px; }
  #site-footer .footer-bottom-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #site-footer .footer-bottom-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  #site-footer * { transition: none !important; }
}