:root {
  --ink: #14202b;
  --muted: #617181;
  --line: #dce5ea;
  --paper: #f7fafb;
  --white: #ffffff;
  --steel: #214d63;
  --blue: #126f92;
  --aqua: #23a5b9;
  --warm: #f0b45b;
  --shadow: 0 18px 50px rgba(20, 32, 43, 0.12);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 229, 234, 0.9);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--steel), var(--aqua));
  color: var(--white);
  font-weight: 800;
}

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

.brand strong {
  font-size: 15px;
  line-height: 1.25;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-call {
  padding: 10px 14px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--white) !important;
}

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

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(9, 29, 42, 0.92), rgba(9, 29, 42, 0.76) 50%, rgba(9, 29, 42, 0.48)),
    radial-gradient(circle at 82% 34%, rgba(35, 165, 185, 0.44), transparent 28%),
    linear-gradient(135deg, #183646, #26596d 55%, #d8f0f3);
  color: var(--white);
}

.hero-inner {
  width: min(720px, 100%);
  position: relative;
  z-index: 2;
  animation: rise 700ms ease both;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text,
.page-hero p {
  max-width: 690px;
  margin: 24px 0 0;
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255, 255, 255, 0.88);
}

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

.hero .eyebrow,
.cta-band .eyebrow { color: #9be7ef; }

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

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

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(20, 32, 43, 0.18);
}

.btn-primary {
  background: var(--warm);
  color: #1a1712;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
  margin: 42px 0 0;
}

.hero-facts div {
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  padding-top: 14px;
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
}

.hero-facts dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.9;
}

.pipe {
  position: absolute;
  right: clamp(24px, 10vw, 160px);
  display: block;
  border: 28px solid rgba(255, 255, 255, 0.16);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 0 80px 0 0;
}

.pipe-one {
  top: 22%;
  width: 300px;
  height: 260px;
  animation: float 6s ease-in-out infinite;
}

.pipe-two {
  bottom: 6%;
  right: clamp(0px, 4vw, 80px);
  width: 450px;
  height: 360px;
  transform: rotate(180deg);
  opacity: 0.7;
}

.drop {
  position: absolute;
  right: clamp(150px, 19vw, 280px);
  top: 46%;
  width: 42px;
  height: 58px;
  border-radius: 50% 50% 55% 55%;
  background: rgba(240, 180, 91, 0.9);
  transform: rotate(45deg);
  animation: pulse 2.4s ease-in-out infinite;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0;
}

.muted {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100% - var(--max)) / 2));
  padding-right: max(18px, calc((100% - var(--max)) / 2));
  background: var(--paper);
}

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

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

h3 {
  margin: 10px 0 8px;
  font-size: 22px;
  line-height: 1.2;
}

p { margin: 0 0 16px; }

.two-column,
.about-layout,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 6vw, 72px);
}

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

.service-grid article,
.service-detail article,
.contact-grid article,
.info-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-grid span {
  color: var(--aqua);
  font-weight: 900;
  font-size: 13px;
}

.process {
  position: relative;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 26px 0 0 54px;
  border-top: 2px solid var(--line);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 22px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--steel);
  color: var(--white);
  font-weight: 900;
}

.trust {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  border-block: 1px solid var(--line);
}

.quick {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 6vw, 72px);
  align-items: start;
}

.quick-form {
  display: grid;
  gap: 10px;
  padding: 26px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.quick-form label {
  font-weight: 800;
}

.quick-form input,
.quick-form select,
.quick-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  padding: 12px;
  font: inherit;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.quick-form textarea { resize: vertical; }

.quick-form ::placeholder { color: rgba(255, 255, 255, 0.58); }

.quick-submit { margin-top: 8px; }

.form-note {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

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

details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 18px;
}

details p {
  max-width: 760px;
  margin-top: 10px;
  color: var(--muted);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(38px, 7vw, 64px) max(18px, calc((100% - var(--max)) / 2));
  background: linear-gradient(135deg, var(--steel), #102f40);
  color: var(--white);
}

.cta-band h2 { max-width: 760px; }

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
  padding: 44px max(18px, calc((100% - var(--max)) / 2));
  background: #0d1720;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer strong {
  display: block;
  color: var(--white);
  margin-bottom: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.page-hero {
  padding: clamp(64px, 9vw, 112px) max(18px, calc((100% - var(--max)) / 2));
  background:
    linear-gradient(90deg, rgba(17, 45, 59, 0.92), rgba(17, 45, 59, 0.72)),
    radial-gradient(circle at 85% 30%, rgba(35, 165, 185, 0.46), transparent 28%),
    #214d63;
  color: var(--white);
}

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

.service-detail ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.service-detail li { margin: 8px 0; }

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

.big-link {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  color: var(--blue);
  text-decoration: none;
  overflow-wrap: anywhere;
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@keyframes pulse {
  0%, 100% { transform: rotate(45deg) scale(1); }
  50% { transform: rotate(45deg) scale(1.08); }
}

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

@media (max-width: 920px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
    color: var(--ink);
  }

  .nav-call { text-align: center; }

  .hero {
    min-height: auto;
    padding-top: 44px;
    padding-bottom: 52px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(36px, 12vw, 56px);
  }

  .hero-text,
  .page-hero p {
    font-size: 17px;
    margin-top: 18px;
  }

  .hero-facts,
  .service-grid,
  .steps,
  .trust,
  .quick,
  .site-footer,
  .service-detail,
  .value-list,
  .contact-grid,
  .two-column,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .pipe-one { width: 210px; height: 180px; opacity: 0.5; }
  .pipe-two { display: none; }
  .drop { right: 42px; top: 18%; opacity: 0.75; }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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

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

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

  .hero {
    padding: 30px 18px 42px;
  }

  .hero .eyebrow {
    margin-bottom: 10px;
  }

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

  .hero-facts {
    margin-top: 28px;
  }

  .section {
    width: min(100% - 28px, var(--max));
    padding: 48px 0;
  }

  .muted {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .service-grid article,
  .service-detail article,
  .contact-grid article,
  .info-panel,
  .quick-form {
    padding: 20px;
  }

  .page-hero {
    padding: 44px 18px 56px;
  }
}
