/* Landing supplied for onviz.ru, adapted to the site header and footer. */
.nw{--blue:#005ec4;--bar:#eaf2fe;--line:#e3e9f1;--crumb:#5b8fd9;font:400 14px/1.4 Gilroy,Arial,sans-serif;background:#fff}
.nw *, .nw *::before, .nw *::after{box-sizing:border-box}
.nw img{max-width:100%;display:block}
.nw .wrap{max-width:1470px;margin:0 auto;padding:0 15px}

.nw{--blue:#005ec4;--blue-d:#004fa6;--soft:#e8f0ff;--hero:#f4f7fb;--card-line:#eef1f4;--txt:#1a1a1a;--muted:#5a6573;--body:#374151;
    --sh:0 8px 22px 6px rgba(0,0,0,.04);--sh2:0 8px 22px 6px rgba(0,0,0,.06);padding-top:30px;color:#000}
.nw h1,.nw h2,.nw h3,.nw p{margin:0}
.nw-sec{margin-bottom:50px}
#podbor,#rasschet{scroll-margin-top:85px}
.nw-eyebrow{display:block;font-size:12px;line-height:1.4;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--blue);margin-bottom:10px}
.nw-badge{display:inline-block;background:var(--soft);color:var(--blue);font-size:14px;line-height:1.3;font-weight:600;padding:9px 16px;border-radius:8px;margin-bottom:16px}
.nw-h2{font-size:36px;line-height:1.1;font-weight:700;color:var(--txt)}
.nw-sub{font-size:16px;line-height:1.5;color:var(--muted);margin-top:14px !important;max-width:760px}
.nw-head{margin-bottom:30px}
.nw-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:52px;padding:0 24px;border-radius:10px;border:1px solid transparent;background:var(--blue);color:#fff;font:600 15px/1.2 Gilroy,Manrope,Arial,sans-serif;text-decoration:none;cursor:pointer;box-shadow:0 6px 12px 6px rgba(0,0,0,.05);transition:background .2s}
.nw-btn:hover{background:var(--blue-d)}
.nw-btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nw-btn--ghost{background:#fff;color:var(--blue);border-color:#c6d8f3;box-shadow:none}
.nw-btn--ghost:hover{background:var(--soft)}
.nw-btn--white{background:#fff;color:var(--blue);box-shadow:none}
.nw-btn--white:hover{background:var(--soft)}
.nw-btn--up{text-transform:uppercase;font-size:14px}

/* Hero */
.nw-hero{position:relative;border-radius:25px;overflow:hidden;background:var(--hero);min-height:600px}
.nw-hero__slide{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease}
.nw-hero__slide.is-on{opacity:1}
.nw-hero__slide img{width:100%;height:100%;object-fit:cover;object-position:right center}
.nw-hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(244,247,251,.97) 0,rgba(244,247,251,.9) 30%,rgba(244,247,251,0) 55%)}
.nw-hero__body{position:relative;z-index:2;padding:26px 48px 50px;max-width:720px}
.nw-crumbs{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0 0 16px;padding:0;font-size:12px;line-height:1.4;color:var(--crumb)}
.nw-crumbs li+li::before{content:">";margin-right:6px}
.nw-crumbs a{color:var(--crumb);text-decoration:none}
.nw-crumbs a:hover{text-decoration:underline}
.nw-hero h1{font-size:42px;line-height:1.12;font-weight:700;color:var(--txt);max-width:640px}
.nw-hero__lead{font-size:18px;line-height:1.4;color:var(--muted);max-width:560px;margin-top:20px !important}
.nw-feats{display:flex;gap:22px;margin:30px 0 34px;padding:0;list-style:none}
.nw-feats li{width:104px;text-align:center;font-size:13px;line-height:1.25;font-weight:500;color:var(--txt)}
.nw-ico{width:56px;height:56px;border-radius:50%;background:var(--soft);display:grid;place-items:center;margin:0 auto 10px}
.nw-ico svg{width:26px;height:26px;stroke:var(--blue);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.nw-hero .nw-ico{background:#fff;box-shadow:0 4px 12px rgba(0,60,140,.06)}
.nw-hero__btns{display:flex;flex-wrap:wrap;gap:12px}
.nw-dots{position:absolute;right:28px;bottom:24px;z-index:2;display:flex;gap:8px}
.nw-dots button{width:10px;height:10px;border-radius:50%;border:0;padding:0;background:rgba(255,255,255,.7);box-shadow:0 0 0 1px rgba(0,0,0,.08);cursor:pointer}
.nw-dots button.is-on{background:var(--blue)}

/* Этапы */
.nw-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.nw-steps li{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e8ecf1;border-radius:14px;padding:16px 18px;font-size:16px;line-height:1.25;font-weight:600;color:var(--txt)}
.nw-num{flex:none;width:32px;height:32px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:14px;font-weight:700}

/* Плитки проёмов */
.nw-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.nw-tile{position:relative;display:block;aspect-ratio:1/1;border-radius:20px;overflow:hidden;background:#eef1f4;color:#fff;text-decoration:none}
.nw-tile img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.nw-tile:hover img{transform:scale(1.04)}
.nw-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 62%,rgba(25,18,12,.5) 100%)}
.nw-tile__cap{position:absolute;left:28px;right:28px;bottom:26px;z-index:1}
.nw-tile__cap b{display:block;font-size:20px;line-height:1.25;font-weight:600}
.nw-tile__cap small{display:block;font-size:15px;line-height:1.35;margin-top:6px;opacity:.95}
.nw-tile__arr{flex:none;width:40px;height:40px;border-radius:50%;background:#fff;display:grid;place-items:center}
.nw-tile__arr svg{width:18px;height:18px;stroke:var(--blue);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Баннер «Покажите окно» */
.nw-banner{position:relative;border-radius:25px;overflow:hidden;min-height:400px;display:flex;align-items:center;background:#efe8df}
.nw-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center}
.nw-banner__body{position:relative;z-index:1;padding:50px 48px;max-width:560px}
.nw-banner .nw-h2{font-weight:600;color:#000}
.nw-banner__p{font-size:18px;line-height:1.4;color:#3b3b3b;margin:16px 0 30px !important}
.nw-banner .nw-badge{background:#fff}

/* Блок «Контроль на каждом этапе» — как «Почему выбирают нас» */
.nw-why{background:var(--blue);border-radius:25px;padding:50px 48px}
.nw-why .nw-eyebrow{color:#fff;opacity:.85}
.nw-why .nw-h2{color:#fff}
.nw-why__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:30px}
.nw-wcard{background:#fff;border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.nw-wcard__body{padding:22px 22px 18px}
.nw-wcard h3{font-size:17px;line-height:1.25;font-weight:700;color:var(--txt);text-transform:uppercase}
.nw-wcard p{font-size:14px;line-height:1.5;color:var(--body);margin-top:10px !important}
.nw-wcard__img{margin-top:auto;aspect-ratio:1/1;overflow:hidden}
.nw-wcard__img img{width:100%;height:100%;object-fit:cover}

/* Premium */
.nw-premium{display:block;border-radius:25px;overflow:hidden;background:#0b0b0c}
.nw-premium img{width:100%;height:auto}

/* Галерея объектов */
.nw-gal-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:30px}
.nw-arrows{display:flex;gap:10px;flex:none}
.nw-arrows button{width:44px;height:44px;border-radius:50%;border:1px solid #c6d8f3;background:#fff;display:grid;place-items:center;cursor:pointer;transition:background .2s}
.nw-arrows button:hover{background:var(--soft)}
.nw-arrows svg{width:18px;height:18px;stroke:var(--blue);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.nw-gal{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding-bottom:4px}
.nw-gal::-webkit-scrollbar{display:none}
.nw-gal figure{position:relative;flex:0 0 calc((100% - 60px)/4);aspect-ratio:2/3;margin:0;border-radius:20px;overflow:hidden;scroll-snap-align:start;background:#eef1f4}
.nw-gal img{width:100%;height:100%;object-fit:cover}
.nw-gal figcaption{position:absolute;left:16px;bottom:16px;z-index:1;background:#fff;color:var(--blue);font-size:14px;font-weight:600;line-height:1.3;padding:8px 14px;border-radius:8px;box-shadow:0 4px 14px rgba(0,0,0,.08)}

/* Форма — как measurer-block */
.nw-lead{border-radius:25px;overflow:hidden;box-shadow:var(--sh2);background:linear-gradient(155.16deg,#f0f5ff 48.62%,#b8cdf8 116.29%);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:center;padding:64px 80px}
.nw-lead .nw-h2{font-weight:600;color:#000}
.nw-lead__p{font-size:18px;line-height:1.4;color:#000;margin-top:16px !important}
.nw-checks{list-style:none;margin:26px 0 0;padding:0}
.nw-checks li{position:relative;padding-left:34px;font-size:16px;line-height:1.4;margin-bottom:12px;color:var(--txt)}
.nw-checks li::before{content:"";position:absolute;left:0;top:-1px;width:24px;height:24px;border-radius:50%;background:var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat}
.nw-form{display:grid;gap:14px}
.nw-form--2{grid-template-columns:1fr 1fr}
.nw-form .full{grid-column:1/-1}
.nw-field{position:relative}
.nw-field svg{position:absolute;left:20px;top:50%;width:20px;height:20px;margin-top:-10px;stroke:#9aa5b4;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.nw-in{width:100%;height:52px;border:1px solid var(--card-line);border-radius:10px;background:#fff;box-shadow:var(--sh2);padding:0 16px;font:400 14px Gilroy,Manrope,Arial,sans-serif;color:#000;outline:0;transition:border-color .2s}
.nw-field .nw-in{padding-left:56px}
.nw-in:focus{border-color:var(--blue)}
.nw-in::placeholder{color:#9aa5b4}
textarea.nw-in{height:110px;padding:16px;resize:vertical}
.nw-file{display:flex;flex-direction:column;gap:8px;padding:18px;border:1px dashed #b8c9e3;border-radius:10px;background:#fff;box-shadow:var(--sh2)}
.nw-file__title{font-size:15px;font-weight:600;color:var(--txt)}
.nw-file input{max-width:100%;font:400 14px Gilroy,Arial,sans-serif;color:var(--txt)}
.nw-file input::file-selector-button{margin-right:14px;padding:10px 14px;border:0;border-radius:8px;background:var(--soft);color:var(--blue);font:600 14px Gilroy,Arial,sans-serif;cursor:pointer}
.nw-file__hint{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.nw-file.onviz-ui__has-error{border-color:#c63737}
.nw-form-error{display:block;color:#c63737;font-size:12px}
.nw-form-status{font-size:14px;color:#127a3b}
.nw-form-status.is-error{color:#c63737}
.nw-consent{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.45;color:#000}
.nw-consent input{width:18px;height:18px;flex:none;margin:0;accent-color:var(--blue)}
.nw-consent a{color:inherit}
.nw-form .nw-btn{width:100%}
.nw-form .onviz-ui__form-error{display:block;color:#c63737;font-size:12px;margin-top:6px}
.nw-form .onviz-ui__success{grid-column:1/-1;color:#127a3b;font-size:15px;font-weight:600}
.nw-form .onviz-ui__has-error .nw-in{border-color:#c63737}
.nw-ok{display:none;font-size:15px;font-weight:600;color:#127a3b}

/* Отзывы */
.nw-reviews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
.nw-reviews img{width:100%;height:auto;border-radius:14px;box-shadow:var(--sh);border:1px solid var(--card-line)}
.nw-rates{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}
.nw-rate{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid var(--card-line);border-radius:14px;box-shadow:var(--sh);padding:18px 22px}
.nw-rate img{height:34px;width:auto}

/* FAQ — как на /umnye-shtory */
.nw-faq{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:30px;align-items:start}
.nw-faq__list{display:grid;gap:14px}
.nw-faq details{background:#e6effe;border-radius:15px;padding:0 25px}
.nw-faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 0;font-size:16px;line-height:1.35;font-weight:700;color:var(--txt)}
.nw-faq summary::-webkit-details-marker{display:none}
.nw-faq summary::after{content:"";flex:none;width:28px;height:28px;border-radius:50%;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005ec4' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat;transition:transform .2s}
.nw-faq details[open] summary::after{transform:rotate(45deg)}
.nw-faq details p{font-size:14px;line-height:1.55;color:var(--body);padding:0 0 22px}
.nw-ask{position:sticky;top:20px;background:var(--blue);color:#fff;border-radius:15px;padding:30px}
.nw-ask b{display:block;font-size:22px;line-height:1.2}
.nw-ask p{font-size:14px;line-height:1.5;opacity:.9;margin:10px 0 20px !important}
.nw-ask__tel{display:block;font-size:24px;font-weight:700;color:#fff;text-decoration:none;margin-bottom:18px}

/* Большая форма */
.nw-lead--wide{display:block;padding:60px 80px;text-align:center}
.nw-lead--wide .nw-lead__p{max-width:620px;margin-left:auto !important;margin-right:auto !important}
.nw-lead--wide .nw-form{max-width:820px;margin:34px auto 0;text-align:left}



@media (max-width:1199px){
  .nw-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
  .nw-why__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nw-gal figure{flex-basis:calc((100% - 40px)/3)}
  .nw-lead{padding:50px;gap:30px}
  .nw-lead--wide{padding:50px}
  .nw-feats{flex-wrap:wrap}
}
@media (max-width:960px){



  .nw{padding-top:20px}
  .nw-sec{margin-bottom:30px}
  .nw-h2{font-size:28px}
  .nw-hero{min-height:0;background:var(--hero)}
  .nw-hero::before{display:none}
  .nw-hero__slides{position:relative;height:300px}
  .nw-hero__body{padding:22px 24px 30px;max-width:none}
  .nw-crumbs{margin-bottom:14px}
  .nw-hero h1{font-size:32px}
  .nw-dots{top:270px;bottom:auto;right:20px}
  .nw-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .nw-tile__cap{left:20px;right:20px;bottom:18px}
  .nw-banner{display:block;min-height:0}
  .nw-banner>img{position:relative;height:240px}
  .nw-banner__body{padding:26px 24px 30px;max-width:none}
  .nw-why{padding:30px 24px}
  .nw-gal figure{flex-basis:calc((100% - 20px)/2)}
  .nw-lead{grid-template-columns:1fr;padding:36px 24px}
  .nw-lead--wide{padding:36px 24px}
  .nw-reviews{gap:14px}
  .nw-faq{grid-template-columns:1fr}
  .nw-ask{position:static}
}
@media (max-width:640px){


  .nw-h2{font-size:22px;line-height:1.2}
  .nw-badge{font-size:13px;padding:7px 12px}
  .nw-sub,.nw-banner__p,.nw-lead__p,.nw-hero__lead{font-size:15px}
  .nw-hero__slides{height:220px}
  .nw-dots{top:192px}
  .nw-hero h1{font-size:26px}
  .nw-feats{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:24px 0}
  .nw-feats li{width:auto;display:flex;align-items:center;gap:10px;text-align:left}
  .nw-feats .nw-ico{margin:0;flex:none;width:44px;height:44px}
  .nw-feats .nw-ico svg{width:22px;height:22px}
  .nw-hero__btns .nw-btn,.nw-banner .nw-btn{width:100%}
  .nw-steps{grid-template-columns:1fr 1fr;gap:10px}
  .nw-steps li{font-size:14px;padding:12px;gap:10px}
  .nw-tiles{grid-template-columns:1fr}
  .nw-tile__cap b{font-size:18px}
  .nw-tile__cap small{font-size:14px}
  .nw-banner>img{height:180px}
  .nw-why__grid{grid-template-columns:1fr}
  .nw-gal-head{align-items:center}
  .nw-gal figure{flex-basis:78%}
  .nw-form--2{grid-template-columns:1fr}
  .nw-reviews{grid-template-columns:1fr;max-width:440px;margin:0 auto}
  .nw-rates{grid-template-columns:1fr}
  .nw-rate{flex-wrap:wrap;justify-content:center}
  .nw-rate .nw-btn{width:100%}
  .nw-faq details{padding:0 18px}
  .nw-faq summary{font-size:15px;padding:18px 0}
}
@media (prefers-reduced-motion:reduce){.nw *{transition:none !important;scroll-behavior:auto !important}}
