/* Contact page custom styles */

/* Trust badges (placed under the title on all breakpoints) */
.corner-trust {
  position: static;
  top: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 2;
  margin: 8px 0 0;
}
.corner-trust--right {
  align-items: center;
}

.corner-ribbon,
.corner-pill {
  padding: 0.625rem 1rem; /* 10px 16px */
  border-radius: 9999px;
  font-size: 0.875rem; /* 14px */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  min-width: 13.75rem; /* 220px */
  width: auto;
  flex: 0 1 auto;
}

/* Right side variants */
.corner-ribbon {
  background: linear-gradient(90deg, #1e3a8a, #3b82f6);
  color: #fff;
  font-weight: 600;
}
.badge-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}
.corner-pill.pill-dark {
  background: #0f172a;
  color: #fff;
}
.corner-pill.pill-white {
  background: #ffffff;
  color: #111827;
}

/* Trust badges row above form */
.form-trust-row {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 16px;
}
.form-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-trust-row img {
  width: 18px;
  height: 18px;
}
@media (min-width: 992px) {
  .form-trust-row {
    gap: 32px; /* larger spacing on desktop */
  }
}
.form-privacy-note {
  opacity: 0.7;
  margin: 0 0 12px;
}

/* Tablet step (before mobile) */
@media (max-width: 991px) {
  .corner-ribbon,
  .corner-pill {
    padding: 0.5625rem 0.875rem; /* 9px 14px */
    font-size: 0.8125rem; /* 13px */
    min-width: 12rem; /* 192px */
  }
}

/* iPad-specific tweak (portrait/landscape common sizes) */
@media (min-width: 768px) and (max-width: 1024px) {
  .corner-trust {
    gap: 6px;
  }
  .corner-ribbon,
  .corner-pill {
    padding: 0.5rem 0.875rem; /* 8px 14px */
    font-size: 0.8rem; /* ~12.8px */
    min-width: 10.5rem; /* 168px */
  }
}

/* Small screens: keep badges in one row with horizontal scroll */
@media (max-width: 767px) {
  .corner-trust {
    flex-wrap: nowrap; /* keep in one line */
    overflow-x: visible; /* no horizontal scroll */
    gap: 4px;
    padding-bottom: 0;
  }
  .corner-ribbon,
  .corner-pill {
    padding: 0.25rem 0.375rem; /* 4px 6px */
    font-size: 0.6rem; /* 10px */
    min-width: 3rem; /* 80px, fits 3 badges on ~360px screens */
    flex: 0 0 auto;
    width: auto;
  }
}
