/* ════════════════════════════════════════════════════════════════
   CONTACT PAGE — glass form + info cards
   ════════════════════════════════════════════════════════════════ */

body {
  min-height: 100vh;
  background: #000;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 55% at 10% 5%,  rgba(255,255,255,0.028) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 90%, rgba(255,255,255,0.020) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 55% 45%, rgba(255,255,255,0.012) 0%, transparent 50%);
  pointer-events: none;
}

/* ── Page wrapper ────────────────────────────────────────────── */
.contact-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding-top: calc(var(--nav-top, 20px) + var(--nav-height, 52px) + 56px);
  padding-bottom: 120px;
}

.contact-container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Back ────────────────────────────────────────────────────── */
.contact-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 44px;
  font-size: 13px;
  font-weight: 450;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 0.25s ease;
}
.contact-back:hover { color: rgba(255,255,255,0.78); }
.contact-back svg { transition: transform 0.25s cubic-bezier(0.22,1,0.36,1); }
.contact-back:hover svg { transform: translateX(-3px); }

/* ── Hero ────────────────────────────────────────────────────── */
.contact-hero {
  margin-bottom: 56px;
}

.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.contact-eyebrow-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}

.contact-title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.96;
  color: rgba(255,255,255,0.96);
  margin-bottom: 16px;
}

.contact-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.42);
  letter-spacing: -0.008em;
  line-height: 1.55;
  max-width: 480px;
}

/* ── Two-column layout ───────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
  align-items: start;
}

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

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

.info-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  padding: 22px 24px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(40px) saturate(180%) brightness(108%);
  -webkit-backdrop-filter: blur(40px) saturate(180%) brightness(108%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 10px 32px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.40),
    inset 0 -1px 0 rgba(255,255,255,0.03);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: block;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; width: 70%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.38) 50%, transparent);
  border-radius: 999px;
}

a.info-card:hover {
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    0 14px 42px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.52),
    inset 0 -1px 0 rgba(255,255,255,0.04);
}

.info-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-bottom: 14px;
}

.info-card-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 5px;
}

.info-card-value {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.80);
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.info-card-sub {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  margin-top: 3px;
  letter-spacing: -0.005em;
}

/* Response time badge */
.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 11px;
  font-weight: 450;
  color: rgba(255,255,255,0.40);
  letter-spacing: -0.005em;
}

.response-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(120,220,120,0.70);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(120,220,120,0.50);
  animation: pulse-green 2.4s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

/* ── Form glass card ─────────────────────────────────────────── */
.contact-form-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: 36px 36px;
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(40px) saturate(180%) brightness(108%);
  -webkit-backdrop-filter: blur(40px) saturate(180%) brightness(108%);
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow:
    0 24px 70px rgba(0,0,0,0.38),
    inset 0 1px 0 rgba(255,255,255,0.52),
    inset 0 -1px 0 rgba(255,255,255,0.04);
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; width: 70%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55) 50%, transparent);
  border-radius: 999px;
}

/* Traveling reflection */
.form-reflection {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  pointer-events: none;
}
.form-reflection::after {
  content: '';
  position: absolute;
  top: -40%; left: -30%;
  width: 35%; height: 180%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.02) 40%, rgba(255,255,255,0.055) 50%, rgba(255,255,255,0.02) 60%, transparent 100%);
  transform: skewX(-12deg);
  animation: glass-sweep 12s linear infinite;
}

/* ── Form elements ───────────────────────────────────────────── */
.contact-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px 20px; border-radius: 22px; }
}

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

.form-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  font-family: inherit;
  letter-spacing: -0.005em;
  outline: none;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  -webkit-appearance: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255,255,255,0.22);
}

.form-input:hover,
.form-textarea:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
  box-shadow:
    0 0 0 3px rgba(255,255,255,0.05),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* Privacy note */
.form-privacy {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.28);
  letter-spacing: -0.003em;
  line-height: 1.55;
}

.form-privacy a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.form-privacy a:hover {
  color: rgba(255,255,255,0.72);
  border-color: rgba(255,255,255,0.38);
}

/* Submit button */
.form-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.96);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  font-family: inherit;
  cursor: pointer;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.32),
    inset 0 -1px 0 rgba(255,255,255,0.05),
    0 0 20px rgba(255,255,255,0.07),
    0 4px 18px rgba(0,0,0,0.30);
  transition:
    transform 0.3s cubic-bezier(0.22,1,0.36,1),
    background 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  margin-top: 4px;
}

.form-submit:hover {
  transform: scale(1.02);
  background: rgba(255,255,255,0.24);
  border-color: rgba(255,255,255,0.55);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.42),
    inset 0 -1px 0 rgba(255,255,255,0.07),
    0 0 30px rgba(255,255,255,0.13),
    0 6px 24px rgba(0,0,0,0.38);
}

.form-submit:active {
  transform: scale(0.985);
}

.form-submit-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.16) 50%, transparent 70%);
  transform: translateX(-110%) skewX(-12deg);
  transition: transform 0s;
}

.form-submit:hover .form-submit-shine {
  transform: translateX(210%) skewX(-12deg);
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1);
}

/* Success state */
.form-submit.sent {
  border-color: rgba(120,220,120,0.40);
  background: rgba(120,220,120,0.10);
  box-shadow:
    inset 0 1.5px 0 rgba(120,220,120,0.20),
    0 0 24px rgba(120,220,120,0.08);
  pointer-events: none;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 680px) {
  .contact-page {
    padding-top: calc(20px + 52px + 36px);
    padding-bottom: 80px;
  }
  .contact-hero { margin-bottom: 36px; }
  .contact-title { line-height: 1.0; }
}
