:root {
  --ink: #152027;
  --muted: #5e6c75;
  --line: #d9e3e8;
  --panel: #ffffff;
  --soft: #f4f8fa;
  --teal: #007f8c;
  --teal-dark: #005f69;
  --green: #1fa463;
  --amber: #f0aa2b;
  --shadow: 0 18px 45px rgba(21, 32, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(217, 227, 232, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--teal), var(--green));
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 127, 140, 0.24);
  overflow: hidden;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 7px 9px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-bottom-color: transparent;
  border-radius: 16px 16px 4px 4px;
}

.brand-mark-letter {
  position: relative;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
}

.brand-mark-drop {
  position: absolute;
  right: 8px;
  bottom: 7px;
  width: 8px;
  height: 11px;
  border-radius: 8px 8px 8px 2px;
  background: var(--amber);
  transform: rotate(38deg);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-toggle {
  display: inline-grid;
  gap: 4px;
  width: 44px;
  height: 44px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-links {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 78px;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.nav-links.is-open {
  display: flex;
}

.nav-links a {
  padding: 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
}

.nav-links a:hover {
  background: var(--soft);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0d2f37;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(13, 47, 55, 0.06), rgba(13, 47, 55, 0.88)), url("assets/leak-detection-hero.svg");
  background-position: center right;
  background-size: cover;
}

.hero-content {
  position: relative;
  width: min(980px, 100%);
  padding: 0 20px 42px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: 42px;
  line-height: 1.04;
}

.hero-copy {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.quick-contact {
  display: grid;
  gap: 1px;
  width: min(1100px, calc(100% - 28px));
  margin: -26px auto 0;
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.quick-contact a {
  display: grid;
  gap: 2px;
  padding: 16px;
  background: #fff;
}

.quick-contact span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.quick-contact strong {
  font-size: 15px;
}

.section {
  width: min(1100px, calc(100% - 28px));
  margin: 0 auto;
  padding: 56px 0;
}

.intro {
  display: grid;
  gap: 18px;
}

.intro h2,
.section-heading h2,
.process-copy h2,
.contact-panel h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
}

.intro p:not(.eyebrow),
.process-copy p:not(.eyebrow),
.contact-panel p {
  color: var(--muted);
  font-size: 17px;
}

.service-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.service-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 127, 140, 0.1);
  color: var(--teal-dark);
  font-weight: 800;
}

.service-card h3 {
  margin: 16px 0 8px;
  font-size: 20px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.process {
  display: grid;
  gap: 22px;
  padding: 48px 20px;
  background: var(--ink);
  color: #fff;
}

.process-copy {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.process-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.steps {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.steps strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--amber);
  color: var(--ink);
}

.contact-section {
  padding: 56px 14px;
}

.contact-panel {
  width: min(880px, 100%);
  margin: 0 auto;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.contact-list a,
.contact-list span {
  padding: 13px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 700;
}

.floating-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 34px rgba(31, 164, 99, 0.4);
}

.floating-whatsapp svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 24px 18px 90px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fff;
}

@media (min-width: 760px) {
  .site-header {
    padding: 14px 32px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links a {
    padding: 10px 12px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    padding: 0 42px 70px;
  }

  h1 {
    font-size: 68px;
  }

  .quick-contact {
    grid-template-columns: repeat(3, 1fr);
  }

  .intro {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process {
    grid-template-columns: 1fr;
    padding: 62px 34px;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-panel {
    padding: 34px;
  }
}
