/* ============================================================
   FLY EAGLE SPORT — Contact / Questionnaire Page Styles
   ============================================================ */

/* ── Page Hero ─────────────────────────────────────────────── */
.contact-hero {
  background: linear-gradient(160deg, var(--dark-3) 0%, var(--ox-dark) 60%, var(--dark-2) 100%);
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.contact-hero__inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact-hero__label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ox-hover);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-hero__label::before,
.contact-hero__label::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--ox);
}

.contact-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.contact-hero__sub {
  font-size: 1.05rem;
  color: var(--silver-lt);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Layout ────────────────────────────────────────────────── */
.contact-section {
  background: var(--dark);
  padding: 72px 0 88px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* ── Form Wrap ─────────────────────────────────────────────── */
.contact-form-wrap {
  min-width: 0;
}

/* ── Form Sections ─────────────────────────────────────────── */
.form-section {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  margin-bottom: 20px;
  transition: border-color 0.2s;
}

.form-section:hover {
  border-color: var(--border-lt);
}

.form-section__title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver-lt);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.form-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--ox);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ── Form Groups & Rows ────────────────────────────────────── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--silver-lt);
  letter-spacing: 0.02em;
}

.req {
  color: var(--ox-hover);
  margin-left: 2px;
}

/* ── Inputs ────────────────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  background: var(--dark-4);
  border: 1px solid var(--border-lt);
  border-radius: 6px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  appearance: none;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
  color: var(--silver-dk);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ox);
  box-shadow: 0 0 0 3px var(--ox-glow);
}

select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A8494' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

select option {
  background: var(--dark-3);
  color: var(--white);
}

textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* ── Radio Cards (goal grid) ───────────────────────────────── */
.radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.radio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 18px 12px;
  background: var(--dark-4);
  border: 1px solid var(--border-lt);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.radio-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--silver-lt);
  line-height: 1.3;
}

.radio-card:hover {
  border-color: var(--ox);
  background: var(--dark-3);
}

.radio-card.selected,
.radio-card:has(input:checked) {
  border-color: var(--ox);
  background: rgba(123, 31, 31, 0.12);
  box-shadow: 0 0 0 1px var(--ox);
}

.radio-card.selected .radio-card__label,
.radio-card:has(input:checked) .radio-card__label {
  color: var(--white);
}

/* ── Radio Pills (experience / timeline / aircraft) ────────── */
.radio-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: var(--dark-4);
  border: 1px solid var(--border-lt);
  border-radius: 7px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 0.88rem;
  color: var(--silver-lt);
  line-height: 1.4;
}

.radio-pill input[type="radio"] {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--silver-dk);
  appearance: none;
  background: transparent;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}

.radio-pill input[type="radio"]:checked {
  border-color: var(--ox);
  background: var(--ox);
}

.radio-pill input[type="radio"]:checked::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.radio-pill:hover {
  border-color: var(--silver-dk);
  background: var(--dark-3);
}

.radio-pill.selected,
.radio-pill:has(input:checked) {
  border-color: var(--ox);
  background: rgba(123, 31, 31, 0.10);
  color: var(--white);
}

.radio-pill em {
  color: var(--silver);
  font-style: normal;
  font-size: 0.82rem;
}

/* ── Submit Area ───────────────────────────────────────────── */
.form-submit {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.form-submit .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  padding: 16px 32px;
}

.form-submit .btn svg {
  width: 18px;
  height: 18px;
}

.form-submit__note {
  font-size: 0.8rem;
  color: var(--silver);
  margin: 0;
}

/* ── Sidebar ───────────────────────────────────────────────── */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: calc(var(--nav-height) + var(--utility-height) + 24px);
}

.sidebar-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}

.sidebar-card__icon {
  width: 40px;
  height: 40px;
  background: rgba(123, 31, 31, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.sidebar-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--ox-hover);
}

.sidebar-card h3 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver-lt);
  margin: 0 0 8px;
}

.sidebar-card p {
  font-size: 0.85rem;
  color: var(--silver);
  line-height: 1.55;
  margin: 0;
}

.sidebar-phone {
  display: block;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.sidebar-phone:hover {
  color: var(--ox-hover);
}

.sidebar-email {
  display: block;
  font-size: 0.88rem;
  color: var(--silver-lt);
  text-decoration: none;
  margin-bottom: 8px;
  line-height: 1.5;
  transition: color 0.2s;
}

.sidebar-email:hover {
  color: var(--white);
}

/* Discovery sidebar block */
.sidebar-discovery {
  background: linear-gradient(145deg, var(--ox-dark), var(--dark-3));
  border: 1px solid var(--ox);
  border-radius: 10px;
  padding: 24px;
}

.sidebar-discovery__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ox-hover);
  margin: 0 0 8px;
}

.sidebar-discovery h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 10px;
  line-height: 1.25;
}

.sidebar-discovery p {
  font-size: 0.85rem;
  color: var(--silver-lt);
  line-height: 1.55;
  margin: 0 0 12px;
}

.sidebar-discovery__price {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.sidebar-discovery .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.85rem;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    position: static;
    order: -1;
  }

  .sidebar-discovery {
    display: none; /* avoid clutter on mobile — user already sees the form */
  }
}

@media (max-width: 640px) {
  .form-section {
    padding: 20px 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .radio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-hero {
    padding: 56px 0 48px;
  }

  .form-submit .btn {
    width: 100%;
    justify-content: center;
  }
}

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