*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

body {
  font-family: 'DM Sans', sans-serif;
  background: #f8f7f5
}

/* ══════════════════════════════════════
       FOOTER PRINCIPAL
    ══════════════════════════════════════ */
.footer {
  background: #0b1929;
  color: rgba(255, 255, 255, 0.75);
  font-family: 'DM Sans', sans-serif;
  position: relative;
  overflow: hidden;
}

/* Línea decorativa superior dorada */
.footer::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #c8a85a 30%, #c8a85a 70%, transparent 100%);
}

/* Textura sutil de fondo */
.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% 20%, rgba(42, 92, 143, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(200, 168, 90, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* ── CUERPO SUPERIOR ── */
.footer-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 6% 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Columna 1: marca + contacto */


.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.4rem;
}

.footer-logo-emblem {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c8a85a, #a8883a);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(200, 168, 90, 0.35);
}

.footer-logo-emblem svg {
  width: 26px;
  height: 26px;
}



.footer-logo-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
}

.footer-logo-sub {
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(200, 168, 90, 0.8);
  margin-top: .15rem;
}

.footer-tagline {
  font-size: .82rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.8rem;
  max-width: 260px;
  border-left: 2px solid rgba(200, 168, 90, 0.4);
  padding-left: .9rem;
}

/* Datos de contacto */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  list-style: none;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .78rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.footer-contact-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: rgba(200, 168, 90, 0.12);
  border: 1px solid rgba(200, 168, 90, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
  transition: background .2s, border-color .2s;
}

.footer-contact-item:hover .footer-contact-icon {
  background: rgba(200, 168, 90, 0.22);
  border-color: rgba(200, 168, 90, 0.5);
}

.footer-contact-icon svg {
  width: 13px;
  height: 13px;
  stroke: rgba(200, 168, 90, 0.85);
}

.footer-contact-label {
  display: block;
  font-size: .58rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(200, 168, 90, 0.7);
  margin-bottom: .1rem;
}

.footer-contact-val {
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact-val a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.footer-contact-val a:hover {
  color: #c8a85a;
}

/* Columnas 2-4: nav */
.footer-col-title {
  font-size: .6rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(200, 168, 90, 0.8);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.footer-col-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 168, 90, 0.3), transparent);
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-nav-list li a {
  font-size: .8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: color .2s, gap .2s;
  padding: .2rem 0;
}

.footer-nav-list li a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(200, 168, 90, 0.4);
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}

.footer-nav-list li a:hover {
  color: rgba(255, 255, 255, 0.9);
  gap: .75rem;
}

.footer-nav-list li a:hover::before {
  background: #c8a85a;
  transform: scale(1.4);
}

/* Horario */
.footer-hours-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  padding: .9rem 1rem;
  margin-top: .4rem;
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .76rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  padding: .25rem 0;
}

.footer-hours-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-hours-day {
  color: rgba(200, 168, 90, 0.75);
  font-weight: 400;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6bcf7f;
  margin-top: .7rem;
}

.footer-status::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6bcf7f;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}

/* ── FRANJA MEDIA: redes + externos ── */
.footer-mid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1px 1px 1px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-social-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social-label {
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.footer-social-links {
  display: flex;
  gap: .6rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}

.footer-social-link:hover {
  background: rgba(200, 168, 90, 0.15);
  border-color: rgba(200, 168, 90, 0.45);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.65);
  transition: fill .2s;
}

.footer-social-link:hover svg {
  fill: #c8a85a;
}

.footer-external-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-external-label {
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.footer-external-links {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.footer-external-link {
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: .3rem .8rem;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: color .2s, border-color .2s, background .2s;
}

.footer-external-link:hover {
  color: #c8a85a;
  border-color: rgba(200, 168, 90, 0.45);
  background: rgba(200, 168, 90, 0.06);
}

.footer-external-link svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  opacity: .6;
}

/* ── BARRA DE COPYRIGHT ── */
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 6%;
  flex-wrap: wrap;
  gap: .8rem;
}

.footer-copy {
  font-size: .7rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: .04em;
}

.footer-copy strong {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.footer-legal-links {
  display: flex;
  gap: 1.4rem;
}

.footer-legal-links a {
  font-size: .68rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: color .2s;
  letter-spacing: .06em;
}

.footer-legal-links a:hover {
  color: rgba(200, 168, 90, 0.7);
}

/* ── RESPONSIVE ── */
@media(max-width:900px) {
  .footer-body {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1/-1;
  }
}

@media(max-width:600px) {
  .footer-body {
    grid-template-columns: 1fr;
    padding: 3rem 5% 2.5rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-mid {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    gap: .8rem;
  }
}