/* La fuente Outfit se carga de forma no bloqueante desde el HTML (<link>).
   Fallback a system-ui si no hay conexión. */

/* View Transitions API */
@view-transition { navigation: auto; }

:root {
  --bg: #f8faf7;
  --text: #1e293b;
  --text-light: #64748b;
  --green: #2e7d32;
  --green-dark: #1b5e20;
  --blue: #1565c0;
  --orange: #ef6c00;
  --gray: #546e7a;
  --card-bg: #ffffff;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 20px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

header {
  padding: calc(2rem + env(safe-area-inset-top)) 1.5rem 2rem 1.5rem;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: white;
  text-align: center;
  border-bottom-left-radius: var(--border-radius-lg);
  border-bottom-right-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

header::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 80%);
  pointer-events: none;
}

header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.subtitle {
  font-size: 0.95rem;
  opacity: 0.95;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  padding: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
}

.btn {
  padding: 0.85rem 1rem;
  border: none;
  border-radius: var(--border-radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  user-select: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.08);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-sm);
  filter: brightness(0.95);
}

.green { background: var(--green); }
.blue { background: var(--blue); }
.orange { background: var(--orange); }
.gray { background: var(--gray); }
.btn-home { background: #475569; }

.search {
  padding: 0 1.5rem;
  max-width: 980px;
  margin: 0 auto 1.5rem auto;
}

.search input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  font-family: inherit;
  border-radius: var(--border-radius-md);
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.search input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.15);
}

.search input::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

main {
  padding: 0 1.5rem;
  max-width: 980px;
  margin: 0 auto;
}

.hint {
  font-size: 1rem;
  color: var(--text-light);
  text-align: center;
  padding: 2.5rem 0;
}

