

/* Start:/local/js/project/ui/style.css?17937772468608*/
/* ==========================================================================
   project.ui — элементы форм: поле с подписью, радио-карточки, сегменты,
   тумблер, чекбокс, счётчик количества, кнопки, плашка .notice.
   Нужно корзине, оформлению, будущему кабинету.
   ========================================================================== */

/* --- Поле с подписью ---------------------------------------------------- */
.form-field { display: grid; gap: 6px; min-width: 0; }

.form-field__label { color: var(--text-muted); font-size: 12px; }

.input {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 15px;
    appearance: none;
}

.input::placeholder { color: #B5A3A4; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(140 96 97 / .15); }
.input:user-invalid { border-color: var(--danger); }

.form-grid { display: grid; gap: 14px; }

@media (min-width: 768px) {
    .form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; }
    .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
}

/* --- Кнопки ------------------------------------------------------------- */
.btn-block {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid var(--accent);
    border-radius: 4px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}

.btn-block:hover { border-color: var(--accent-hover); background: var(--accent-hover); }

.btn-block--outline { border-color: var(--text); background: #fff; color: var(--text); }
.btn-block--outline:hover { border-color: var(--text); background: var(--text); color: #fff; }

.btn-block--lg { width: 100%; min-height: 52px; border-radius: 6px; font-size: 16px; }

.btn-block:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* без галочек согласия кнопка «серая» и не нажимается (data-gated ставит скрипт формы) */
button[data-gated],
button[data-gated]:hover {
    border-color: var(--band-deep);
    background: var(--band-deep);
    color: var(--text-muted);
    box-shadow: none;
    opacity: 1;
    cursor: not-allowed;
}

/* --- Радио-карточка (доставка, оплата) ---------------------------------- */
.choices { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }

.choice {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: background-color .15s, border-color .15s;
}

.choice:hover { border-color: var(--accent); }

.choice:has(.choice__input:checked) {
    border-color: var(--accent);
    background: var(--band);
}

.choice:has(.choice__input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.choice__input,
.check-box {
    flex: none;
    margin: 0;
    appearance: none;
    cursor: pointer;
}

.choice__input {
    width: 18px;
    height: 18px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
}

.choice__input:checked { border: 5px solid var(--accent); }
.choice__input:focus-visible { outline: none; }

.choice__icon { width: 20px; height: 20px; color: var(--text); }

.choice__body { display: grid; gap: 2px; min-width: 0; }
.choice__title { font-size: 14px; font-weight: 500; line-height: 1.25; }
.choice__sub { color: var(--accent); font-size: 12px; line-height: 1.3; }
.choice__aside { font-size: 14px; font-weight: 500; text-align: right; white-space: nowrap; }

.choice__badge {
    justify-self: start;
    padding: 2px 8px;
    border-radius: 3px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

/* --- Переключатель «физлицо / юрлицо» ----------------------------------- */
.segmented {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    margin: 0;
    border: 0;
    border-radius: 6px;
    background: var(--band);
}

.segmented__option { position: relative; }

.segmented__option input { position: absolute; opacity: 0; pointer-events: none; }

.segmented__option span {
    display: block;
    padding: 10px 22px;
    border-radius: 4px;
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}

.segmented__option input:checked + span { background: var(--accent); color: #fff; font-weight: 600; }
.segmented__option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- Тумблер ------------------------------------------------------------ */
.switch {
    position: relative;
    flex: none;
    width: 38px;
    height: 22px;
    margin: 0;
    border-radius: 11px;
    background: var(--line);
    appearance: none;
    cursor: pointer;
    transition: background-color .2s;
}

.switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: translate .2s;
}

.switch:checked { background: var(--accent); }
.switch:checked::after { translate: 16px 0; }
.switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- Чекбокс ------------------------------------------------------------ */
.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--accent);
    font-size: 13px;
    line-height: 1.35;
    cursor: pointer;
}

.check-box {
    width: 18px;
    height: 18px;
    border: 1px solid var(--accent);
    border-radius: 3px;
    background: #fff;
}

.check-box:checked {
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.check-box:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* две галочки согласия в формах на страницах (include/consents.php) */
.consents { display: grid; gap: 10px; }
.consent .field__error:empty { display: none; }
.consent a { color: inherit; }

/* --- Счётчик количества ------------------------------------------------- */
.qty {
    display: inline-flex;
    align-items: center;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
}

.qty__btn {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: var(--text);
    cursor: pointer;
}

.qty__btn:disabled { color: var(--line); cursor: default; }
.qty__btn .icon { width: 16px; height: 16px; }
.qty__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 4px; }

.qty__input {
    width: 30px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--text);
    font: inherit;
    font-size: 17px;
    text-align: center;
    appearance: textfield;
}

.qty__input::-webkit-inner-spin-button,
.qty__input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.qty__input:focus { outline: none; }

/* --- Инфо-плашка -------------------------------------------------------- */
.notice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 14px;
    padding: 16px 18px;
    border-radius: 6px;
    background: var(--band);
    font-size: 13px;
    line-height: 1.45;
}

.notice .icon { grid-row: span 2; width: 20px; height: 20px; }
.notice__title { margin: 0; font-size: 14px; font-weight: 500; }
.notice__text { margin: 0; color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
    .choice, .switch, .switch::after, .segmented__option span, .btn-block { transition: none; }
}

/* End */


/* Start:/local/templates/project/assets/css/pages/info-blocks.css?179377975422953*/
/* ==========================================================================
   Блоки информационных страниц: плашки с иконкой, шаги, рамка «важно», баннер,
   вопросы-ответы, тарифы, ссылки в тексте. Страницы «Покупателям», «Контакты», «О компании».
   Иконки — CSS-маски модификатором (b-card--cart): в разметке нет <svg>, её правят в режиме правки.
   ========================================================================== */

/* --- Плашки с иконкой --------------------------------------------------- */
.b-cards { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }

.b-card {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 16px;
    align-content: start;
    padding: 18px 16px;
    border-radius: var(--radius-card);
    background: var(--band);
}

/* иконка: модификатор b-card--<имя> задаёт --b-icon, рисует ::before маской в цвет акцента */
.b-card::before {
    content: "";
    grid-row: 1 / span 3;
    width: 24px;
    height: 24px;
    background: var(--accent);
    -webkit-mask: var(--b-icon) center / contain no-repeat;
    mask: var(--b-icon) center / contain no-repeat;
}

.b-card > * { grid-column: 2; }

