:root {
  --ink: #fbfeff;
  --ink-2: #ffffff;
  --ink-3: #eaf7fc;
  --paper: #ddf3fc;
  --paper-2: #c9ecf8;
  --white: #0c2f46;
  --text: #123247;
  --muted: #4f6e7d;
  --faint: #5c7c8c;
  --line: rgba(12, 47, 70, 0.12);
  --line-strong: rgba(12, 47, 70, 0.22);
  --blue: #0092cf;
  --blue-bright: #00a8e8;
  --blue-soft: rgba(0, 146, 207, 0.12);
  --mold: #43991e;
  --mold-soft: rgba(67, 153, 30, 0.12);
  --orange: #e78200;
  --orange-soft: rgba(231, 130, 0, 0.14);
  --nav: rgba(255, 255, 255, 0.9);
  --navy: #0c2f46;
  --panel: #0c2f46;
  --field: #173f55;
  --button-text: #ffffff;
  --on-paper: #0c2f46;
  --on-paper-muted: #436475;
  --placeholder: #a9c9d8;
  --radius: 14px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body, nav, section, footer, input, select, textarea { transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(0, 168, 232, .55); } 70% { box-shadow: 0 0 0 12px rgba(0, 168, 232, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 168, 232, 0); } }
@keyframes shimmer-sweep { 0% { transform: translateX(-120%) skewX(-12deg); } 100% { transform: translateX(220%) skewX(-12deg); } }
@keyframes fade-up-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
::selection { background: var(--blue); color: var(--button-text); }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 4px; }
* { scrollbar-color: var(--blue) var(--ink-2); scrollbar-width: thin; }

.shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--blue); color: #071014; padding: 10px 14px; font-weight: 800; }
.skip-link:focus { top: 16px; }
.placeholder { color: var(--faint); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.status-bar {
  min-height: 38px;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.status-bar .shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.status-note { font-weight: 600; opacity: .74; }
.status-bar a { color: inherit; text-decoration: none; }
.status-bar a:hover { text-decoration: underline; }

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 82px;
  background: var(--nav);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: min-height .3s ease, box-shadow .3s ease, background-color .3s ease;
}
nav.is-scrolled { min-height: 62px; box-shadow: 0 10px 30px -18px rgba(12, 47, 70, .28); background: var(--ink-2); }
.nav-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; transition: min-height .3s ease; }
nav.is-scrolled .nav-inner { min-height: 68px; }
.brand { display: flex; align-items: center; min-width: 0; text-decoration: none; }
.brand-logo { display: block; width: 155px; height: auto; transition: width .3s ease; }
nav.is-scrolled .brand-logo { width: 134px; }
.brand-name { font: 800 21px/.95 "Barlow Condensed", sans-serif; letter-spacing: .03em; text-transform: uppercase; }
.brand-name span { color: var(--blue); }
.brand-caption { display: block; margin-top: 5px; color: var(--faint); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; gap: 24px; align-items: center; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; position: relative; padding-bottom: 3px; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--blue); transition: right .25s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }
.nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 0 22px; border: 1px solid transparent; font-size: 13px; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; text-decoration: none; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn::before {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-120%) skewX(-12deg); pointer-events: none;
}
.btn:hover::before { animation: shimmer-sweep .85s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: var(--button-text); box-shadow: 0 8px 20px -10px rgba(0, 146, 207, .55); }
.btn-primary:hover { background: var(--blue-bright); box-shadow: 0 12px 26px -10px rgba(0, 168, 232, .6); }
.btn-secondary { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-secondary:hover { border-color: var(--blue); }
.btn-call-pulse { animation: pulse-ring 2.6s ease-out infinite; }

.hero {
  min-height: calc(100svh - 120px); position: relative; overflow: hidden; display: grid; align-items: stretch; background: var(--ink);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(251, 254, 255, .95) 0%, rgba(251, 254, 255, .88) 28%, rgba(221, 243, 252, .68) 55%, rgba(200, 236, 248, .4) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); position: relative; z-index: 2; }
