/* ── lead form ─────────────────────────────────────────────────
   The lead form is the point of the page. It used to be three
   inline-styled inputs inside a Bootstrap input-group, which meant
   a different border colour on every field and a submit button that
   looked like every other button on the site.

   This styles it as one object: a segment picker that says which
   side of the business the visitor is on, a clean two-column field
   grid, and a single submit button with weight.

   The segment picker matters commercially, not just visually. A
   publisher, an advertiser and a player all arrive through the same
   form, and without asking which one it is, every lead is a generic
   "Website enquiry" that costs a follow-up email to route. */

.contact-form {
  display: block;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

/* ── segment picker ─────────────────────────────────────────── */

.lf-segment {
  margin-bottom: 30px;
}

.lf-segment-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.lf-segment-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.lf-choice {
  display: block;
  margin: 0;
  cursor: pointer;
}

.lf-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.lf-choice-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 16px 14px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm, 14px);
  background: rgba(255, 90, 31, 0.03);
  transition: border-color 0.18s ease, background 0.18s ease,
              transform 0.18s ease;
}

.lf-choice-box i {
  font-size: 17px;
  color: var(--muted);
  transition: color 0.18s ease;
}

.lf-choice-box strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.lf-choice-box em {
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}

.lf-choice:hover .lf-choice-box {
  border-color: rgba(255, 90, 31, 0.35);
  background: rgba(255, 90, 31, 0.06);
}

.lf-choice input:focus-visible + .lf-choice-box {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.lf-choice input:checked + .lf-choice-box {
  border-color: var(--orange);
  background: rgba(255, 90, 31, 0.08);
}

.lf-choice input:checked + .lf-choice-box i {
  color: var(--orange);
}

/* ── field grid ─────────────────────────────────────────────── */

.lf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.lf-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.lf-field-wide {
  margin-bottom: 22px;
}

.lf-field label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.lf-optional {
  font-weight: 400;
  opacity: 0.6;
  letter-spacing: 0;
}

.lf-field .form-control {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm, 14px);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
  box-shadow: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.lf-field .form-control::placeholder {
  color: rgba(26, 18, 16, 0.32);
}

.lf-field .form-control:focus {
  border-color: var(--orange);
  background: #ffffff;
  outline: none;
  box-shadow: none;
}

.lf-field textarea.form-control {
  resize: vertical;
  min-height: 104px;
}

/* ── submit ─────────────────────────────────────────────────── */

.lf-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border: 0;
  border-radius: var(--r-sm, 14px);
  background: var(--warm, linear-gradient(135deg, #ff7a3d 0%, #ff5a1f 52%, #ff2d78 100%));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
  box-shadow: 0 10px 26px rgba(255, 90, 31, 0.20);
}

.lf-submit i {
  font-size: 13px;
  transition: transform 0.16s ease;
}

.lf-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(255, 90, 31, 0.28);
}

.lf-submit:hover i {
  transform: translateX(3px);
}

.lf-submit:active {
  transform: translateY(0);
}

.lf-submit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.lf-submit:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.lf-reassure {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* The status line the handler appends after a submit. */
.contact-form .form-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
}

/* ── responsive ─────────────────────────────────────────────── */

@media (max-width: 767px) {
  .lf-segment-options {
    grid-template-columns: 1fr;
  }
  .lf-grid {
    grid-template-columns: 1fr;
  }
  .lf-submit {
    width: 100%;
    justify-content: center;
  }
}

/* ── the map, moved into the Albuquerque section ───────────────
   It used to sit beside the form in a half-width column, which
   squeezed the form into 555px and made the contact section 900px
   tall for a map that says what the address above it already says.
   It is now next to the address it illustrates, and it loads lazily
   so a visitor who never scrolls to it never pays for it. */

.lf-map-row {
  margin-top: 34px;
}

.lf-map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.02);
  line-height: 0;
}
