:root {
  --footer-bg: #111827;
  --footer-ink: rgba(255, 255, 255, 0.86);
  --footer-ink-dim: rgba(255, 255, 255, 0.68);
  --footer-line: rgba(255, 255, 255, 0.14);
  --footer-border: rgba(255, 0, 67, 0.45);
}

.site-footer {
  background: linear-gradient(180deg, #171717 0%, #111827 100%);
  color: var(--footer-ink);
  padding: 70px 0 30px;
  font-family: var(--font-primary);
}

.site-footer .container {
  max-width: 1200px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: rgba(255, 255, 255, 0.95);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 1.55fr;
  gap: 96px;
  align-items: start;
}

.footer-grid--two-col {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
}

.footer-logo {
  width: clamp(180px, 18vw, 250px);
  height: auto;
  display: block;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-title {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: clamp(1.15rem, 0.8vw + 0.95rem, 1.4rem);
  letter-spacing: 0.2px;
  font-family: var(--font-secondary);
}

.footer-address {
  margin: 0 0 14px;
  line-height: 1.75;
  color: var(--footer-ink-dim);
  font-size: clamp(0.95rem, 0.35vw + 0.86rem, 1.03rem);
}

.footer-phone,
.footer-email {
  display: inline-block;
  margin: 0 0 8px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.footer-email {
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social-link {
  border-radius: 999px;
  border: 1px solid var(--footer-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
  gap: 8px;
  padding: 10px 14px;
  font-size: 14px;
}

.footer-social-link i {
  font-size: 18px;
  line-height: 1;
}

.footer-social-link:hover {
  transform: translateY(-2px);
  border-color: var(--brand-primary);
  background: rgba(255, 0, 67, 0.14);
}

.footer-links {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  transition: color 160ms ease;
  font-size: clamp(0.95rem, 0.3vw + 0.85rem, 1rem);
  line-height: 1.35;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.95);
}

.footer-copy {
  margin: 18px 0 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.footer-newsletter-form {
  margin-top: 22px;
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.footer-newsletter-form input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 14px 16px;
  font-size: 15px;
}

.footer-newsletter-form button {
  border: 0;
  background: #ffffff;
  color: #111111;
  font-weight: 700;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 160ms ease;
  white-space: nowrap;
}

.footer-newsletter-form button:hover {
  background: #f1f1f1;
}

.footer-newsletter-form .footer-btn-icon {
  font-size: 16px;
  transform: translateY(-1px);
}

.footer-lang {
  margin-top: 22px;
}

.footer-lang select {
  appearance: none;
  background: transparent;
  border: 0;
  outline: none;
  padding: 2px 30px 2px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  cursor: pointer;
}

.footer-lang .footer-lang-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.footer-lang .footer-lang-wrap::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}

.footer-divider {
  margin-top: 58px;
  height: 1px;
  background: var(--footer-line);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(0.86rem, 0.3vw + 0.78rem, 0.95rem);
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.payment-badge {
  background: #ffffff;
  color: #0f172a;
  border-radius: 4px;
  height: 30px;
  min-width: 56px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.payment-badge--paypal {
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .footer-grid,
  .footer-grid--two-col {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .footer-col--signup {
    grid-column: 1 / -1;
  }
  .footer-copy {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .site-footer {
    padding: 58px 0 26px;
  }
  .footer-grid,
  .footer-grid--two-col {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .footer-newsletter-form {
    flex-direction: column;
  }
  .footer-newsletter-form button {
    justify-content: flex-end;
    padding: 12px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 10px;
  }
  .footer-social-link {
    font-size: 0.9rem;
    padding: 9px 12px;
  }
  .footer-payments {
    justify-content: flex-start;
  }
}