.hero-copy { padding: clamp(40px, 5vw, 72px) 8vw 36px 0; display: flex; flex-direction: column; justify-content: center; }
.hero-title {
  max-width: 760px; margin: 0; color: var(--white); font: 900 clamp(4.4rem, 8vw, 6rem)/.8 "Barlow Condensed", sans-serif;
  letter-spacing: -.035em; text-transform: uppercase; text-wrap: balance;
}
.hero-title .water { color: var(--blue); }
.hero-title .air { color: var(--mold); }
.hero-summary { max-width: 630px; margin: 20px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-foot { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-height: 820px) {
  .hero-foot { display: none; }
}
.hero-foot div { color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.hero-foot strong { color: var(--text); display: block; margin-bottom: 3px; font-size: 14px; letter-spacing: 0; text-transform: none; }

.hero-quote { position: relative; min-height: 560px; border-left: 1px solid var(--line); display: flex; align-items: stretch; padding: 0; }

.triage { background: var(--paper); color: var(--on-paper); }
.triage-grid { display: grid; grid-template-columns: .8fr 1fr 1fr; }
.triage-title, .triage-option { padding: 28px 30px; min-height: 122px; display: flex; flex-direction: column; justify-content: center; }
.triage-title { padding-left: 0; }
.triage-title strong { font: 800 25px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.triage-title span { color: var(--on-paper-muted); font-size: 13px; margin-top: 7px; }
.triage-option { border-left: 1px solid var(--line); text-decoration: none; position: relative; transition: background-color .25s ease, transform .25s ease, padding-left .25s ease; }
.triage-option:hover { background: var(--paper-2); transform: translateY(-3px); padding-left: 34px; }
.triage-option b { font: 800 20px/1.1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.triage-option span { color: var(--on-paper-muted); font-size: 14px; margin-top: 8px; }
.triage-option svg { position: absolute; width: 22px; height: 22px; right: 24px; top: 24px; color: var(--blue); transition: transform .3s ease; }
.triage-option:hover svg { transform: scale(1.15) rotate(6deg); }
.triage-option.mold-link svg { color: var(--mold); }

.section { padding: clamp(80px, 10vw, 132px) 0; }
.section-heading { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; align-items: end; margin-bottom: 58px; }
.section-heading h2 { margin: 0; color: var(--white); font: 800 clamp(3rem, 6vw, 5.7rem)/.88 "Barlow Condensed", sans-serif; letter-spacing: -.03em; text-transform: uppercase; text-wrap: balance; }
.section-heading p { max-width: 620px; margin: 0; color: var(--muted); font-size: 18px; }

.services { background: var(--ink-2); }
.service-group { display: grid; grid-template-columns: 300px 1fr; border-top: 1px solid var(--line-strong); }
.service-group:last-child { border-bottom: 1px solid var(--line-strong); }
.group-label { padding: 34px 30px 34px 0; }
.group-label h3 { margin: 0; font: 800 28px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.group-label p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.group-label a { color: var(--blue); font-weight: 700; text-decoration: none; }
.mold-group .group-label a { color: var(--mold); }
.group-label a:hover { text-decoration: underline; }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); border-left: 1px solid var(--line); }
.service-item { min-height: 180px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 0; transition: background-color .25s ease, transform .25s ease; }
.service-item::before { content: ""; position: absolute; inset: 0; border-left: 3px solid var(--blue); opacity: 0; transition: opacity .25s ease; }
.mold-group .service-item::before { border-left-color: var(--mold); }
.service-item:hover { background: var(--blue-soft); transform: translateY(-4px); }
.mold-group .service-item:hover { background: var(--mold-soft); }
.service-item:hover::before { opacity: 1; }
.service-item:nth-last-child(-n+2) { border-bottom: 0; }
.service-item h4 { margin: 18px 0 9px; color: var(--text); font-size: 18px; }
.service-item p { margin: 0; color: var(--muted); font-size: 14px; max-width: 36ch; }
.service-icon { width: 30px; height: 30px; color: var(--blue); transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.mold-group .service-icon { color: var(--mold); }
.service-item:hover .service-icon { transform: scale(1.18) rotate(-6deg); }

.process { background: var(--paper); }
.process-track { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.process-step { padding: 34px 32px; border-right: 1px solid var(--line); transition: transform .25s ease; }
.process-step:first-child { padding-left: 0; }
.process-step:last-child { border-right: 0; }
.process-step:hover { transform: translateY(-4px); }
.process-step span { color: var(--blue); font: 800 13px/1 "Barlow Condensed", sans-serif; letter-spacing: .12em; }
.process-step h3 { margin: 18px 0 10px; color: var(--white); font: 800 24px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.process-step p { margin: 0; color: var(--muted); font-size: 14px; }

.testimonials { background: var(--ink-2); }
.rating-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.rating-hero p { margin: 0; color: var(--muted); font-size: 16px; }
.rating-hero strong { color: var(--text); font-weight: 800; }

.stars { display: inline-flex; gap: 6px; line-height: 1; }
.star { position: relative; display: inline-block; color: var(--line-strong); font-size: 16px; }
.star::after {
  content: "★"; position: absolute; inset: 0; color: var(--orange);
  clip-path: inset(0 100% 0 0); animation: star-fill .7s cubic-bezier(.16,1,.3,1) forwards; animation-play-state: paused;
}
[data-reveal].is-visible .star::after { animation-play-state: running; }
.star:nth-child(1)::after { animation-delay: .1s; }
.star:nth-child(2)::after { animation-delay: .3s; }
.star:nth-child(3)::after { animation-delay: .5s; }
.star:nth-child(4)::after { animation-delay: .7s; }
.star:nth-child(5)::after { animation-delay: .9s; }
.stars-lg { gap: 10px; }
.stars-lg .star { font-size: 44px; }
@keyframes star-fill { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .star::after { clip-path: inset(0 0 0 0) !important; } }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.testimonial-slot { margin: 0; min-height: 220px; padding: 28px; border: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.testimonial-slot .stars .star { font-size: 14px; }
.testimonial-slot p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.55; }
.testimonial-slot cite { font-style: normal; color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.section-heading-media { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 22px; border: 1px solid var(--line); background: var(--paper); }
.section-heading-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.faq-item { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; position: relative; font: 700 17px/1.4 "Barlow", sans-serif; color: var(--white); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 14px; width: 28px; height: 28px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--blue); font-size: 18px; transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 20px; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 68ch; }
.faq { background: var(--ink-2); }
.faq-list { max-width: 820px; }
.faq-list a { color: var(--blue); font-weight: 700; }

.contact { background: var(--paper); color: var(--on-paper); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 8vw, 100px); }
.contact-copy h2 { margin: 0; color: var(--on-paper); font: 800 clamp(3.5rem, 7vw, 6rem)/.84 "Barlow Condensed", sans-serif; letter-spacing: -.035em; text-transform: uppercase; }
.contact-copy > p { max-width: 46ch; color: var(--on-paper-muted); font-size: 18px; }
.contact-detail { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact-detail strong { display: block; color: var(--on-paper); }
.contact-detail span { color: var(--on-paper-muted); font-size: 14px; }
.form-panel { --text: #f7fbfd; --white: #ffffff; --muted: #bfd0d8; --line: rgba(255,255,255,.16); --field: #173f55; --placeholder: #b8ced8; background: var(--panel); padding: clamp(22px, 3.5vw, 32px); border: 1px solid var(--line); color: var(--text); }
.form-panel h3 { margin: 0 0 5px; color: var(--white); font: 800 28px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.form-panel > p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.form-panel.form-panel--hero { width: 100%; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 13px; }
label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; background: var(--field); color: var(--text); padding: 12px 14px; }
input::placeholder, textarea::placeholder { color: var(--placeholder); opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 2px solid transparent; }
textarea { min-height: 84px; resize: vertical; }
.form-status { min-height: 24px; margin: 12px 0 0; color: var(--muted); font-size: 13px; }

.form-fields { transition: opacity .35s ease; }
.form-fields.is-hidden { opacity: 0; pointer-events: none; }
.form-success { text-align: center; padding: 36px 10px; opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
.form-success.is-visible { opacity: 1; transform: none; }
.form-success svg { width: 46px; height: 46px; color: var(--blue-bright); margin-bottom: 16px; }
.form-success h4 { margin: 0 0 8px; color: var(--white); font: 800 22px/1.2 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: -.01em; }
.form-success p { margin: 0; color: var(--muted); font-size: 15px; }
@media (prefers-reduced-motion: reduce) {
  .form-fields.is-hidden { display: none; }
  .form-success { opacity: 1; transform: none; }
}

.area { background: var(--ink-2); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; }
.area h2 { margin: 0; color: var(--white); font: 800 clamp(3rem, 6vw, 5.5rem)/.88 "Barlow Condensed", sans-serif; letter-spacing: -.03em; text-transform: uppercase; }
.area p { color: var(--muted); max-width: 52ch; }
.map-embed { min-height: 340px; border: 1px solid var(--line); overflow: hidden; background: var(--paper); }
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; display: block; border: 0; }
.area-list { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.area-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--blue); vertical-align: 2px; }

footer { background: #071014; color: #e7eeeb; padding: 58px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(2, .7fr); gap: 60px; }
.footer-identity { display: flex; align-items: center; gap: 16px; }
.footer-logo { width: 52px; height: auto; padding: 7px; background: #ffffff; }
.footer-brand p { max-width: 42ch; color: #8fa09b; font-size: 14px; }
.footer-title { font: 800 14px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.footer-links { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.footer-links a { color: #8fa09b; font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: #e7eeeb; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(231,238,235,.12); color: #697b76; font-size: 12px; }

[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 940px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-right: 0; padding-bottom: 40px; }
  .hero-quote { min-height: 0; border-left: 0; border-top: 1px solid var(--line); padding: 40px 0 56px; }
  .section-heading, .contact-grid, .area-grid { grid-template-columns: 1fr; }
  .service-group { grid-template-columns: 230px 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, var(--max)); }
  .status-note, .nav-actions .btn { display: none; }
  .status-bar .shell { justify-content: center; }
  .brand-logo { width: 122px; }
  .hero-copy { padding-top: 68px; }
  .hero-title { font-size: clamp(4rem, 22vw, 6rem); }
  .hero-summary { font-size: 18px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .triage-grid { grid-template-columns: 1fr; }
  .triage-title { padding: 24px 0; }
  .triage-option { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; }
  .triage-option svg { right: 0; }
  .section-heading { gap: 22px; }
  .service-group { grid-template-columns: 1fr; }
  .group-label { padding-right: 0; }
  .service-list { grid-template-columns: 1fr; border-left: 0; }
  .service-item { border-right: 0; }
  .service-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-item:last-child { border-bottom: 0; }
  .process-track { grid-template-columns: 1fr; }
  .process-step, .process-step:first-child { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: 0; }
  .form-row, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 38px; }
  .footer-bottom { flex-direction: column; }
}
