/* ----------------------------------------
   CONTACT PAGE
----------------------------------------- */

.hb-contact {
  padding-top: 120px;
}

/* ── Hero ─────────────────────────────── */

.hb-contact-hero {
  text-align: center;
  padding: clamp(60px, 10vw, 100px) 20px clamp(48px, 7vw, 72px);
  background: var(--hb-bg);
}

.hb-contact-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.hb-contact-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(48px, 6.5vw, 70px);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1.0;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #818cf8 0%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hb-contact-subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--hb-text-2);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.hb-contact-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgb(var(--hb-glass) / 0.7);
  border: 1px solid rgb(var(--hb-line) / 0.06);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px;
  color: var(--hb-text-2);
  letter-spacing: -0.01em;
}

.hb-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c759;
  flex-shrink: 0;
  animation: hb-pulse 2s ease-in-out infinite;
}

@keyframes hb-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(52, 199, 89, 0); }
}

/* ── Main grid ────────────────────────── */

.hb-contact-main {
  background: var(--hb-bg-alt);
  padding: clamp(48px, 7vw, 80px) clamp(20px, 6vw, 80px);
  position: relative;
}

.hb-contact-main::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgb(var(--hb-glass) / 0.95) 30%,
    rgba(200,220,255,0.9) 50%,
    rgb(var(--hb-glass) / 0.95) 70%,
    transparent);
  box-shadow: 0 0 10px rgba(180, 210, 255, 0.5);
}

.hb-contact-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
}

/* ── Sidebar ──────────────────────────── */

.hb-contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Info cards */
.hb-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hb-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgb(var(--hb-glass) / 0.72);
  border: 1px solid rgb(var(--hb-line) / 0.06);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

a.hb-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background: rgb(var(--hb-glass) / 0.9);
}

.hb-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(129, 140, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  flex-shrink: 0;
}

.hb-info-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hb-info-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hb-text-3);
}

.hb-info-value {
  font-size: 14px;
  color: var(--hb-text);
  letter-spacing: -0.01em;
}

.hb-info-arrow {
  color: var(--hb-text-3);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

a.hb-info-card:hover .hb-info-arrow {
  transform: translateX(3px);
  color: #818cf8;
}

/* Social pills */
.hb-contact-social-section {
  background: rgb(var(--hb-glass) / 0.72);
  border: 1px solid rgb(var(--hb-line) / 0.06);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px;
}

.hb-social-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hb-text-3);
  margin-bottom: 14px;
}

.hb-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hb-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: var(--hb-text);
  color: var(--hb-bg);
  text-decoration: none;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hb-social-pill:hover {
  background: linear-gradient(135deg, #818cf8 0%, #e879f9 100%);
  transform: translateY(-2px);
}

/* ── Form ─────────────────────────────── */

.hb-contact-form-wrap {
  background: rgb(var(--hb-glass) / 0.72);
  border: 1px solid rgb(var(--hb-line) / 0.06);
  border-radius: 20px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: clamp(28px, 4vw, 44px);
}

.hb-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hb-form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hb-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hb-form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--hb-text);
  letter-spacing: -0.01em;
}

.hb-form-group label span {
  color: #818cf8;
}

.hb-form-group input,
.hb-form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgb(var(--hb-glass) / 0.8);
  border: 1px solid rgb(var(--hb-line) / 0.1);
  border-radius: 12px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  color: var(--hb-text);
  letter-spacing: -0.01em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  resize: vertical;
}

.hb-form-group input::placeholder,
.hb-form-group textarea::placeholder {
  color: var(--hb-placeholder);
}

.hb-form-group input:focus,
.hb-form-group textarea:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.15);
  background: var(--hb-bg);
}

.hb-form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #818cf8 0%, #e879f9 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  margin-top: 4px;
}

.hb-form-submit:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* Success / error states */
.hb-form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px 20px;
  text-align: center;
  color: #34c759;
}

.hb-form-success p {
  font-size: 17px;
  font-weight: 400;
  color: var(--hb-text);
  letter-spacing: -0.01em;
}

.hb-form-error {
  padding: 14px 18px;
  background: rgba(255, 59, 48, 0.08);
  border: 1px solid rgba(255, 59, 48, 0.2);
  border-radius: 12px;
  font-size: 14px;
  color: #ff3b30;
  margin-bottom: 4px;
}

/* Anti-spam badge under the submit button */
.hb-spam-badge {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(52, 199, 89, 0.08);
  border: 1px solid rgba(52, 199, 89, 0.22);
  border-radius: 100px;
  font-size: 12px;
  color: var(--hb-text-2);
  letter-spacing: -0.01em;
  text-align: center;
}

.hb-spam-badge svg {
  flex-shrink: 0;
  color: #34c759;
}

/* Honeypot: off-screen rather than display:none, which some bots detect */
.hb-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── Responsive ───────────────────────── */

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

  .hb-form-row--2 {
    grid-template-columns: 1fr;
  }

  .hb-contact-main {
    padding: 40px 16px 60px;
  }
}
