/* Footer, contact details, developer credit, and floating WhatsApp styles. */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 28px;
  z-index: 40;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  font-weight: 900;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #ffffff;
  background: var(--green);
  transform: translateY(-2px);
}

footer {
  display: grid;
  gap: clamp(24px, 5vw, 44px);
  padding: clamp(42px, 7vw, 82px) clamp(16px, 5vw, 72px) 20px;
  color: #ffffff;
  background: #000000;
}

.site-footer {
  background: #000000;
}

.footer-invitation,
.footer-newsletter,
.footer-main,
.footer-bottom {
  width: 100%;
}

.footer-invitation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(245, 154, 22, 0.38);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 34px);
}

.footer-invitation .eyebrow {
  color: var(--gold);
}

.footer-invitation h2,
.footer-newsletter h3 {
  margin: 0;
  color: #ffffff;
}

.footer-invitation h2 {
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  line-height: 1;
}

.footer-invitation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-top-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0 14px;
  color: #ffffff;
  font-weight: 900;
}

.footer-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 18px;
  align-items: end;
}

.footer-newsletter p,
.footer-brand-panel p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.footer-newsletter form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.footer-newsletter label {
  display: grid;
  gap: 7px;
  color: #ffffff;
  font-weight: 900;
}

.footer-newsletter span {
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.footer-newsletter input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(20px, 5vw, 54px);
  align-items: start;
}

.footer-brand-panel {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.footer-brand-panel img {
  width: min(100%, 240px);
  border-radius: 5px;
}

.footer-brand-panel a {
  color: #ffffff;
  font-weight: 900;
}

.contact-card {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 5vw, 48px);
  width: 100%;
  min-width: 0;
}

.contact-panel,
.feedback-panel,
.quick-panel {
  min-width: 0;
}

.contact-panel h3,
.feedback-panel h3,
.quick-panel h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1.05rem;
}

.feedback-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.contact-methods,
.quick-links,
.footer-link-group {
  display: grid;
}

.contact-methods {
  gap: 12px;
}

.contact-feedback {
  width: 100%;
  margin-top: 18px;
}

.contact-feedback label {
  color: #ffffff;
}

.contact-feedback input,
.contact-feedback select,
.contact-feedback textarea {
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-methods a,
.quick-links a {
  min-width: 0;
  color: #ffffff;
  overflow-wrap: anywhere;
}

.contact-methods a:hover,
.quick-links a:hover {
  color: var(--gold);
}

.contact-methods span,
.contact-methods strong {
  display: block;
}

.contact-methods span,
.footer-link-group h4 {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-methods strong {
  margin-top: 5px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.quick-links {
  gap: 18px;
  padding-top: 4px;
}

.footer-link-groups {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-link-group {
  align-content: start;
  gap: 9px;
  min-width: 0;
}

.footer-link-group h4 {
  margin: 0 0 3px;
}

.quick-links a {
  display: block;
  background: transparent;
  font-size: 0.94rem;
  font-weight: 800;
  text-align: left;
}

.footer-line {
  flex: 1 1 100%;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 3vw, 34px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 18px;
}

.copyright {
  margin: 0;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: left;
}

.footer-tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

@media (max-width: 760px) {
  .whatsapp-float {
    right: 16px;
    bottom: 18px;
    max-width: calc(100vw - 32px);
  }

  .footer-invitation,
  .footer-newsletter,
  .footer-newsletter form,
  .footer-main,
  .contact-card,
  .quick-links {
    grid-template-columns: 1fr;
  }

  .footer-invitation-actions {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
  }

  footer {
    padding-right: 16px;
    padding-left: 16px;
  }
}
