:root {
  --navy-950: #071932;
  --navy-900: #0b2345;
  --navy-800: #16365f;
  --navy-700: #244a79;
  --steel-700: #4e5d6c;
  --steel-500: #7e8b98;
  --steel-300: #c5ccd3;
  --steel-200: #dce1e5;
  --steel-100: #eef1f3;
  --paper: #f7f7f4;
  --white: #ffffff;
  --ink: #17202a;
  --muted: #5d6874;
  --success: #1f6b45;
  --warning: #8a5a16;
  --shadow-sm: 0 8px 24px rgba(7, 25, 50, 0.08);
  --shadow-md: 0 18px 44px rgba(7, 25, 50, 0.14);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --content: 1180px;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy-950);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--navy-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

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

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

.section-heading {
  display: grid;
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section--navy .section-heading p,
.section--navy .muted {
  color: rgba(255, 255, 255, 0.72);
}

.muted {
  color: var(--muted);
}

.kicker {
  margin-bottom: 6px;
  color: var(--navy-700);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.nav-link:focus-visible,
.social-link:focus-visible,
.footer-link:focus-visible,
.accordion-button:focus-visible,
.mobile-menu-button:focus-visible,
.gallery-image-button:focus-visible,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(36, 74, 121, 0.32);
  outline-offset: 3px;
}

.button--primary {
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 0 10px 24px rgba(11, 35, 69, 0.22);
}

.button--primary:hover {
  background: var(--navy-800);
}

.button--secondary {
  color: var(--navy-950);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.button--outline {
  color: var(--navy-900);
  border-color: rgba(11, 35, 69, 0.24);
  background: transparent;
}

.button--outline:hover {
  border-color: var(--navy-800);
  background: rgba(11, 35, 69, 0.05);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-800);
  font-weight: 800;
}

.text-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(7, 25, 50, 0.08);
  background: rgba(247, 247, 244, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 66px;
  height: 66px;
  padding: 3px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
  box-shadow: 0 5px 18px rgba(7, 25, 50, 0.08);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  color: var(--navy-950);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  position: relative;
  padding: 10px 11px;
  border-radius: 10px;
  color: #29313a;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--navy-900);
  background: rgba(11, 35, 69, 0.06);
}

.nav-cta {
  margin-left: 8px;
  white-space: nowrap;
}

.mobile-menu-button {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(7, 25, 50, 0.14);
  border-radius: 12px;
  color: var(--navy-950);
  background: var(--white);
  cursor: pointer;
}

.mobile-menu-button span,
.mobile-menu-button span::before,
.mobile-menu-button span::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-button span {
  position: relative;
}

.mobile-menu-button span::before {
  position: absolute;
  top: -7px;
}

.mobile-menu-button span::after {
  position: absolute;
  top: 7px;
}

.mobile-menu-button[aria-expanded="true"] span {
  background: transparent;
}

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

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

/* Hero */
.hero {
  padding: 34px 0 70px;
}

.hero-panel {
  position: relative;
  display: grid;
  min-height: min(680px, calc(100vh - 150px));
  overflow: hidden;
  align-items: center;
  border-radius: var(--radius-lg);
  background-image: linear-gradient(90deg, rgba(5, 17, 34, 0.93) 0%, rgba(5, 17, 34, 0.78) 43%, rgba(5, 17, 34, 0.42) 100%), url("../images/hero-waterproofing.svg");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-md);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 85%);
  padding: clamp(38px, 7vw, 88px);
  color: var(--white);
}

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero p {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.hero-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Cards and grids */
.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  padding: 28px;
  border: 1px solid rgba(7, 25, 50, 0.09);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-bottom: 10px;
  color: var(--navy-950);
  font-size: 1.3rem;
  line-height: 1.25;
}

.card p:last-child {
  margin-bottom: 0;
}

.icon-box {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: var(--navy-900);
  font-weight: 900;
}

.feature-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
}

.feature-list li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 11px;
  height: 11px;
  border: 3px solid var(--navy-800);
  border-radius: 50%;
  content: "";
}

.split {
  display: grid;
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}

.split--reverse > :first-child {
  order: 2;
}

.media-panel {
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--steel-200);
  box-shadow: var(--shadow-md);
}

.media-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.stat {
  padding: 22px;
  border-left: 3px solid var(--navy-700);
  background: var(--white);
}

