.site-footer {
  background-image: linear-gradient(to right, #154f5a, #216978);
  color: #ffffff;
  padding: 3rem 0;
  margin-top: 3rem;
}

.site-footer__inner {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .site-footer__inner {
    padding: 0 2rem;
  }
}

.site-footer__panels {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(33, 105, 120, 0.5);
}

.site-footer__panel {
  width: 100%;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .site-footer__panel {
    width: 50%;
    margin-bottom: 0;
  }

  .site-footer__panel--risk {
    padding-right: 1rem;
  }

  .site-footer__panel--legal {
    padding-left: 1rem;
  }
}

.site-footer__title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer__title--warn {
  color: #fde047;
}

.site-footer__title--muted {
  color: #d1d5db;
}

.site-footer__copy {
  font-size: 0.75rem;
  line-height: 1.625;
  color: #9ca3af;
}

.site-footer__copy + .site-footer__copy {
  margin-top: 0.5rem;
}

.site-footer__bottom {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(33, 105, 120, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
  }
}

.site-footer__rights {
  font-size: 0.75rem;
  color: #d1d5db;
  margin: 0;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer__nav a {
  font-size: 0.75rem;
  color: #d1d5db;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s ease;
}

.site-footer__nav a:hover {
  color: #e0f2f4;
}

.legal-dialog {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  overflow: auto;
  background: rgba(0, 0, 0, 0.5);
}

.legal-dialog.modal-open .legal-dialog__panel {
  transform: translateY(0);
  opacity: 1;
}

.legal-dialog__panel {
  background: #fff;
  margin: 5% auto;
  padding: 1.5rem;
  border-radius: 0.5rem;
  width: min(42rem, 92%);
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(12px);
  opacity: 0.85;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.legal-dialog__panel .dlg-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 1.5rem;
  color: #9ca3af;
  background: transparent;
  border: 0;
  cursor: pointer;
  line-height: 1;
}

.legal-dialog__panel .dlg-close:hover {
  color: #4b5563;
}

.legal-dialog__panel--contact {
  width: min(58rem, 94%);
}

.contact-modal-intro { margin-bottom: 1.25rem; }
.contact-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.contact-info-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
}
.contact-info-card h3,
.contact-modal-form-wrap h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}
.contact-company-name {
  font-size: 1.05rem !important;
  font-weight: 700;
  color: #111827 !important;
  margin-bottom: 0.85rem !important;
}
.contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.15rem;
}
.contact-map-wrap {
  margin-top: 1rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #e5e7eb;
  aspect-ratio: 16 / 10;
}
.contact-map {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.contact-modal-form-wrap {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
}
.contact-lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: #374151;
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: #111827;
  background: #fff;
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}
.contact-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}
.contact-submit-btn {
  margin-top: 0.25rem;
  border: 0;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1rem;
  cursor: pointer;
}
.contact-submit-btn:hover { background: #000; }
.contact-submit-btn:disabled { opacity: 0.65; cursor: wait; }
.contact-form-status {
  margin: 0;
  font-size: 0.85rem;
  color: #4b5563;
}
.contact-form-status.is-success { color: #047857; }
.contact-form-status.is-error { color: #b91c1c; }

@media (max-width: 768px) {
  .contact-modal-grid {
    grid-template-columns: 1fr;
  }
}
