:root {
  --navy: #0d1b29;
  --navy-2: #132b40;
  --ink: #111d29;
  --muted: #66717c;
  --line: #d5dbe0;
  --soft: #f1f3f4;
  --white: #ffffff;
  --yellow: #ffb400;
  --yellow-dark: #8a6500;
  --shadow: 0 24px 60px rgba(13, 27, 41, .12);
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 104px 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow::before { width: 36px; height: 2px; background: currentColor; content: ""; }
.eyebrow.dark { color: var(--yellow-dark); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  line-height: .99;
  letter-spacing: -.035em;
}
h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(48px, 4.4vw, 76px); text-transform: uppercase; }
h2 { margin-bottom: 0; font-size: clamp(42px, 5vw, 72px); text-transform: uppercase; }
h3 { font-size: 28px; }
.button {
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 15px 30px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--navy); background: var(--yellow); }
.button.primary:hover { background: #ffc127; }
.button.glass { color: white; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.button.glass:hover { border-color: white; background: rgba(255,255,255,.14); }
.button.wide { width: 100%; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(13,27,41,.97);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 92px; display: flex; align-items: center; gap: 28px; }
.logo { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; color: white; text-decoration: none; white-space: nowrap; }
.logo-facade-mark {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 42px;
  overflow: hidden;
  border: 1px solid #d6dce1;
  background:
    linear-gradient(#71808c 0 0) 5px 7px / 6px 4px no-repeat,
    linear-gradient(#71808c 0 0) 5px 18px / 6px 4px no-repeat,
    linear-gradient(#71808c 0 0) 5px 29px / 6px 4px no-repeat,
    linear-gradient(#31485c 0 0) 0 11px / 100% 1px no-repeat,
    linear-gradient(#31485c 0 0) 0 24px / 100% 1px no-repeat,
    var(--navy-2);
}
.logo-facade-mark::before {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 13px;
  width: 1px;
  background: #31485c;
  content: "";
}
.logo-window {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 5px;
  width: 6px;
  height: 4px;
  background: #71808c;
}
.logo-insulation-patch {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 0;
  left: 0;
  height: 10px;
  background: var(--yellow);
  transform: translateY(-50%);
}
.logo-copy {
  display: block;
}
.logo-copy strong {
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 32px; }
.main-nav a { color: #d1d8df; font-size: 14px; font-weight: 800; text-decoration: none; }
.main-nav a:hover { color: white; }
.header-phone { color: white; font-size: 19px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 10px;
  background: transparent;
}
.menu-button span { display: block; height: 2px; margin: 5px 0; background: white; }

.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--navy);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,17,28,.97) 0%, rgba(5,17,28,.88) 42%, rgba(5,17,28,.3) 72%, rgba(5,17,28,.08) 100%);
}
.hero-inner { position: relative; padding: 68px 0 58px; }
.hero-copy { max-width: 800px; }
.hero-lead { max-width: 690px; margin-bottom: 28px; color: #d4dce3; font-size: 19px; }
.hero-actions { display: flex; gap: 14px; }
.hero-facts {
  max-width: 840px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
  border-top: 1px solid rgba(255,255,255,.25);
}
.hero-facts div { min-height: 88px; display: flex; flex-direction: column; justify-content: center; padding: 20px 24px 12px 0; border-right: 1px solid rgba(255,255,255,.18); }
.hero-facts div + div { padding-left: 24px; }
.hero-facts div:last-child { border-right: 0; }
.hero-facts b { font-size: 18px; }
.hero-facts span { color: #acbac6; font-size: 13px; }

.section-heading { margin-bottom: 52px; }
.split-heading { display: grid; grid-template-columns: 1.1fr .72fr; align-items: end; gap: 70px; }
.split-heading > p { margin-bottom: 5px; color: var(--muted); font-size: 18px; }
.cities-section { background: var(--soft); }
.city-search { max-width: 660px; margin-bottom: 32px; }
.city-search > label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.city-search > div { position: relative; }
.city-search svg {
  position: absolute;
  top: 20px;
  left: 21px;
  width: 22px;
  fill: none;
  stroke: #697582;
  stroke-linecap: round;
  stroke-width: 2;
}
.city-search input {
  width: 100%;
  height: 64px;
  border: 1px solid #cbd2d8;
  border-radius: 0;
  padding: 0 20px 0 57px;
  color: var(--ink);
  background: white;
  outline: none;
}
.city-search input:focus { border-color: var(--yellow-dark); box-shadow: 0 0 0 3px rgba(255,180,0,.18); }
.search-empty { margin: 10px 0 0; color: #8f2b21; font-weight: 700; }
.city-directory { columns: 4 230px; column-gap: 48px; padding-top: 6px; }
.city-group { break-inside: avoid; margin: 0 0 30px; }
.city-group[hidden], .city-entry[hidden] { display: none; }
.city-group h3 { margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--yellow); color: var(--yellow-dark); font-size: 22px; }
.city-group > div { display: grid; gap: 6px; }
.city-entry { color: #4d5964; font-size: 15px; line-height: 1.35; text-decoration: none; }
.city-entry.active-city { color: var(--ink); font-weight: 900; text-decoration: none; }
.city-entry.active-city:hover { color: var(--yellow-dark); }

.service-list { border-top: 1px solid var(--line); }
.service-list article { display: grid; grid-template-columns: 60px 1fr; align-items: start; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.service-list article > span { color: var(--yellow-dark); font-weight: 900; }
.service-list p { max-width: 980px; margin: 0; color: var(--muted); font-size: 20px; line-height: 1.45; }
.service-list p strong { color: var(--ink); font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif; font-size: 25px; line-height: 1.15; text-transform: uppercase; }
.thermos { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; margin-top: 24px; padding: 36px 42px; color: white; background: var(--navy-2); }
.thermos small { color: var(--yellow); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.thermos h3 { margin: 10px 0 0; font-size: 34px; text-transform: uppercase; }
.thermos p { margin: 0; color: #cbd6df; font-size: 17px; }

.mcd-section { padding: 76px 0; color: white; background: var(--navy); }
.mcd-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(350px, .55fr); gap: 52px; align-items: center; }
.mcd-main h2 { max-width: 760px; margin-bottom: 18px; font-size: clamp(44px, 4vw, 58px); }
.mcd-lead { max-width: 760px; margin: 0 0 26px; color: #d4dce3; font-size: 17px; line-height: 1.5; }
.mcd-steps { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.2); list-style: none; }
.mcd-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 15px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.mcd-steps li > span { color: var(--yellow); font-weight: 900; }
.mcd-steps b { display: block; margin-bottom: 3px; font-size: 17px; }
.mcd-steps p { margin: 0; color: #c1ccd5; font-size: 14px; line-height: 1.45; }
.mcd-payment { padding: 34px; color: var(--ink); background: var(--yellow); }
.mcd-payment small { font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.mcd-payment h3 { margin: 16px 0; font-size: 32px; line-height: 1.05; text-transform: uppercase; }
.mcd-payment p { margin-bottom: 24px; font-size: 16px; line-height: 1.5; }
.mcd-payment .button { width: 100%; color: white; background: var(--navy); }

.company-section { background: var(--soft); }
.company-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.company-lead { margin-top: 28px; color: var(--muted); font-size: 18px; }
.company-facts { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border: 1px solid var(--line); background: white; box-shadow: var(--shadow); }
.company-facts div { min-height: 170px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.company-facts div:nth-child(2n) { border-right: 0; }
.company-facts div:nth-last-child(-n+2) { border-bottom: 0; }
.company-facts dt { margin-bottom: 12px; color: var(--yellow-dark); font-family: "Arial Narrow", Arial, sans-serif; font-size: 36px; font-weight: 900; }
.company-facts dd { margin: 0; color: var(--muted); }

.final-cta { padding: 76px 0; color: white; background: var(--navy-2); }
.final-layout { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.final-layout h2 { font-size: clamp(38px, 4vw, 60px); }
.final-layout p:not(.eyebrow) { margin: 18px 0 0; color: #c4ced7; }
.final-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 480px; }
.final-actions > a:last-child { grid-column: 1 / -1; color: white; font-size: 22px; font-weight: 900; text-align: center; text-decoration: none; }

.site-footer { padding: 62px 0 24px; color: white; background: #08131e; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .9fr .65fr; gap: 55px; }
.footer-logo { margin-bottom: 18px; }
.footer-grid p { max-width: 360px; color: #a7b4bf; }
.requisites, .footer-contact { display: flex; flex-direction: column; gap: 6px; }
.requisites span { color: #a7b4bf; }
.footer-contact a { color: white; font-weight: 800; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); color: #83929e; font-size: 13px; }

.lead-dialog {
  width: min(560px, calc(100% - 30px));
  border: 0;
  padding: 40px;
  color: var(--ink);
  box-shadow: 0 40px 100px rgba(0,0,0,.35);
}
.lead-dialog::backdrop { background: rgba(5,14,22,.8); backdrop-filter: blur(4px); }
.lead-dialog h2 { margin-bottom: 15px; font-size: 43px; }
.lead-dialog > p:not(.eyebrow) { color: var(--muted); }
.dialog-close {
  position: absolute;
  top: 13px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  color: #55626e;
  background: transparent;
  font-size: 34px;
  cursor: pointer;
}
.lead-dialog form { display: grid; gap: 15px; margin-top: 25px; }
.lead-dialog label span { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 900; }
.lead-dialog input { width: 100%; height: 56px; border: 1px solid #cbd2d8; border-radius: 0; padding: 0 15px; }
.lead-dialog input:focus { border-color: var(--yellow-dark); outline: 3px solid rgba(255,180,0,.18); }
.lead-dialog small { color: var(--muted); font-size: 11px; }

@media (max-width: 1040px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 13px; }
  .header-phone { font-size: 16px; }
  .split-heading { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .mcd-layout { grid-template-columns: 1fr; gap: 38px; }
  .mcd-payment { max-width: 620px; }
  .company-layout { gap: 40px; }
}

@media (max-width: 820px) {
  :root { --container: min(100% - 28px, 720px); }
  .section { padding: 72px 0; }
  .header-inner { min-height: 76px; }
  .logo-copy strong { font-size: 16px; }
  .menu-button { display: block; margin-left: auto; }
  .header-phone { margin-left: auto; }
  .main-nav {
    position: absolute;
    inset: 76px 0 auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 14px 22px;
    background: var(--navy);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 15px; }
  .hero { min-height: 720px; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,17,28,.96), rgba(5,17,28,.72)); }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 440px; }
  .hero-facts { grid-template-columns: 1fr; margin-top: 38px; }
  .hero-facts div, .hero-facts div + div { min-height: 67px; padding: 13px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .service-list article { grid-template-columns: 48px 1fr; gap: 12px 18px; }
  .service-list p { grid-column: 2; }
  .thermos, .company-layout, .final-layout, .footer-grid { grid-template-columns: 1fr; }
  .company-facts { max-width: 620px; }
  .final-actions { min-width: 0; }
}

@media (max-width: 560px) {
  h1 { font-size: 46px; }
  h2 { font-size: 38px; }
  .header-phone { display: none; }
  .logo-copy strong { font-size: 14px; }
  .logo-facade-mark {
    flex-basis: 31px;
    width: 31px;
    height: 34px;
    background:
      linear-gradient(#71808c 0 0) 4px 6px / 5px 3px no-repeat,
      linear-gradient(#71808c 0 0) 4px 15px / 5px 3px no-repeat,
      linear-gradient(#71808c 0 0) 4px 24px / 5px 3px no-repeat,
      linear-gradient(#31485c 0 0) 0 10px / 100% 1px no-repeat,
      linear-gradient(#31485c 0 0) 0 21px / 100% 1px no-repeat,
      var(--navy-2);
  }
  .logo-facade-mark::before { left: 10px; }
  .logo-window { top: 15px; left: 4px; width: 5px; height: 3px; }
  .logo-insulation-patch { height: 8px; }
  .hero { min-height: 760px; }
  .hero-inner { padding: 62px 0; }
  .hero-lead { font-size: 17px; }
  .city-directory { columns: 2 130px; column-gap: 28px; }
  .service-list article { grid-template-columns: 38px 1fr; }
  .thermos { gap: 25px; padding: 28px 23px; }
  .mcd-payment { padding: 28px 24px; }
  .mcd-payment h3 { font-size: 30px; }
  .company-facts { grid-template-columns: 1fr; }
  .company-facts div { min-height: 130px; border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .company-facts div:last-child { border-bottom: 0 !important; }
  .final-actions { grid-template-columns: 1fr; }
  .final-actions > a:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .lead-dialog { padding: 32px 22px 24px; }
}
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.lead-form-status {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.45;
}

.lead-form-status.success {
  color: #1d6f42;
}

.lead-form-status.error {
  color: #b42318;
}
