/* narprint.kz: только то, чего нет в исходном дизайне старого сайта (дизайн страниц перенесён 1:1 из app.css / main.css).
   Новое: форма заявки Битрикс24 вместо облачной, подписи к телефонам, плашка cookie, строка политики в подвале. */

/* ---- Форма заявки (CRM Битрикс24) ---- */
.np-form { width: 100%; min-height: 120px; text-align: left; }
.np-form__loading { padding: 24px 0; text-align: center; color: #5b5b5b; font-size: 14px; line-height: 20px; display: flex; flex-direction: column; gap: 6px; }
.np-form__loading[hidden] { display: none; }
.np-form__loading a { text-decoration: underline; }
.np-form noscript p { padding: 16px 0; text-align: center; }
.modal-content .np-form { margin-top: 20px; }
.np-order-note { margin-top: 12px !important; font-size: 16px !important; font-weight: 600 !important; }
.np-order-note[hidden] { display: none; }
/* на зелёном фоне контактов форма лежит на белой карточке */
.contacts__form { width: 100%; max-width: 440px; }
.contacts__form .np-form { background: #ffffff; color: #1d1d1d; padding: 24px; border-radius: 12px; }
.np-form-head { margin-bottom: 20px; }
.np-form-head p { margin-top: 12px; font-size: 20px; font-weight: 400; line-height: 24px; letter-spacing: 0.2px; }
.questions .np-form { max-width: 520px; }

/* ---- Телефоны с подписью направления ---- */
.np-phones { display: flex; flex-direction: column; gap: 8px; }
.np-phones .contacts__info-phone:first-child { padding-bottom: 0; }
.np-phones .contacts__info-phone:last-child { display: inline-block; }
.np-lbl { margin-left: 10px; font-size: 14px; font-weight: 500; line-height: 20px; opacity: .8; }
.footer__contacts .np-lbl { margin-left: 8px; font-size: 12px; }
@media (max-width: 1023px) { .np-lbl { font-size: 12px; margin-left: 8px; } }

/* ---- Подвал: политика и настройки cookie ---- */
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 12px; line-height: 18px; color: #c9c9c9; }
.footer__legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a:hover, .linkbtn:hover { text-decoration: underline; }
.linkbtn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 1023px) { .footer__legal { margin-top: 16px; justify-content: center; text-align: center; } }

/* ---- Плашка cookie ---- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; max-width: 760px; margin: 0 auto; padding: 16px 20px; background: #ffffff; color: #1d1d1d; border: 1px solid #d6d3d3; border-radius: 12px; box-shadow: -2px 4px 12px 0 #8a8a8a; font-size: 14px; line-height: 20px; display: flex; flex-direction: column; gap: 12px; }
.cookie[hidden] { display: none; }
.cookie .t a { text-decoration: underline; }
.cookie .opts { display: flex; flex-direction: column; gap: 6px; }
.cookie .opts[hidden] { display: none; }
.cookie .opts label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.cookie .opts input { -webkit-appearance: auto; appearance: auto; width: 16px; height: 16px; }
.cookie .opts small { color: #5b5b5b; }
.cookie .row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cookie .btn { font-size: 14px; line-height: 20px; padding: 8px 16px; }
.cookie .btn[hidden], .cookie .linkbtn[hidden] { display: none; }
.cookie .btn--secondary { border: 1px solid #1d1d1d; border-radius: 0; }
body.cookie-open .btn-wpp-icon { bottom: 180px; }
@media (max-width: 1023px) { body.cookie-open .btn-wpp-icon { bottom: 240px; } }
