:root {
  --color-text: #D7CEB8;
  --accent-color: #df8433;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--color-text);
  pointer-events: none;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3em;
  position: relative;
  font-size: 1rem;
}

.footer-crossed {
  color: var(--color-text);
  font-style: italic;
  position: relative;
  white-space: nowrap;
}

.footer-crossed::after {
  content: "";
  position: absolute;
  top: 58%;
  left: 0;
  right: -0.9rem; 
  height: 2px;
  background-color: var(--accent-color);
  transform: translateY(-55%);
  z-index: 1;
}

.footer-arrow {
  display: inline-block;
  vertical-align: middle;
  margin-left: -0.1rem;
  margin-right: 0.5rem;
  height: 2em; /* Ajusta el tamaño de la flecha según el texto */
}
.footer-arrow line,
.footer-arrow polyline {
  /* Esto hereda el color y grosor definidos en el SVG */
}


.footer-slogan {
  font-style: italic;
  font-size: 1rem;
  color: var(--color-text);
  opacity: 0.95;
  white-space: nowrap;
}

.bracket {
  color: var(--accent-color);
  font-size: clamp(2.2rem, 2vw, 2rem);
  animation: pulse 2s infinite;
}

.rotating-wrapper {
  height: 6em;
  width: 10em;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rotating-words {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s ease;
}

.rotating-words span {
  height: 2em;
  line-height: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-text);
  font-weight: 600;
  filter: blur(2px);
  opacity: 0.3;
  transform: scale(1);
  transition: all 0.4s ease;
}

.rotating-words span.active {
  filter: blur(0);
  opacity: 1;
  transform: scale(1.1);
  font-weight: 700;
  z-index: 1;
}

.footer-credits {
  font-size: 0.85rem;
  color: #cccccc;
  opacity: 0.3;
}

/* Animaciones */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.08); }
}

@media (max-width: 768px) {
  .site-footer {
    align-items: flex-start;
    padding: 1rem 1.5rem;
    gap: 1rem;
  }

  .footer-line {
    flex-direction: column;
    text-align: center;
  }

  .rotating-wrapper {
    min-width: 8em;
    height: 2em;
  }

  .bracket {
    font-size: 1.3em;
  }

  .rotating-words span {
    font-size: 0.95em;
  }
}
