/* Pie de página premium — Mundo Camping */

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(110, 231, 183, 0.15);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(16, 185, 129, 0.12), transparent 55%),
    linear-gradient(180deg, #022c22 0%, #011a14 48%, #010f0c 100%);
  color: #ecfdf5;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 2rem 2.5rem;
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    gap: 2.5rem 3rem;
  }
}

.site-footer__brand {
  max-width: 22rem;
}

.site-footer__logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(110, 231, 183, 0.35);
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.15);
}

.site-footer__title {
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
}

.site-footer__tagline {
  margin-top: 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(236, 253, 245, 0.72);
}

.site-footer__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.site-footer__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(236, 253, 245, 0.8);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

a.site-footer__pill:hover {
  border-color: rgba(110, 231, 183, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #ecfdf5;
}

.site-footer__pill-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

.site-footer__nav-title {
  margin-bottom: 0.85rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6ee7b7;
}

.site-footer__links {
  display: grid;
  gap: 0.45rem;
}

.site-footer__link {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(236, 253, 245, 0.78);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__link:hover {
  color: #deff9a;
  transform: translateX(3px);
}

.site-footer__nav-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1rem;
}

.site-footer__scene-wrap {
  width: 100%;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .site-footer__scene-wrap {
    max-width: none;
    margin-right: 0;
  }
}

.footer-scene {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 1rem;
  border: 1px solid rgba(110, 231, 183, 0.2);
  background: linear-gradient(180deg, #0c1f2e 0%, #061510 55%, #030a08 100%);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.fps-star {
  animation: fps-star-twinkle 3.5s ease-in-out infinite;
}

.fps-star--2 { animation-delay: 0.6s; }
.fps-star--3 { animation-delay: 1.2s; }
.fps-star--4 { animation-delay: 1.8s; }
.fps-star--5 { animation-delay: 2.4s; }

.fps-moon-glow {
  animation: fps-moon-pulse 5s ease-in-out infinite;
  transform-origin: center;
}

.fps-tent-glow {
  animation: fps-tent-glow 3s ease-in-out infinite;
}

.fps-fire-core {
  animation: fps-fire-flicker 1.1s ease-in-out infinite;
  transform-origin: center bottom;
}

.fps-fire-outer {
  animation: fps-fire-flicker 1.35s ease-in-out infinite;
  animation-delay: 0.15s;
  transform-origin: center bottom;
}

.fps-smoke {
  animation: fps-smoke-rise 4s ease-out infinite;
  opacity: 0;
}

.fps-smoke--2 { animation-delay: 1.3s; }
.fps-smoke--3 { animation-delay: 2.6s; }

.fps-dog-tail {
  animation: fps-tail-wag 1.8s ease-in-out infinite;
  transform-origin: 118px 142px;
}

.fps-fire-glow {
  animation: fps-glow-pulse 2.4s ease-in-out infinite;
}

@keyframes fps-star-twinkle {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes fps-moon-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

@keyframes fps-tent-glow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.9; }
}

@keyframes fps-fire-flicker {
  0%, 100% { transform: scaleY(1) scaleX(1); opacity: 1; }
  40% { transform: scaleY(1.08) scaleX(0.96); opacity: 0.92; }
  70% { transform: scaleY(0.94) scaleX(1.03); opacity: 0.88; }
}

@keyframes fps-smoke-rise {
  0% { opacity: 0; transform: translateY(0); }
  15% { opacity: 0.35; }
  100% { opacity: 0; transform: translateY(-18px); }
}

@keyframes fps-tail-wag {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(14deg); }
}

@keyframes fps-glow-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.85; }
}

.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}

.site-footer__legal {
  font-size: 0.75rem;
  line-height: 1.65;
  color: rgba(236, 253, 245, 0.5);
  max-width: 42rem;
}

.site-footer__copy {
  font-size: 0.75rem;
  color: rgba(236, 253, 245, 0.45);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .fps-star,
  .fps-moon-glow,
  .fps-tent-glow,
  .fps-fire-core,
  .fps-fire-outer,
  .fps-smoke,
  .fps-dog-tail,
  .fps-fire-glow {
    animation: none;
  }
}
