/* Форма «Запишитесь на приём» в боковой панели (Figma 559:87818): p32, между шапкой и полями 24, до кнопки 40. */
.dd-form-panel{ justify-content:space-between; gap:40px; }
.dd-form{ display:flex; flex-direction:column; gap:40px; }
.dd-form__main{ display:flex; flex-direction:column; gap:24px; }
.dd-form__intro{ display:flex; flex-direction:column; gap:12px; }
.dd-form__title{ display:flex; align-items:center; min-height:40px; font-size:32px; font-weight:600; line-height:1.2; letter-spacing:-.02em; color:var(--wp--preset--color--black); }
.dd-form__lead{ color:var(--wp--preset--color--black-600); font-size:var(--wp--preset--font-size--base); line-height:22px; letter-spacing:-.02em; }
.dd-form__fields{ display:flex; flex-direction:column; gap:8px; min-width:0; margin:0; padding:0; border:0; }

/* Поле: 64, r16, #F5F5F5; подпись плавает (16 → 12 над значением). */
.dd-field{ border-radius:var(--wp--custom--radius--md); transition:background-color var(--wp--custom--transition--fast); }
.dd-field__box{ position:relative; height:64px; border-radius:var(--wp--custom--radius--md); background:var(--wp--preset--color--black-50); box-shadow:inset 0 0 0 1px transparent; transition:background-color var(--wp--custom--transition--fast), box-shadow var(--wp--custom--transition--fast); }
.dd-field__box:hover{ box-shadow:inset 0 0 0 1px var(--wp--preset--color--black-200); }
.dd-field__box:focus-within{ background:var(--wp--preset--color--white); box-shadow:inset 0 0 0 1px var(--wp--preset--color--black-100); }
.dd-field__input{ width:100%; height:100%; padding:28px 16px 8px; border:0; border-radius:inherit; background:transparent; color:var(--wp--preset--color--black); font-size:var(--wp--preset--font-size--base); font-weight:500; line-height:1.5; letter-spacing:-.02em; outline:none; caret-color:var(--wp--preset--color--orange); }
.dd-field__label{ position:absolute; left:16px; top:50%; color:#9F9F9F; font-size:var(--wp--preset--font-size--base); font-weight:500; line-height:1.5; letter-spacing:-.02em; transform:translateY(-50%); transform-origin:left top; pointer-events:none; transition:transform var(--wp--custom--transition--fast), top var(--wp--custom--transition--fast); }
.dd-field__input:focus + .dd-field__label, .dd-field__input:not(:placeholder-shown) + .dd-field__label{ top:12px; transform:translateY(0) scale(.75); }
/* Ошибка (578:61530): красная подложка r16 вокруг поля, текст 12 белым под полем. */
.dd-field.is-invalid{ background:#E5484D; }
.dd-field.is-invalid .dd-field__box{ box-shadow:inset 0 0 0 1px #E5484D; }
.dd-field__error{ padding:6px 16px; color:var(--wp--preset--color--white); font-size:12px; line-height:1.5; letter-spacing:-.02em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dd-field__error[hidden]{ display:none; }

.dd-form__submit{ display:flex; flex-direction:column; gap:16px; }
.dd-form__btn{ display:flex; align-items:center; justify-content:center; width:100%; min-height:56px; padding:16px 28px; border:0; border-radius:var(--wp--custom--radius--xl); background:var(--wp--preset--color--orange); color:var(--wp--preset--color--white); font-size:var(--wp--preset--font-size--base); font-weight:500; line-height:1.4; cursor:pointer; transition:background-color var(--wp--custom--transition--fast), transform var(--wp--custom--transition--fast); }
.dd-form__btn:hover{ background:var(--wp--preset--color--orange-hover); }
.dd-form__btn:active{ transform:scale(.99); }
.dd-form__btn.is-disabled{ background:#FFD8C2; transform:none; }
.dd-form__btn:disabled{ cursor:progress; }
.dd-form__btn.is-loading{ opacity:.7; cursor:progress; }
.dd-form__message{ padding:12px 16px; border-radius:var(--wp--custom--radius--md); background:#FDECEC; color:#B42318; font-size:var(--wp--preset--font-size--sm); line-height:20px; }
.dd-form__message[hidden]{ display:none; }

.dd-check{ display:flex; gap:12px; align-items:flex-start; cursor:pointer; }
.dd-check input{ position:absolute; opacity:0; width:1px; height:1px; }
.dd-check__box{ flex:none; display:grid; place-items:center; width:24px; height:24px; border-radius:6px; box-shadow:inset 0 0 0 1px var(--wp--preset--color--black-100); color:transparent; transition:background-color var(--wp--custom--transition--fast), box-shadow var(--wp--custom--transition--fast); }
.dd-check.is-invalid .dd-check__box{ box-shadow:inset 0 0 0 2px #E5484D; animation:dd-shake 300ms; }
@keyframes dd-shake{ 25%{ transform:translateX(-3px); } 75%{ transform:translateX(3px); } }
.dd-check:hover .dd-check__box{ box-shadow:inset 0 0 0 1px var(--wp--preset--color--black-300); }
.dd-check input:checked + .dd-check__box{ background:var(--wp--preset--color--orange); box-shadow:none; color:var(--wp--preset--color--white); }
.dd-check input:focus-visible + .dd-check__box{ outline:2px solid var(--wp--preset--color--orange); outline-offset:2px; }
.dd-check__text{ color:var(--wp--preset--color--black-600); font-size:var(--wp--preset--font-size--sm); line-height:20px; letter-spacing:-.02em; }
.dd-check__text a{ color:inherit; text-decoration:underline; text-decoration-color:var(--wp--preset--color--black-100); text-underline-offset:2px; }
.dd-check__text a:hover{ color:var(--wp--preset--color--orange); }

.dd-form__direct{ display:flex; align-items:flex-end; gap:16px; }
.dd-form__direct > div:first-child{ flex:1; }
.dd-form__direct-label{ display:flex; align-items:center; min-height:24px; color:var(--wp--preset--color--black-600); font-size:var(--wp--preset--font-size--sm); line-height:1.4; }
.dd-form__phone{ display:flex; align-items:center; min-height:40px; color:var(--wp--preset--color--black); font-size:var(--wp--preset--font-size--lg); font-weight:600; line-height:1.2; letter-spacing:-.02em; text-decoration:none; transition:color var(--wp--custom--transition--fast); }
.dd-form__phone:hover{ color:var(--wp--preset--color--orange); }
.dd-form__messengers{ display:flex; padding:4px; border-radius:var(--wp--custom--radius--xl); box-shadow:inset 0 0 0 1px var(--wp--preset--color--black-100); }
.dd-form__messengers a{ display:grid; place-items:center; width:48px; height:48px; border-radius:var(--wp--custom--radius--xl); color:var(--wp--preset--color--black); transition:background-color var(--wp--custom--transition--fast); }
.dd-form__messengers a:hover{ background:var(--wp--preset--color--black-50); }
.dd-form__messengers .dd-form__messenger-text{ width:auto; padding-inline:10px; font-size:12px; font-weight:600; }
