/* =========================
   FOOTER
   (mobile-first)
========================= */
.footer {
  background: #111;
  color: var(--color-light);
  padding: 3rem clamp(1rem, 4vw, 1.5rem) 2rem;
  border-top: 1px solid rgba(245, 230, 211, 0.1);
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.footer-container {
  max-width: min(var(--container-width), 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  min-width: 0;
}

.footer-map h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  color: var(--color-secondary);
}

.footer-map-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(245, 230, 211, 0.12);
  aspect-ratio: 16 / 10;
  min-height: 200px;
  min-width: 0;
}

.footer-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.footer-logo {
  max-width: 140px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-contact p {
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-contact a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--color-light);
  text-decoration: underline;
}

.footer-links .lang.active,
.footer-legal .lang.active {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-links a,
.footer-legal a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-light);
  text-decoration: none;
  opacity: 0.9;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--color-secondary);
  opacity: 1;
}

.footer-legal {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(245, 230, 211, 0.12);
  width: 100%;
}

.footer-legal a {
  font-size: 0.85rem;
  opacity: 0.75;
}

.footer-copy {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  opacity: 0.55;
  padding-top: 0.5rem;
}

@media (min-width: 768px) {
  .footer {
    padding: 4rem 2rem 2.5rem;
  }

  .footer-container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
  }

  .footer-map {
    flex: 1;
    min-width: 0;
    max-width: 52%;
  }

  .footer-info {
    flex: 0 0 42%;
    max-width: 380px;
  }

  .footer-map-frame {
    aspect-ratio: 4 / 3;
    min-height: 260px;
  }
}
