/* ========================================
   Contact Page
   ======================================== */

/* Hero */
.ct-hero {
  padding: 10rem var(--gutter) var(--space-lg);
  background: #000;
  position: relative;
  z-index: 1;
}

.ct-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.ct-hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.ct-hero__desc {
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-dim);
  max-width: 56ch;
}

/* Form Section */
.ct-form-section {
  padding: 0 var(--gutter) var(--space-2xl);
  background: #000;
  position: relative;
  z-index: 1;
}

.ct-form-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-2xl);
  align-items: start;
}

/* Info Column */
.ct-info {
  position: sticky;
  top: 8rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: var(--space-lg);
}

.ct-info__label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.ct-info__link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-text-dim);
  transition: color 0.3s ease;
}

.ct-info__link:hover {
  color: #fff;
}

.ct-info__link svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.ct-info__text {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-text-dim);
}

/* Form Card */
.ct-form-card {
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.5rem;
  background: #000;
  transition: border-color 0.5s var(--ease);
}

.ct-form-card:focus-within {
  border-color: rgba(255, 255, 255, 0.2);
}

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ct-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ct-form__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-dim);
}

.ct-form__input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 400;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.ct-form__input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.5;
}

.ct-form__input:hover {
  background: rgba(255, 255, 255, 0.06);
}

.ct-form__input:focus {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.06);
}

/* Select */
.ct-form__select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: none;
}

.ct-form__select option {
  background: #111;
  color: #fff;
}

/* Textarea */
.ct-form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit Button */
.ct-form__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  cursor: none;
  transition: background 0.4s var(--ease), border-color 0.4s ease, color 0.3s ease, transform 0.4s var(--ease);
  width: 100%;
}

.ct-form__btn:hover {
  background: #fff;
  border-color: #fff;
  color: #000;
  transform: translateY(-2px);
}

.ct-form__btn:active {
  transform: translateY(0) scale(0.98);
}

/* Success Message */
.ct-form__success {
  display: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #10B981;
  padding: 0.75rem 0;
  animation: ctSlideDown 0.4s var(--ease) forwards;
}

.ct-form__success--visible {
  display: block;
}

@keyframes ctSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .ct-form-section__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .ct-info {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .ct-hero {
    padding-top: 8rem;
  }

  .ct-form-card {
    padding: 1.75rem;
    border-radius: 16px;
  }

  .ct-hero__title {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  .ct-form-card {
    padding: 1.25rem;
  }

  .ct-info {
    flex-direction: column;
    gap: 1.5rem;
  }
}
