/*
  AI Design LA — Contact page
  Layout only. Shared components (hero, section shell, btn) live in
  components.css.
*/

.required-asterisk {
  color: var(--text-accent);
}

.contact-hero__subtext {
  color: var(--text-subtle);
}

.channel-links__eyebrow {
  color: var(--text-brand-bright);
}

/* Figma uses raw 120px/100px section padding here (not a --space-* token),
   so this page keeps its own section wrapper rather than the shared
   .section shell, which is tuned to 160px/60px. */
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  width: 100%;
  padding: 120px var(--space-xxl);
}

.contact-section--white {
  background: var(--bg-white);
  color: var(--text-reversed);
}

.contact-section--raised {
  background: var(--bg-raised);
  color: var(--text-reversed);
}

.contact-section--cta {
  padding: 100px var(--space-xxl);
  gap: 32px;
  text-align: center;
}

@media (max-width: 900px) {
  .contact-section {
    padding: var(--space-xxl) var(--space-md);
  }

  .contact-section--cta {
    padding: var(--space-xxl) var(--space-md);
  }
}

.contact-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xl);
  max-width: 860px;
  width: 100%;
}

.contact-step__eyebrow {
  color: var(--text-accent);
}

/* .contact-step uses align-items: flex-start, so direct children shrink
   to content width by default — this stretches a field wrapper back out
   to the step's full width so width:100%/max-width on the control inside
   actually has something to resolve against. */
.field-row {
  width: 100%;
}

.contact-step__title {
  color: var(--text-reversed);
}

/* ---------- Radio group (Step 1) ---------- */

.radio-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  max-width: 600px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}

.radio-option__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.radio-option__dot {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 2px solid var(--border-rule);
  border-radius: 50%;
}

.radio-option__dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--bg-brand);
  opacity: 0;
}

.radio-option__input:checked + .radio-option__dot::after {
  opacity: 1;
}

.radio-option__input:focus-visible + .radio-option__dot {
  outline: 2px solid var(--bg-brand);
  outline-offset: 2px;
}

.radio-option__label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--size-label-small);
  letter-spacing: var(--tracking-label-small);
  text-transform: uppercase;
  color: var(--text-reversed);
}

/* ---------- Field labels ---------- */

.field-label {
  display: block;
  margin-bottom: var(--space-xxs);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--size-label-small);
  letter-spacing: var(--tracking-label-small);
  text-transform: uppercase;
  color: var(--text-reversed);
}

/* ---------- Field: boxed textarea (Step 2) ---------- */

.field-textarea {
  display: block;
  width: 100%;
  max-width: 760px;
  min-height: 180px;
  padding: 20px var(--space-md);
  background: var(--bg-white);
  border: 1.5px solid var(--border-rule);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--size-body-medium);
  letter-spacing: var(--tracking-body);
  color: var(--text-reversed);
  resize: vertical;
}

.field-textarea::placeholder {
  color: rgba(8, 7, 38, 0.5);
}

/* ---------- Field: underline input (Step 3) ---------- */

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 356px));
  gap: var(--space-xl);
  width: 100%;
  max-width: 760px;
}

.field-underline {
  display: block;
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--border-rule);
  font-family: var(--font-body);
  font-size: var(--size-body-medium);
  letter-spacing: var(--tracking-body);
  color: var(--text-reversed);
}

.field-underline::placeholder {
  color: rgba(8, 7, 38, 0.5);
}

.field-underline--narrow {
  max-width: 320px;
}

/* ---------- Step 4: submit CTA ---------- */

.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.contact-cta__body {
  max-width: 480px;
}

.contact-cta__clear {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--size-label-small);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Channel links ---------- */

.channel-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  max-width: 1000px;
  background: rgba(122, 121, 219, 0.4);
}

.channel-links__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: var(--space-xl) var(--space-lg);
  background: var(--bg-canvas-vivid);
}

.channel-links__title {
  color: var(--text-primary);
}

.channel-links__body {
  color: var(--text-subtle);
}

.channel-links__link {
  color: var(--text-accent);
}

@media (max-width: 900px) {
  .field-grid {
    grid-template-columns: 1fr;
  }

  .channel-links {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-inline: auto;
  }
}
