:root {
  --ink: #112333;
  --muted: #5b6b77;
  --paper: #f8f6f1;
  --surface: #ffffff;
  --line: #d8e1e4;
  --blue: #176b87;
  --blue-dark: #0c3f55;
  --copper: #b76e38;
  --copper-soft: #f0d2bd;
  --shadow: 0 24px 70px rgba(17, 35, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(248, 246, 241, 0.94);
  border-bottom: 1px solid rgba(17, 35, 51, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  font-weight: 800;
  letter-spacing: 0;
}

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

.brand strong {
  font-size: 16px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

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

.site-nav a {
  padding: 10px 12px;
  color: var(--muted);
  border-radius: 6px;
  font-size: 15px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(23, 107, 135, 0.08);
}

.header-phone {
  padding: 11px 15px;
  border-radius: 6px;
  color: #fff;
  background: var(--blue-dark);
  font-weight: 700;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 76px);
  padding: clamp(42px, 8vw, 96px) clamp(18px, 5vw, 70px);
  background:
    linear-gradient(90deg, rgba(248,246,241,0.98) 0%, rgba(248,246,241,0.92) 50%, rgba(248,246,241,0.7) 100%),
    repeating-linear-gradient(135deg, rgba(23,107,135,0.12) 0 1px, transparent 1px 28px);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 7vw, 90px);
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 13px;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.hero-lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(17, 35, 51, 0.16);
}

.btn-primary {
  color: #fff;
  background: var(--blue-dark);
}

.btn-secondary {
  color: var(--blue-dark);
  background: var(--surface);
  border-color: var(--line);
}

.btn-light {
  color: var(--blue-dark);
  background: #fff;
}

.full {
  width: 100%;
}

.hero-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
}

.hero-summary div {
  padding: 16px;
  border-left: 4px solid var(--copper);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(17, 35, 51, 0.08);
}

.hero-summary strong,
.hero-summary span {
  display: block;
}

.hero-summary span {
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.pipe-board {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 0.86;
  border: 1px solid rgba(23, 107, 135, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(160deg, #ffffff 0%, #e9f1f2 52%, #f8f6f1 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pipe {
  position: absolute;
  background: var(--blue);
  box-shadow: inset 0 0 0 10px rgba(255,255,255,0.22);
}

.pipe-a {
  width: 64%;
  height: 50px;
  left: 18%;
  top: 20%;
  border-radius: 28px;
}

.pipe-b {
  width: 50px;
  height: 54%;
  right: 19%;
  top: 20%;
  border-radius: 28px;
}

.pipe-c {
  width: 58%;
  height: 44px;
  right: 19%;
  bottom: 22%;
  border-radius: 28px;
  background: var(--copper);
}

.valve {
  position: absolute;
  right: 14%;
  top: 16%;
  width: 86px;
  height: 86px;
  border: 16px solid var(--copper);
  border-radius: 50%;
  background: #fff;
}

.gauge {
  position: absolute;
  left: 12%;
  bottom: 12%;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 12px solid var(--blue-dark);
  border-radius: 50%;
  color: var(--blue-dark);
  background: #fff;
  font-weight: 800;
  text-transform: uppercase;
}

.drop {
  position: absolute;
  width: 18px;
  height: 28px;
  border-radius: 14px 14px 18px 18px;
  background: var(--blue);
  opacity: 0.65;
  animation: drip 2.8s ease-in-out infinite;
}

.drop-one {
  left: 30%;
  top: 36%;
}

.drop-two {
  right: 31%;
  bottom: 14%;
  animation-delay: 0.9s;
}

@keyframes drip {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(14px); opacity: 0.85; }
}

.reveal {
  animation: rise 620ms ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 70px);
  max-width: 1180px;
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.section-grid p,
.story p,
.request-copy p {
  color: var(--muted);
  font-size: 18px;
}

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

.service-band {
  max-width: none;
  background: var(--ink);
  color: #fff;
}

.service-band > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.service-band .section-head,
.service-band .text-link {
  display: block;
}

.service-band p,
.service-band .service-list p {
  color: rgba(255,255,255,0.72);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 28px;
  background: rgba(255,255,255,0.12);
}

.service-list article {
  min-height: 230px;
  padding: 28px;
  background: var(--ink);
}

.service-list span,
.value-row span,
.step-grid span {
  color: var(--copper-soft);
  font-weight: 800;
}

.text-link {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

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

.work-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-weight: 700;
}

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

.step-grid article {
  padding-top: 18px;
  border-top: 3px solid var(--copper);
}

.step-grid p,
.value-row p,
.faq-list p,
.service-detail p {
  color: var(--muted);
}

.trust {
  max-width: none;
  background: #e6eef0;
}

.trust-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 70px);
  max-width: 1180px;
  margin: 0 auto;
}

