/* ==========================================================================
   FOOTER MINIMALISTA — cacao & co. Artisanal Chocolate
   Diseño delgado, editorial y sin sobrecarga de datos.
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 10;
  width: 100%;
  background: #140904;
  border-top: 1px solid rgba(224, 138, 60, 0.16);
  padding: 22px 52px;
  color: var(--cream-soft);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.footer-container {
  max-width: 1376px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* 1. Lado izquierdo: marca y copyright */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 19px;
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.footer-logo:hover {
  color: var(--amber);
}

.footer-logo-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-sep {
  opacity: 0.35;
  color: var(--amber);
}

.footer-copy {
  font-size: 12.5px;
  color: rgba(245, 233, 215, 0.55);
}

/* 2. Centro: enlaces esenciales */
.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-link {
  color: rgba(245, 233, 215, 0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: color 0.25s ease;
  position: relative;
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width 0.25s ease;
}

.footer-link:hover {
  color: var(--cream);
}

.footer-link:hover::after {
  width: 100%;
}

/* 3. Lado derecho: botón volver arriba */
.footer-back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(245, 233, 215, 0.7);
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(224, 138, 60, 0.22);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s ease;
}

.footer-back-top svg {
  transition: transform 0.25s ease;
}

.footer-back-top:hover {
  color: var(--cream);
  border-color: var(--amber);
  background: rgba(224, 138, 60, 0.12);
}

.footer-back-top:hover svg {
  transform: translateY(-2px);
}

.footer-back-top:focus-visible,
.footer-link:focus-visible,
.footer-logo:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 860px) {
  .site-footer {
    padding: 20px 24px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-brand {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-nav {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
