/* ── Footer minimalista (1 fila) ───────────────────────────────────────────── */
.site-footer { background:#061B36; color:#fff; padding:22px 24px 16px; }
.site-footer .footer-row {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.10);
}
.site-footer .footer-logo {
  width: min(190px, 58vw);
  max-width: 190px;
  flex: 0 1 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-footer .footer-logo img {
  width: 100%;
  max-width: 190px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  display: block;
}
.site-footer .footer-meta { color: rgba(255,255,255,.78); font-size: 14px; }

.site-footer .footer-social {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: flex-end;
}
.site-footer .footer-social a {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0 !important;
  background: rgba(255,255,255,.08); border-radius: 50%;
  color: rgba(255,255,255,.9); transition: background .15s, color .15s, transform .15s;
}
.site-footer .footer-social a:hover { background: #FACC15; color: #061B36; transform: translateY(-2px); }
.site-footer .footer-social svg { width: 24px; height: 24px; display: block; }

.site-footer .footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 12px;
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  align-items: center; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,.65);
}
.site-footer .footer-bottom p { margin: 0; }
.site-footer .footer-legal-links a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer .footer-legal-links a:hover { color: #FACC15; }
.site-footer .powered-by { font-size: 11px; }
.site-footer .footer-credit { opacity: 0.38; margin-top: 4px; }
.site-footer .powered-by-text { color: #fff; }
.site-footer .powered-by-brand {
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}
.site-footer .powered-by-cit,
.site-footer .powered-by-anza {
  font-weight: 800;
}
.site-footer .powered-by-cit { color: #fff; }
.site-footer .powered-by-anza { color: #FF6B6B; }
.site-footer .powered-by-brand:hover { color: #FACC15 !important; }
.site-footer .footer-version { font-size: 11px; opacity: .45; flex-basis: 100%; }

/* Crédito CitANZA en páginas sin footer completo (reserva, galería, etc.) */
.powered-by-strip {
  text-align: center;
  padding: 12px 16px 18px;
  opacity: 0.36;
  font-size: 11px;
}
.powered-by--minimal .powered-by-text,
.powered-by--minimal .powered-by-cit { color: #94a3b8; }
.powered-by--minimal .powered-by-anza { color: #f08a82; }
.powered-by--minimal .powered-by-brand { text-decoration: none; }

.admin-powered-by {
  margin-top: auto;
  padding: 14px 12px 10px;
  font-size: 10px;
  opacity: 0.32;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.06);
}
.admin-sidebar { display: flex; flex-direction: column; }
.admin-sidebar nav { flex: 1; }

@media (max-width: 900px) {
  .site-footer {
    padding: 18px 14px calc(16px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #061B36 0%, #082543 100%);
    box-shadow: 0 -8px 24px rgba(6, 27, 54, .18);
  }
  .site-footer .footer-row {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-bottom: 12px;
  }
  .site-footer .footer-logo {
    width: min(170px, 68vw);
    max-width: 170px;
    flex-basis: auto;
  }
  .site-footer .footer-logo img {
    width: 100%;
    max-width: 170px;
    max-height: 56px;
    margin: 0 auto;
  }
  .site-footer .footer-meta { font-size: 13px; line-height: 1.35; }
  .site-footer .footer-social { justify-content: center; gap: 10px; }
  .site-footer .footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .12);
  }
  .site-footer .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    font-size: 12px;
  }
  .site-footer .footer-legal-links {
    line-height: 1.5;
  }
  .wa-fab {
    bottom: calc(18px + env(safe-area-inset-bottom));
    right: 16px;
  }
}

/* ── FAB WhatsApp con menú de 3 contactos ──────────────────────────────── */
.wa-fab { position: fixed; bottom: 24px; right: 24px; z-index: 999; }
.whatsapp-float {
  width: 56px; height: 56px; background: #25D366; color: #fff;
  border: 0; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.wa-fab[data-off-hours="1"] .whatsapp-float::after {
  content: '🌙'; position: absolute; top: -6px; right: -6px;
  background: #1f2937; color: #FACC15;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; border: 2px solid #fff;
}
.wa-menu {
  position: absolute; bottom: 70px; right: 0; width: 260px;
  background: #fff; border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.08);
  padding: 8px 6px;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.wa-fab.open .wa-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wa-menu::after {
  content: ''; position: absolute; bottom: -7px; right: 22px;
  width: 14px; height: 14px; background: #fff; transform: rotate(45deg);
  box-shadow: 4px 4px 6px rgba(0,0,0,.06);
}
.wa-menu-title {
  margin: 6px 12px 8px; font-size: 11px; font-weight: 800;
  color: #67768A; text-transform: uppercase; letter-spacing: .06em;
}
.wa-menu-item {
  display: grid; grid-template-columns: 28px 1fr;
  gap: 10px; align-items: center;
  padding: 10px 12px; text-decoration: none; color: #061B36;
  border-radius: 10px; line-height: 1.3;
}
.wa-menu-item:hover { background: #F0FDF4; }
.wa-menu-item span:first-child { font-size: 22px; }
.wa-menu-item strong { font-size: 14px; color: #061B36; }
.wa-menu-item small { font-size: 11.5px; color: #67768A; font-weight: 500; }

/* Teléfonos en el footer */
.footer-phone {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.85); text-decoration: none;
  padding: 4px 0; font-size: 13px; font-weight: 600;
  transition: color .15s;
}
.footer-phone:hover { color: #FACC15; }
.footer-phone small { font-weight: 500; opacity: .8; }
.footer-phone .wa-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #25D366; box-shadow: 0 0 0 3px rgba(37,211,102,.18);
  flex: 0 0 auto;
}

/* Selector de idiomas (header) */
.langs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: inherit;
  text-decoration: none;
  line-height: 1;
  opacity: .78;
  transition: opacity .2s, transform .2s;
}
.langs a:hover { opacity: 1; transform: translateY(-1px); }
.langs img {
  display: block;
  width: 24px;
  height: 16px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.22);
  object-fit: cover;
}

/* Targets táctiles del header en móvil */
.social-icons a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.social-icons svg {
  width: 22px;
  height: 22px;
}
.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