.card {
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Mejora de rendimiento de layout para tarjetas fuera del viewport */
.card + .card {
  content-visibility: auto;
  contain-intrinsic-size: 0 120px;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.card p {
  font-size: 0.95rem;
  margin-top: 0.6rem;
  color: var(--text);
}

.card p strong {
  color: var(--text-light);
  font-weight: 500;
}

.note {
  font-size: 0.85rem;
  color: var(--text-light);
  background: #f1f5f9;
  padding: 0.65rem 0.85rem;
  border-radius: var(--border-radius-sm);
  margin-top: 0.8rem;
  border-left: 3px solid #cbd5e1;
  line-height: 1.4;
}

.days {
  margin-top: 0.8rem;
  display: inline-block;
}

.days small {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.badge.verde { background: var(--green); }
.badge.azul { background: var(--blue); }
.badge.naranja { background: var(--orange); }
.badge.gris { background: var(--gray); }

.border-verde { border-left: 6px solid var(--green); }
.border-azul { border-left: 6px solid var(--blue); }
.border-naranja { border-left: 6px solid var(--orange); }
.border-gris { border-left: 6px solid var(--gray); }

.donation-card {
  text-align: center;
  background: linear-gradient(135deg, #fffcf4, #fff8e7);
  border: 1px solid #fed7aa !important;
  border-left: 6px solid #f97316 !important;
}

.donation-card h3 {
  color: #ea580c;
}

.donation-card p {
  color: #7c2d12;
}

.btn-donation {
  background: #ffc439;
  color: #000000;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 10px rgba(251, 191, 36, 0.3);
  margin: 0.75rem 0;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-donation:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(251, 191, 36, 0.4);
  background: #f5b316;
}

.btn-donation:active {
  transform: translateY(1px);
}

.rules {
  list-style: none;
}

.rules li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}

.faq {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.8rem 1rem;
  border-radius: var(--border-radius-md);
  margin: 0.6rem 0;
  transition: var(--transition);
}

.faq[open] {
  box-shadow: var(--shadow-sm);
  background: #ffffff;
  border-color: var(--green);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  outline: none;
  user-select: none;
}

.faq summary::-webkit-details-marker {
  color: var(--green);
}

footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
  border-top: 1px solid #e2e8f0;
  margin-top: 3.5rem;
}

.error {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: #991b1b;
  padding: 1.25rem;
  border-radius: var(--border-radius-md);
  border-left: 6px solid #ef4444;
}

/* ====================================================
   🔥 BuyMeACoffee Premium Conversion Styles (Phase 3)
   ==================================================== */

/* Header Support Link */
.header-bmac {
  position: absolute;
  top: calc(1rem + env(safe-area-inset-top));
  right: 1.5rem;
  background: #FFDD00;
  color: #000000;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(255, 221, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
  animation: pulseBmac 2s infinite;
}

.header-bmac:hover {
  background: #ffea38;
  transform: scale(1.05);
}

@keyframes pulseBmac {
  0% { box-shadow: 0 0 0 0 rgba(255, 221, 0, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 221, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 221, 0, 0); }
}

/* Floating BMAC Widget for Mobiles */
.bmac-float {
  position: fixed;
  bottom: calc(1.5rem + env(safe-area-inset-bottom));
  right: 1.5rem;
  background: #ffffff;
  border: 1.5px solid #FFDD00;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 0.8rem 1.2rem 0.8rem 0.8rem;
  display: flex;
  align-items: center;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
  animation: bounceInFloat 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: calc(100% - 3rem);
}

.bmac-float.hide {
  transform: translateY(120%) scale(0.8);
  opacity: 0;
  pointer-events: none;
}

@keyframes bounceInFloat {
  from { transform: translateY(150%) scale(0.8); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.bmac-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.bmac-emoji {
  font-size: 2rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
  animation: tiltCoffee 3s infinite ease-in-out;
  display: inline-block;
}

@keyframes tiltCoffee {
  0%, 100% { transform: rotate(0); }
  50% { transform: rotate(-15deg) scale(1.1); }
}

.bmac-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.bmac-text strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
}

.bmac-text span {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

.bmac-close {
  position: absolute;
  top: -6px;
  left: -6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--text-light);
  width: 20px;
  height: 20px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.bmac-close:hover {
  background: #e2e8f0;
  color: var(--text);
}

/* Premium bottom banner */
.bmac-banner {
  background: linear-gradient(135deg, #fffdf2, #fff9db);
  border: 2px dashed #FFDD00;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 980px;
  box-shadow: var(--shadow-sm);
  animation: borderDance 10s infinite linear;
}

@keyframes borderDance {
  0% { border-color: #FFDD00; }
  50% { border-color: #f97316; }
  100% { border-color: #FFDD00; }
}

.bmac-banner-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.coffee-icon {
  font-size: 2.8rem;
  background: #FFDD00;
  width: 70px;
  height: 70px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 221, 0, 0.35);
  animation: tiltCoffee 4s infinite ease-in-out;
}

.bmac-banner-text {
  flex: 1;
  min-width: 280px;
}

.bmac-banner-text h3 {
  font-size: 1.2rem;
  color: #854d0e;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.bmac-banner-text p {
  font-size: 0.9rem;
  color: #713f12;
  line-height: 1.45;
  margin: 0;
}

.btn-bmac {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFDD00;
  color: #000000;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 221, 0, 0.4);
  transition: var(--transition);
  border: 1.5px solid #eab308;
  cursor: pointer;
  font-family: inherit;
}

.btn-bmac:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 221, 0, 0.55);
  background: #facc15;
}

.btn-bmac:active {
  transform: translateY(1px);
}

@media (max-width: 640px) {
  .header-bmac { 
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    top: 0.5rem;
    right: 0.8rem;
  }
}

/* ====================================================
   📱 PWA Offline/Online Toast Styles
   ==================================================== */
.pwa-toast {
  position: fixed;
  bottom: calc(1.5rem + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  background: #1e293b;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 99999;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
  pointer-events: none;
  opacity: 0;
  white-space: nowrap;
}

.pwa-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.pwa-toast.offline {
  background: #ea580c;
}

.pwa-toast.online {
  background: #16a34a;
}

/* ====================================================
   🎥 CSS Scroll-Driven Animations (sin JS) + fallback
   ==================================================== */
@keyframes card-reveal {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@supports (animation-timeline: view()) {
  .card {
    animation: card-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 20%;
  }
}

/* Accesibilidad: desactivar animaciones si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  *, ::view-transition-group(*) {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ====================================================
   💎 PWA World-Class Features (Phase 6)
   ==================================================== */

/* PWA Features Container */
.pwa-features-container {
  max-width: 980px;
  margin: 0 auto 1.5rem auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Recent Searches */
.recent-searches {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(241, 245, 249, 0.65);
  backdrop-filter: blur(8px);
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  animation: fadeIn 0.3s ease-out;
}

.pwa-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pill-list {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  flex: 1;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Ocultar barra en Firefox */
}

.pill-list::-webkit-scrollbar {
  display: none; /* Ocultar barra en Chrome/Safari */
}

.search-pill {
  background: var(--card-bg);
  border: 1px solid #e2e8f0;
  color: var(--text);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.search-pill:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.btn-clear {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  padding: 0 0.25rem;
  transition: var(--transition);
}

.btn-clear:hover {
  color: #ef4444;
  transform: scale(1.1);
}

/* Favorites Section */
.favorites-section {
  background: var(--card-bg);
  border: 1px solid rgba(46, 125, 50, 0.12);
  border-radius: var(--border-radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  animation: fadeIn 0.3s ease-out;
}

.fav-header {
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.fav-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-sm);
  padding: 0.6rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.fav-item:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-1.5px);
  box-shadow: var(--shadow-sm);
}

.fav-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.fav-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.fav-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.fav-category.organicos { color: var(--green); }
.fav-category.reciclables { color: var(--blue); }
.fav-category.no_reciclables { color: var(--orange); }
.fav-category.manejo_especial { color: var(--gray); }

.btn-fav-remove {
  background: none;
  border: none;
  color: #fbbf24;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  transition: var(--transition);
}

.btn-fav-remove:hover {
  color: #cbd5e1;
  transform: scale(1.1);
}

/* Card Favorite Star Button */
.btn-fav-toggle {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #cbd5e1;
  cursor: pointer;
  padding: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border-radius: 999px;
}

.btn-fav-toggle:hover {
  background: #f8fafc;
  color: #fbbf24;
  transform: scale(1.15);
}

.btn-fav-toggle.active {
  color: #fbbf24;
  animation: starPulse 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes starPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* PWA Install Dialog (Modal Native) */
.modal-dialog {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0;
  max-width: 480px;
  width: calc(100% - 2rem);
  margin: auto;
  background: var(--card-bg);
  overflow: hidden;
}

.modal-dialog::backdrop {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.modal-dialog .modal-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: white;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0;
  box-shadow: none;
}

.modal-dialog .modal-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.modal-dialog .btn-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-dialog .btn-close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.05);
}

.modal-body {
  padding: 1.5rem;
}

.install-intro {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.install-instructions {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  animation: slideUp 0.3s ease-out;
}

.install-instructions p {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.btn-primary-install {
  width: 100%;
  padding: 0.85rem;
  background: var(--green);
  color: white;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
  transition: var(--transition);
}

.btn-primary-install:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 15px rgba(46, 125, 50, 0.4);
  transform: translateY(-1.5px);
}

.ios-steps {
  list-style: none;
  padding-left: 0;
}

.ios-steps li {
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 0.65rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.45;
}

.ios-steps li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.ios-icon {
  background: #e2e8f0;
  padding: 0.1rem 0.35rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  margin: 0 0.1rem;
  display: inline-block;
  vertical-align: middle;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Share button in footer */
.btn-share-footer {
  background: #3b82f6;
  color: #ffffff;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.btn-share-footer:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-share-footer:active {
  transform: translateY(1px);
}

.footer-contact-link {
  display: inline-block;
  color: var(--text-muted, #888);
  font-size: 0.78rem;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-contact-link:hover {
  opacity: 1;
  text-decoration: underline;
}
