.tf-lead-block {
  --lead-ink: #252424;
  --lead-muted: #585757;
  --lead-line: #aaa7a7;
  color: var(--lead-ink);
  font: 400 16px/1.45 Roboto, sans-serif;
  text-align: left;
}
.tf-lead-block, .tf-lead-block * { box-sizing: border-box; }
.tf-lead-block .tf-lead-title {
  margin: 0;
  color: var(--lead-ink);
  font: 600 24px/1.16 Rubik, sans-serif;
  text-transform: none;
}
.tf-lead-block .tf-lead-note {
  margin: 7px 0 0;
  color: var(--lead-muted);
  font: 400 14px/1.45 Roboto, sans-serif;
}
.tf-lead-block .tf-lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "method method" "phone name" "consent consent" "send send";
  align-items: end;
  gap: 14px 12px;
  min-width: 0;
  margin: 0;
}
.tf-lead-form .tf-lead-field {
  display: grid;
  gap: 5px;
  min-width: 0;
  margin: 0;
  color: var(--lead-ink);
  font: 500 14px/1.35 Roboto, sans-serif;
}
.tf-lead-phone { grid-area: phone; }
.tf-lead-name { grid-area: name; }
.tf-lead-field small { color: var(--lead-muted); font-size: 12px; font-weight: 400; }
.tf-lead-block .tf-lead-field input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--lead-line);
  border-radius: 3px;
  background: #fff;
  color: #252424;
  font: 400 16px/1.25 Roboto, sans-serif;
  box-shadow: none;
}
.tf-lead-field input::placeholder { color: #666; opacity: 1; }
.tf-lead-form .tf-lead-consent {
  grid-area: consent;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  color: var(--lead-muted);
  font: 400 13px/1.45 Roboto, sans-serif;
  cursor: pointer;
}
.tf-lead-block .tf-lead-consent input {
  appearance: auto;
  position: static;
  opacity: 1;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: #bf101a;
}
.tf-lead-block .tf-lead-consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tf-lead-form .tf-lead-send {
  grid-area: send;
  min-height: 44px;
  margin: 0;
  padding: 10px 20px;
  border: 0;
  border-radius: 3px;
  background: #c81916;
  color: white;
  font: 600 16px/1.35 Roboto, sans-serif;
  text-transform: none;
  cursor: pointer;
}
.tf-lead-send::before, .tf-lead-send::after { display: none; }
.tf-lead-form .tf-lead-send:hover { background: #a30d13; }
.tf-lead-block :is(input, a, button):focus-visible,
.tf-lead-choice input:focus-visible + span {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.tf-lead-form .tf-lead-send:focus-visible { outline-color: var(--lead-ink); }
.tf-lead-status { grid-column: 1 / -1; color: var(--lead-muted); font-size: 14px; }
.tf-lead-status:empty { display: none; }

.tf-lead-form .tf-lead-method {
  grid-area: method;
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}
.tf-lead-method legend {
  float: none;
  width: auto;
  margin: 0 0 6px;
  padding: 0;
  color: var(--lead-ink);
  font: 500 14px/1.35 Roboto, sans-serif;
}
.tf-lead-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tf-lead-options .tf-lead-choice { display: block; position: relative; margin: 0; cursor: pointer; }
.tf-lead-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tf-lead-choice span {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 4px;
  border: 1px solid var(--lead-line);
  border-radius: 3px;
  color: var(--lead-ink);
  font: 500 14px/1.3 Roboto, sans-serif;
}
.tf-lead-choice input:checked + span { color: #8b131a; background: #fff0ef; border-color: #c71924; }

.tf-lead-band { width: 100%; padding: 48px 20px; background: #f4f4f4; }
.tf-lead-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  max-width: 1110px;
  margin: 0 auto;
}
.tf-lead-band .tf-lead-title { font-size: clamp(28px, 2.7vw, 36px); }
.tf-lead-band .tf-lead-note { font-size: 16px; }
.tf-lead-band .tf-lead-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  grid-template-areas: "phone name send" "consent consent consent";
}
@media (max-width: 900px) {
  .tf-lead-inner { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

.tf-lead-band {
  --lead-ink: #fff;
  --lead-muted: #d2cece;
  --lead-line: #797575;
  padding-block: clamp(40px, 5vw, 72px);
  background: #262424;
  border-bottom: 1px solid #525050;
}
.tf-lead-band .tf-lead-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.tf-lead-band .tf-lead-title { font-size: clamp(34px, 4.3vw, 55px); line-height: 1.08; }
.tf-lead-band .tf-lead-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "method method" "phone name" "consent consent" "send send";
}
.tf-lead-band .tf-lead-choice input:checked + span { background: #fff; color: #a50d16; border-color: #fff; }
.tf-lead-band .tf-lead-send { justify-self: start; min-width: 190px; }
@media (max-width: 900px) {
  .tf-lead-band .tf-lead-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .tf-lead-block .tf-lead-form {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "method" "phone" "name" "consent" "send";
    gap: 12px;
  }
  .tf-lead-form .tf-lead-send { justify-self: stretch; width: 100%; min-width: 0; }
  .tf-lead-form .tf-lead-choice span { min-height: 44px; }
  .tf-lead-band { padding: 34px 20px; }
}
.tf-lead-form { position: relative; }
.tf-lead-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.tf-lead-block { --lead-error: #a30d13; }
.tf-lead-band { --lead-error: #ffc3c3; }
.tf-lead-error { display: block; color: var(--lead-error); font: 400 13px/1.45 Roboto, sans-serif; }
.tf-lead-error:empty { display: none; }
.tf-lead-form [aria-invalid="true"] { outline: 2px solid var(--lead-error); outline-offset: 1px; }
.tf-lead-send:disabled { opacity: .72; cursor: wait; }
.tf-lead-form[data-saved] { display: block; }
.tf-lead-form[data-saved] .tf-lead-status { color: var(--lead-ink); font-size: 16px; }
.tf-lead-band .tf-lead-field input:focus-visible { outline-color: var(--lead-ink); }
