:root {
  --ink: #142231;
  --muted: #5b6b76;
  --paper: #ffffff;
  --soft: #f2f8f8;
  --line: #d6e6e8;
  --cyan: #27b6d5;
  --blue: #116d91;
  --teal: #48bea8;
  --green: #16835f;
  --sand: #efe7d8;
  --shadow: 0 18px 50px rgba(20, 34, 49, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

figure {
  margin: 0;
}

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

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

.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  font-size: 1.1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-weight: 700;
}

.main-nav a:hover,
.header-call:hover,
.service-card a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.header-call {
  color: var(--green);
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  min-height: calc(100vh - 79px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(42px, 8vw, 96px) clamp(18px, 5vw, 72px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(11, 29, 42, 0.9), rgba(11, 29, 42, 0.72), rgba(11, 29, 42, 0.38)),
    url("wasewi-logo.jpg") center / cover no-repeat;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8fe6dd;
}

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

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.25rem, 5.5vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin: 16px 0 8px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
}

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

.btn,
.quote-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary,
.quote-form button {
  color: #ffffff;
  background: var(--green);
}

.btn.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.quote-form {
  width: 100%;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quote-form h2 {
  margin-bottom: 16px;
  font-size: 1.45rem;
}

.quote-form label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

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

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

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  padding: 24px clamp(18px, 4vw, 40px);
  background: #ffffff;
}

.trust-strip strong {
  display: block;
  color: var(--blue);
  font-size: clamp(1.12rem, 2.2vw, 1.65rem);
  line-height: 1.15;
}

.trust-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section,
.contact-section,
.adopt-band,
.partners-section,
.pricing-section {
  padding: clamp(48px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

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

.service-card,
.process-grid article,
.adopt-list article {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card {
  padding: 22px;
  min-height: 260px;
}

.service-card-photo {
  padding-top: 18px;
}

.service-photo {
  width: 100%;
  height: 190px;
  margin-top: 16px;
  object-fit: cover;
  border-radius: 8px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #ffffff;
  border-radius: 8px;
  font-weight: 900;
}

.service-icon.water {
  background: var(--cyan);
}

.service-icon.sewer {
  background: var(--blue);
}

.service-icon.fusion {
  background: #263f4f;
}

.service-icon.irrigation {
  background: var(--teal);
}

.service-icon.estimate {
  color: var(--ink);
  background: #f0c84c;
}

.service-card p,
.process-grid p,
.adopt-list p {
  color: var(--muted);
}

.service-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--green);
  font-weight: 800;
}

.about-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(48px, 7vw, 86px) clamp(18px, 5vw, 72px);
  background: var(--soft);
}

.about-image {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-image figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.about-copy p {
  color: var(--muted);
}

.about-copy ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.about-copy li {
  padding-left: 28px;
  background: linear-gradient(var(--green), var(--green)) left 9px / 12px 12px no-repeat;
  color: var(--ink);
  font-weight: 700;
}

.split-section {
  background: #ffffff;
}

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

.process-grid article {
  padding: 22px;
}

.process-grid strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 8px;
}

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

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

.gallery-grid figure {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery-grid img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.gallery-feature {
  grid-column: span 2;
}

.gallery-feature img {
  height: 590px;
}

.gallery-grid figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.pricing-section {
  background: #ffffff;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: 24px;
  align-items: start;
}

.poster-card,
.rates-card,
.costing-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.poster-card {
  overflow: hidden;
}

.poster-card img {
  width: 100%;
  max-height: 780px;
  object-fit: contain;
  background: #eef8f8;
}

.poster-card figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 800;
}

.rates-card {
  padding: 24px;
}

.rates-card h3 {
  margin-top: 0;
}

.rates-card p {
  color: var(--muted);
}

.rate-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.rate-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.rate-list dt {
  color: var(--muted);
  font-weight: 800;
}

.rate-list dd {
  margin: 0;
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 900;
  text-align: right;
}

.costing-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  margin-top: 24px;
  padding: 24px;
}

.costing-panel p {
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

caption {
  margin-bottom: 10px;
  color: var(--blue);
  font-weight: 900;
  text-align: left;
}

th,
td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: #ffffff;
  background: var(--blue);
}

td:last-child {
  color: var(--green);
  font-weight: 900;
  text-align: right;
}

.adopt-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(20, 34, 49, 0.94), rgba(20, 34, 49, 0.88)),
    url("wasewi-logo.jpg") center / cover no-repeat;
}

.adopt-band .eyebrow {
  color: #8fe6dd;
}

.adopt-band p {
  color: rgba(255, 255, 255, 0.78);
}

.adopt-list {
  display: grid;
  gap: 14px;
}

.adopt-list article {
  padding: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
}

.adopt-list h3 {
  margin-top: 0;
}

.adopt-list p {
  color: var(--muted);
}

.partners-section {
  background: #ffffff;
}

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

.partners-grid span {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 18px;
  color: var(--blue);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 900;
  text-align: center;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: start;
}

.contact-section p {
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-details span {
  color: var(--muted);
  font-weight: 700;
}

.contact-details strong {
  font-size: 1.4rem;
}

.contact-details a {
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #0d141b;
}

@media (max-width: 1080px) {
  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .gallery-feature {
    grid-column: span 1;
  }

  .gallery-feature img,
  .gallery-grid img {
    height: 330px;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .about-band,
  .adopt-band,
  .pricing-layout,
  .costing-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .quote-form {
    max-width: 560px;
  }

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

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

  .about-image img {
    height: 360px;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .service-grid,
  .trust-strip,
  .process-grid,
  .gallery-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .gallery-feature img,
  .gallery-grid img,
  .about-image img {
    height: 300px;
  }

  .rate-list div {
    display: grid;
  }

  .rate-list dd {
    text-align: left;
  }

  .site-footer {
    flex-direction: column;
  }
}
