:root {
  --ink: #102f38;
  --ink-soft: #587079;
  --deep: #073b4c;
  --deep-2: #0a5260;
  --mint: #59d5c7;
  --mint-soft: #dff8f3;
  --cream: #f6f3ec;
  --paper: #fffefb;
  --line: #dce5e5;
  --alert: #f35d4f;
  --shadow: 0 24px 70px rgba(7, 59, 76, .18);
  --radius: 24px;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--deep);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }

.page-shell {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(89, 213, 199, .09), transparent 22rem),
    var(--cream);
}

.site-header {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  height: 88px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--deep);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.brand-mark svg { width: 31px; height: 31px; }
.brand-mark path { fill: var(--mint); }
.brand-mark path.brand-mark-cut {
  fill: none;
  stroke: white;
  stroke-width: 3;
  stroke-linecap: round;
}

.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; font-weight: 800; letter-spacing: -.02em; }
.brand small { margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--ink-soft); letter-spacing: .08em; text-transform: uppercase; }

.header-action {
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 6px 0;
  background: none;
  color: var(--deep);
  font-size: 13px;
  font-weight: 700;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  padding: 86px max(32px, calc((100vw - 1176px) / 2)) 64px;
  overflow: hidden;
  background: var(--deep);
  color: white;
  border-radius: 0 0 48px 48px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .22;
  background-image: radial-gradient(rgba(255,255,255,.35) .7px, transparent .7px);
  background-size: 20px 20px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -110px;
  top: -180px;
  width: 660px;
  height: 660px;
  border: 140px solid rgba(89, 213, 199, .10);
  border-radius: 50%;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #dff8f3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(89, 213, 199, .12);
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.hero h1 em {
  color: var(--mint);
  font-style: normal;
}

.hero-copy {
  max-width: 580px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.74);
  font-size: 18px;
  line-height: 1.7;
}

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

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-weight: 800;
  font-size: 14px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button:disabled { opacity: .65; cursor: wait; }

.button-primary {
  background: var(--mint);
  color: #05353f;
  box-shadow: 0 14px 36px rgba(89, 213, 199, .18);
}

.button-secondary {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: white;
}

.button-white { background: white; color: var(--deep); }

.hero-points {
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
  border-top: 1px solid rgba(255,255,255,.13);
}

.hero-points > div {
  display: flex;
  gap: 12px;
  padding: 21px 22px 0 0;
}

.hero-points span {
  color: var(--mint);
  font-size: 10px;
  font-weight: 800;
}

.hero-points p {
  margin: 0;
  color: rgba(255,255,255,.55);
  font-size: 11px;
  line-height: 1.55;
}

.hero-points strong { color: white; font-size: 12px; }

.pipe-art {
  position: absolute;
  right: max(22px, calc((100vw - 1270px) / 2));
  bottom: 60px;
  width: 260px;
  height: 260px;
  opacity: .92;
}

.pipe {
  position: absolute;
  display: block;
  background: linear-gradient(90deg, #cbd6d3, #f4faf8 45%, #9aacab);
  box-shadow: inset 0 0 0 1px rgba(7, 59, 76, .2), 0 18px 50px rgba(0,0,0,.18);
}

.pipe-one { width: 72px; height: 230px; right: 54px; top: 10px; border-radius: 11px; }
.pipe-two { width: 185px; height: 72px; right: 54px; top: 10px; border-radius: 11px 0 0 11px; }
.pipe-valve {
  position: absolute;
  right: 22px;
  top: 54px;
  width: 136px;
  height: 136px;
  display: grid;
  place-items: center;
  border: 21px solid var(--mint);
  border-radius: 50%;
  color: var(--mint);
  font-size: 102px;
  font-weight: 300;
  line-height: 1;
  transform: rotate(45deg);
  filter: drop-shadow(0 16px 22px rgba(0,0,0,.22));
}

.services-section, .how-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 104px 32px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 36px;
  margin-bottom: 38px;
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #168d82;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-heading h2, .sheet h2, .cta-section h2 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -.045em;
  line-height: 1.05;
}

.section-heading > p {
  max-width: 480px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.service-search {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255,255,255,.72);
  transition: border-color .2s, box-shadow .2s;
}

.service-search:focus-within {
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(89,213,199,.13);
}

.service-search svg {
  width: 21px;
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.7;
}

.service-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.service-search span { color: var(--ink-soft); font-size: 11px; }

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

