body[class^="page-"] .footer {
  background: #111;
  color: #d7d7d7;
  padding: 0;
}

body[class^="page-"] .footer .footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-xl, var(--space-xl, 2rem));
  padding: var(--spacing-3xl, var(--space-3xl, 4rem)) 0 var(--spacing-2xl, var(--space-2xl, 3rem));
  margin-bottom: 0;
}

body[class^="page-"] .footer .footer-logo {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  color: var(--neutral-white, #fff);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-sm, var(--space-sm, 0.5rem));
}

body[class^="page-"] .footer .footer-description {
  color: #c7c7c7;
  margin-bottom: var(--spacing-md, var(--space-md, 1rem));
  font-size: 0.94rem;
}

body[class^="page-"] .footer h3 {
  color: var(--neutral-white, #fff);
  margin-bottom: var(--spacing-md, var(--space-md, 1rem));
  font-size: 1.05rem;
}

body[class^="page-"] .footer .footer-links,
body[class^="page-"] .footer .footer-contact {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

body[class^="page-"] .footer .footer-links li,
body[class^="page-"] .footer .footer-contact li {
  margin: 0;
}

body[class^="page-"] .footer .footer-links a,
body[class^="page-"] .footer .footer-contact li {
  color: #d2d2d2;
  font-size: 0.93rem;
  display: inline-flex;
  gap: 0.45rem;
  align-items: flex-start;
}

body[class^="page-"] .footer .footer-links a:hover,
body[class^="page-"] .footer .footer-bottom-links a:hover {
  color: var(--primary-yellow, #ffc20e);
}

body[class^="page-"] .footer .footer-badges {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

body[class^="page-"] .footer .badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full, 9999px);
  padding: 0.3rem 0.7rem;
  background: rgba(255, 194, 14, 0.2);
  color: var(--primary-yellow, #ffc20e);
  font-size: 0.75rem;
  font-weight: 700;
}

body[class^="page-"] .footer .newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0;
  margin-bottom: var(--spacing-md, var(--space-md, 1rem));
}

body[class^="page-"] .footer .newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid #333;
  border-radius: var(--radius-md, 0.5rem);
  background: #1c1c1c;
  color: #fff;
  padding: 0.65rem 0.75rem;
}

body[class^="page-"] .footer .newsletter-form button {
  background: var(--primary-yellow, #ffc20e);
  color: var(--neutral-dark, #2c2c2c);
  border-radius: var(--radius-md, 0.5rem);
  border: none;
  font-weight: 700;
  padding: 0.65rem 0.85rem;
}

body[class^="page-"] .footer .social-links {
  display: flex;
  gap: 0.55rem;
  margin-top: 0;
}

body[class^="page-"] .footer .social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #262626;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body[class^="page-"] .footer .social-links a:hover {
  background: var(--primary-red, #e31e24);
}

body[class^="page-"] .footer .footer-bottom {
  border-top: 1px solid #242424;
  padding: var(--spacing-md, var(--space-md, 1rem)) 0;
  color: #acacac;
  font-size: 0.85rem;
}

body[class^="page-"] .footer .footer-bottom-content {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-md, var(--space-md, 1rem));
  align-items: center;
  flex-wrap: wrap;
}

body[class^="page-"] .footer .footer-bottom-links {
  display: inline-flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

body[class^="page-"] .whatsapp-widget {
  position: fixed;
  right: 24px;
  bottom: 80px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  z-index: 1040;
  animation: whatsappPulse 2s infinite;
}

body[class^="page-"] .whatsapp-widget:hover {
  transform: scale(1.08);
  color: #fff;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.58);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  body[class^="page-"] .footer .newsletter-form {
    flex-direction: column;
  }

  body[class^="page-"] .whatsapp-widget {
    right: 24px;
    bottom: 80px;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
}
