/* ── Horizontal Hero Layout — try.html only ── */

/* ── Hero: full-width centered ── */
.pred-hero-centered {
  background: url('https://images.unsplash.com/photo-1606761568499-6d2451b23c66?auto=format&fit=crop&w=1920&q=80') center / cover no-repeat;
  padding: 130px 0 60px;
  position: relative;
  overflow: hidden;
}

/* Dark overlay — matches index.html */
.pred-hero-centered::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(8,22,14,0.88) 0%,
    rgba(10,26,16,0.70) 52%,
    rgba(5,15,10,0.50) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Dot pattern overlay */
.pred-hero-centered::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,152,42,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.pred-hero-centered .container {
  position: relative;
  z-index: 1;
}
.pred-hero-centered > * { position: relative; z-index: 1; }

/* ── Hero text: centered ── */
.pred-hero-top {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}
.pred-hero-top .pred-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #c9a84c;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pred-hero-top h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 16px;
}
.pred-hero-top h1 span { color: #c9a84c; display: block; margin-top: 10px; font-size: clamp(1rem, 2vw, 1.4rem); }
.pred-hero-top p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.pred-hero-top .pred-hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.pred-hero-top .pred-hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border: 1px solid rgba(201,152,42,0.38);
  border-radius: 99px;
  background: rgba(201,152,42,0.1);
  color: #e8b84a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ── Horizontal form bar ── */
.pred-form-bar {
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.pred-form-bar h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f2d1f;
  opacity: 0.9;
  margin-bottom: 20px;
  text-align: center;
}

/* ── Primary fields row ── */
.pred-fields-row {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}
.pred-fields-row.row-4 { grid-template-columns: repeat(4, 1fr); }
.pred-fields-row.row-4-check { grid-template-columns: repeat(4, 1fr); }

/* ── Individual field ── */
.pred-field-h {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pred-field-h > label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #687166;
}

/* Dropdown hint text */
.pred-field-hint {
  margin: 5px 0 0;
  font-size: 0.72rem;
  color: #687166;
  line-height: 1.45;
  padding-bottom: 10px;
}
.pred-field-hint strong { color: #0f2d1f; }

/* Checkbox labels — sentence case only */
.pred-checkrow-h label {
  text-transform: none;
  letter-spacing: 0;
  font-family: inherit;
}
.pred-field-h input,
.pred-field-h select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(15,45,31,0.25);
  border-radius: 6px;
  font-size: 0.88rem;
  color: #0f2d1f;
  background: #ffffff;
  -webkit-appearance: auto;
  appearance: auto;
  transition: border-color 0.2s;
  height: 42px;
}
.pred-field-h input:focus,
.pred-field-h select:focus {
  outline: none;
  border-color: #c9a84c;
  box-shadow: 0 0 0 3px rgba(201,152,42,0.12);
}
.pred-field-h select option {
  background: #ffffff;
  color: #0f2d1f;
}

/* ── Checkbox row inside horizontal form ── */
.pred-checkrow-h {
  display: flex;
  gap: 8px;
  height: 42px;
  align-items: center;
}
.pred-checkrow-h label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1.5px solid rgba(15,45,31,0.25);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  background: #ffffff;
}
.pred-checkrow-h input[type=checkbox] {
  accent-color: #0f2d1f;
  width: 15px;
  height: 15px;
}

/* ── Bottom row: checkboxes + button ── */
.pred-form-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}

/* ── Submit button ── */
.pred-btn-h {
  padding: 11px 28px;
  background: #0f2d1f;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pred-btn-h:hover { background: #1a4a2e; }

.pred-submit-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 25px;
}

.pred-error-h {
  color: #a83232;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  min-height: 18px;
  margin-top: 8px;
}

/* ── Switch link ── */
.pred-switch-link {
  text-align: center;
  margin-top: 16px;
}
.pred-switch-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 7px 16px;
  border-radius: 99px;
  transition: all 0.2s;
}
.pred-switch-link a:hover {
  color: #e8b84a;
  border-color: rgba(201,152,42,0.5);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .pred-fields-row.row-4       { grid-template-columns: repeat(2, 1fr); }
  .pred-fields-row.row-4-check { grid-template-columns: repeat(2, 1fr); }
  .pred-form-bottom            { grid-template-columns: 1fr 1fr; }
  .pred-btn-h                  { grid-column: 1 / -1; width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .pred-fields-row.row-4,
  .pred-fields-row.row-4-check { grid-template-columns: 1fr; }
  .pred-form-bottom            { grid-template-columns: 1fr; }
  .pred-form-bar               { padding: 20px 16px 18px; }
  .pred-hero-centered          { padding: 100px 0 40px; }
  .pred-hero-top               { padding-top: 20px; }
}