.catalog-loader {
  grid-column: 1 / -1;
  padding: 50px;
  color: var(--ink-soft);
  text-align: center;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: rgba(255,255,255,.8);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.service-card:hover { border-color: #bbd6d2; }
.service-card.is-open {
  grid-column: 1 / -1;
  border-color: var(--mint);
  box-shadow: 0 20px 55px rgba(7, 59, 76, .09);
}

.service-card-head {
  width: 100%;
  min-height: 104px;
  display: grid;
  grid-template-columns: 48px 1fr 35px;
  align-items: center;
  gap: 15px;
  padding: 19px 20px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--mint-soft);
  font-size: 21px;
}

.service-card-head strong { display: block; font-size: 16px; letter-spacing: -.02em; }
.service-card-head small { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 11px; line-height: 1.4; }

.service-toggle {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--deep);
  font-size: 19px;
  transition: transform .2s, background .2s;
}

.service-card.is-open .service-toggle { transform: rotate(45deg); background: var(--mint); border-color: var(--mint); }

.service-items {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0 20px 20px 83px;
}

.service-card.is-open .service-items { display: grid; }

.service-item {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid #e1e9e8;
  border-radius: 12px;
  background: #f8fbfa;
  color: var(--ink);
  text-align: left;
  font-size: 12px;
  font-weight: 600;
}

.service-item::after { content: "→"; color: #168d82; }
.service-item:hover { border-color: var(--mint); background: var(--mint-soft); }
.empty-search { padding: 35px; text-align: center; color: var(--ink-soft); }

.how-section { padding-top: 25px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.7);
}

.steps article { min-height: 230px; padding: 31px; border-right: 1px solid var(--line); }
.steps article:last-child { border-right: 0; }
.step-number {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint-soft);
  color: #168d82;
  font-size: 11px;
  font-weight: 800;
}
.steps h3 { margin: 35px 0 8px; font-size: 17px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }

.cta-section {
  max-width: 1176px;
  min-height: 330px;
  margin: 30px auto 100px;
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  position: relative;
  border-radius: 34px;
  background: var(--deep);
  color: white;
}

.cta-section::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -130px;
  border: 85px solid rgba(89,213,199,.12);
  border-radius: 50%;
}

.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { color: white; }
.cta-section p { max-width: 560px; margin: 16px 0 0; color: rgba(255,255,255,.65); line-height: 1.7; }
.eyebrow-light { color: var(--mint); }

footer {
  min-height: 160px;
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 40px max(32px, calc((100vw - 1176px) / 2));
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 12px;
}
footer p { flex: 1; }
footer a { color: var(--deep); font-weight: 800; }

.bottom-nav { display: none; }

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: end center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(3, 31, 40, .60);
  backdrop-filter: blur(5px);
  cursor: default;
  animation: fade-in .2s ease;
}

.sheet {
  position: relative;
  width: min(760px, 100%);
  max-height: min(92vh, 920px);
  overflow: auto;
  padding: 28px 36px 38px;
  border-radius: 30px 30px 0 0;
  background: var(--paper);
  box-shadow: var(--shadow);
  animation: sheet-up .3s cubic-bezier(.2,.8,.2,1);
}

.sheet-grip {
  display: none;
  width: 44px;
  height: 4px;
  margin: -12px auto 20px;
  border-radius: 999px;
  background: #cbd6d4;
}

.sheet-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.sheet-header h2, .success-sheet h2 { font-size: 36px; }

.icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
}