.stat strong {
  display: block;
  color: var(--navy-950);
  font-size: 1.28rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.callout {
  display: grid;
  align-items: center;
  gap: 28px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  box-shadow: var(--shadow-md);
  grid-template-columns: minmax(0, 1fr) auto;
}

.callout h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.callout p {
  max-width: 740px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

/* Social section — homepage only */
.social-panel {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.social-link {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(7, 25, 50, 0.09);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.social-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.social-link strong {
  display: block;
  color: var(--navy-950);
  font-size: 1.2rem;
}

.social-link span {
  color: var(--muted);
  font-size: 0.9rem;
}

.social-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy-900);
  font-weight: 900;
}

/* Page hero */
.page-hero {
  padding: 72px 0 58px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.page-hero-inner {
  display: grid;
  gap: 18px;
}

.page-hero h1 {
  max-width: 920px;
  margin-bottom: 0;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.page-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
}

.breadcrumbs a:hover {
  color: var(--white);
}

/* Gallery */
.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.gallery-status {
  min-height: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.gallery-card {
  overflow: hidden;
  border: 1px solid rgba(7, 25, 50, 0.09);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  background: var(--steel-200);
}

.gallery-image-button img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card-content {
  padding: 20px;
}

.gallery-card h3 {
  margin-bottom: 7px;
  color: var(--navy-950);
  font-size: 1.15rem;
}

.gallery-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.gallery-empty {
  grid-column: 1 / -1;
  padding: 46px;
  border: 1px dashed var(--steel-500);
  border-radius: var(--radius-md);
  text-align: center;
  background: var(--white);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  padding: 24px;
  place-items: center;
  background: rgba(4, 12, 24, 0.92);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-content {
  position: relative;
  display: grid;
  width: min(1100px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 18px;
  background: var(--white);
}

.lightbox img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: #081326;
}

.lightbox-caption {
  padding: 18px 22px;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-size: 1.4rem;
}


.gallery-card--placeholder {
  border-style: dashed;
}

.gallery-card--placeholder .gallery-image-button img {
  filter: saturate(0.55);
}

.gallery-preview-label {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--navy-800);
  background: var(--steel-100);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-card--image-error .gallery-image-button {
  min-height: 220px;
  cursor: not-allowed;
  background: repeating-linear-gradient(
    135deg,
    var(--steel-100),
    var(--steel-100) 14px,
    var(--steel-200) 14px,
    var(--steel-200) 28px
  );
}

.gallery-card--image-error .gallery-image-button img {
  display: none;
}

.gallery-empty .button {
  margin-top: 12px;
}

.lightbox-nav {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-nav--previous {
  left: 14px;
}

.lightbox-nav--next {
  right: 14px;
}

.lightbox-position {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.section-action--links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
}

/* Services */
.service-category {
  display: grid;
  gap: 22px;
  padding: 32px;
  border: 1px solid rgba(7, 25, 50, 0.09);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.service-category-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.service-category h2 {
  margin-bottom: 6px;
  color: var(--navy-950);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.service-tag {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--navy-800);
  background: rgba(36, 74, 121, 0.09);
  font-size: 0.78rem;
  font-weight: 800;
}

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

.service-item {
  padding: 18px;
  border-radius: 14px;
  background: var(--steel-100);
}

.service-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy-950);
}

.service-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

/* About */
.owner-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--steel-200);
  box-shadow: var(--shadow-md);
}

.owner-photo img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.quote-card {
  padding: 26px;
  border-left: 4px solid var(--navy-700);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--navy-950);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 1.12rem;
  font-weight: 650;
}

/* Forms */
.form-shell {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
}

.form-card {
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(7, 25, 50, 0.09);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label,
fieldset legend {
  color: var(--navy-950);
  font-weight: 760;
}

.required-mark {
  color: #9f2f2f;
}

.form-field small {
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--steel-300);
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input,
select {
  min-height: 50px;
  padding: 11px 13px;
}

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

input:hover,
select:hover,
textarea:hover {
  border-color: var(--steel-500);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(36, 74, 121, 0.1);
  outline: 0;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-option {
  position: relative;
}

.radio-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.radio-option span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--steel-300);
  border-radius: 999px;
  cursor: pointer;
  background: var(--white);
}

.radio-option input:checked + span {
  color: var(--white);
  border-color: var(--navy-900);
  background: var(--navy-900);
}

.radio-option input:focus-visible + span {
  outline: 3px solid rgba(36, 74, 121, 0.32);
  outline-offset: 3px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.form-status {
  min-height: 24px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: #9f2f2f;
}

.contact-aside {
  display: grid;
  align-content: start;
  gap: 18px;
}

.contact-method {
  padding: 24px;
  border: 1px solid rgba(7, 25, 50, 0.09);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.contact-method strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy-950);
}

.contact-method a {
  color: var(--navy-800);
  font-weight: 760;
  overflow-wrap: anywhere;
}

.notice {
  padding: 20px;
  border: 1px solid #e3cfaa;
  border-radius: 14px;
  color: #6f4913;
  background: #fff8e9;
}

.notice strong {
  color: #5a390d;
}

/* FAQ */
.accordion {
  display: grid;
  gap: 12px;
}

.accordion-item {
  overflow: hidden;
  border: 1px solid rgba(7, 25, 50, 0.1);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.accordion-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border: 0;
  color: var(--navy-950);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.accordion-button span:last-child {
  flex: 0 0 auto;
  font-size: 1.3rem;
  transition: transform 180ms ease;
}

.accordion-button[aria-expanded="true"] span:last-child {
  transform: rotate(45deg);
}

.accordion-panel {
  display: none;
  padding: 0 22px 22px;
  color: var(--muted);
}

.accordion-panel.is-open {
  display: block;
}

/* Footer */
.site-footer {
  color: var(--white);
  background: #1f3455;
}

.footer-inner {
  display: grid;
  gap: 28px;
  padding: 50px 0;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(170px, 0.55fr));
}

.footer-brand h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.footer-brand p {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-column h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-link,
.footer-list span {
  color: rgba(255, 255, 255, 0.76);
}

.footer-link:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
}

.footer-bottom p {
  margin: 0;
}

/* Utility */
.stack {
  display: grid;
  gap: 18px;
}

.stack--lg {
  gap: 28px;
}

.center {
  text-align: center;
}

.center .section-heading {
  margin-inline: auto;
}

.hidden {
  display: none !important;
}

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

@media (max-width: 1020px) {
  .brand-text {
    display: none;
  }

  .site-nav {
    gap: 2px;
  }

  .nav-link {
    padding-inline: 8px;
    font-size: 0.86rem;
  }

  .nav-cta {
    padding-inline: 15px;
  }

  .gallery-grid,
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-shell {
    grid-template-columns: 1fr;
  }

  .contact-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 76px;
  }

  .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    padding: 14px;
    border: 1px solid rgba(7, 25, 50, 0.12);
    border-radius: 16px;
    align-items: stretch;
    flex-direction: column;
    background: var(--white);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 13px 14px;
    font-size: 0.98rem;
  }

  .nav-cta {
    width: 100%;
    margin: 4px 0 0;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-panel {
    min-height: 610px;
    background-image: linear-gradient(90deg, rgba(5, 17, 34, 0.94), rgba(5, 17, 34, 0.65)), url("../images/hero-waterproofing.svg");
  }

  .hero-content {
    width: 100%;
  }

  .split,
  .grid--2,
  .materials-panel {
    grid-template-columns: 1fr;
  }

  .split--reverse > :first-child {
    order: initial;
  }

  .stats-strip,
  .social-panel {
    grid-template-columns: 1fr;
  }

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

  .callout .button {
    justify-self: start;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 66px 0;
  }

  .section--tight {
    padding: 50px 0;
  }

  .hero-panel {
    min-height: 570px;
    border-radius: 20px;
  }

  .hero-content {
    padding: 34px 24px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.5rem);
  }

  .hero-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .gallery-grid,
  .grid--3,
  .grid--4,
  .form-grid,
  .service-items,
  .contact-aside {
    grid-template-columns: 1fr;
  }

  .gallery-toolbar,
  .service-category-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .owner-photo img {
    min-height: 390px;
  }

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

  .footer-brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.social-link--disabled {
  cursor: default;
  opacity: 0.72;
}

.social-link--disabled:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

/* Content-update refinements */
.display-heading {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-outline:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
}

.eyebrow--light {
  color: #cbd8e7;
}

.section-action {
  margin-top: 28px;
}

.service-items--single {
  grid-template-columns: minmax(0, 1fr);
}

.owner-details {
  display: grid;
  gap: 3px;
  padding: 20px 22px;
  border: 1px solid rgba(7, 25, 50, 0.09);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.owner-details strong {
  color: var(--navy-950);
  font-size: 1.18rem;
}

.owner-details span {
  color: var(--muted);
  font-size: 0.94rem;
}

.form-heading {
  margin-bottom: 28px;
}

.form-fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

.notice--stacked {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--steel-300);
  border-radius: 12px;
  background: var(--steel-100);
  cursor: pointer;
}

.checkbox-option input {
  width: 20px;
  height: 20px;
  min-height: 0;
  flex: 0 0 20px;
  margin-top: 2px;
  accent-color: var(--navy-900);
}

.checkbox-option span {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.5;
}

.error-title {
  font-size: clamp(3rem, 8vw, 6rem);
}
