/* Redesigned site footer */

.footer {
  background: linear-gradient(180deg, #1a3330 0%, #0f2420 100%);
  color: rgba(255, 255, 255, 0.88);
  padding: 0;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, #0D4F3C, #228B22, #DAA520) 1;
}

.footer-top-cta {
  background: linear-gradient(135deg, rgba(13, 79, 60, 0.95), rgba(34, 139, 34, 0.9));
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-top-cta h3 {
  font-family: var(--font-primary);
  font-size: 1.35rem;
  color: #fff;
  margin: 0 0 6px;
}

.footer-top-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.footer-top-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-top-actions .btn-footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.footer-top-actions .btn-footer svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  flex-shrink: 0;
}

.btn-footer-primary {
  background: #fff;
  color: #0D4F3C !important;
}

.btn-footer-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: #0D4F3C !important;
}

.btn-footer-whatsapp {
  background: #25D366;
  color: #fff !important;
}

.btn-footer-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  color: #fff !important;
}

.footer-main {
  padding: 48px 0 36px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px 24px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 14px 0 18px;
}

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

.footer-logo img {
  height: 44px;
  width: auto;
  border-radius: 10px;
  object-fit: cover;
}

.footer-logo span {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.footer-cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.footer-cert-badges span {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

/* Social icons — explicit sizing so Lucide SVGs are always visible */
.footer .social-links {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer .social-links a {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.footer .social-links a:hover {
  background: #228B22 !important;
  border-color: #228B22 !important;
  transform: translateY(-3px);
  color: #fff !important;
}

.footer .social-links a svg {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
  color: #ffffff !important;
  display: block;
  flex-shrink: 0;
}

.footer-section h3 {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: #FFD700;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.875rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-section ul li a:hover {
  color: #fff !important;
  padding-left: 4px;
}

.footer-contact-list p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.875rem;
}

.footer-contact-list p i,
.footer-contact-list p svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: #DAA520 !important;
  color: #DAA520 !important;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.88) !important;
}

.footer-contact-list a:hover {
  color: #fff !important;
}

.footer-newsletter {
  margin-top: 36px;
  padding: 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-newsletter-text h4 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.footer-newsletter-text p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 280px;
  max-width: 460px;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 11px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  font-size: 0.875rem;
  -webkit-text-fill-color: #fff !important;
}

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

.footer-newsletter-form input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.45);
}

.footer-newsletter-form button {
  padding: 11px 20px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #228B22, #32CD32);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.footer-newsletter-form button:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55) !important;
}

.footer-legal-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55) !important;
}

.footer-legal-links a:hover {
  color: #fff !important;
}

.footer-developer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 0 20px;
  background: rgba(0, 0, 0, 0.15);
}

.footer-developer-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  width: 100%;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(218, 165, 32, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-developer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFD700;
  background: rgba(218, 165, 32, 0.12);
  border: 1px solid rgba(218, 165, 32, 0.2);
}

.footer-developer-badge svg,
.footer-developer-badge i {
  width: 13px;
  height: 13px;
}

.footer-developer-name {
  font-family: var(--font-primary, 'Playfair Display', serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92) !important;
  letter-spacing: 0.02em;
}

.footer-developer-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.18);
}

.footer-developer-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-developer-contact svg,
.footer-developer-contact i {
  width: 14px;
  height: 14px;
  color: #a8d5ba;
}

.footer-developer-contact:hover {
  color: #fff !important;
  background: rgba(34, 139, 34, 0.25);
  border-color: rgba(34, 139, 34, 0.4);
  transform: translateY(-1px);
}

.footer-developer-whatsapp:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: rgba(37, 211, 102, 0.45);
}

.footer-developer-whatsapp:hover svg,
.footer-developer-whatsapp:hover i {
  color: #25D366;
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-top-cta .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-top-actions {
    justify-content: center;
  }

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

  .footer-newsletter-form {
    width: 100%;
    max-width: none;
    flex-direction: column;
  }

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

  .footer-developer-card {
    flex-direction: column;
    border-radius: 16px;
    padding: 14px 16px;
    gap: 10px;
  }

  .footer-developer-divider {
    display: none;
  }

  .footer-developer-contact {
    width: 100%;
    justify-content: center;
  }
}
