:root {
  color-scheme: light;
  --ink: #111820;
  --navy: #06264a;
  --navy-2: #0d355f;
  --orange: #ff4b16;
  --steel: #52616a;
  --line: #d9e2e8;
  --paper: #f7f7f5;
  --soft: #edf3f6;
  --white: #ffffff;
  --green: #1f7a58;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(17, 24, 32, 0.12);
  background: rgba(247, 247, 245, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #24333f;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--orange);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button,
button.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary {
  color: #ffffff;
  background: var(--orange);
}

.button.secondary {
  color: var(--navy);
  border-color: #b9c8d1;
  background: #ffffff;
}

.button.dark {
  color: #ffffff;
  background: var(--ink);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(6, 38, 74, 0.94) 0%, rgba(6, 38, 74, 0.82) 36%, rgba(17, 24, 32, 0.32) 68%, rgba(17, 24, 32, 0.1) 100%),
    url("./hero-coatings-waterproofing.jpg") center / cover no-repeat;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(76px, 12vh, 132px) 0 clamp(36px, 8vh, 72px);
}

.eyebrow {
  margin: 0 0 14px;
  color: #ff9a7c;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 28px;
  color: #e8eff4;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  line-height: 1.38;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.proof-item {
  padding: 18px 18px 22px 0;
}

.proof-item strong {
  display: block;
  color: #ffffff;
  font-size: 22px;
  font-weight: 950;
}

.proof-item span {
  display: block;
  color: #cfd9df;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.section {
  padding: clamp(54px, 8vw, 96px) 0;
}

.section.navy {
  color: #ffffff;
  background: var(--navy);
}

.section.soft {
  background: var(--soft);
}

.section.white {
  background: #ffffff;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p {
  margin-bottom: 0;
  color: #52616a;
  font-weight: 700;
}

.navy .section-head p {
  color: #d8e3ea;
}

.intro-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.intro-card {
  min-height: 250px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  padding: 26px;
  background: #ffffff;
}

.intro-card span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.intro-card h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1;
}

.intro-card p {
  margin-bottom: 0;
  color: #52616a;
  font-weight: 720;
}

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

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  min-height: 330px;
  display: grid;
  align-content: space-between;
  gap: 26px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--orange);
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
}

.category-card h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1;
}

.category-card p {
  margin-bottom: 0;
  color: #52616a;
  font-weight: 720;
}

.category-links {
  display: grid;
  gap: 8px;
}

.category-links a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.category-links a::after {
  content: "View";
  color: var(--orange);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.categorized-services {
  display: grid;
  gap: 42px;
}

.category-section {
  display: grid;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 42px;
}

.category-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.category-section-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(320px, 0.7fr);
  gap: 32px;
  align-items: end;
}

.category-section-head h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.category-section-head p {
  margin-bottom: 0;
  color: #52616a;
  font-weight: 720;
}

.compact-grid .service-card {
  min-height: 230px;
}

.service-card {
  min-height: 278px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
  text-decoration: none;
}

.service-card:hover {
  border-color: rgba(255, 75, 22, 0.62);
  box-shadow: inset 4px 0 0 var(--orange);
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.08;
}

.service-card p {
  margin-bottom: 0;
  color: #52616a;
  font-weight: 700;
}

.service-card .meta {
  color: var(--orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.copy h2 {
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.02;
}

.copy p,
.copy li {
  color: #40515c;
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.capability-panel {
  border-top: 6px solid var(--orange);
  padding: 24px;
  color: #ffffff;
  background: var(--ink);
}

.capability-panel h3 {
  font-size: 24px;
}

.capability-panel ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: #dce6ec;
  font-weight: 760;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.process-step {
  min-height: 225px;
  padding: 24px;
  background: #ffffff;
}

.process-step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--orange);
  font-weight: 950;
}

.process-step h3 {
  font-size: 21px;
}

.process-step p {
  margin-bottom: 0;
  color: #52616a;
  font-weight: 700;
}

.band {
  padding: 42px;
  color: #ffffff;
  background:
    linear-gradient(100deg, rgba(6, 38, 74, 0.96), rgba(17, 24, 32, 0.88)),
    url("./hero-coatings-waterproofing.jpg") center / cover no-repeat;
}

.band h2 {
  max-width: 820px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.02;
}

.band p {
  max-width: 720px;
  color: #dfe8ee;
  font-weight: 720;
}

.page-hero {
  padding: clamp(72px, 10vw, 116px) 0 38px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(6, 38, 74, 0.96), rgba(6, 38, 74, 0.84) 52%, rgba(17, 24, 32, 0.3)),
    url("./hero-coatings-waterproofing.jpg") center / cover no-repeat;
}