.b-card--cart    { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.5l2.2 10.5h10.6L20.5 7H6.3'/%3E%3Ccircle cx='9' cy='19' r='1.4'/%3E%3Ccircle cx='17' cy='19' r='1.4'/%3E%3C/svg%3E"); }
.b-card--card    { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='M3 10h18M7 15h3'/%3E%3C/svg%3E"); }
.b-card--shield  { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 3v5.5c0 4.5-3.2 8-7.5 9.5-4.3-1.5-7.5-5-7.5-9.5V6z'/%3E%3Cpath d='M9 12l2.2 2.2L15.5 10'/%3E%3C/svg%3E"); }
.b-card--pencil  { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 19.5l1-4.5L15.8 4.7a1.8 1.8 0 0 1 2.5 0l1 1a1.8 1.8 0 0 1 0 2.5L9 18.5z'/%3E%3Cpath d='M13.8 6.7l3.5 3.5'/%3E%3C/svg%3E"); }
.b-card--bank    { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 9L12 4.5 20.5 9z'/%3E%3Cpath d='M5.5 9v8M9.5 9v8M14.5 9v8M18.5 9v8M3.5 20h17'/%3E%3C/svg%3E"); }
.b-card--help    { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.6 9.5a2.5 2.5 0 1 1 3.4 2.3c-.6.3-1 .9-1 1.6v.4M12 16.8v.3'/%3E%3C/svg%3E"); }
.b-card--doc     { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.5h8l4 4v13H6z'/%3E%3Cpath d='M14 3.5v4h4M9 12h6M9 15h6M9 18h4'/%3E%3C/svg%3E"); }
.b-card--box     { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 4.5v9L12 21l-8-4.5v-9z'/%3E%3Cpath d='M4 7.5l8 4.5 8-4.5M12 12v9'/%3E%3C/svg%3E"); }
.b-card--user    { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 20a7 7 0 0 1 14 0'/%3E%3C/svg%3E"); }
.b-card--truck   { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5h10.5v9.5H2.5z'/%3E%3Cpath d='M13 9.5h4l3.5 3.5v3H13'/%3E%3Ccircle cx='6.5' cy='17.5' r='1.8'/%3E%3Ccircle cx='16.5' cy='17.5' r='1.8'/%3E%3C/svg%3E"); }
.b-card--grid    { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='6.5' height='6.5' rx='1'/%3E%3Crect x='13.5' y='4' width='6.5' height='6.5' rx='1'/%3E%3Crect x='4' y='13.5' width='6.5' height='6.5' rx='1'/%3E%3Crect x='13.5' y='13.5' width='6.5' height='6.5' rx='1'/%3E%3C/svg%3E"); }
.b-card--percent { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18L18 6'/%3E%3Ccircle cx='7.5' cy='7.5' r='2'/%3E%3Ccircle cx='16.5' cy='16.5' r='2'/%3E%3C/svg%3E"); }
.b-card--alert   { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5L21 19.5H3z'/%3E%3Cpath d='M12 10v4.5M12 17v.01'/%3E%3C/svg%3E"); }

.b-card__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.b-card__text { margin: 4px 0 0; color: var(--accent); font-size: 13px; line-height: 1.45; }

.b-card__badge {
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
}

/* плитка-ссылка на главной раздела: кликабельна целиком */
.b-card__link { color: inherit; text-decoration: none; }
.b-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.b-card__link:focus-visible { outline: none; }
.b-card--link:has(.b-card__link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.b-card--link { transition: background-color .15s; }
.b-card--link:hover { background: var(--band-deep); }

.b-card__more { margin-top: 8px; color: var(--accent); font-size: 12px; font-weight: 500; }

.b-card--pin     { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.1-7-11.5a7 7 0 0 1 14 0C19 14.9 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.b-card--clock   { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3.2 2'/%3E%3C/svg%3E"); }
.b-card--phone   { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 3.5h3l2 5-2.5 1.5a11 11 0 0 0 6 6l1.5-2.5 5 2v3a2 2 0 0 1-2 2A16.5 16.5 0 0 1 3.5 5.5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.b-card--mail    { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 6.5L12 13l8.5-6.5'/%3E%3C/svg%3E"); }
.b-card--metro   { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 18.5L8 5.5l4 8 4-8 4.5 13'/%3E%3C/svg%3E"); }
.b-card--car     { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 15.5v-4l1.8-4.5a1.5 1.5 0 0 1 1.4-1h7.6a1.5 1.5 0 0 1 1.4 1L19 11.5v4z'/%3E%3Cpath d='M5 11.5h14M6.5 15.5V18M17.5 15.5V18'/%3E%3Cpath d='M8 13.5h.01M16 13.5h.01'/%3E%3C/svg%3E"); }
.b-card--bulb    { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 18h5M10.5 21h3'/%3E%3Cpath d='M12 3a6 6 0 0 0-3.6 10.8c.7.6 1.1 1.4 1.1 2.2v.5h5V16c0-.8.4-1.6 1.1-2.2A6 6 0 0 0 12 3z'/%3E%3C/svg%3E"); }
.b-card--socket  { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='1.5'/%3E%3Cpath d='M9.5 9.5v2M14.5 9.5v2M9.5 15h5'/%3E%3C/svg%3E"); }
.b-card--sofa    { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10V8a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v2'/%3E%3Cpath d='M3.5 11.5a1.5 1.5 0 0 1 3 0v2h11v-2a1.5 1.5 0 0 1 3 0v5h-17z'/%3E%3Cpath d='M5.5 16.5V19M18.5 16.5V19'/%3E%3C/svg%3E"); }
.b-card--vase    { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 3.5h4M10.5 3.5v3C8.2 8 7 10.5 7 13.5c0 4 2.4 7 5 7s5-3 5-7c0-3-1.2-5.5-3.5-7v-3'/%3E%3C/svg%3E"); }
.b-card--hand    { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 12V6a1.5 1.5 0 0 1 3 0v5M11 11V4.5a1.5 1.5 0 0 1 3 0V11M14 11V6.5a1.5 1.5 0 0 1 3 0V14c0 3.9-2.6 6.5-6.2 6.5-2.4 0-3.9-1.1-5.3-3.3l-1.8-3a1.4 1.4 0 0 1 2.3-1.6L8 14.5'/%3E%3C/svg%3E"); }
.b-card--eye     { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.b-card--chat    { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11.5H9.5L4 20.5z'/%3E%3C/svg%3E"); }

/* значки страниц «Дизайнерам» и «Как мы работаем» (их выводят и вне .b-card: .lp-ico в landing.css) */
.b-card--target  { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='M12 3v4M12 17v4M3 12h4M17 12h4'/%3E%3C/svg%3E"); }
.b-card--dollar  { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M16.5 7.5c-.6-1.4-2.2-2.3-4.5-2.3-2.6 0-4.3 1.3-4.3 3.2 0 4.4 9 2.4 9 6.9 0 2-1.9 3.4-4.7 3.4-2.4 0-4.2-1-4.8-2.6'/%3E%3C/svg%3E"); }
.b-card--gift    { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='8' width='17' height='4' rx='1'/%3E%3Cpath d='M5 12v8.5h14V12M12 8v12.5M12 8C10.5 5 7 4.5 7 6.5S10 8 12 8zM12 8c1.5-3 5-3.5 5-1.5S14 8 12 8z'/%3E%3C/svg%3E"); }
.b-card--calendar { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.b-card--layers  { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l8.5 4.5L12 13 3.5 8.5z'/%3E%3Cpath d='M3.5 12.5L12 17l8.5-4.5M3.5 16.5L12 21l8.5-4.5'/%3E%3C/svg%3E"); }
.b-card--home    { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 11L12 4l8.5 7'/%3E%3Cpath d='M5.5 9.5v10.5h13V9.5M10 20v-5.5h4V20'/%3E%3C/svg%3E"); }
.b-card--clipboard { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4.5h12v16H6z'/%3E%3Cpath d='M9 4.5v-1h6v1M9 9.5h6M9 13h6M9 16.5h4'/%3E%3C/svg%3E"); }
.b-card--archive { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='4.5' width='17' height='5' rx='1'/%3E%3Cpath d='M5 9.5v10h14v-10M10 13.5h4'/%3E%3C/svg%3E"); }
.b-card--waves   { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9c3-2.5 6-2.5 9 0s6 2.5 9 0M3 14c3-2.5 6-2.5 9 0s6 2.5 9 0M3 19c3-2.5 6-2.5 9 0s6 2.5 9 0'/%3E%3C/svg%3E"); }
.b-card--panel   { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3.5' width='16' height='17' rx='1'/%3E%3Cpath d='M4 9.2h16M4 14.8h16M12 3.5v17'/%3E%3C/svg%3E"); }
.b-card--list    { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='14' rx='2'/%3E%3Cpath d='M7.5 10h9M7.5 14h6'/%3E%3C/svg%3E"); }
.b-card--download { --b-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.5h8l4 4v13H6z'/%3E%3Cpath d='M14 3.5v4h4M12 10.5v6.5M9.2 14.3L12 17l2.8-2.7'/%3E%3C/svg%3E"); }

/* контурные плашки (белые с рамкой) — «Как добраться», «Что мы делаем» */
.b-cards--outline .b-card { border: 1px solid var(--line); background: #fff; }

/* телефон: две колонки, иконка над заголовком, без текста — «Что мы делаем» */
@media (max-width: 767px) {
    .b-cards--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .b-cards--compact .b-card { display: block; padding: 16px; }
    .b-cards--compact .b-card::before { display: block; margin-bottom: 18px; }
    .b-cards--compact .b-card__text { display: none; }
}

/* --- Заголовок блока ---------------------------------------------------- */
.b-h2 {
    color: var(--text);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}


/* --- Шаги --------------------------------------------------------------- */
.b-steps { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; counter-reset: b-step; }

.b-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    column-gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

/* номер — счётчик: в разметке шага только заголовок и текст */
.b-step::before {
    content: counter(b-step, decimal-leading-zero);
    counter-increment: b-step;
    color: var(--text-muted);
    font-size: 28px;
    font-weight: 200;
    line-height: 1;
}
.b-step__title { margin: 0; color: var(--text); font-size: 16px; font-weight: 500; line-height: 1.3; }
.b-step__text { grid-column: 1 / -1; margin: 10px 0 0; color: var(--accent); font-size: 13px; line-height: 1.45; }

/* --- Рамка «важно» ------------------------------------------------------ */
.b-note {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 0 12px; /* без зазора между строками: у рамки без заголовка вторая строка пустая */
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
}

.b-note::before {
    content: "";
    grid-row: 1 / span 2;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4L2.8 19.5h18.4z'/%3E%3Cpath d='M12 10v4.5M12 17v.3'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4L2.8 19.5h18.4z'/%3E%3Cpath d='M12 10v4.5M12 17v.3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.b-note > * { grid-column: 2; }
.b-note__title { margin: 0 0 4px; color: var(--text); font-size: 15px; font-weight: 600; }
.b-note__text { margin: 0; color: var(--accent); font-size: 13px; line-height: 1.5; }

/* --- Ссылки в тексте ---------------------------------------------------- */
.b-link {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.b-link:hover { color: var(--text); }

/* --- Стоимость доставки ------------------------------------------------- */
.b-rates {
    display: grid;
    padding: 4px 16px;
    border-radius: var(--radius-card);
    background: var(--band);
}

.b-rates__row { padding: 12px 0; }
.b-rates__row + .b-rates__row { border-top: 1px solid var(--line); }
.b-rates dt { color: var(--text); font-size: 14px; line-height: 1.35; }
.b-rates dd { margin: 2px 0 0; color: var(--text); font-size: 15px; font-weight: 700; }

/* --- Тёмный баннер ------------------------------------------------------ */
.b-cta {
    display: grid;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-card);
    background: var(--g-wine);
    color: var(--cream);
}

.b-cta__title { margin: 0; font-size: 19px; font-weight: 400; line-height: 1.25; }
.b-cta__lead { margin: 8px 0 0; color: var(--cream-70); font-size: 13px; line-height: 1.45; }

.b-cta__btn {
    width: 100%;
    border-color: var(--cream);
    background: var(--cream);
    color: var(--wine-900);
}

.b-cta__btn:hover { border-color: #fff; background: #fff; color: var(--wine-900); }

/* --- Вопросы и ответы --------------------------------------------------- */
.b-faq { border-top: 1px solid var(--line); }
.b-faq__item { border-bottom: 1px solid var(--line); }

.b-faq__question {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}

.b-faq__question::-webkit-details-marker { display: none; }

/* плюс / минус */
.b-faq__question::after {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    margin-top: 3px;
    background:
        linear-gradient(var(--accent), var(--accent)) center / 14px 1.5px no-repeat,
        linear-gradient(var(--accent), var(--accent)) center / 1.5px 14px no-repeat;
}

.b-faq__item[open] .b-faq__question::after {
    background: linear-gradient(var(--text), var(--text)) center / 14px 1.5px no-repeat;
}

.b-faq__question:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.b-faq__answer { margin: -4px 0 16px; color: var(--accent); font-size: 13px; line-height: 1.5; }

@media (min-width: 768px) {
    .b-cards--3,
    .b-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .b-card { display: block; padding: 24px 20px; }
    .b-card::before { display: block; margin-bottom: 14px; }

    .b-rates { padding: 4px 24px; }
    .b-rates__row { display: flex; justify-content: space-between; gap: 24px; }
    .b-rates dd { margin: 0; text-align: right; white-space: nowrap; }

    .b-step { grid-template-columns: 64px minmax(0, 1fr); padding: 22px 0; }
    .b-step::before { grid-row: span 2; font-size: 40px; }
    .b-step__text { grid-column: 2; margin-top: 8px; }

    .b-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 28px 28px; }
    .b-cta__btn { width: auto; }
}

/* --- Десктоп ------------------------------------------------------------ */
@media (min-width: 1024px) {
    .b-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .b-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
    .b-card__title { font-size: 17px; }

    .b-h2 { font-size: 26px; }
    .b-step__title { font-size: 18px; }
    .b-step__text { font-size: 14px; }

    .b-note { padding: 22px 24px; column-gap: 14px; }
    .b-note__text { font-size: 14px; }

    .b-cta { margin-top: 12px; padding: 32px 28px; }
    .b-cta__title { font-size: 22px; }
    .b-cta__lead { font-size: 14px; }

    .b-faq__question { padding: 22px 0; font-size: 17px; }
    .b-faq__answer { margin: -8px 0 22px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .b-card--link { transition: none; }
}

/* End */


/* Start:/local/templates/project/assets/css/pages/landing.css?179378046028434*/
/* ==========================================================================
   «Дизайнерам» (/designers/) и «Как мы работаем» (/how-we-work/).
   Плашки .b-cards, значки b-card--<имя>, заголовок .b-h2 и вопросы .b-faq — info-blocks.css;
   полосы «О нас» и «Сотрудничаем» — .band шаблона и home.css; форма — project.forms.
   ========================================================================== */

.lp { padding-bottom: 8px; }
.lp--after-band .lp-section:first-child { margin-top: 8px; }

.lp-section { margin-top: 40px; }
.lp-section .b-h2 { margin: 0 0 12px; }

.lp-eyebrow {
    margin: 0 0 8px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lp-eyebrow--light { color: var(--gold); }

.lp-lead { margin: -4px 0 16px; color: var(--accent); font-size: 14px; line-height: 1.45; }

.lp-desktop { display: none; }

/* значок вне .b-card: модификатор b-card--<имя> задаёт --b-icon (info-blocks.css) */
.lp-ico {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 24px;
    height: 24px;
}

.lp-ico::before {
    content: "";
    width: 24px;
    height: 24px;
    background: var(--accent);
    -webkit-mask: var(--b-icon) center / contain no-repeat;
    mask: var(--b-icon) center / contain no-repeat;
}

.lp-ico--round { width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.lp-ico--round::before { width: 20px; height: 20px; }

/* ссылка на всю плашку */
.lp-stretched { color: inherit; text-decoration: none; }
.lp-stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.lp-stretched:focus-visible { outline: none; }
.lp-kit__item:has(.lp-stretched:focus-visible),
.lp-dirs__item:has(.lp-stretched:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.lp-arrow-link {
    display: inline-block;
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.lp-arrow-link::after { content: " →"; }
.lp-arrow-link:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* --- Обложка ------------------------------------------------------------ */
.lp-hero {
    position: relative;
    overflow: hidden;
    background: var(--wine-900);
    color: var(--cream);
}

.lp-hero__bg { position: absolute; inset: 0; }

.lp-hero__bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 35%;
}

.lp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(58 9 13 / .88) 0%, rgb(58 9 13 / .72) 45%, rgb(58 9 13 / .4) 100%);
}

/* фото — только правая часть кадра (без текста), слева сплошная винная заливка */
.lp-hero--right .lp-hero__bg img { object-position: 70% 50%; }
.lp-hero--right::after { background: linear-gradient(90deg, rgb(58 9 13 / .85) 0%, rgb(58 9 13 / .7) 60%, rgb(58 9 13 / .45) 100%); }

.lp-hero__inner { position: relative; z-index: 1; padding-block: 12px 32px; }

.breadcrumbs.lp-hero__crumbs { padding: 0 0 18px; } /* сильнее общего .breadcrumbs: template_styles.css подключается позже */
.lp-hero__crumbs .breadcrumbs__list { color: var(--cream-70); }
.lp-hero__crumbs a:hover { color: var(--cream); }

.lp-hero__title { max-width: 820px; margin: 0; font-size: 30px; font-weight: 500; line-height: 1.15; }
.lp-hero__lead { max-width: 640px; margin: 12px 0 0; color: var(--cream-90); font-size: 14px; line-height: 1.5; }
.lp-hero__lead p { margin: 0; }

.lp-hero__actions { display: grid; gap: 10px; margin-top: 20px; }

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid var(--cream);
    border-radius: 4px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}

.lp-btn--light { background: var(--cream); color: var(--wine-900); }
.lp-btn--light:hover { border-color: #fff; background: #fff; }
.lp-btn--outline { background: transparent; color: var(--cream); }
.lp-btn--outline:hover { background: var(--cream-12); }
.lp-btn:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }

.lp-chips {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.lp-chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--cream-12);
    color: var(--cream-90);
    font-size: 12px;
    line-height: 1.3;
}

.lp-chips li::before {
    content: "";
    width: 12px;
    height: 12px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* --- «Что комплектуем» --------------------------------------------------- */
.lp-kit {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-kit__item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 16px;
    border: 1px solid transparent;
    border-radius: var(--radius-tile);
    background: var(--band);
    transition: background-color .15s;
}

.lp-kit__item:not(.lp-kit__item--soon):hover { background: var(--band-deep); }

.lp-kit__item--soon { border: 1px dashed var(--line); background: #fff; }
.lp-kit__item--soon .lp-ico--round { background: var(--band); }

.lp-kit__badge {
    position: absolute;
    top: 24px;
    right: 16px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--band);
    color: var(--accent);
    font-size: 11px;
}

.lp-kit__title { margin: 18px 0 0; color: var(--text); font-size: 16px; font-weight: 600; line-height: 1.25; }
.lp-kit__text { flex: 1; margin: 8px 0 0; color: var(--accent); font-size: 13px; line-height: 1.4; }
.lp-kit__more { margin-top: 12px; color: var(--accent); font-size: 12px; font-weight: 500; }
.lp-kit__item--soon .lp-kit__title { font-weight: 500; }
.lp-kit__item--soon .lp-kit__text,
.lp-kit__item--soon .lp-kit__more { color: var(--text-muted); }

/* --- «Как обычно» / «С A-SVET» ------------------------------------------- */
.lp-compare { display: grid; gap: 16px; }

.lp-compare__col {
    padding: 24px;
    border-radius: var(--radius-tile);
    background: var(--band);
}

.lp-compare__col--dark { background: var(--wine-900); color: var(--cream); }

.lp-compare__label {
    margin: 0 0 12px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lp-compare__col--dark .lp-compare__label { color: var(--cream-90); }

.lp-compare__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }

.lp-compare__list li {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 12px;
    font-size: 14px;
    line-height: 1.4;
}

/* значок: галочка, у «Как обычно» — крестик */
.lp-compare__list li::before {
    content: "";
    width: 14px;
    height: 14px;
    margin-top: 2px;
    background: var(--cream-70);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lp-compare__list--no li { color: var(--accent); }

.lp-compare__list--no li::before {
    background: var(--text-muted);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
}

.lp-compare__result {
    margin: 16px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--accent);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
}

.lp-compare__col--dark .lp-compare__result { border-color: var(--cream-20); color: var(--cream); }

/* --- Плашки со значком сверху: на телефоне две колонки с текстом --------- */
@media (max-width: 767px) {
    .lp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.lp-tiles .b-card { display: block; padding: 16px; border-radius: var(--radius-tile); }
.lp-tiles .b-card::before { display: block; margin-bottom: 14px; }
.lp-tiles .b-card__title { font-size: 14px; }
.lp-tiles .b-card__text { margin-top: 8px; font-size: 12px; }

/* --- «Что мы делаем для вашего проекта» ---------------------------------- */
.lp-services { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }

.lp-services__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-tile);
}

.lp-services__item .lp-ico--round { background: var(--band); }
.lp-services__title { margin: 0; color: var(--text); font-size: 15px; font-weight: 600; line-height: 1.3; }
.lp-services__text { margin: 4px 0 0; color: var(--accent); font-size: 13px; line-height: 1.4; }

/* --- Шаги с дизайнером: на телефоне — вертикальная линия ----------------- */
.lp-timeline { margin: 0; padding: 0; list-style: none; counter-reset: lp-step; }

.lp-timeline__step {
    position: relative;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 16px;
    padding-bottom: 24px;
}

.lp-timeline__step::before {
    content: counter(lp-step);
    counter-increment: lp-step;
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    background: #fff;
    color: var(--accent);
    font-size: 15px;
    font-weight: 500;
}

.lp-timeline__step:first-child::before { background: var(--accent); color: #fff; }

/* линия к следующему шагу */
.lp-timeline__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 40px;
    bottom: 0;
    left: 20px;
    width: 1px;
    background: var(--line);
}

.lp-timeline__title { margin: 8px 0 0; color: var(--text); font-size: 16px; font-weight: 600; }
.lp-timeline__text { margin: 6px 0 0; color: var(--accent); font-size: 13px; line-height: 1.45; }

/* --- Материалы ----------------------------------------------------------- */
.lp-files { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.lp-files > li { display: grid; }

.lp-files__item {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 18px 20px;
    border: 0;
    border-radius: var(--radius-card);
    background: var(--band);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color .15s;
}

.lp-files__item:hover { background: var(--band-deep); }
.lp-files__item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lp-files__body { display: grid; flex: 1; gap: 2px; min-width: 0; }
.lp-files__title { color: var(--text); font-size: 15px; font-weight: 600; }
.lp-files__text { color: var(--accent); font-size: 12px; }

.lp-files__get {
    flex: none;
    width: 18px;
    height: 18px;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10.5l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10.5l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* --- Ленты на телефоне: проекты и бренды --------------------------------- */
.lp-projects,
.lp-brands {
    display: grid;
    grid-auto-flow: column;
    gap: 12px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter);
    overflow-x: auto;
    list-style: none;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
}

.lp-projects::-webkit-scrollbar,
.lp-brands::-webkit-scrollbar { display: none; }

.lp-projects { grid-auto-columns: 72%; }
.lp-brands { grid-auto-columns: 44%; }
.lp-projects > li,
.lp-brands > li { scroll-snap-align: start; }

.lp-projects__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 486 / 340;
    border-radius: var(--radius-card);
    background: var(--band);
    object-fit: cover;
}

.lp-projects__title { margin: 12px 0 0; color: var(--text); font-size: 15px; font-weight: 600; line-height: 1.3; }
.lp-projects__meta { margin: 6px 0 8px; color: var(--text-muted); font-size: 12px; }
.lp-projects__more-long { display: none; }

.lp-brands a {
    display: grid;
    place-items: center;
    aspect-ratio: 162 / 112;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: #fff;
    transition: border-color .15s;
}

.lp-brands img { display: block; max-width: 100%; max-height: 48px; object-fit: contain; }
.lp-brands a:hover { border-color: var(--accent); }
.lp-brands a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- «Что можно подобрать» ----------------------------------------------- */
.lp-dirs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-dirs__item {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    overflow: hidden;
    isolation: isolate; /* картинка под текстом (z-index: -1), но над фоном плитки */
    border-radius: var(--radius-tile);
    background: var(--band);
    transition: background-color .15s;
}

.lp-dirs__item:hover { background: var(--band-deep); }

/* без position: ссылка-растяжка (.lp-stretched) должна накрывать всю плитку */
.lp-dirs__body { padding: 14px; }
.lp-dirs__title { margin: 0; color: var(--text); font-size: 16px; font-weight: 500; line-height: 1.25; }
.lp-dirs__text { margin: 4px 0 0; color: var(--accent); font-size: 12px; line-height: 1.4; }
.lp-dirs__more { display: none; margin-top: 10px; color: var(--accent); font-size: 12px; }

/* предмет на бежевом — внизу справа */
.lp-dirs__img {
    position: absolute;
    z-index: -1;
    right: 12%;
    bottom: 12px;
    width: auto;
    max-width: 62%;
    max-height: 56%;
    object-fit: contain;
}

/* фото на всю плитку, подпись поверх */
.lp-dirs__item--photo { justify-content: flex-end; background: var(--wine-900); }
.lp-dirs__item--photo .lp-dirs__img { inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.lp-dirs__item--photo .lp-dirs__body { padding-top: 48px; background: linear-gradient(180deg, rgb(58 9 13 / 0) 0%, rgb(58 9 13 / .7) 100%); }
.lp-dirs__item--photo .lp-dirs__title,
.lp-dirs__item--photo .lp-dirs__more { color: #fff; }
.lp-dirs__item--photo .lp-dirs__text { color: var(--cream-90); }

/* --- «С кем мы работаем» ------------------------------------------------- */
.lp-who { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }

.lp-who__item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 16px;
    align-content: start;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-tile);
}

.lp-who__item .lp-ico { grid-row: 1 / span 3; }
.lp-who__title { margin: 0; color: var(--text); font-size: 16px; font-weight: 600; line-height: 1.3; }
.lp-who__text { margin: 6px 0 0; color: var(--accent); font-size: 13px; line-height: 1.45; }
.lp-who__link { justify-self: start; margin-top: 8px; color: var(--text); font-size: 13px; }

/* --- Шесть шагов --------------------------------------------------------- */
.lp-steps { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; counter-reset: lp-step; }

.lp-steps__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
    padding: 24px 0 32px;
    border-bottom: 1px solid var(--line);
}

.lp-steps__item::before {
    content: counter(lp-step, decimal-leading-zero);
    counter-increment: lp-step;
    color: var(--accent);
    font-size: 36px;
    font-weight: 200;
    line-height: 1;
}

.lp-steps__title { margin: 0; color: var(--text); font-size: 17px; font-weight: 500; line-height: 1.3; }
.lp-steps__text { grid-column: 1 / -1; margin: 16px 0 0; color: var(--accent); font-size: 14px; line-height: 1.45; }

.lp-steps__result {
    grid-column: 1 / -1;
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: var(--radius-card);
    background: var(--band);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

.lp-steps__result span {
    display: block;
    margin-bottom: 4px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* --- Пример проекта ------------------------------------------------------ */
.lp-case { display: grid; gap: 20px; }

.lp-case__photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 747 / 506;
    border-radius: var(--radius-tile);
    object-fit: cover;
}

.lp-case__title { margin: 4px 0 20px; color: var(--text); font-size: 22px; font-weight: 500; line-height: 1.3; }

.lp-case__list { margin: 0 0 20px; }

.lp-case__list div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.lp-case__list dt { color: var(--text); font-size: 13px; font-weight: 600; }
.lp-case__list dd { margin: 2px 0 0; color: var(--accent); font-size: 13px; line-height: 1.4; }

/* ответ — HTML из «Текстов разводящих»: абзацы, списки, ссылки */
.lp-section .b-faq__answer > :first-child { margin-top: 0; }
.lp-section .b-faq__answer > :last-child { margin-bottom: 0; }
.lp-section .b-faq__answer p { margin: 0 0 8px; }
.lp-section .b-faq__answer a { color: var(--text); }

/* --- Форма и вопросы в конце «Как мы работаем» --------------------------- */
.lp-end { display: flex; flex-direction: column; }
.lp-faq { order: -1; padding-bottom: 48px; }

.lp-brief__text p { margin: 0 0 12px; color: var(--text); font-size: 14px; line-height: 1.45; }
.lp-brief__contacts a { color: var(--text); text-decoration: none; }
.lp-brief__contacts a:hover { text-decoration: underline; }
.lp-brief__text .lp-brief__contacts { display: none; }
.lp-brief__form { margin-top: 8px; }

.brief-form > * { min-width: 0; } /* длинное имя файла и поля не распирают карточку */
.brief-form__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.brief-form__label { float: left; width: 100%; margin-bottom: 8px; padding: 0; color: var(--accent); font-size: 12px; }

/* варианты на карточке формы: контур без заливки, выбранный — акцентом */
.brief-form .form-chip span {
    padding: 7px 12px;
    border-color: var(--accent);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--accent);
    font-size: 12px;
}

.brief-form .form-chip input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; }

/* --- Планшет ------------------------------------------------------------- */
@media (min-width: 768px) {
    .lp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
    .lp-chips { flex-direction: row; flex-wrap: wrap; }

    .lp-kit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lp-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-files { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-dirs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lp-who { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .lp-projects { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; overflow: visible; }
    .lp-projects__more-long { display: inline; }
    .lp-projects__more-short { display: none; }
    .lp-brands { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; }

    .lp-desktop { display: inline; }
    .lp-mobile { display: none; }
    .lp-dirs__more { display: inline-block; }
    .lp-dirs__text { font-size: 13px; }
    .lp-brief__text .lp-brief__contacts { display: block; }

    .brief-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

/* --- Десктоп ------------------------------------------------------------- */
@media (min-width: 1024px) {
    .lp { padding-bottom: 24px; }
    .lp--after-band .lp-section:first-child { margin-top: 24px; }
    .lp-section { margin-top: 96px; }
    .lp-section .b-h2 { margin-bottom: 16px; font-size: 32px; }
    .lp-eyebrow { font-size: 12px; }
    .lp-lead { margin: -4px 0 32px; font-size: 15px; }

    .lp-hero__inner { padding-block: 40px 96px; }
    .breadcrumbs.lp-hero__crumbs { padding-bottom: 20px; }
    .lp-hero__title { font-size: 52px; font-weight: 400; }
    .lp-hero__lead { margin-top: 24px; font-size: 18px; }
    .lp-hero__actions { margin-top: 28px; }
    .lp-btn { min-height: 50px; padding: 0 28px; }
    .lp-chips { margin-top: 24px; }

    /* фото — справа на ~55% ширины, слева сплошная заливка */
    .lp-hero--right .lp-hero__bg { left: auto; width: 58%; }
    .lp-hero--right::after { background: linear-gradient(90deg, var(--wine-900) 0%, var(--wine-900) 42%, rgb(58 9 13 / .55) 55%, rgb(58 9 13 / .1) 100%); }

    .lp-kit { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
    .lp-kit__item { padding: 24px 24px 20px; }
    .lp-kit__badge { top: 32px; right: 24px; }
    .lp-kit__title { margin-top: 24px; font-size: 18px; }

    .lp-compare { gap: 20px; }
    .lp-compare__col { padding: 40px; }
    .lp-compare__list { gap: 16px; }
    .lp-compare__list li { font-size: 15px; }
    .lp-compare__result { margin-top: 28px; padding-top: 28px; font-size: 22px; }

    .lp-tiles { gap: 20px; }
    .lp-tiles .b-card { padding: 28px; }
    .lp-tiles .b-card::before { width: 28px; height: 28px; margin-bottom: 20px; }
    .lp-tiles .b-card__title { font-size: 17px; }
    .lp-tiles .b-card__text { font-size: 13px; }

    .lp-services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
    .lp-services__item { align-items: flex-start; gap: 20px; padding: 24px 28px; }
    .lp-ico--round { width: 56px; height: 56px; }
    .lp-ico--round::before { width: 24px; height: 24px; }
    .lp-services__title { font-size: 17px; }
    .lp-services__text { margin-top: 8px; font-size: 14px; }

    /* шаги в ряд, линия от номера к следующему */
    .lp-timeline { display: grid; grid-template-columns: repeat(var(--lp-steps, 5), minmax(0, 1fr)); gap: 24px; }
    .lp-timeline__step { display: block; padding: 0; }
    .lp-timeline__step::before { width: 48px; height: 48px; font-size: 17px; }
    .lp-timeline__step:not(:last-child)::after { top: 24px; right: -8px; bottom: auto; left: 64px; width: auto; height: 1px; }
    .lp-timeline__title { margin-top: 24px; font-size: 18px; }
    .lp-timeline__text { margin-top: 12px; font-size: 14px; }

    .lp-files { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
    .lp-files__item { padding: 28px; }
    .lp-files__title { font-size: 17px; }

    .lp-projects { gap: 20px; }
    .lp-projects__title { margin-top: 18px; font-size: 18px; }
    .lp-projects__meta { margin: 10px 0 12px; font-size: 13px; }
    .lp-arrow-link { font-size: 14px; }

    .lp-brands { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; }

    .lp-dirs { gap: 20px; }
    .lp-dirs__item { min-height: 320px; }
    .lp-dirs__body { padding: 28px; }
    .lp-dirs__item--photo .lp-dirs__body { padding-top: 96px; }
    .lp-dirs__title { font-size: 24px; font-weight: 400; }
    .lp-dirs__text { max-width: 260px; margin-top: 8px; font-size: 14px; }
    .lp-dirs__item--photo .lp-dirs__text { max-width: none; }
    .lp-dirs__more { font-size: 13px; }
    .lp-dirs__img { right: 18%; bottom: 20px; max-width: 46%; max-height: 52%; }

    .lp-who { grid-template-columns: repeat(var(--lp-cols, 5), minmax(0, 1fr)); gap: 20px; }
    .lp-who__item { display: flex; flex-direction: column; padding: 28px 24px; }
    .lp-who__item .lp-ico { width: 32px; height: 32px; margin-bottom: 20px; }
    .lp-who__item .lp-ico::before { width: 32px; height: 32px; }
    .lp-who__title { font-size: 19px; }
    .lp-who__text { flex: 1; margin-top: 12px; font-size: 14px; }
    .lp-who__link { margin-top: 20px; font-size: 14px; }

    .lp-steps__item {
        grid-template-columns: 88px minmax(0, 1fr) minmax(0, 460px);
        grid-template-rows: auto auto;
        column-gap: 24px;
        align-items: start;
        padding: 28px 0;
    }

    .lp-steps__item::before { grid-row: span 2; font-size: 64px; }
    .lp-steps__title { align-self: end; font-size: 24px; font-weight: 400; }
    .lp-steps__text { grid-column: 2; margin-top: 10px; font-size: 15px; }
    .lp-steps__result { grid-column: 3; grid-row: 1 / span 2; align-self: center; margin: 0; padding: 16px 20px; font-size: 16px; }

    .lp-case { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; }
    .lp-case__title { margin-bottom: 28px; font-size: 32px; }
    .lp-case__list div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 16px 0; }
    .lp-case__list dt { font-size: 15px; }
    .lp-case__list dd { margin: 0; font-size: 15px; }

    .lp-end { display: block; }
    .lp-brief { padding-block: 96px 0; }
    .lp-faq { padding-bottom: 96px; }

    .lp-brief__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 587px);
        gap: 80px;
        align-items: center;
        padding-block: 48px;
    }

    .lp-brief__text p { max-width: 620px; font-size: 16px; line-height: 1.5; }
    .lp-brief__form { margin: 0; }
    .brief-form .form-chip span { padding: 8px 14px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-btn, .lp-kit__item, .lp-files__item, .lp-dirs__item, .lp-brands a { transition: none; }
}

/* End */


/* Start:/local/js/project/forms/style.css?179378243216177*/
/* ==========================================================================
   PROJECT.FORMS — то, что есть только у форм project:form.
   Общие элементы (чекбокс согласия .consent/.check-box, поле .input, кнопки .btn-block,
   цвет ошибки --danger) — в project.ui, оно подключается через rel в config.php.
   Разметка: [data-project-form] > [data-role="success"] + form.
   Раскладка блока вокруг формы (.partners и т.п.) — в шаблоне сайта.
   ========================================================================== */

/* Скрытие через [hidden] — своё и сильное: .lead-form и подобные задают display и перебили бы атрибут */
[data-project-form] [hidden] { display: none !important; }

/* --- Поле-подчёркивание на светлом фоне (форма-карточка) ----------------- */
.field { display: block; }

.field__input {
	width: 100%;
	padding: 8px 12px;
	border: 0;
	border-bottom: 1px solid var(--accent);
	border-radius: 0;
	background: transparent;
	color: var(--text);
	font: inherit;
	font-size: 14px;
}

.field__input::placeholder { color: var(--text-muted); }
.field__input:focus { outline: none; border-bottom-color: var(--text); box-shadow: 0 1px 0 var(--text); }

textarea.field__input { min-height: 90px; resize: vertical; }

/* --- Форма-карточка (заявка дизайнера и подобные) ----------------------- */
.lead-form {
	display: grid;
	gap: 14px;
	padding: 24px 16px;
	border-radius: 12px;
	background: var(--band-deep);
	box-shadow: var(--shadow-card);
}

.lead-form__checks { display: grid; gap: 12px; margin-top: 10px; }

/* согласия в карточке мельче и без белой подложки, как в вёрстке формы дизайнера */
.lead-form .consent { gap: 12px; font-size: 11px; line-height: 1.3; }
.lead-form .check-box:not(:checked) { background: transparent; }

.lead-form__submit {
	width: 100%;
	margin-top: 10px;
	padding: 14px 20px;
	border-radius: 8px;
	font-size: 15px;
	text-transform: uppercase;
}

/* «Спасибо» на месте формы */
.lead-form--done {
	place-items: center;
	min-height: 240px;
	color: var(--accent);
	font-size: 22px;
	text-align: center;
}

@media (min-width: 1024px) {
	.lead-form {
		gap: 18px;
		padding: 52px 78px 40px;
		border-radius: var(--radius-card);
		box-shadow: none;
	}

	.lead-form__checks { margin-top: 12px; }

	.lead-form__submit {
		justify-self: start;
		width: auto;
		margin-top: 20px;
		padding: 10px 20px;
		border-radius: 4px;
		box-shadow: 0 4px 8px rgb(58 9 13 / .2);
	}

	.lead-form--done { min-height: 360px; font-size: 28px; }
}

/* без галочек кнопка «серая» (project.ui, .btn-accent:disabled шаблона), но фон карточки того же цвета — светлая подложка */
.lead-form .lead-form__submit[data-gated],
.lead-form .lead-form__submit[data-gated]:hover { background: rgb(255 255 255 / .55); border-color: transparent; color: var(--text-muted); }

/* --- Ошибки от сервера ---------------------------------------------------
   [data-field] получает .has-error, текст — в его [data-error] (.field__error).
   Поля: .field (подчёркивание) и .form-field/.input из project.ui; чекбокс — .consent. */
.field__error {
	display: none;
	margin-top: 6px;
	color: var(--danger);
	font-size: 12px;
	line-height: 1.3;
}

.has-error > .field__error { display: block; }

.field.has-error .field__input { border-bottom-color: var(--danger); }
.field.has-error .field__input::placeholder { color: var(--danger); }
.form-field.has-error .input { border-color: var(--danger); }

/* чекбокс: ошибка отдельной строкой под текстом (18px квадрат + отступ) */
[data-project-form] .consent { flex-wrap: wrap; }
[data-project-form] .consent > span:not(.field__error) { flex: 1; min-width: 0; }
.consent .field__error { flex-basis: 100%; margin-top: 0; padding-left: 30px; }
.consent.has-error .check-box { border-color: var(--danger); }

/* общая ошибка формы: капча, CSRF, сеть */
.form-error { margin: 0; color: var(--danger); font-size: 13px; line-height: 1.3; }

/* идёт отправка: кнопка заблокирована, курсор «занято». Без галочек согласия (data-gated) — свой вид, project.ui */
[data-project-form] [type="submit"]:disabled:not([data-gated]) { opacity: .6; cursor: progress; }

/* --- Файл ---------------------------------------------------------------
   <label class="file" data-file>
       <input class="file__input" type="file" name="file">
       <span class="file__button">Прикрепить файл</span>
       <span class="file__name is-empty" data-file-name>PDF, JPG или PNG, до 5 МБ</span>
   </label> */
.file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	cursor: pointer;
}

/* скрыт визуально, но остаётся в фокусе с клавиатуры */
.file__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.file__button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 18px;
	border: 1px solid var(--accent);
	border-radius: 4px;
	color: var(--accent);
	font-size: 13px;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color .2s, color .2s;
}

/* скрепка */
.file__button::before {
	content: "";
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48'/%3E%3C/svg%3E") center / contain no-repeat;
}

.file:hover .file__button { background: var(--accent); color: #fff; }
.file__input:focus-visible + .file__button { outline: 2px solid var(--accent); outline-offset: 2px; }

.file__name {
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	color: var(--text);
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.file__name.is-empty { color: var(--text-muted); }

.has-error .file__button,
.has-error .file__name { border-color: var(--danger); color: var(--danger); }

@media (prefers-reduced-motion: reduce) {
	.file__button { transition: none; }
}

/* --- Попап формы (<dialog class="form-modal">) ---------------------------
   Общий для всех попапов project:form. Десктоп — окно по центру, мобильные — лист снизу.
   Открытие: [data-form-open="<имя>"] (script.js) или data-menu-open (menus.js);
   закрытие — menus.js: [data-menu-close], клик по подложке (data-menu-backdrop-close).

   <dialog class="form-modal" id="form-<имя>" data-menu-backdrop-close>
     <div class="form-modal__inner" data-project-form="<имя>">
       крестик .form-modal__close, заголовок и подводка с data-hide-on-success,
       .form-modal__success (data-role="success"), form.form-modal__form
   Поля — .form-field/.input (project.ui), варианты — .form-chips, файл — .attach, согласие — .consent. */

html:has(dialog.form-modal[open]) { overflow: hidden; }

.form-modal {
	width: min(440px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 20px;
	background: #fff;
	color: var(--text);
	box-shadow: var(--shadow-card-hover);
	overscroll-behavior: contain;
}

.form-modal--wide { width: min(640px, calc(100% - 32px)); }

.form-modal::backdrop { background: rgb(58 9 13 / .45); }

/* при открытии фокус — на самом окне (open() в script.js), а не на крестике: без рамки */
.form-modal:focus { outline: none; }

.form-modal[open] { animation: form-modal-in .2s var(--ease-out, ease-out); }
.form-modal[open]::backdrop { animation: form-modal-fade .2s ease-out; }

@keyframes form-modal-in { from { opacity: 0; translate: 0 12px; } }
@keyframes form-modal-fade { from { opacity: 0; } }

.form-modal__inner {
	position: relative;
	display: grid;
	gap: 12px;
	padding: 28px 28px 24px;
}

.form-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--band);
	color: var(--text);
	cursor: pointer;
	transition: background-color .15s;
}

.form-modal__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.form-modal__close:hover { background: var(--band-deep); }
.form-modal__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.form-modal__title { margin: 0; padding-right: 40px; font-size: 22px; font-weight: 600; line-height: 1.25; }
.form-modal__lead { margin: 0; color: var(--accent); font-size: 14px; line-height: 1.45; }

.form-modal__form { display: grid; gap: 14px; margin-top: 4px; }

/* поле: подпись над полем, рамка бежевая, как в макете */
.form-modal .form-field__label { color: var(--accent); font-size: 13px; }
.form-modal .input { height: 48px; border-radius: 6px; }
.form-modal__textarea { height: auto; min-height: 76px; padding-block: 12px; line-height: 1.4; resize: vertical; }

.form-modal select.input {
	padding-right: 44px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A090D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
	cursor: pointer;
}

/* не выбрано («Выберите дату») — цветом подсказки */
.form-modal select.input:has(option[value=""]:checked) { color: #B5A3A4; }
.form-modal select.input option { color: var(--text); }

.form-modal__submit { width: 100%; margin-top: 4px; }

/* согласие — мелко и спокойно, как подпись под кнопкой в макете */
.form-modal__checks { display: grid; gap: 10px; }
.form-modal .consent { gap: 8px; color: var(--text-muted); font-size: 11px; line-height: 1.35; }
.form-modal .consent .check-box { width: 16px; height: 16px; border-color: var(--line); }
.form-modal .consent .check-box:checked { border-color: var(--accent); }
.form-modal .consent .field__error { padding-left: 24px; }

/* --- Варианты-кнопки (радио): «Что планируете», «Тема» -------------------
   <fieldset class="form-field form-chips" data-field="topic">
     <legend class="form-field__label">Тема</legend>
     <label class="form-chip"><input type="radio" name="topic" value="Освещение" checked><span>Освещение</span></label>
   </fieldset> */
.form-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.form-chips > .form-field__label { float: left; width: 100%; margin-bottom: 8px; padding: 0; }
.form-chips > .field__error { flex-basis: 100%; margin-top: 0; }

.form-chip { position: relative; }
.form-chip input { position: absolute; opacity: 0; pointer-events: none; }

.form-chip span {
	display: block;
	padding: 9px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-chip);
	background: #fff;
	color: var(--text);
	font-size: 14px;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .15s, border-color .15s;
}

.form-chip span:hover { border-color: var(--accent); }
.form-chip input:checked + span { border-color: var(--accent); background: var(--band); }
.form-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- Файл ссылкой со скрепкой --------------------------------------------
   <div class="form-field" data-field="files">
     <label class="attach" data-file>
       <input class="file__input" type="file" name="files[]" multiple>
       <span class="attach__text is-empty" data-file-name>Прикрепить план или фото (PDF, JPG)</span>
     </label>
     <span class="field__error" data-error></span>
   </div> */
.attach {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	color: var(--text);
	font-size: 14px;
	cursor: pointer;
}

.attach::before {
	content: "";
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	background-color: var(--accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48'/%3E%3C/svg%3E") center / contain no-repeat;
}

.attach__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attach:hover .attach__text.is-empty { color: var(--accent); }
.attach .file__input:focus-visible + .attach__text { outline: 2px solid var(--accent); outline-offset: 2px; }
.has-error .attach__text { color: var(--danger); }

/* --- «Спасибо! Заявка принята» ------------------------------------------ */
.form-modal__success {
	display: grid;
	justify-items: center;
	gap: 12px;
	padding: 12px 0 0;
	text-align: center;
}

.form-modal__check {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--band);
	color: var(--accent);
}

.form-modal__check svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.form-modal__success-title { margin: 4px 0 0; font-size: 20px; font-weight: 600; line-height: 1.3; }
.form-modal__success-text { margin: 0; color: var(--accent); font-size: 14px; line-height: 1.45; }
.form-modal__success .btn-block { width: 100%; margin-top: 8px; }

/* --- Мобильные: лист снизу с «ручкой» ----------------------------------- */
@media (max-width: 767px) {
	.form-modal,
	.form-modal--wide {
		width: 100%;
		max-height: calc(100dvh - 40px);
		margin: auto 0 0;
		border-radius: 20px 20px 0 0;
	}

	.form-modal[open] { animation-name: form-modal-up; animation-duration: .25s; }

	.form-modal__inner { padding: 30px 20px calc(20px + var(--safe-bottom, 0px)); }

	.form-modal__inner::before {
		content: "";
		position: absolute;
		top: 10px;
		left: 50%;
		width: 40px;
		height: 4px;
		border-radius: 2px;
		background: var(--line);
		translate: -50% 0;
	}

	.form-modal__close { top: 22px; right: 16px; }
	.form-modal__title { font-size: 20px; }
}

@keyframes form-modal-up { from { translate: 0 100%; } }

@media (prefers-reduced-motion: reduce) {
	.form-modal[open], .form-modal[open]::backdrop { animation: none; }
	.form-chip span, .form-modal__close { transition: none; }
}

/* End */
/* /local/js/project/ui/style.css?17937772468608 */
/* /local/templates/project/assets/css/pages/info-blocks.css?179377975422953 */
/* /local/templates/project/assets/css/pages/landing.css?179378046028434 */
/* /local/js/project/forms/style.css?179378243216177 */
