/* ─── Contact page ─────────────────────────────────────────────── */

.contact-hero {
  padding-top: 6.75rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 1024px) {
  .contact-hero {
    padding-top: 7.75rem;
    padding-bottom: 4.5rem;
  }
}

.contact-hero-panel {
  background: linear-gradient(
    145deg,
    rgba(255, 252, 247, 0.98) 0%,
    rgba(240, 253, 244, 0.92) 55%,
    rgba(220, 252, 231, 0.75) 100%
  );
  box-shadow:
    0 1px 0 rgba(15, 81, 50, 0.06),
    0 24px 48px -12px rgba(15, 81, 50, 0.12);
}

.contact-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.35),
    rgba(15, 81, 50, 0.08) 50%,
    rgba(15, 81, 50, 0.15)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.contact-stat {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

.contact-card {
  position: relative;
  isolation: isolate;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease;
}

.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 0%),
    rgba(34, 197, 94, 0.08),
    transparent 42%
  );
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.contact-card:hover::after {
  opacity: 1;
}

.contact-card:hover {
  transform: translateY(-3px);
}

.contact-card--featured {
  background: linear-gradient(
    155deg,
    #0f5132 0%,
    #166534 48%,
    #14532d 100%
  );
  color: #faf8f4;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 28px 56px -16px rgba(15, 81, 50, 0.45);
}

.contact-card--featured:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 32px 64px -14px rgba(15, 81, 50, 0.52);
}

.contact-card--featured .contact-card-label {
  color: rgba(187, 247, 208, 0.9);
}

.contact-card--featured .contact-card-title {
  color: #faf8f4;
}

.contact-card--featured .contact-card-desc {
  color: rgba(250, 248, 244, 0.78);
}

.contact-card--featured .contact-card-value {
  color: #bbf7d0;
}

.contact-card--featured .contact-card-value:hover {
  color: #dcfce7;
}

.contact-card--featured .contact-card-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #bbf7d0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.contact-copy-btn {
  opacity: 0;
  transform: translateX(4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background-color 0.15s ease;
}

.group:hover .contact-copy-btn,
.group:focus-within .contact-copy-btn {
  opacity: 1;
  transform: translateX(0);
}

@media (hover: none) {
  .contact-copy-btn {
    opacity: 1;
    transform: none;
  }
}

.contact-step-num {
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #166534 0%, #0f5132 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  .contact-card,
  .contact-card::after,
  .contact-copy-btn {
    transition: none;
  }

  .contact-card:hover {
    transform: none;
  }
}
