/*
<footer class="footer" id="Datos">

  <div class="footer-quick-bar">
    <a href="tel:+56900000000" class="footer-quick-phone">📞 ...</a>
    <ul class="footer-social">...</ul>
  </div>

  <div class="footer-main">
    <div class="footer-col footer-location">
      <h4 class="footer-heading">Ubicación</h4>
      <iframe ...></iframe>
      <a href="#" class="footer-a-Direccion">...</a>
    </div>

    <div class="footer-col footer-hours">
      <h4 class="footer-heading">Horarios</h4>
      <ul class="footer-ul-horario">...</ul>
    </div>
  </div>

  <div class="footer-legal">
    <p>© 2026 Briones Solución Digital Web</p>
  </div>

</footer>
*/

.footer {
  background-color: #d9c3c3;
  border-top: 1px solid #ddd;
  margin-top: 4rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;

  padding: 2.25rem 1.5rem 1.75rem;
}

body.dark .footer {
  background-color: #1e1e1e;
  border-top-color: #444;
}

.footer-quick-bar {
  max-width: 70rem;
  margin: 0 auto 2rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;

  padding: 1rem 1rem;
  border-radius: 1.25rem;

  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);

  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

body.dark .footer-quick-bar {
  background: rgba(30, 30, 30, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.10);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-quick-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  text-decoration: none;
  font-weight: 900;
  font-size: 1.15rem;

  color: #e63946;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.footer-quick-phone:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 18px rgba(230, 57, 70, 0.18));
}

body.dark .footer-quick-phone {
  color: #ef4444;
}

body.dark .footer-quick-phone:hover {
  filter: drop-shadow(0 10px 18px rgba(239, 68, 68, 0.22));
}

.footer-social {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.footer-social li {
  margin: 0;
  padding: 0;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  text-decoration: none;

  background-color: #dec4c4;
  border: 1px solid rgba(0, 0, 0, 0.08);

  font-size: 1.5rem;
  color: #e63946;

  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

body.dark .footer-social a {
  background-color: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ef4444;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.dark .footer-social a:hover {
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-main {
  max-width: 70rem;
  margin: 0 auto;

  display: grid;
  gap: 2rem;
  text-align: center;
}

.footer-col {
  display: grid;
  gap: 1rem;
  justify-items: center;

  padding: 1.5rem 1.25rem;
  border-radius: 1.5rem;

  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.20);

  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);

  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.footer-col:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

body.dark .footer-col {
  background: rgba(30, 30, 30, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.dark .footer-col:hover {
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-heading {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.02em;

  color: #222222;
  position: relative;
  padding-bottom: 0.5rem;
}

body.dark .footer-heading {
  color: #f0f0f0;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 3rem;
  height: 0.25rem;
  border-radius: 0.125rem;
  background: linear-gradient(90deg, transparent, #e63946, transparent);
}

body.dark .footer-heading::after {
  background: linear-gradient(90deg, transparent, #ef4444, transparent);
}


.footer-location iframe {
  width: min(100%, 26rem);
  height: 16rem;
  border: 0;
  border-radius: 1rem;

  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.10),
    0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

body.dark .footer-location iframe {
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.35);
}

.footer-a-Direccion {
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25rem;

  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.5;

  color: #4d3333;
  transition: transform 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-a-Direccion:hover {
  transform: translateY(-2px);
  text-decoration-color: currentColor;
}

body.dark .footer-a-Direccion {
  color: #a0a0a0;
}

.footer-ul-horario {
  list-style: none;
  margin: 0;
  padding: 1.25rem 1.25rem;

  width: min(100%, 26rem);
  text-align: left;

  background-color: #dec4c4;
  border: 1px solid #ddd;
  border-radius: 1rem;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

body.dark .footer-ul-horario {
  background-color: #2a2a2a;
  border-color: #444;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-ul-horario li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;

  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);

  font-size: 1rem;
  color: #4d3333;
}

.footer-ul-horario li:last-child {
  border-bottom: 0;
}

body.dark .footer-ul-horario li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #a0a0a0;
}

.footer-ul-horario li strong {
  font-weight: 900;
  color: #222222;
}

body.dark .footer-ul-horario li strong {
  color: #f0f0f0;
}

.footer-legal {
  max-width: 70rem;
  margin: 2rem auto 0;

  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}

body.dark .footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-legal p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4d3333;
}

body.dark .footer-legal p {
  color: #a0a0a0;
}

@media (min-width: 40rem) {
  .footer {
    padding: 3rem 1.5rem 2.5rem;
  }

  .footer-social a {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.65rem;
  }

  .footer-location iframe {
    height: 18rem;
  }

  .footer-quick-phone {
    font-size: 1.3rem;
  }
}

@media (min-width: 64rem) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    text-align: left;
  }

  .footer-col {
    justify-items: start;
  }

  .footer-heading::after {
    left: 0;
    transform: none;
  }

  .footer-quick-bar {
    padding: 1.1rem 1.25rem;
  }
}

.footer a:focus-visible {
  outline: 2px solid #e63946;
  outline-offset: 3px;
  border-radius: 0.75rem;
}

body.dark .footer a:focus-visible {
  outline-color: #ef4444;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}