:root {
  --blue: #0b63ce;
  --blue-dark: #073f8f;
  --blue-soft: #eaf3ff;
  --black: #111827;
  --ink: #1f2937;
  --muted: #667085;
  --silver: #d7dde6;
  --silver-strong: #aeb8c6;
  --white: #ffffff;
  --panel: #f6f8fb;
  --line: #e4e9f1;
  --shadow: 0 18px 55px rgba(17, 24, 39, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--black));
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(11, 99, 206, 0.22);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--black);
  font-size: 1rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.3;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: #344054;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--white);
  background: var(--black);
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 76px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white));
  z-index: -1;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.84) 42%, rgba(255, 255, 255, 0.36) 100%),
    url("assets/drain-machine.jpg") center right / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -2;
  background:
    radial-gradient(circle at 22% 20%, rgba(11, 99, 206, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.94));
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: 72px 0 110px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  color: var(--black);
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 690px;
  margin: 24px 0 0;
  color: #344054;
  font-size: clamp(1.05rem, 2.4vw, 1.34rem);
  line-height: 1.55;
}

.hero-actions,
.intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(11, 99, 206, 0.28);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-secondary {
  color: var(--black);
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--silver);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.12);
}

.btn-dark {
  color: var(--white);
  background: var(--black);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.18);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #344054;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-band {
  padding: 32px 0;
  background: var(--black);
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.intro-grid h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.intro-grid .section-kicker {
  color: #8cc2ff;
}

.text-link {
  color: var(--white);
  border-bottom: 2px solid #8cc2ff;
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.split-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.05;
}

.section-heading p,
.split-copy p,
.contact-copy p {
  max-width: 690px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.service-card {
  min-height: 238px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.07);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid #cfe4ff;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 0;
  color: var(--black);
  font-size: 1.08rem;
  line-height: 1.2;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.split-section {
  background: linear-gradient(180deg, var(--panel), var(--white));
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(34px, 6vw, 74px);
}

.split-copy {
  position: sticky;
  top: 104px;
}

.split-copy .btn {
  margin-top: 28px;
}

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

.why-list div {
  min-height: 150px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.why-list strong,
.why-list span {
  display: block;
}

.why-list strong {
  color: var(--black);
  font-size: 1.05rem;
}

.why-list span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 0.76;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #d8dde5;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.09);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0), rgba(17, 24, 39, 0.84));
}

.gallery-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 16px;
  color: var(--white);
}

.gallery-item span,
.gallery-item strong {
  display: block;
}

.gallery-item span {
  margin-bottom: 6px;
  color: #9ecbff;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-item strong {
  font-size: 0.92rem;
  line-height: 1.25;
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(234, 243, 255, 0.75), rgba(255, 255, 255, 1)),
    var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: start;
  gap: clamp(30px, 6vw, 70px);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.contact-cards a {
  min-height: 112px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.07);
}

.contact-cards span,
.contact-cards strong {
  display: block;
}

.contact-cards span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-cards strong {
  margin-top: 10px;
  color: var(--black);
  font-size: 1rem;
}

.service-form {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-form label {
  color: var(--black);
  font-size: 0.88rem;
  font-weight: 800;
}

.service-form input,
.service-form select,
.service-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--black);
  background: #fbfcfe;
  border: 1px solid #cad3df;
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.service-form textarea {
  resize: vertical;
}

.service-form input:focus,
.service-form select:focus,
.service-form textarea:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(11, 99, 206, 0.12);
}

.form-button {
  width: 100%;
  margin-top: 8px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue-dark);
  font-size: 0.94rem;
  font-weight: 800;
}

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

.hidden-field {
  position: absolute;
  left: -9999px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: #d9e2ef;
  background: var(--black);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

.success-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(234, 243, 255, 0.9), rgba(255, 255, 255, 0.96)),
    url("assets/clean-drain.jpg") center / cover no-repeat;
}

.success-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.success-panel {
  width: min(720px, 100%);
  padding: clamp(28px, 6vw, 54px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.success-brand {
  margin-bottom: 38px;
}

.success-panel h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.success-panel p:not(.section-kicker) {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

@media (max-width: 1000px) {
  .nav-links {
    display: none;
  }

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

  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 70px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-call {
    display: none;
  }

  .hero {
    min-height: calc(100vh - 70px);
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 62%, rgba(255, 255, 255, 0.62) 100%),
      url("assets/drain-machine.jpg") center / cover no-repeat;
  }

  .hero-content {
    width: min(100% - 32px, 680px);
    margin: 0 auto;
    padding: 54px 0 86px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4.4rem);
  }

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

  .btn {
    width: 100%;
  }

  .trust-row span {
    width: 100%;
    justify-content: center;
  }

  .intro-grid,
  .contact-cards,
  .why-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .section-inner {
    width: min(100% - 28px, 1160px);
  }

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

  .service-card {
    min-height: auto;
  }

  .gallery-item {
    aspect-ratio: 1 / 0.78;
  }
}
