/* ── Hero / Banner Layout ── */
@import url('layout-classic.css');

.tbm-hero {
  position: relative;
  background: linear-gradient(135deg, var(--tbm-color, #1a1a2e) 0%, #16213e 50%, #0f3460 100%);
  min-height: 520px;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.tbm-hero__overlay {
  width: 100%;
  padding: 60px 24px 50px;
  box-sizing: border-box;
}
.tbm-hero__content { max-width: 1100px; margin: 0 auto; }
.tbm-hero__headline { text-align: center; margin-bottom: 36px; }
.tbm-hero__headline h2 {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.tbm-hero__headline p {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  margin: 0;
}

.tbm-hero__form-wrap {
  background: rgba(255,255,255,.97);
  border-radius: 12px;
  padding: 28px 30px 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}

/* Horizontal rows */
.tbm-hero__row {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.tbm-hero__field {
  flex: 1;
  min-width: 160px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.tbm-hero__field--sm { flex: 0 0 160px; }
.tbm-hero__field--full { flex: 0 0 100%; }
.tbm-hero__icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  pointer-events: none;
  z-index: 1;
}
.tbm-hero__field input,
.tbm-hero__field select,
.tbm-hero__field textarea {
  width: 100%;
  padding: 11px 12px 11px 34px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color .2s;
}
.tbm-hero__field textarea { padding-top: 10px; resize: vertical; min-height: 70px; }
.tbm-hero__field input:focus,
.tbm-hero__field select:focus,
.tbm-hero__field textarea:focus {
  outline: none;
  border-color: var(--tbm-color, #1a1a2e);
  box-shadow: 0 0 0 3px rgba(26,26,46,.08);
}
.tbm-hero__field input.tbm-invalid { border-color: #dc3545; }

.tbm-hero__submit-row { text-align: center; margin-top: 8px; }
.tbm-hero__submit {
  padding: 14px 48px;
  font-size: 17px;
  border-radius: 8px;
  min-width: 260px;
}

@media (max-width: 700px) {
  .tbm-hero__headline h2 { font-size: 26px; }
  .tbm-hero__row { flex-direction: column; gap: 8px; }
  .tbm-hero__field--sm { flex: 0 0 auto; width: 100%; }
  .tbm-hero__form-wrap { padding: 20px; }
}
