/* карточка заезжает на hero снизу — добавляем ему запас, чтобы не перекрыть заголовок */
.page-hero{padding-bottom:6rem}
.lp-wrap{max-width:1000px;margin:-3.5rem auto 4rem;padding:0 1.5rem;position:relative;z-index:2}
.lp-card{display:flex;background:#fff;border-radius:1.25rem;box-shadow:0 20px 60px rgba(26,29,46,.14);overflow:hidden}
@media(max-width:820px){.lp-card{flex-direction:column}}

/* --- левая часть: сама форма --- */
.lp-form-col{flex:1;min-width:0;padding:2.25rem 2.5rem 2.5rem}
@media(max-width:640px){.lp-form-col{padding:1.75rem 1.25rem 2rem}}

/* колонки равной ширины: бегунок сдвигается ровно на половину, иначе вылезает за края */
.lp-tabs{display:grid;grid-template-columns:1fr 1fr;padding:.25rem;background:#f4f4f5;border-radius:9999px;margin-bottom:1.75rem;position:relative}
.lp-tab{border:0;background:none;padding:.6rem 1rem;text-align:center;line-height:1.3;border-radius:9999px;font-size:.875rem;font-weight:600;color:#66677a;cursor:pointer;position:relative;z-index:1;transition:color .25s ease}
.lp-tab[aria-selected="true"]{color:#fff}
.lp-tabs__thumb{position:absolute;top:.25rem;bottom:.25rem;left:.25rem;width:calc(50% - .25rem);background:#2a96a5;border-radius:9999px;transition:transform .3s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 10px rgba(42,150,165,.35)}
.lp-tabs[data-active="full"] .lp-tabs__thumb{transform:translateX(100%)}

.lp-tab-hint{font-size:.8125rem;color:#66677a;margin:-1.25rem 0 1.5rem}

.lp-field{margin-bottom:1.1rem}
.lp-field label{display:block;font-size:.8125rem;font-weight:600;color:#1a1d2e;margin-bottom:.375rem}
.lp-field input[type=text],
.lp-field input[type=tel],
.lp-field input[type=email],
.lp-field input[type=date],
.lp-field input[type=number],
.lp-field select,
.lp-field textarea{width:100%;padding:.75rem .9rem;border:1px solid #e5e5e9;border-radius:.75rem;background:#fafafa;color:#1a1d2e;font-size:.9375rem;font-family:inherit;transition:border-color .2s,box-shadow .2s}
.lp-field input:focus,.lp-field select:focus,.lp-field textarea:focus{outline:none;border-color:#2a96a5;box-shadow:0 0 0 3px rgba(42,150,165,.15)}
.lp-field textarea{resize:vertical;min-height:5rem}
.lp-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media(max-width:480px){.lp-row{grid-template-columns:1fr}}
.lp-hint{font-size:.75rem;color:#8a8ba0;margin-top:.35rem;line-height:1.45}
.lp-error{color:#e53e3e;font-size:.8125rem;margin-top:.375rem}

.lp-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.lp-submit{width:100%;height:3.25rem;border-radius:.75rem;background:#2a96a5;color:#fff;border:0;font-size:1rem;font-weight:600;cursor:pointer;transition:background .25s;display:flex;align-items:center;justify-content:center;gap:.5rem}
.lp-submit:hover{background:#1e7a87}
.lp-submit:disabled{opacity:.6;cursor:default}

.lp-privacy{font-size:.75rem;color:#66677a;margin-top:.9rem;text-align:center;line-height:1.5}
.lp-privacy a{color:#2a96a5}

.lp-panel{display:none}
.lp-panel.is-active{display:block}

/* --- отрывной корешок --- */
.lp-stub{flex:0 0 280px;background:#1a1d2e;color:#fff;padding:2.25rem 2rem;position:relative;display:flex;flex-direction:column;justify-content:space-between}
@media(max-width:820px){.lp-stub{flex:none;padding:1.75rem 1.5rem}}
.lp-stub::before{content:"";position:absolute;top:0;bottom:0;left:0;width:1px;background-image:radial-gradient(circle,#fafafa 2px,transparent 2.5px);background-size:1px 14px;background-repeat:repeat-y}
@media(max-width:820px){.lp-stub::before{top:0;left:0;right:0;bottom:auto;width:auto;height:1px;background-image:radial-gradient(circle,#fafafa 2px,transparent 2.5px);background-size:14px 1px;background-repeat:repeat-x}}

.lp-stub__eyebrow{font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:#e8a830;font-weight:600;margin-bottom:1.25rem}
.lp-stub__steps{display:flex;flex-direction:column;gap:1.25rem;margin-bottom:1.5rem}
.lp-step{display:flex;gap:.75rem}
.lp-step__n{font-family:"Playfair Display",serif;font-size:1.375rem;font-weight:700;color:rgba(255,255,255,.35);line-height:1.1}
.lp-step__t{font-size:.875rem;line-height:1.5;color:hsla(0,0%,100%,.9)}
.lp-step__t b{display:block;font-size:.9375rem;color:#fff;margin-bottom:.125rem}

.lp-stub__contact{padding-top:1.25rem;border-top:1px dashed hsla(0,0%,100%,.2);font-size:.8125rem;color:hsla(0,0%,100%,.75)}
.lp-stub__phone{display:block;font-size:1.0625rem;font-weight:700;color:#fff;margin-bottom:.25rem}

/* --- сообщение об успехе --- */
.lp-success{text-align:center;padding:2.5rem 1rem}
.lp-success__icon{width:3.5rem;height:3.5rem;border-radius:50%;background:rgba(42,150,165,.12);color:#2a96a5;display:flex;align-items:center;justify-content:center;margin:0 auto 1.25rem;font-size:1.75rem}
.lp-success h2{font-family:"Playfair Display",serif;font-size:1.5rem;color:#1a1d2e;margin-bottom:.5rem}
.lp-success p{color:#66677a;font-size:.9375rem;max-width:26rem;margin:0 auto}
