/* =========================
   FOOTER CONTACTO
========================= */
[hidden] {
  display: none !important;
}

.contact-footer {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 17, 26, 0.98), rgba(8, 10, 15, 1));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.contact-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1.2px, transparent 2px);
  background-size: 22px 22px;
  opacity: 0.35;
}

.contact-footer-container {
  position: relative;
  z-index: 2;
  padding-top: 34px;
  padding-bottom: 18px;
}

.contact-footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  width: fit-content;
}

.contact-footer-icon {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.contact-footer-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.contact-footer-subtitle {
  font-size: 7px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 4px;
  padding-left: 2px;
}

.contact-footer-description {
  max-width: 340px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.contact-footer-links h4,
.contact-footer-actions h4 {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.8px;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.contact-footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-footer-links li {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.contact-footer-links a,
.contact-footer-links span {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.22s ease;
}

.contact-footer-links a:hover {
  color: #fff;
}

.contact-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-footer-btn {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(57, 168, 79, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(57, 168, 79, 0.16), rgba(35, 134, 58, 0.12)),
    rgba(18, 22, 30, 0.85);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    filter 0.22s ease,
    background-color 0.22s ease;
}

.contact-footer-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(57, 168, 79, 0.3);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
  filter: brightness(1.04);
}

.contact-footer-btn i {
  font-size: 18px;
}

.contact-footer-btn-instagram {
  border-color: rgba(255, 122, 182, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 122, 182, 0.16), rgba(160, 62, 120, 0.1)),
    rgba(18, 22, 30, 0.85);
}

.contact-footer-btn-instagram:hover {
  border-color: rgba(255, 122, 182, 0.3);
}

/* =========================
   FOOTER BOTTOM
========================= */
.contact-footer-bottom {
  padding-top: 16px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
}

.contact-footer-bottom-copy {
  min-width: 0;
}

.contact-footer-bottom-copy p,
.contact-footer-bottom > p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.5;
}

.contact-footer-bottom-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-legal-link,
.footer-cookie-btn {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease;
}

.footer-legal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.footer-legal-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.footer-cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(18, 22, 32, 0.95), rgba(10, 14, 22, 0.95));
  color: #fff;
}

.footer-cookie-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
}

.contact-footer-bottom-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.contact-footer-bottom .footer-version {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.contact-footer-logo:focus-visible,
.contact-footer-links a:focus-visible,
.contact-footer-btn:focus-visible,
.footer-legal-link:focus-visible,
.footer-cookie-btn:focus-visible {
  outline: 3px solid rgba(225, 27, 34, 0.45);
  outline-offset: 3px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .contact-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .contact-footer-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
  }

  .contact-footer-bottom-links {
    justify-content: flex-start;
  }

  .contact-footer-bottom-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .contact-footer-container {
    padding-top: 28px;
  }

  .contact-footer-top {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 20px;
  }

  .contact-footer-description {
    max-width: 100%;
    font-size: 14px;
  }

  .contact-footer-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
  }

  .contact-footer-bottom-links {
    justify-content: flex-start;
  }

  .contact-footer-bottom-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .contact-footer-title {
    font-size: 18px;
  }

  .contact-footer-subtitle {
    font-size: 6px;
    letter-spacing: 3px;
  }

  .contact-footer-btn {
    width: 100%;
    justify-content: center;
  }

  .contact-footer-bottom-links {
    width: 100%;
    gap: 8px;
  }

  .footer-legal-link,
  .footer-cookie-btn {
    width: 100%;
    justify-content: center;
  }
}
