.yard-footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 94%, var(--pick-action-fill));
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}
.foot-inner { max-width: 1280px; margin: auto; padding: 24px clamp(18px, 3vw, 42px) 12px; }
.foot-top { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: clamp(20px, 4vw, 60px); }
.yard-footer h2 { margin: 0 0 7px; color: var(--text); font-size: 15px; line-height: 1.35; }
.yard-footer p { margin: 0; color: var(--muted); }
.yard-footer a { color: inherit; text-decoration: none; }
.yard-footer a:hover { color: var(--pick-action-fill); text-decoration: underline; text-underline-offset: 3px; }
.yard-footer a:focus-visible { outline: 2px solid var(--pick-action-fill); outline-offset: 2px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand img { flex: none; width: 94px; height: 65px; object-fit: contain; }
.foot-brand strong,.foot-brand small { display: block; }
.foot-brand strong { font-size: 18px; line-height: 1.2; }
.foot-brand small,.foot-company p,.foot-contacts p { font-size: 13px; color: var(--muted); }
.foot-company p { margin-top: 8px; }
.yard-footer .foot-apply,.yard-footer .foot-close {
  cursor: pointer; font: inherit; font-weight: 650; border-radius: 8px; border: 0;
}
.yard-footer .foot-apply { padding: 9px 16px; background: var(--pick-action-fill); color: var(--bg); }
.foot-contacts .foot-apply { margin-top: 7px; }
.yard-footer .foot-dialog {
  box-sizing: border-box; width: min(440px, calc(100% - 24px)); max-height: calc(100dvh - 32px);
  margin: auto; padding: clamp(18px,4vw,28px); color: var(--text); background: var(--card);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 70px #0006;
}
.foot-dialog::backdrop { background: rgb(5 12 24 / 74%); }
.foot-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.foot-dialog-head h2 { margin: 0; font-size: 24px; }
.yard-footer .foot-close { width: 40px; height: 40px; background: transparent; color: var(--text); font-size: 26px; }
.foot-dialog .lead-form { display: grid; gap: 14px; margin-top: 16px; }
.foot-dialog form > label { display: grid; gap: 5px; font-weight: 600; }
.foot-dialog :is(input:not([type=checkbox]),textarea) {
  box-sizing: border-box; width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--bg); color: var(--text); font: inherit; font-size: 16px;
}
.foot-dialog textarea { resize: vertical; }
@media (max-height: 620px) {
  .yard-footer .foot-dialog { padding: 14px 16px; }
  .foot-dialog .lead-form { gap: 9px; margin-top: 10px; }
  .foot-dialog textarea { min-height: 58px; height: 58px; }
}
.foot-consent { display: flex; align-items: flex-start; gap: 9px; }
.foot-consent input { width: 18px; height: 18px; flex: none; margin: 2px 0; }
.foot-consent a { text-decoration: underline; }
.foot-dialog .form-status:empty { display: none; }
.foot-dialog :focus-visible,.foot-apply:focus-visible { outline: 2px solid var(--pick-action-fill); outline-offset: 2px; }
.foot-channels { display: flex; gap: 16px; }
.foot-subscribe { display: block; margin-top: 6px; }
.foot-channels a,.foot-more { display: inline-flex; align-items: center; min-height: 28px; gap: 4px; }
.foot-channels span,.yard-footer .foot-more { color: var(--pick-action-fill); }
.foot-nav > div { display: grid; grid-template-columns: repeat(2,max-content); gap: 2px clamp(14px,2vw,30px); }
.foot-nav a { display: flex; align-items: center; min-height: 28px; }
.foot-contacts { display: grid; justify-items: start; align-content: start; }
.foot-contacts h2 { margin-bottom: 4px; }
.yard-footer .foot-phone { color: var(--pick-action-fill); font-size: 20px; font-weight: 650; }
.foot-contacts p { margin-top: 3px; }
.foot-bottom {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 22px; align-items: baseline;
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px;
}
.foot-bottom small { font: inherit; }
.yard-footer .foot-notice { grid-column: 1 / -1; width: 100%; max-width: none; margin: 0; }
@media (max-width: 840px) {
  .foot-top { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 24px; }
  .foot-company { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .foot-brand { grid-row: span 2; }
  .foot-company p { margin-top: 0; align-self: end; }
}
@media (max-width: 550px) {
  .foot-inner { padding: 18px 16px 14px; }
  .foot-top { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .foot-company { display: block; }
  .foot-company p { margin-top: 6px; }
  .foot-nav > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .foot-contacts { border-top: 1px solid var(--line); padding-top: 12px; }
  .foot-bottom { display: flex; flex-wrap: wrap; gap: 6px 16px; }
  .foot-bottom small { flex-basis: 100%; }
}
@media (max-width: 980px) {
  body > .sticky:has(+ .yard-footer) {
    position: static !important; transform: none !important; width: 100%;
    display: flex; flex-flow: row wrap; justify-content: center;
    gap: 8px !important; margin: 0; padding: 14px 8px;
  }
  body > .sticky:has(+ .yard-footer) .pill {
    width: auto !important; height: auto !important; min-height: 40px;
    padding: 8px 10px !important; font-size: 14px !important; line-height: 1.3 !important;
    gap: 6px !important; color: var(--text); background: var(--card);
  }
  body > .sticky:has(+ .yard-footer) .pill span { display: inline !important; }
  body > .sticky:has(+ .yard-footer) .pill svg { width: 16px !important; height: 16px !important; flex: none !important; }
}


#leadThanks {
  width: min(450px, calc(100% - 32px));
  padding: clamp(24px, 5vw, 38px) clamp(18px, 4vw, 32px);
  border: 1px solid color-mix(in srgb, var(--pick-action-fill) 48%, var(--card));
  border-radius: 20px;
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--pick-action-fill) 9%, transparent), transparent 70%), var(--card);
  box-shadow: inset 0 0 0 5px var(--card), inset 0 0 0 6px color-mix(in srgb, var(--pick-action-fill) 15%, var(--card)), 0 18px 60px #0005;
  text-align: center;
}
#leadThanks::backdrop { background: rgb(5 12 24 / 72%); backdrop-filter: blur(3px); }
.thanks-emblem { display: flex; justify-content: center; align-items: center; gap: 12px; }
.thanks-emblem::before,.thanks-emblem::after {
  content: ""; width: 36px; height: 1px; background: color-mix(in srgb, var(--pick-action-fill) 35%, transparent);
}
.thanks-emblem i {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  color: var(--pick-action-fill); border: 1px solid currentColor;
  background: color-mix(in srgb, currentColor 9%, transparent);
}
.thanks-emblem i::after {
  content: ""; width: 15px; height: 8px; border: solid currentColor;
  border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg);
}
#leadThanksMessage { margin: 18px 0 22px; }
#leadThanksMessage strong {
  display: block; color: var(--text); font-size: clamp(22px, 4vw, 29px); line-height: 1.15; letter-spacing: -.035em;
  text-wrap: balance;
}
#leadThanksMessage span {
  display: block; margin: 8px auto 0; max-width: 28ch; font-size: 17px; line-height: 1.45; text-wrap: balance;
}
#leadThanksMessage em { display: block; margin-top: 12px; color: var(--text); font: inherit; font-weight: 600; }
#leadThanks form { margin: 0; }
#leadThanks button { min-width: 145px; min-height: 44px; }
