.site-footer {
  padding: 80px 0 30px;
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
}

.footer-newsletter {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 40px;
}

.newsletter-text h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex: 1;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: inherit;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
  padding: 14px 28px;
  background: var(--primary-orange);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
}

.newsletter-form button:hover {
  background: #E08E00;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-section h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section a {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
  transition: color 0.3s;
  font-size: 0.92rem;
}

.footer-section a:hover {
  color: var(--primary-orange);
}

.app-badges {
  margin-top: 16px;
}

.app-badges img {
  height: 38px;
  margin-right: 10px;
  margin-bottom: 10px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.app-badges img:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 40px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-bottom p {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-links a {
  color: #ffffff;
  margin-left: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-orange);
}

.social-icons a {
  margin-left: 16px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.1rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--primary-orange);
}

@media (max-width: 768px) {
  .footer-newsletter {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }

  .newsletter-form {
    flex-wrap: wrap;
  }

  .footer-content {
    flex-direction: column;
    gap: 40px;
    padding: 0 20px 50px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    padding: 24px 20px 0;
    text-align: center;
  }

  .footer-links a {
    margin-left: 0;
    margin-right: 20px;
  }

  .social-icons a {
    margin-left: 0;
    margin-right: 16px;
  }
}

/* Newsletter field wrapper for error display */
.newsletter-form-wrapper {
  flex: 1;
}

.newsletter-form-wrapper .newsletter-form {
  align-items: flex-start;
}

.newsletter-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.newsletter-field input {
  width: 100%;
}

.newsletter-field .field-error {
  color: #FFB3B3;
}
