/**
 * @file
 * Footer styles.
 * Dark footer with multi-column layout and newsletter signup.
 */

.re-footer {
  background-color: var(--re-black);
  color: var(--re-white);
  padding: var(--re-space-2xl) 0 var(--re-space-lg);
}

.re-footer__brand {
  margin-bottom: var(--re-space-lg);
}

.re-footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
}

.re-footer__logo svg {
  height: 44px;
  width: auto;
}

.re-footer__tagline {
  font-size: var(--re-text-sm);
  color: rgba(255, 255, 255, 0.45);
  line-height: var(--re-leading-relaxed);
  margin-bottom: var(--re-space-md);
  max-width: 340px;
}

/* === Social Links === */
.re-footer__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.re-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--re-duration-fast) var(--re-ease-out);
}

.re-footer__social-link:hover {
  border-color: var(--re-red);
  color: var(--re-red);
  background-color: rgba(200, 16, 46, 0.1);
}

.re-footer__links,
.re-footer__newsletter {
  text-align: right;
}

/* === Footer Links === */
.re-footer__heading {
  font-family: var(--re-font-heading);
  font-size: var(--re-text-base);
  font-weight: 600;
  color: var(--re-white);
  margin-bottom: 1.25rem;
  line-height: var(--re-leading-snug);
}

.re-footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.re-footer__list a {
  font-size: var(--re-text-sm);
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--re-duration-fast) var(--re-ease-out);
  text-decoration: none;
  line-height: var(--re-leading-normal);
}

.re-footer__list a:hover {
  color: var(--re-red-light);
}

/* === Newsletter === */
.re-footer__newsletter p {
  font-size: var(--re-text-sm);
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
  line-height: var(--re-leading-relaxed);
  text-align: right;
}

.re-footer__newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.re-footer__newsletter-form .re-form-input {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--re-white);
  font-size: var(--re-text-xs);
}

.re-footer__newsletter-form .re-form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.re-footer__newsletter-form .re-form-input:focus {
  border-color: var(--re-red);
  background-color: rgba(255, 255, 255, 0.08);
}

.re-footer__newsletter-form .re-btn {
  flex-shrink: 0;
  padding: 0.625rem 0.875rem;
}

/* === Footer Bottom === */
.re-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--re-space-lg);
  margin-top: var(--re-space-lg);
}

.re-footer__bottom p {
  font-size: var(--re-text-xs);
  color: rgba(255, 255, 255, 0.3);
  margin: 0;
}

.re-footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.re-footer__bottom-links a {
  font-size: var(--re-text-xs);
  color: rgba(255, 255, 255, 0.3);
  transition: color var(--re-duration-fast) var(--re-ease-out);
}

.re-footer__bottom-links a:hover {
  color: var(--re-red-light);
}

@media (max-width: 640px) {
  .re-footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .re-footer__bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
