html { scrollbar-gutter: stable; }
body.lead-open { overflow: hidden; }
.contact-final { display: flex; align-items: center; justify-content: space-between; gap: 64px; }
.contact-final-copy { max-width: 660px; }
.contact-final .eyebrow { color: #d9e7ff; }
.contact-final h2 { color: #fff; font-size: clamp(36px,4.1vw,56px); margin-bottom: 22px; }
.contact-final-copy > p:last-child { color: #e0ebfc; font-size: 16px; max-width: 520px; }
.contact-final-action { flex-shrink: 0; text-align: center; }
.contact-final .button { background: #fff; color: var(--accent); padding: 17px 30px; min-width: 228px; }
.contact-final .button:hover { background: var(--tint); }
.contact-final-action p { font-size: 11px; color: #e0ebfc; margin-top: 15px; }
.contact-dialog { width: min(520px,calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 38px; border: 1px solid var(--line); border-radius: 22px; background: #fff; color: var(--text); overflow: auto; box-shadow: 0 25px 100px #06162c45; }
.contact-dialog::backdrop { background: rgba(6,14,26,.7); backdrop-filter: blur(7px); }
.contact-dialog [hidden] { display: none !important; }
.contact-dialog .dialog-close { top: 14px; right: 14px; border-radius: 50%; background: var(--tint); width: 32px; height: 32px; font-size: 24px; }
.contact-dialog .eyebrow { margin: 0 0 16px; font-size: 10px; color: var(--accent); }
.contact-dialog h2 { font-size: 34px; line-height: 1.14; letter-spacing: -.04em; max-width: 390px; margin: 0 0 16px; outline: none; }
.contact-subtitle { font-size: 14px; line-height: 1.7; color: var(--muted); margin-bottom: 27px; }
.messenger-options { display: grid; gap: 12px; }
.messenger-option { display: flex; align-items: center; gap: 16px; width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 17px; background: #fff; text-align: left; transition: background .18s,border-color .18s; }
.messenger-option:hover { border-color: #8eb4eb; background: var(--tint); }
.messenger-icon { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; color: #fff; }
.telegram-icon { background: #1886bf; }
.messenger-icon svg { width: 26px; height: 26px; fill: currentColor; }
.max-icon { background: linear-gradient(135deg,#0152cd,#6350d8); font-size: 23px; font-weight: 700; }
.messenger-copy { display: flex; flex-direction: column; gap: 3px; }
.messenger-copy strong { font-size: 16px; font-weight: 600; line-height: 1.35; }
.messenger-copy small { font-size: 11px; color: var(--muted); }
.option-arrow { margin-left: auto; color: var(--accent); font-size: 23px; font-weight: 400; }
.messenger-feedback { font-size: 12px; line-height: 1.65; color: #3a5274; background: var(--tint); border-radius: 9px; padding: 13px 15px; margin-top: 14px; }
.messenger-feedback:empty { display: none; }
.contact-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; margin: 23px 0 18px; }
.contact-divider::before,.contact-divider::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.callback-choice { display: flex; align-items: center; gap: 12px; justify-content: center; width: 100%; padding: 12px 5px; border: 0; background: none; color: var(--accent); font-size: 14px; font-weight: 550; }
.callback-choice svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.callback-choice:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-demo-note { color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.contact-back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); border: 0; background: none; padding: 0; font-size: 11px; margin: 0 0 22px; }
.callback-form > label:not(.callback-consent) { display: block; font-size: 12px; font-weight: 550; margin-bottom: 20px; }
.callback-form input:not([type=checkbox]) { display: block; width: 100%; min-width: 0; min-height: 49px; padding: 12px 14px; border-radius: 8px; border: 1px solid #b6c9e5; color: var(--ink); background: #fff; margin-top: 7px; font-size: 16px; }
.callback-form input::placeholder { color: #6b7788; font-size: 14px; }
.callback-form input[aria-invalid=true] { border-color: #a34136; }
.callback-optional { color: var(--muted); font-size: 10px; font-weight: 400; margin-left: 6px; }
.callback-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 11px; color: var(--muted); line-height: 1.6; }
.callback-consent input { width: 17px; height: 17px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.callback-form .legal-link { font-size: 10px; margin-top: 7px; margin-left: 27px; }
.callback-form .button { width: 100%; margin-top: 24px; }
.callback-preview-mark { width: 52px; height: 52px; display: grid; place-items: center; color: var(--accent); background: var(--tint); font-size: 25px; border-radius: 50%; margin-bottom: 22px; }
.callback-preview dl { border-block: 1px solid var(--line); margin-bottom: 22px; padding-block: 10px; }
.callback-preview .data-row { font-size: 13px; }
.callback-preview dd { overflow-wrap: anywhere; }
.callback-preview .button { width: 100%; }
.callback-preview .text-link { display: flex; width: max-content; margin: 17px auto 0; font-size: 12px; }
@media(max-width:800px) {
  .contact-final { flex-direction: column; align-items: flex-start; gap: 28px; }
  .contact-final-action { text-align: left; }
}
@media(max-width:600px) {
  .contact-final h2 { font-size: 37px; }
  .contact-final-copy > p:last-child { font-size: 14px; }
  .contact-final-action { width: 100%; }
  .contact-final-action .button { width: 100%; }
  .contact-final-action p { text-align: center; }
  .contact-dialog { width: calc(100% - 24px); padding: 32px 23px 25px; max-height: calc(100dvh - 24px); border-radius: 18px; }
  .contact-dialog h2 { font-size: 29px; padding-right: 12px; }
  .contact-subtitle { font-size: 13px; margin-bottom: 23px; }
  .messenger-option { padding: 15px 12px; gap: 12px; }
  .messenger-icon { width: 38px; height: 38px; border-radius: 10px; }
  .messenger-copy strong { font-size: 14px; }
  .messenger-copy small { font-size: 10px; }
  .callback-choice { font-size: 12px; gap: 9px; }
  .contact-demo-note { font-size: 9px; }
}
@media(max-width:360px) {
  .contact-dialog { padding-inline: 18px; }
  .contact-dialog h2 { font-size: 26px; }
  .messenger-option { padding-inline: 10px; gap: 9px; }
  .messenger-icon { width: 32px; height: 32px; }
  .messenger-copy strong { font-size: 13px; }
  .option-arrow { font-size: 18px; }
}

.pyrus-form-holder { background: #fff; border-radius: 12px; overflow: hidden; }
.pyrus-form-holder iframe { display: block; width: 100%; height: 470px; border: 0; background: #fff; }
.pyrus-form-fallback { font-size: 12px; line-height: 1.5; margin: 12px 0; }
.pyrus-form-fallback a { color: #9fc4ff; text-decoration: underline; }
[data-messenger][hidden] { display: none !important; }

.contact-dialog .callback-choice { min-height:76px; padding:17px; border:1px solid #425a79; border-radius:12px; background:#1b293d; color:#f3f6fb; font-size:16px; font-weight:600; justify-content:flex-start; gap:16px; }
.contact-dialog .callback-choice svg { width:44px; height:44px; padding:10px; border-radius:12px; background:#294264; color:#aacdff; flex-shrink:0; }
.contact-dialog .callback-choice:hover { background:#23354e; border-color:#83aeeb; text-decoration:none; }
.contact-dialog .callback-choice:focus-visible { outline:2px solid #9fc4ff; outline-offset:3px; }
#phone-hint { display:block; font-size:12px; font-weight:400; color:#b8c8df; margin-top:8px; }
@media(max-width:600px) { .contact-dialog .callback-choice { min-height:70px; padding:15px 12px; font-size:14px; gap:12px; } .contact-dialog .callback-choice svg { width:38px; height:38px; } }