form { display: grid; gap: 16px; }
form label { display: grid; gap: 7px; }
form label > span { color: var(--ink-soft); font-size: 11px; font-weight: 700; }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  background: white;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
input, select { height: 50px; padding: 0 14px; }
textarea { resize: vertical; min-height: 100px; padding: 14px; }
input:focus, select:focus, textarea:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(89,213,199,.12); }
input::placeholder, textarea::placeholder { color: #98a7aa; }
select:disabled { background: #f2f4f2; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.honeypot { position: absolute; left: -9999px; }
.form-note { margin: 0; color: #7a8c91; font-size: 10px; line-height: 1.5; }
.form-error { margin: 0; padding: 11px 13px; border-radius: 10px; background: #fff0ee; color: #ae3328; font-size: 12px; }
.submit-button { width: 100%; margin-top: 4px; }

.success-sheet {
  max-width: 520px;
  padding: 50px 42px;
  text-align: center;
}
.success-mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--deep);
  font-size: 35px;
  font-weight: 800;
}
.success-sheet p { color: var(--ink-soft); line-height: 1.7; }
.success-sheet .button { width: 100%; margin-top: 15px; }

.requests-sheet { max-width: 620px; }
.requests-list { display: grid; gap: 10px; }
.request-row {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
}
.request-row-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.request-row h3 { margin: 7px 0 4px; font-size: 14px; }
.request-row p { margin: 0; color: var(--ink-soft); font-size: 11px; }
.request-status { padding: 5px 8px; border-radius: 999px; background: var(--mint-soft); color: #0b746a; font-size: 9px; font-weight: 800; }
.request-status.new { background: #fff0ee; color: #ae3328; }
.request-status.accepted { background: #fff4d9; color: #8f6712; }

body.modal-open { overflow: hidden; }

@keyframes fade-in { from { opacity: 0; } }
@keyframes sheet-up { from { transform: translateY(35px); opacity: .7; } }

@media (max-width: 920px) {
  .pipe-art { opacity: .28; right: -10px; }
  .hero { padding-top: 70px; }
  .hero h1 { max-width: 680px; }
}

@media (max-width: 700px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .page-shell { border-radius: 0; }
  .site-header { height: 70px; padding: 0 17px; }
  .header-action { display: none; }
  .brand-mark { width: 39px; height: 39px; border-radius: 12px; }
  .brand-mark svg { width: 27px; height: 27px; }
  .brand strong { font-size: 12px; }
  .brand small { font-size: 9px; }

  .hero {
    min-height: auto;
    padding: 54px 18px 34px;
    border-radius: 0 0 28px 28px;
  }
  .hero::after { width: 380px; height: 380px; right: -250px; top: -80px; border-width: 90px; }
  .hero-status { margin-bottom: 20px; font-size: 10px; }
  .hero h1 { font-size: clamp(39px, 12vw, 56px); }
  .hero-copy { margin-top: 20px; font-size: 14px; line-height: 1.6; }
  .hero-actions { display: grid; margin-top: 25px; }
  .button { min-height: 52px; }
  .hero-points { grid-template-columns: 1fr; margin-top: 34px; padding-top: 4px; }
  .hero-points > div { padding-top: 14px; }
  .pipe-art { display: none; }

  .services-section, .how-section { padding: 72px 17px; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading > p { margin-top: 14px; font-size: 12px; }
  .section-heading h2 { font-size: 38px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card.is-open { grid-column: auto; }
  .service-card-head { min-height: 92px; grid-template-columns: 44px 1fr 32px; padding: 15px; }
  .service-icon { width: 44px; height: 44px; }
  .service-card-head strong { font-size: 14px; }
  .service-items, .service-card.is-open .service-items { grid-template-columns: 1fr; padding: 0 15px 15px; }
  .service-search { height: 53px; }

  .how-section { padding-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: auto; padding: 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps article:last-child { border-bottom: 0; }
  .steps h3 { margin-top: 19px; }

  .cta-section {
    min-height: 350px;
    display: block;
    margin: 0 17px 72px;
    padding: 36px 26px;
    border-radius: 25px;
  }
  .cta-section h2 { font-size: 39px; }
  .cta-section p { font-size: 13px; }
  .cta-section .button { width: 100%; margin-top: 28px; }

  footer { display: grid; gap: 10px; padding: 30px 18px; }
  footer p { margin: 10px 0; }

  .bottom-nav {
    position: fixed;
    z-index: 50;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(67px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 7px 9px env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: rgba(255, 254, 251, .94);
    backdrop-filter: blur(18px);
  }
  .bottom-nav button {
    display: grid;
    place-items: center;
    gap: 2px;
    border: 0;
    background: none;
    color: var(--ink-soft);
    font-size: 9px;
    font-weight: 700;
  }
  .bottom-nav button span { font-size: 20px; line-height: 1; }
  .bottom-nav .bottom-main { color: var(--deep); }
  .bottom-nav .bottom-main span {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    margin-top: -19px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 8px 22px rgba(7,59,76,.18);
  }

  .modal { align-items: end; }
  .sheet {
    width: 100%;
    max-height: calc(94vh - env(safe-area-inset-top));
    padding: 24px 17px calc(22px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
  }
  .sheet-grip { display: block; }
  .sheet-header { margin-bottom: 22px; }
  .sheet-header h2, .success-sheet h2 { font-size: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .success-sheet { padding-top: 37px; }
}

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

