/* Tokens: системный шрифт и локальные ресурсы исключают внешние запросы. */
:root{
  --navy:#102c46;
  --navy-deep:#0b2237;
  --orange:#ffad4a;
  --ink:#142f46;
  --muted:#586b79;
  --line:#dce4e9;
  --paper:#f4f7f9;
  --white:#fff;
  --radius:12px;
  --container:1240px
}
*{
  box-sizing:border-box
}
html{
  scroll-behavior:smooth;
  scroll-padding-top:90px
}
body{
  margin:0;
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.5
}
a{
  color:inherit;
  text-decoration:none
}
button,input,select{
  font:inherit
}
button,a,input,select{
  -webkit-tap-highlight-color:transparent
}
button{
  cursor:pointer
}
button:disabled{
  cursor:not-allowed
}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{
  outline:3px solid #d46c00;
  outline-offset:5px
}
h1,h2,h3,p{
  margin-top:0
}
h1,h2,h3{
  line-height:1.12
}
img{
  max-width:100%
}
[hidden]{
  display:none!important
}
.container{
  width:min(var(--container),calc(100% - 80px));
  margin-inline:auto
}
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.skip-link{
  position:fixed;
  left:16px;
  top:-100px;
  padding:12px;
  background:white;
  z-index:20
}
.skip-link:focus{
  top:12px
}
/* Header component */
.header{
  background:white;
  border-bottom:1px solid var(--line)
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:88px
}
.brand{
  display:flex;
  align-items:center;
  gap:12px
}
.brand__mark{
  display:grid;
  place-items:center;
  width:42px;
  height:44px;
  background:var(--orange);
  font-size:32px;
  font-weight:900;
  clip-path:polygon(0 0,100% 0,100% 72%,50% 100%,0 72%)
}
.brand__name{
  font-size:27px;
  font-weight:850;
  letter-spacing:2px;
  line-height:1.05
}
.brand__name span{
  display:block;
  font-size:9px;
  font-weight:650;
  letter-spacing:2px;
  margin-top:7px
}
.nav{
  display:flex;
  gap:32px;
  color:var(--muted);
  font-size:14px
}
.nav a:hover{
  color:var(--ink);
  text-decoration:underline
}
.header__cta{
  font-size:14px;
  font-weight:650;
  display:flex;
  gap:30px;
  align-items:center
}
/* Hero component */
.hero{
  background:var(--navy);
  color:white;
  padding:65px 0 22px
}
.hero__grid{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:56px;
  align-items:center
}
.eyebrow{
  font-size:11px;
  letter-spacing:1.8px;
  font-weight:700;
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:25px;
  color:#c6d3df
}
.status-dot{
  width:7px;
  height:7px;
  flex:none;
  background:var(--orange);
  border-radius:50%
}
h1{
  font-size:clamp(38px,4.5vw,62px);
  font-weight:650;
  letter-spacing:-2px;
  margin-bottom:26px
}
h1 span{
  color:var(--orange)
}
.hero__lead{
  font-size:19px;
  max-width:510px;
  margin-bottom:15px;
  color:#ecf1f6
}
.hero__description{
  font-size:15px;
  color:#c5d1dc;
  max-width:460px;
  margin-bottom:30px
}
.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap
}
.button{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:22px;
  min-height:52px;
  padding:14px 20px;
  border:1px solid transparent;
  border-radius:6px;
  font-size:14px;
  font-weight:700;
  line-height:1.4;
  transition:background .15s,border-color .15s
}
.button--primary{
  background:var(--orange);
  color:#172d40
}
.button--primary:hover{
  background:#ffc077
}
.button--outline{
  border-color:#658096;
  color:white;
  background:transparent
}
.button--outline:hover{
  background:#203f59
}
.button--dark{
  background:var(--navy);
  color:white
}
.button--dark:hover{
  background:#244a6a
}
.hero__note{
  font-size:12px;
  color:#b5c7d6;
  margin:18px 0 0
}
/* Лёгкий CSS-плейсхолдер: заменить реальным медиаматериалом перед публикацией. */
.hero-media{
  position:relative;
  min-height:412px;
  overflow:hidden;
  border:1px solid #496278;
  border-radius:var(--radius);
  background:linear-gradient(135deg,#27465f,#132d43);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:25px
}
.hero-media:before{
  content:"";
  position:absolute;
  inset:0;
  background-image:linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px);
  background-size:32px 32px;
  pointer-events:none
}
.hero-media__top{
  display:flex;
  justify-content:space-between;
  font-size:10px;
  letter-spacing:1.5px;
  color:#d1dde7;
  z-index:1
}
.module-drawing{
  position:relative;
  width:90%;
  height:205px;
  margin:20px auto
}
.module-drawing__body{
  position:absolute;
  inset:70px 0 10px;
  border:1px solid #adc0cd;
  background:repeating-linear-gradient(90deg,#577081 0,#577081 9px,#466173 10px,#466173 11px);
  transform:skewY(-3deg)
}
.module-drawing__roof{
  position:absolute;
  left:0;
  right:0;
  top:60px;
  height:13px;
  background:#d2a366;
  transform:skewY(-3deg)
}
.module-drawing__chimney{
  position:absolute;
  right:12%;
  top:0;
  width:14px;
  height:88px;
  background:linear-gradient(90deg,#8fa5b5,#d0dce4,#698295);
  border-top:5px solid var(--orange)
}
.module-drawing__door{
  position:absolute;
  bottom:0;
  left:12%;
  width:19%;
  height:85%;
  background:#273f52;
  border:2px solid #a3b3bf
}
.module-drawing__door:after{
  content:"";
  position:absolute;
  right:6px;
  top:50%;
  width:9px;
  height:3px;
  background:var(--orange)
}
.module-drawing__vent{
  position:absolute;
  right:12%;
  top:20%;
  width:20%;
  height:30%;
  border:3px solid #b6c4cf;
  background:repeating-linear-gradient(0deg,#304c60 0,#304c60 3px,#a3b3bf 4px,#a3b3bf 5px)
}
.module-drawing__word{
  position:absolute;
  left:37%;
  bottom:22%;
  font-size:16px;
  font-weight:800;
  letter-spacing:2px
}
.module-drawing__line{
  position:absolute;
  left:0;
  right:0;
  bottom:-15px;
  border-bottom:1px solid #93aabb
}
.hero-media__caption{
  position:relative;
  display:flex;
  align-items:center;
  gap:14px
}
.hero-media__caption strong{
  display:block;
  font-size:14px;
  font-weight:600
}
.hero-media__caption div>span{
  display:block;
  font-size:11px;
  color:#bccdda;
  margin-top:4px
}
.hero-media__icon{
  width:38px;
  height:38px;
  border:1px solid #7892a6;
  border-radius:50%;
  display:grid;
  place-items:center
}
.hero-media__label{
  position:relative;
  font-size:9px;
  letter-spacing:1.5px;
  color:#afc2d1;
  margin-top:20px
}
.proof-strip{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  list-style:none;
  margin:52px 0 0;
  padding:25px 0 0;
  border-top:1px solid #3a5369;
  gap:24px
}
.proof-strip li{
  display:flex;
  flex-direction:column;
  padding-left:28px;
  border-left:1px solid #3a5369
}
.proof-strip li:first-child{
  padding-left:0;
  border:0
}
.proof-strip strong{
  font-size:27px;
  font-weight:600;
  letter-spacing:-.7px
}
.proof-strip strong span{
  font-size:19px
}
.proof-strip li>span{
  font-size:12px;
  color:#bccbd7;
  margin-top:5px
}
.proof-source{
  font-size:10px;
  color:#b8c9d5;
  margin:20px 0 0
}
.proof-source a{
  text-decoration:underline;
  text-underline-offset:3px
}
/* Calculator component */
.section{
  padding:74px 0 80px
}
.section-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:35px;
  margin-bottom:35px
}
.eyebrow--dark{
  color:#536b7e;
  margin-bottom:17px
}
h2{
  font-size:clamp(32px,3.2vw,44px);
  font-weight:650;
  letter-spacing:-1.4px;
  margin-bottom:0
}
.section-heading>p{
  font-size:15px;
  color:var(--muted);
  margin-bottom:3px
}
.calculator__grid{
  display:grid;
  grid-template-columns:1.8fr 1fr;
  gap:24px;
  align-items:stretch
}
.calculator-form{
  border:1px solid var(--line);
  padding:30px;
  border-radius:var(--radius);
  min-width:0
}
.form-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:30px
}
.form-heading h3{
  font-size:22px;
  letter-spacing:-.4px;
  margin-bottom:0
}
.form-heading>span{
  font-size:11px;
  white-space:nowrap;
  background:var(--paper);
  padding:6px 10px;
  border-radius:4px;
  color:var(--muted)
}
fieldset{
  margin:0;
  padding:0;
  border:0;
  min-width:0
}
.fields-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px 22px
}
.field{
  min-width:0
}
.field label{
  display:block;
  font-size:13px;
  font-weight:650;
  margin-bottom:9px
}
.field label span{
  color:#9c4d00
}
.input-unit{
  position:relative
}
.input-unit>span{
  position:absolute;
  right:15px;
  top:15px;
  color:var(--muted);
  font-size:14px;
  pointer-events:none
}
input,select{
  width:100%;
  min-width:0;
  height:52px;
  background:#f8fafb;
  border:1px solid #b5c4d0;
  border-radius:5px;
  color:var(--ink);
  padding:0 13px;
  font-size:14px
}
input{
  padding-right:50px
}
input::placeholder{
  color:#667888
}
select{
  padding-right:8px
}
.field small{
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:7px
}
.form-footer{
  margin-top:31px;
  padding-top:24px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  flex-wrap:wrap
}
.form-footer p{
  font-size:11px;
  color:var(--muted);
  margin:0
}
.form-disclosure{
  font-size:11px;
  color:var(--muted);
  line-height:1.6;
  margin:20px 0 0
}
.estimate-note{
  background:var(--navy);
  color:white;
  border-radius:var(--radius);
  padding:28px;
  position:relative
}
.estimate-note__icon{
  position:absolute;
  top:24px;
  right:25px;
  color:var(--orange);
  font-size:27px
}
.estimate-note .eyebrow{
  font-size:9px;
  margin:8px 35px 23px 0
}
.estimate-note h3{
  font-size:27px;
  font-weight:600;
  letter-spacing:-.6px;
  margin-bottom:17px
}
.estimate-note>p:not(.eyebrow){
  font-size:13px;
  color:#c8d5df
}
.check-list{
  list-style:none;
  padding:0;
  margin:23px 0;
  font-size:12px
}
.check-list li{
  position:relative;
  padding-left:24px;
  margin-bottom:12px
}
.check-list li:before{
  content:"✓";
  position:absolute;
  left:0;
  color:var(--orange)
}
.estimate-note__bottom{
  border-top:1px solid #496075;
  padding-top:17px
}
.estimate-note__bottom strong{
  display:block;
  font-size:12px;
  font-weight:600;
  margin-bottom:6px
}
.estimate-note__bottom span{
  display:block;
  font-size:11px;
  color:#becdda
}
.request-summary{
  grid-column:1/-1;
  padding:30px;
  border:1px solid #b8cfbf;
  background:#f5faf6;
  border-radius:var(--radius)
}
.request-summary h3{
  font-size:24px;
  margin-bottom:15px
}
.request-summary p{
  font-size:14px;
  max-width:800px
}
.request-summary dl{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin:25px 0
}
.request-summary dl div{
  min-width:0
}
.request-summary dt{
  font-size:12px;
  color:var(--muted);
  margin-bottom:6px
}
.request-summary dd{
  margin:0;
  font-weight:600;
  font-size:15px;
  overflow-wrap:anywhere
}
.no-script{
  font-size:13px
}
.no-script a{
  text-decoration:underline
}
.footer{
  border-top:1px solid var(--line);
  padding:25px 0;
  color:var(--muted);
  font-size:11px
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap:20px
}
@media(min-width:1500px){
  .hero{
    padding-top:80px
  }
  .hero-media{
    min-height:445px
  }
}
@media(max-width:1050px){
  .container{
    width:calc(100% - 48px)
  }
  .hero__grid{
    gap:30px
  }
  .hero-media{
    min-height:385px;
    padding:20px
  }
  h1{
    font-size:46px
  }
  .calculator__grid{
    grid-template-columns:1.55fr 1fr
  }
  .calculator-form{
    padding:24px
  }
  .estimate-note{
    padding:24px
  }
  .fields-grid{
    gap:20px 15px
  }
  .form-heading h3{
    font-size:20px
  }
  .form-footer .button{
    width:100%
  }
}
@media(max-width:800px){
  .hero__grid{
    grid-template-columns:1fr
  }
  .hero{
    padding-top:40px
  }
  .hero__content{
    max-width:620px
  }
  h1{
    font-size:clamp(40px,7vw,58px)
  }
  .desktop-break{
    display:none
  }
  .hero-media{
    min-height:340px
  }
  .module-drawing{
    max-width:420px;
    margin:0 auto 20px
  }
  .proof-strip{
    margin-top:32px
  }
  .proof-strip strong{
    font-size:23px
  }
  .proof-strip li{
    padding-left:18px
  }
  .calculator__grid{
    grid-template-columns:1fr
  }
  .section-heading{
    align-items:flex-start;
    flex-direction:column;
    gap:20px
  }
  .section-heading>p br{
    display:none
  }
  .section-heading>p{
    max-width:460px
  }
  .form-footer .button{
    width:auto
  }
  .estimate-note{
    display:block
  }
  .request-summary dl{
    grid-template-columns:1fr 1fr
  }
  .nav{
    gap:20px
  }
}
@media(max-width:520px){
  .container{
    width:calc(100% - 36px)
  }
  .header__inner{
    min-height:74px;
    gap:12px
  }
  .brand__name{
    font-size:22px
  }
  .brand__name span{
    font-size:7px
  }
  .brand__mark{
    width:34px;
    height:38px;
    font-size:26px
  }
  .nav{
    display:none
  }
  .header__cta{
    font-size:12px;
    gap:8px
  }
  .hero{
    padding-top:33px
  }
  .eyebrow{
    font-size:9px;
    letter-spacing:1.2px
  }
  .hero__lead{
    font-size:17px
  }
  .hero__description{
    font-size:14px
  }
  h1{
    letter-spacing:-1.6px
  }
  .hero__actions{
    display:grid;
    grid-template-columns:1fr;
    width:100%
  }
  .hero__note{
    font-size:11px
  }
  .hero-media{
    min-height:320px;
    padding:18px
  }
  .module-drawing__word{
    font-size:12px
  }
  .hero-media__top{
    font-size:8px
  }
  .proof-strip{
    grid-template-columns:1fr;
    gap:17px;
    padding-top:22px
  }
  .proof-strip li,.proof-strip li:first-child{
    padding:0 0 16px;
    border:0;
    border-bottom:1px solid #3a5369
  }
  .proof-strip li:last-child{
    border:0;
    padding-bottom:0
  }
  .proof-strip strong{
    font-size:26px
  }
  .proof-strip li>span{
    font-size:12px
  }
  .section{
    padding:46px 0
  }
  .section-heading{
    margin-bottom:25px
  }
  .calculator-form{
    padding:22px 18px
  }
  .fields-grid{
    grid-template-columns:1fr;
    gap:20px
  }
  .form-heading{
    gap:8px
  }
  .form-heading h3{
    font-size:19px
  }
  .form-heading>span{
    font-size:10px;
    padding:5px 7px
  }
  input,select{
    font-size:16px
  }
  .form-footer .button{
    width:100%
  }
  .form-disclosure{
    font-size:12px
  }
  .request-summary{
    padding:24px 18px
  }
  .request-summary dl{
    grid-template-columns:1fr
  }
  .request-summary .button{
    width:100%
  }
  .footer__inner{
    flex-direction:column;
    gap:8px
  }
}
@media(prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto
  }
  *,*:before,*:after{
    transition:none!important;
    animation:none!important
  }
}
