*{box-sizing:border-box}
:root{color:#12243a;background:#fff;font:16px/1.6 system-ui,sans-serif}
body{margin:0}a{color:inherit}p{margin:0 0 1rem}
.wrap{width:min(1120px,calc(100% - 40px));margin-inline:auto}
.bar{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:70px}
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;font-size:1.13rem;font-weight:800;letter-spacing:-.02em}
.brand img{display:block;width:auto;height:56px}
nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
nav a{font-size:.9rem}
.hero{background-color:#102b4b;background-image:linear-gradient(90deg,#0b213a 10%,#102b4b50 85%),repeating-linear-gradient(90deg,#ffffff10 0 1px,transparent 1px 42px),repeating-linear-gradient(#ffffff10 0 1px,transparent 1px 42px),linear-gradient(120deg,#102b4b 35%,#0b5cad);color:#fff;padding-block:clamp(54px,9vw,108px)}
.region{color:#b6dcff;font-weight:650}
h1,h2,h3{line-height:1.1;margin:0 0 1.1rem}
h1{font-size:clamp(2.55rem,7vw,5.25rem);letter-spacing:-.055em}
h2{font-size:clamp(1.75rem,4vw,2.7rem);letter-spacing:-.035em}
h3{font-size:1.16rem;margin-bottom:.7rem}
.hero p:not(.region){max-width:530px;color:#e4f0ff;font-size:1.13rem;margin-bottom:25px}
.button{display:inline-block;background:#0b5cad;color:white;border:0;border-radius:8px;padding:12px 18px;font:inherit;font-weight:700;text-decoration:none;cursor:pointer}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.hero .button{background:white;color:#0b4d8c}
.hero .button-phone{background:transparent;color:#fff;box-shadow:inset 0 0 0 1px #fff}
.hero .button-phone:hover{background:#ffffff20}
.section{padding-block:clamp(38px,6vw,65px)}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:14px}
article{padding:21px;border:1px solid #d5e0ed;background:#f4f8fc;border-radius:12px}
article p{margin:0;color:#435872}.process{background:#e8f1fa}
ol{margin:0;padding-left:22px}li+li{margin-top:8px}
form{max-width:680px}form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.wide{grid-column:1/-1}
label{display:grid;gap:5px;font-weight:650}input,select,textarea{width:100%;border:1px solid #849ab1;border-radius:8px;background:white;padding:10px;font:inherit;color:inherit}textarea{resize:vertical}
footer{background:#0b213a;color:white}
@media(max-width:550px){form{grid-template-columns:1fr}header .bar{padding-block:12px;align-items:flex-start;flex-direction:column}nav{column-gap:13px}}
.form-note{margin:0;color:#435872;font-size:.875rem}
#estimate-popup{width:min(440px,calc(100% - 32px));border:0;border-radius:16px;padding:36px 24px 24px;color:#12243a;box-shadow:0 12px 48px #0b213a55}
#estimate-popup::backdrop{background:#0b213a99}
#estimate-popup form{display:block}
#estimate-popup h2{font-size:1.75rem}
.popup-close{position:absolute;top:3px;right:5px;width:40px;height:40px;border:0;border-radius:8px;background:transparent;color:inherit;font:1.7rem/1 system-ui;cursor:pointer}

.hero:has(.hero-photo){padding-block:clamp(36px,6vw,72px)}
.hero-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,320px);
  align-items:center;
  gap:clamp(24px,5vw,64px);
}
.photo-placeholder{
  display:grid;
  place-items:center;
  aspect-ratio:4/3;
  margin:0;
  padding:12px;
  border:1px dashed #849ab1;
  border-radius:8px;
  background:#e8f1fa;
  text-align:center;
}
.hero-photo{
  display:block;
  width:100%;
  height:auto;
  border-radius:12px;
}
.work-card h3{margin:14px 0 0}
.estimate-example,.faq{background:#f4f8fc}
.estimate-totals{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));
  gap:14px;
  max-width:540px;
  margin:0 0 22px;
}
.estimate-totals div,.estimate-prep{
  padding:16px;
  border:1px solid #d5e0ed;
  border-radius:8px;
}
.estimate-totals div{background:white}
.estimate-totals dt{font-weight:700}
.estimate-totals dd{margin:4px 0 0;color:#435872}
.faq-list{padding-left:22px;margin:0}
.estimate-prep{max-width:680px;margin-bottom:20px;background:#f4f8fc}
.estimate-prep p{margin:0}
.work-card-link{display:block;color:#0b5cad}
.work-card-link + p{margin:8px 0 0}
.work-card-photo{
  display:block;
  width:100%;
  height:140px;
  object-fit:cover;
  object-position:center 55%;
  border-radius:8px;
}
.case-hero h1{max-width:950px;font-size:clamp(2.4rem,6vw,4.7rem)}
.case-gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));
  gap:20px;
}
.case-gallery-pairs{grid-template-columns:repeat(2,minmax(0,1fr))}
.case-gallery figure{
  margin:0;
  overflow:hidden;
  border:1px solid #d5e0ed;
  border-radius:12px;
  background:#f4f8fc;
}
.case-gallery img{display:block;width:100%;height:auto}
.case-gallery figcaption{padding:20px}
.case-gallery p{margin:0;color:#435872}
@media(max-width:760px){
  .hero-layout{grid-template-columns:1fr}
  .hero-photo{max-width:220px}
}
@media(max-width:620px){
  .case-gallery-pairs{grid-template-columns:1fr}
}
