:root {
  --navy: #062f47;
  --navy-deep: #031f30;
  --blue: #0c7fb0;
  --blue-bright: #2eb8dc;
  --aqua: #9eeaf4;
  --mist: #eef8fb;
  --ice: #f7fbfc;
  --white: #ffffff;
  --ink: #102a39;
  --muted: #59717e;
  --line: #d7e6eb;
  --shadow: 0 24px 70px rgba(3, 44, 66, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy-deep);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.topbar {
  color: rgba(255, 255, 255, 0.88);
  background: var(--navy-deep);
  font-size: 0.86rem;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar p {
  margin: 0;
}

.topbar a {
  color: var(--aqua);
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(215, 230, 235, 0.88);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 244px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 0.93rem;
  font-weight: 750;
}

.site-nav > a:not(.button) {
  position: relative;
  padding-block: 8px;
}

.site-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--blue-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:not(.button):hover::after,
.site-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  position: absolute;
  width: 21px;
  height: 2px;
  background: var(--navy);
  border-radius: 4px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-lines {
  position: relative;
  display: block;
  margin: auto;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  left: 0;
}

.menu-toggle-lines::before {
  top: -7px;
}

.menu-toggle-lines::after {
  top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #075f8a);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(12, 127, 176, 0.22);
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(12, 127, 176, 0.3);
}

.button-small {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 0.88rem;
}

.button-ghost {
  min-height: 58px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 7px 20px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(6, 47, 71, 0.14);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.button-ghost span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.button-ghost strong {
  font-size: 0.97rem;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: var(--white);
  box-shadow: 0 14px 30px rgba(3, 44, 66, 0.1);
}

.button-full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(238, 248, 251, 0.97) 0%, rgba(255, 255, 255, 0.98) 54%, rgba(225, 247, 251, 0.95) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(12, 127, 176, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 127, 176, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to right, black, transparent 65%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.hero-glow-one {
  width: 360px;
  height: 360px;
  top: -110px;
  right: 18%;
  background: rgba(46, 184, 220, 0.14);
}

.hero-glow-two {
  width: 220px;
  height: 220px;
  bottom: -60px;
  left: 6%;
  background: rgba(158, 234, 244, 0.3);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 54px;
  padding-block: 76px 84px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(3.3rem, 6.4vw, 6.25rem);
}

.hero h1 span {
  position: relative;
  color: var(--blue);
}

.hero h1 span::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 3px;
  left: 2px;
  height: 9px;
  z-index: -1;
  background: rgba(46, 184, 220, 0.24);
  border-radius: 999px;
}

.hero-lead {
  max-width: 620px;
  margin: 26px 0 30px;
  color: #3f606f;
  font-size: 1.11rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 13px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 26px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-points span::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--blue-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(46, 184, 220, 0.13);
}

.hero-art {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.hero-art-card {
  width: min(100%, 590px);
  padding: 16px;
  background: rgba(255, 255, 255, 0.63);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 42px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
  backdrop-filter: blur(14px);
}

.hero-art-card img {
  width: 100%;
  height: auto;
  border-radius: 30px;
}

.floating-badge {
  position: absolute;
  z-index: 2;
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(215, 230, 235, 0.9);
  border-radius: 17px;
  box-shadow: 0 16px 38px rgba(3, 44, 66, 0.13);
}

.floating-badge strong,
.floating-badge small {
  display: block;
}

.floating-badge strong {
  font-size: 0.88rem;
}

.floating-badge small {
  color: var(--muted);
  font-size: 0.74rem;
}

.badge-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--blue);
  border-radius: 11px;
  font-weight: 900;
}

.badge-top {
  top: 54px;
  left: -12px;
}

.badge-bottom {
  right: -5px;
  bottom: 56px;
}

.trust-strip {
  background: var(--navy);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  min-height: 122px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-grid > div:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.trust-grid span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.section {
  padding-block: 110px;
}

.section h2 {
  font-size: clamp(2.4rem, 4vw, 4.15rem);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 45px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 1.02rem;
}

.services {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 385px;
  display: flex;
  flex-direction: column;
  padding: 31px;
  overflow: hidden;
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -54px;
  bottom: -60px;
  background: radial-gradient(circle, rgba(46, 184, 220, 0.14), transparent 68%);
  border-radius: 50%;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #acdce9;
  box-shadow: 0 22px 45px rgba(3, 44, 66, 0.09);
}

.service-card-featured {
  color: var(--white);
  background: linear-gradient(155deg, var(--navy) 0%, #0a5576 100%);
  border-color: transparent;
}

.service-card-featured h3,
.service-card-featured .service-number,
.service-card-featured a {
  color: var(--white);
}

.service-card-featured p:not(.service-number) {
  color: rgba(255, 255, 255, 0.74);
}

.service-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 19px;
  box-shadow: 0 10px 24px rgba(3, 44, 66, 0.08);
}

.service-icon img {
  width: 43px;
  height: 43px;
}

.service-number {
  position: absolute;
  top: 32px;
  right: 32px;
  margin: 0;
  color: #91aab5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-style: italic;
}

.service-card h3 {
  margin: 0 0 13px;
  color: var(--navy);
  font-size: 1.38rem;
  line-height: 1.25;
}

.service-card p:not(.service-number) {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 850;
}

.service-card a span {
  transition: transform 180ms ease;
}

.service-card a:hover span,
.service-card a:focus-visible span {
  transform: translateX(4px);
}

.why {
  background: var(--mist);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 82px;
}

.window-demo {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: linear-gradient(170deg, #58b5d1 0%, #b6e8ed 54%, #f6d9aa 100%);
  border: 18px solid var(--white);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.window-demo::before,
.window-demo::after {
  content: "";
  position: absolute;
  bottom: -20px;
  background: #24556b;
  opacity: 0.75;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.window-demo::before {
  width: 440px;
  height: 260px;
  left: -110px;
}

.window-demo::after {
  width: 390px;
  height: 225px;
  right: -140px;
  background: #347b79;
}

.window-demo-sky::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  top: 65px;
  right: 62px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(255, 255, 255, 0.8);
}

.window-demo-frame {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(6, 47, 71, 0.05);
}

.window-demo-frame.vertical {
  width: 14px;
  top: 0;
  bottom: 0;
  left: calc(50% - 7px);
}

.window-demo-frame.horizontal {
  height: 14px;
  right: 0;
  left: 0;
  top: calc(52% - 7px);
}

.window-demo-shine {
  position: absolute;
  z-index: 2;
  width: 20px;
  height: 380px;
  top: -55px;
  background: rgba(255, 255, 255, 0.52);
  border-radius: 100%;
  transform: rotate(35deg);
  filter: blur(1px);
}

.shine-one {
  left: 110px;
}

.shine-two {
  left: 176px;
  opacity: 0.55;
}

.window-demo-label {
  position: absolute;
  z-index: 5;
  right: 28px;
  bottom: 28px;
  left: 28px;
  padding: 18px 21px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(3, 44, 66, 0.14);
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.section-intro {
  margin: 23px 0 34px;
  color: var(--muted);
  font-size: 1.02rem;
}

.feature-list {
  border-top: 1px solid #cde0e6;
}

.feature-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding-block: 23px;
  border-bottom: 1px solid #cde0e6;
}

.feature-item > span {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-style: italic;
}

.feature-item h3,
.feature-item p {
  margin: 0;
}

.feature-item h3 {
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 1.05rem;
}

.feature-item p {
  color: var(--muted);
  font-size: 0.92rem;
}

.process {
  background: var(--navy);
  color: var(--white);
}

.process .eyebrow {
  color: var(--aqua);
}

.process h2 {
  color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 55px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.process-grid li {
  min-height: 270px;
  padding: 34px 35px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.process-grid li:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.process-step {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  margin-bottom: 47px;
  color: var(--navy);
  background: var(--aqua);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.process-grid h3 {
  margin: 0 0 10px;
  font-size: 1.27rem;
}

.process-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.reviews {
  padding-block: 80px;
}

.reviews-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.review-title,
.reviews blockquote {
  margin: 0;
  padding: 30px;
  border-radius: var(--radius-md);
}

.review-title {
  color: var(--white);
  background: linear-gradient(155deg, #0c7fb0, #095c83);
}

.review-title .eyebrow {
  color: var(--aqua);
}

.review-title h2 {
  color: var(--white);
  font-size: clamp(2.05rem, 3vw, 3.15rem);
}

.reviews blockquote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  background: var(--ice);
  border: 1px solid var(--line);
}

.reviews blockquote::before {
  content: "\201C";
  height: 38px;
  color: var(--blue-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 1;
}

.reviews blockquote p {
  margin: 12px 0 30px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.35;
}

.reviews blockquote cite {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.service-area {
  padding-top: 30px;
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 84px;
  padding: 66px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.area-grid p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-weight: 850;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(4px);
}

.area-card {
  position: relative;
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding: 32px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 17%, rgba(158, 234, 244, 0.4), transparent 26%),
    linear-gradient(145deg, var(--navy) 0%, #0a5f83 100%);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(3, 44, 66, 0.14);
}

.area-card::before,
.area-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 2px;
  background: rgba(255, 255, 255, 0.11);
  transform: rotate(-35deg);
}

.area-card::before {
  top: 57px;
  right: -38px;
}

.area-card::after {
  top: 102px;
  right: -20px;
}

.pin {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  background: var(--aqua);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.pin::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 16px;
  left: 16px;
  background: var(--navy);
  border-radius: 50%;
}

.area-card > div {
  position: relative;
  z-index: 2;
}

.area-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.area-card address {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.91rem;
  font-style: normal;
}

.estimate {
  padding-top: 100px;
  background: var(--white);
}

.estimate-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.estimate-copy {
  position: sticky;
  top: 150px;
}

.estimate-copy > p:not(.eyebrow) {
  margin: 24px 0 32px;
  color: var(--muted);
}

.contact-lines {
  display: grid;
  gap: 12px;
}

.contact-lines a {
  display: flex;
  flex-direction: column;
  padding: 17px 20px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.contact-lines span {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-lines strong {
  color: var(--navy);
  overflow-wrap: anywhere;
}

.estimate-form {
  padding: 38px;
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 54px rgba(3, 44, 66, 0.08);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-row.two-column {
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-row.two-column > div {
  display: grid;
  gap: 8px;
}

label {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cbdde4;
  border-radius: 11px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

input,
select {
  height: 49px;
  padding: 0 14px;
}

textarea {
  min-height: 132px;
  padding: 13px 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(12, 127, 176, 0.12);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #b93a3a;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.form-note.error {
  color: #9d2c2c;
  font-weight: 750;
}

.site-footer {
  padding-top: 72px;
  color: rgba(255, 255, 255, 0.76);
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 0.8fr 0.8fr;
  gap: 55px;
  padding-bottom: 55px;
}

.footer-brand img {
  width: 260px;
  height: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 360px;
}

.site-footer h2 {
  margin: 7px 0 18px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer a,
.site-footer address,
.site-footer p {
  display: block;
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-style: normal;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--aqua);
}

.footer-bottom {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  font-size: 0.78rem;
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 18px;
  }

  .site-nav > a:not(.button) {
    display: none;
  }

  .hero-grid {
    gap: 25px;
  }

  .hero-art {
    min-height: 500px;
  }

  .badge-top {
    left: -3px;
  }

  .badge-bottom {
    right: -3px;
  }

  .section-heading,
  .why-grid,
  .area-grid,
  .estimate-grid {
    gap: 45px;
  }

  .service-card {
    padding: 26px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    display: none;
  }
}

@media (max-width: 820px) {
  .topbar-inner {
    justify-content: center;
  }

  .topbar p {
    display: none;
  }

  .nav-wrap {
    min-height: 74px;
  }

  .brand img {
    width: 218px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    top: 112px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 3px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav > a:not(.button) {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
  }

  .site-nav > a:not(.button):hover,
  .site-nav > a:not(.button):focus-visible {
    background: var(--mist);
  }

  .site-nav > a:not(.button)::after {
    display: none;
  }

  .site-nav .button {
    margin-top: 7px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .why-grid,
  .estimate-grid,
  .section-heading,
  .area-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-block: 70px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1,
  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .hero-art {
    min-height: 0;
  }

  .hero-art-card {
    width: min(100%, 560px);
  }

  .badge-top {
    top: 25px;
  }

  .badge-bottom {
    bottom: 22px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-grid > div:nth-child(odd) {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .trust-grid > div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section {
    padding-block: 82px;
  }

  .section-heading {
    gap: 20px;
  }

  .service-grid,
  .reviews-wrap {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 330px;
  }

  .why-grid {
    gap: 52px;
  }

  .window-demo {
    min-height: 500px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid li,
  .process-grid li:first-child {
    min-height: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .process-grid li:last-child {
    border-bottom: 0;
  }

  .process-step {
    margin-bottom: 25px;
  }

  .reviews blockquote {
    min-height: 205px;
  }

  .area-grid {
    padding: 44px;
  }

  .estimate-copy {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand img {
    width: 193px;
  }

  .site-nav {
    top: 112px;
    right: 14px;
    left: 14px;
  }

  .hero-grid {
    padding-block: 56px 60px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .button-ghost {
    align-items: center;
  }

  .hero-art-card {
    padding: 9px;
    border-radius: 27px;
  }

  .hero-art-card img {
    border-radius: 21px;
  }

  .floating-badge {
    min-width: 0;
    padding: 10px 11px;
  }

  .floating-badge strong {
    font-size: 0.75rem;
  }

  .floating-badge small {
    font-size: 0.66rem;
  }

  .badge-icon {
    width: 29px;
    height: 29px;
  }

  .badge-top {
    top: 13px;
    left: -4px;
  }

  .badge-bottom {
    right: -4px;
    bottom: 12px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid > div {
    min-height: 94px;
    padding: 20px 23px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section {
    padding-block: 66px;
  }

  .section h2 {
    font-size: clamp(2.25rem, 12vw, 3.15rem);
  }

  .service-card {
    min-height: 350px;
  }

  .window-demo {
    min-height: 390px;
    border-width: 11px;
    border-radius: 27px;
  }

  .window-demo-label {
    right: 17px;
    bottom: 17px;
    left: 17px;
  }

  .reviews {
    padding-block: 64px;
  }

  .area-grid {
    padding: 30px 22px;
    border-radius: 24px;
  }

  .area-card {
    min-height: 200px;
    padding: 25px;
  }

  .estimate-form {
    padding: 25px 18px;
  }

  .form-row.two-column {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    min-height: 90px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
