/* Общие стили сайта: шрифты со своего сервера, окно заявки, о компании, полоса предпросмотра. */
@font-face{font-family:"Onest";font-style:normal;font-display:swap;font-weight:100 900;src:url(/fonts/onest-cyrillic-ext-wght-normal.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"Onest";font-style:normal;font-display:swap;font-weight:100 900;src:url(/fonts/onest-cyrillic-wght-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-style:normal;font-display:swap;font-weight:100 900;src:url(/fonts/onest-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Onest";font-style:normal;font-display:swap;font-weight:100 900;src:url(/fonts/onest-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Unbounded";font-style:normal;font-display:swap;font-weight:200 900;src:url(/fonts/unbounded-cyrillic-ext-wght-normal.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"Unbounded";font-style:normal;font-display:swap;font-weight:200 900;src:url(/fonts/unbounded-cyrillic-wght-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Unbounded";font-style:normal;font-display:swap;font-weight:200 900;src:url(/fonts/unbounded-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Unbounded";font-style:normal;font-display:swap;font-weight:200 900;src:url(/fonts/unbounded-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

[hidden]{display:none!important}
html.lead-open{overflow:hidden}

/* ---------- предпросмотр из CRM */
.preview-bar{position:fixed;left:50%;bottom:14px;translate:-50% 0;z-index:200;display:flex;gap:14px;align-items:center;padding:10px 16px;border-radius:999px;background:#1a1310;color:#fff;font:600 14px/1.2 "Onest",system-ui,sans-serif;box-shadow:0 10px 30px rgba(0,0,0,.3)}
.preview-bar a{color:#cbdb72;text-decoration:underline}

/* ---------- о компании */
.about{max-width:1560px;margin:auto;padding:clamp(70px,12vh,140px) clamp(18px,6vw,110px);display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,5vw,90px);align-items:start}
.about__text{display:grid;gap:1em;font-size:clamp(1.05rem,1.45vw,1.35rem);line-height:1.5;max-width:60ch}
@media(max-width:899px){.about{grid-template-columns:1fr}}

/* ---------- окно заявки */
.lead{position:fixed;inset:0;z-index:150;display:grid;place-items:center;padding:16px;font-family:"Onest",system-ui,sans-serif}
.lead__back{position:absolute;inset:0;background:rgba(16,12,10,.62);backdrop-filter:blur(4px)}
.lead__card,.lead__done{position:relative;width:min(100%,460px);max-height:calc(100svh - 32px);overflow:auto;display:grid;gap:12px;padding:26px 24px 22px;border-radius:22px;background:#fbfaf6;color:#1a1310;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.lead__t{font:800 28px/1.05 "Onest",system-ui,sans-serif;letter-spacing:-.02em;margin:0;padding-right:40px}
.lead__lead{margin:0;color:#5c544c;font-size:15px;line-height:1.45}
.lead__items{margin:0;padding:10px 12px;list-style:none;display:grid;gap:4px;border-radius:12px;background:#efece4;font-size:14px}
.lead__items li::before{content:"";display:inline-block;width:6px;height:6px;margin:0 8px 2px 0;border-radius:50%;background:#4a7c00}
.lead__f{display:grid;gap:5px;font-size:13px;font-weight:600;color:#5c544c}
.lead__f input,.lead__f textarea{font:400 16px/1.4 "Onest",system-ui,sans-serif;color:#1a1310;padding:11px 13px;border-radius:12px;border:1.5px solid #d8d2c6;background:#fff;resize:vertical}
.lead__f input:focus-visible,.lead__f textarea:focus-visible{outline:none;border-color:#4a7c00;box-shadow:0 0 0 3px rgba(74,124,0,.2)}
.lead__trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.lead__err{margin:0;padding:10px 12px;border-radius:10px;background:#fde8e4;color:#8a1c0c;font-size:14px}
.lead__go{justify-self:start;padding:13px 22px;border-radius:999px;border:0;background:#1a1310;color:#fff;font:600 16px "Onest",system-ui,sans-serif;cursor:pointer;transition:background .2s}
.lead__go:hover{background:#4a7c00}
.lead__go:disabled{opacity:.6;cursor:progress}
.lead__x{position:absolute;right:14px;top:14px;width:40px;height:40px;border-radius:50%;border:0;background:#efece4;display:grid;place-items:center;cursor:pointer}
.lead__x svg{width:18px;height:18px;stroke:#1a1310;stroke-width:2;fill:none}
.lead__done p{margin:0;font-size:18px;line-height:1.45}
@media(prefers-color-scheme:dark){
  .lead__card,.lead__done{background:#1d1a17;color:#f3efe7}
  .lead__lead,.lead__f{color:#b6ada2}
  .lead__items,.lead__x{background:#2b2723}
  .lead__x svg{stroke:#f3efe7}
  .lead__f input,.lead__f textarea{background:#14110f;color:#f3efe7;border-color:#3d3731}
  .lead__go{background:#cbdb72;color:#14110f}
  .lead__err{background:#3b1d16;color:#ffb4a3}
}