.page-hero h1 {
  max-width: 930px;
}

.page-hero p {
  max-width: 760px;
  color: #e4edf3;
  font-size: 20px;
  font-weight: 720;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: #f7b09a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumbs a {
  text-decoration: none;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(320px, 0.36fr);
  gap: 42px;
  align-items: start;
}

.detail-copy h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}

.detail-copy h3 {
  margin: 32px 0 10px;
  color: #b6461d;
  font-size: 18px;
  text-transform: uppercase;
}

.detail-copy p,
.detail-copy li {
  color: #40515c;
  font-weight: 700;
}

.detail-copy ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.side-rail {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 14px;
}

.side-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #ffffff;
}

.side-box.dark {
  color: #ffffff;
  border-color: transparent;
  background: var(--navy);
}

.side-box h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.side-box p,
.side-box li {
  color: #52616a;
  font-weight: 700;
}

.side-box.dark p,
.side-box.dark li {
  color: #dbe5eb;
}

.side-box ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.system-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.system-tags span {
  border: 1px solid #ffc8b4;
  border-radius: 999px;
  padding: 7px 10px;
  color: #9b2c1d;
  background: #fff4ee;
  font-size: 12px;
  font-weight: 850;
}

.service-depth {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.depth-panel {
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
}

.depth-panel h3 {
  margin-bottom: 16px;
  color: #b6461d;
  font-size: 18px;
  text-transform: uppercase;
}

.depth-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.depth-panel li {
  color: #40515c;
  font-weight: 700;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.work-card {
  min-height: 245px;
  display: grid;
  align-content: end;
  padding: 22px;
  color: #ffffff;
  background:
    linear-gradient(0deg, rgba(17, 24, 32, 0.88), rgba(17, 24, 32, 0.12)),
    url("./hero-coatings-waterproofing.jpg") center / cover no-repeat;
}

.work-card h3 {
  font-size: 22px;
}

.work-card p {
  margin-bottom: 0;
  color: #e7eef3;
  font-weight: 720;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 42px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #263842;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd8df;
  border-radius: 6px;
  padding: 13px 12px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-weight: 700;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(255, 75, 22, 0.18);
  border-color: var(--orange);
}

.footer {
  padding: 38px 0;
  color: #dce6ec;
  background: var(--ink);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer img {
  width: 170px;
  filter: brightness(1.15);
}

.footer a {
  color: #ffffff;
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav {
    min-height: 68px;
    flex-wrap: wrap;
    gap: 0 16px;
  }

  .brand img {
    width: 150px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  body.nav-open .nav-links,
  body.nav-open .nav-actions {
    display: grid;
    flex-basis: 100%;
    width: 100%;
    background: #ffffff;
  }

  body.nav-open .nav-links {
    gap: 12px;
    margin-top: 14px;
    padding: 18px 0 10px;
    border-top: 1px solid var(--line);
  }

  body.nav-open .nav-actions {
    gap: 10px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--line);
  }

  body.nav-open .nav-actions .button {
    width: 100%;
  }

  .hero {
    min-height: calc(100svh - 68px);
    background:
      linear-gradient(0deg, rgba(6, 38, 74, 0.94), rgba(6, 38, 74, 0.6)),
      url("./hero-coatings-waterproofing.jpg") center / cover no-repeat;
  }

  .hero-proof,
  .intro-flow,
  .category-grid,
  .service-grid,
  .service-depth,
  .process-grid,
  .work-grid,
  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head,
  .category-section-head,
  .split,
  .detail-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .side-rail {
    position: static;
  }
}

@media (max-width: 620px) {
  .hero-proof,
  .intro-flow,
  .category-grid,
  .service-grid,
  .service-depth,
  .process-grid,
  .work-grid,
  .field-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    padding-top: 58px;
  }

  .band {
    padding: 28px 22px;
  }

  .page-hero p {
    font-size: 17px;
  }
}