.quick-request {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.phone-card {
  display: inline-block;
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: 8px;
  background: var(--blue-dark);
  color: #fff;
}

.phone-card span,
.contact-card span,
.site-footer span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.phone-card span {
  color: rgba(255,255,255,0.72);
}

.phone-card strong {
  font-size: 24px;
}

.request-form {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.request-form label {
  display: block;
  margin: 0 0 7px;
  font-weight: 800;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 46px;
  margin-bottom: 16px;
  padding: 11px 12px;
  border: 1px solid #c9d5da;
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.request-form textarea {
  resize: vertical;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
}

details p {
  padding: 0 20px 20px;
  margin: 0;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(34px, 6vw, 58px) clamp(18px, 5vw, 70px);
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.final-cta h2 {
  margin-bottom: 0;
  max-width: 760px;
}

.final-cta .eyebrow {
  color: var(--copper-soft);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 26px;
  padding: 42px clamp(18px, 5vw, 70px);
  color: rgba(255,255,255,0.76);
  background: #071926;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 20px;
}

.site-footer a {
  display: block;
  margin: 6px 0;
  color: #fff;
}

.subhero {
  padding: clamp(58px, 10vw, 118px) clamp(18px, 5vw, 70px) clamp(48px, 8vw, 86px);
  background:
    linear-gradient(120deg, rgba(248,246,241,0.98), rgba(230,238,240,0.92)),
    repeating-linear-gradient(135deg, rgba(23,107,135,0.11) 0 1px, transparent 1px 30px);
}

.subhero > * {
  max-width: 880px;
}

.subhero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 20px;
}

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

.service-detail article {
  padding: 28px;
  border-left: 4px solid var(--blue);
  background: var(--surface);
}

.compact {
  padding-top: 20px;
}

.story {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: 26px 70px;
}

.story p:last-child {
  grid-column: 2;
}

.values {
  display: grid;
  gap: 1px;
  background: var(--line);
  padding-top: 0;
  padding-bottom: 0;
}

.value-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 20px;
  padding: 30px 0;
  background: var(--paper);
}

.value-row span {
  color: var(--blue);
}

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

.contact-card {
  min-height: 150px;
  padding: 24px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(17, 35, 51, 0.08);
}

.contact-card a,
.contact-card p {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-request {
  padding-top: 20px;
}

@media (max-width: 980px) {
  .site-header {
    gap: 12px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

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

  .header-phone {
    display: none;
  }

  .hero-inner,
  .section-grid,
  .trust-panel,
  .quick-request,
  .story {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .pipe-board {
    width: min(340px, 100%);
    aspect-ratio: 1.45;
  }

  .pipe-b,
  .gauge {
    display: none;
  }

  .pipe-a {
    left: 12%;
    top: 32%;
    width: 72%;
  }

  .pipe-c {
    right: 10%;
    bottom: 24%;
    width: 58%;
  }

  .valve {
    top: 22%;
    right: 8%;
    width: 72px;
    height: 72px;
  }

  .service-list,
  .work-grid,
  .step-grid,
  .service-detail,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .story p:last-child {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    padding: 10px 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    font-size: 11px;
  }

  .site-nav {
    top: 66px;
    left: 12px;
    right: 12px;
  }

  .hero {
    min-height: auto;
    padding: 26px 16px 36px;
  }

  .hero-inner {
    gap: 22px;
  }

  .hero-visual {
    display: none;
  }

  h1 {
    font-size: 38px;
    line-height: 1.02;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lead,
  .subhero p:not(.eyebrow) {
    font-size: 17px;
  }

  .hero-actions {
    margin: 22px 0 16px;
  }

  .btn {
    width: 100%;
  }

  .hero-summary {
    grid-template-columns: 1fr;
  }

  .hero-summary div {
    padding: 13px 14px;
  }

  .section,
  .subhero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .service-list,
  .work-grid,
  .step-grid,
  .service-detail,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-list article {
    min-height: auto;
    padding: 22px;
  }

  .request-form {
    padding: 18px;
  }

  .final-cta {
    display: block;
    padding: 34px 16px;
  }

  .final-cta .btn {
    margin-top: 20px;
  }
}

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