/* =============================================
   FOOTER (index — versión completa)
============================================= */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 5rem 3rem 2.5rem;
}
.footer-inner { max-width: 1240px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.7fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-map { align-self: stretch; }

.footer-logo svg {
  width: 160px;
  height: auto;
  display: block;
  margin-bottom: 1.4rem;
}
.footer-address {
  font-size: 1rem;
  font-weight: 300;
  color: #AAAAAA;
  line-height: 1.85;
  margin-bottom: 1.4rem;
  align-self: stretch;
  word-break: break-word;
}
.footer-address strong { color: var(--gold); font-weight: 400; font-size: 1.15rem; display: block; margin-bottom: 0.3rem; }

.footer-connect {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-connect-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  font-weight: 400;
  color: #AAAAAA;
  letter-spacing: 0.04em;
  transition: color 0.3s;
  max-width: 100%;
  word-break: break-word;
}
.footer-connect-link:hover { color: var(--gold); }
.footer-connect-link svg {
  width: 1.1rem; height: 1.1rem;
  fill: none; stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.footer-connect-link.wa svg { fill: currentColor; stroke: none; }

.footer-map {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201,169,110,0.15);
}
.footer-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
  filter: grayscale(100%) invert(90%) contrast(0.85);
  opacity: 0.75;
  transition: opacity 0.4s, filter 0.4s;
}
.footer-map:hover iframe {
  opacity: 1;
  filter: grayscale(80%) invert(88%) contrast(0.9);
}
.footer-map-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 1rem 0.85rem 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  pointer-events: none;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-nav-label {
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-nav a {
  font-size: 1rem;
  font-weight: 300;
  color: #AAAAAA;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--white); }

.footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.88rem;
  color: #555;
  letter-spacing: 0.03em;
}
.footer-tagline {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray-500);
}

@media (max-width: 1024px) {
  .footer { padding: 5rem 2rem 2.5rem; }
}

@media (max-width: 768px) {
  .footer { padding: 4rem 1.5rem 2.5rem; }
  .footer-inner { overflow: hidden; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-logo svg { width: 180px; }
  .footer-address {
    font-size: 1.1rem;
    text-align: center;
  }
  .footer-address strong { font-size: 1.25rem; }
  .footer-nav-label { font-size: 1.2rem; letter-spacing: 0.18em; }
  .footer-nav a { font-size: 1.1rem; }
  .footer-connect-link { font-size: 1.05rem; }
  .footer-connect-link svg { width: 1.25rem; height: 1.25rem; }
  .footer-map-label { font-size: 0.85rem; }
  .footer-copy { font-size: 0.88rem; }
  .footer .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }

  .footer-contact { text-align: center; }
  .footer-contact .footer-connect { align-items: center; }
}
