/* ============ CONTACT PAGE ============ */

.ct-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4.5rem 2rem 3rem;
}
.ct-hero p { margin-top: 0.8rem; max-width: 56ch; font-size: 1.05rem; }

.ct-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem 7rem;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

/* ---- Direct channels ---- */
.ct-direct {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  position: sticky;
  top: 100px;
}
.ct-direct h3 { margin-bottom: 1.3rem; font-size: 1.05rem; }
.ct-channel {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 0.6rem;
  border-radius: 10px;
  margin-bottom: 0.6rem;
  transition: background 0.25s ease, transform 0.25s ease;
}
.ct-channel:hover { background: rgba(255,122,69,0.08); transform: translateX(3px); }
.ct-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.ct-channel strong { display: block; font-size: 0.92rem; }
.ct-channel small { display: block; color: var(--text-muted); font-size: 0.82rem; }

.ct-social { display: flex; gap: 0.8rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.ct-social a { color: var(--text-muted); transition: color 0.2s ease; }
.ct-social a:hover { color: var(--blue); }

/* ---- Form ---- */
.ct-form-wrap {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.4rem;
}
.ct-form-intro { margin-bottom: 1.8rem; font-size: 1rem; }

.ct-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1.2rem;
}
.ct-field { position: relative; }
.ct-field-full { grid-column: 1 / -1; }

.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.05rem 0.9rem 0.5rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
}
.ct-field textarea { resize: vertical; padding-top: 1.1rem; }
.ct-field select { cursor: pointer; }

.ct-field label {
  position: absolute;
  left: 0.9rem;
  top: 0.95rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: transform 0.2s ease, font-size 0.2s ease, color 0.2s ease, top 0.2s ease;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,122,69,0.18), 0 0 24px rgba(255,122,69,0.12);
}

.ct-field input:focus + label,
.ct-field input:not(:placeholder-shown) + label,
.ct-field textarea:focus + label,
.ct-field textarea:not(:placeholder-shown) + label {
  top: 0.35rem;
  font-size: 0.7rem;
  color: var(--orange);
}

/* Selects don't support :placeholder-shown, so float label whenever a value is chosen */
.ct-field select:focus ~ .ct-label-select,
.ct-field select:valid ~ .ct-label-select {
  top: 0.35rem;
  font-size: 0.7rem;
  color: var(--orange);
}
.ct-label-select { }

.ct-submit {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0.4rem;
}

.ct-confirm {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--blue);
  margin-top: 0.6rem;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease;
}
.ct-confirm.show { opacity: 1; height: auto; }

@media (max-width: 900px) {
  .ct-wrap { grid-template-columns: 1fr; }
  .ct-direct { position: static; }
  .ct-form { grid-template-columns: 1fr; }
}
