/* Tokens */
:root {
  --ink: #0b2a4a; --ink-deep: #071a30; --text: #27384a; --muted: #53647a;
  --water: #f1f6fc; --line: #d9e4f0; --valve: #d92020; --valve-dark: #b81818;
  --brass: #38b6ff; --brass-dark: #1565c0; --blue: #1565c0; --sky: #38b6ff; --blue-soft: #e7f1fd;
  --h-radius: 16px; --h-shadow: 0 10px 30px rgba(11,42,74,.08); --h-shadow-lg: 0 22px 50px rgba(11,42,74,.16);
}
html { scroll-behavior: smooth; }
.icon { width: 1.5rem; height: 1.5rem; flex: none; display: inline-block; }

/* Buttons */
.h-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3.1rem; padding: .75rem 1.5rem; border-radius: 999px; font: inherit; font-weight: 800; font-size: 1rem; line-height: 1; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.h-btn .icon { width: 1.15rem; height: 1.15rem; }
.h-btn:hover { transform: translateY(-2px); }
.h-btn--red { background: var(--valve); color: #fff; box-shadow: 0 8px 20px rgba(217,32,32,.28); }
.h-btn--red:hover { background: var(--valve-dark); color: #fff; box-shadow: 0 12px 26px rgba(217,32,32,.38); }
.h-btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.5); }
.h-btn--ghost:hover { background: #fff; color: var(--ink); }
.h-btn--block { width: 100%; }

/* Icon Tiles & Animations */
.h-ico { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 14px; background: linear-gradient(145deg, #fff 0%, var(--blue-soft) 100%); color: var(--blue); border: 1px solid #cfe0f4; flex: none; }
.h-ico .icon { width: 1.65rem; height: 1.65rem; }
.rv { opacity: 1; transition: opacity .65s ease, transform .65s ease; }
.js .rv { opacity: 0; transform: translateY(22px); }
.js .rv.in { opacity: 1; transform: none; }

/* Section Shells */
.h-sec { padding-block: clamp(3.25rem, 7vw, 5.5rem); position: relative; }
.h-sec--water { background: var(--water); }
.h-head { max-width: 46rem; margin: 0 auto 2.6rem; text-align: center; }
.h-eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); padding: .35rem .85rem; border-radius: 999px; margin-bottom: .9rem; }
.h-eyebrow .icon { width: .95rem; height: .95rem; }
.h-head h2, .h-title { color: var(--ink); margin: 0 0 .7rem; }
.h-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* Hero */
.h-hero { position: relative; overflow: hidden; color: #dbe7f5; padding-block: clamp(2.75rem, 7vw, 5rem) clamp(6rem, 10vw, 8.5rem); background: linear-gradient(135deg, #0b2a4a 0%, #0f3a6b 100%); }
.h-hero__grid { position: relative; z-index: 2; display: grid; gap: 2.5rem; align-items: center; }
.h-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); padding: .45rem 1rem; border-radius: 999px; font-size: .92rem; font-weight: 700; color: #fff; margin-bottom: 1.2rem; }
.h-badge .icon { width: 1.05rem; height: 1.05rem; color: var(--sky); }
.h-hero h1 { color: #fff; max-width: 16ch; margin: 0 0 1rem; line-height: 1.08; }
.h-hero h1 .h-hl { display: block; color: var(--sky); }
.h-hero__lead { font-size: 1.2rem; max-width: 34rem; color: #dbe7f5; margin: 0; }
.h-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 1.7rem 0 1.8rem; }
.h-trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; max-width: 36rem; }
.h-trust li { display: flex; align-items: center; gap: .75rem; padding: .7rem .85rem; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.25; }
.h-trust .h-ico { width: 2.6rem; height: 2.6rem; border-radius: 12px; background: linear-gradient(145deg, var(--sky), var(--blue)); color: #fff; border: 0; }
.h-trust .h-ico .icon { width: 1.25rem; height: 1.25rem; }
.h-in { opacity: 0; transform: translateY(24px); animation: h-up .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes h-up { to { opacity: 1; transform: none; } }

/* Water Waves & Drops */
.h-drops { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.h-drops i { position: absolute; top: -1.5rem; left: var(--x); width: var(--s, .8rem); height: var(--s, .8rem); border-radius: 0 50% 50% 50%; background: linear-gradient(145deg, rgba(150,220,255,.95), rgba(56,182,255,.55)); box-shadow: inset 2px 2px 4px rgba(255,255,255,.35); transform: rotate(45deg); opacity: 0; animation: h-drop var(--t, 7s) ease-in infinite; animation-delay: var(--w, 0s); }
@keyframes h-drop { 0% { transform: translateY(0) rotate(45deg); opacity: 0; } 12% { opacity: .85; } 85% { opacity: .6; } 100% { transform: translateY(32rem) rotate(45deg); opacity: 0; } }
.h-waves { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(2.8rem, 5vw, 4.5rem); overflow: hidden; z-index: 1; pointer-events: none; }
.h-w { position: absolute; left: 0; right: 0; bottom: 0; background-repeat: repeat-x; background-position: 0 100%; }
.h-w1 { height: 100%; background-size: 1600px 100%; animation: h-wave1 30s linear infinite; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath fill='%2338b6ff' fill-opacity='.28' d='M0 40 Q150 0 300 40 T600 40 T900 40 T1200 40 V80 H0 Z'/%3E%3C/svg%3E"); }
.h-w2 { height: 76%; background-size: 1100px 100%; animation: h-wave2 15s linear infinite; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath fill='%2338b6ff' fill-opacity='.5' d='M0 40 Q150 0 300 40 T600 40 T900 40 T1200 40 V80 H0 Z'/%3E%3C/svg%3E"); }
.h-w3 { height: 50%; background-size: 800px 100%; animation: h-wave3 8s linear infinite; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 40 Q150 0 300 40 T600 40 T900 40 T1200 40 V80 H0 Z'/%3E%3C/svg%3E"); }
@keyframes h-wave1 { from { background-position: 0 100%; } to { background-position: 1600px 100%; } }
@keyframes h-wave2 { from { background-position: 0 100%; } to { background-position: 1100px 100%; } }
@keyframes h-wave3 { from { background-position: 0 100%; } to { background-position: 800px 100%; } }

/* Form Card */
.h-form { background: #fff; color: var(--text); border-radius: 20px; padding: 1.8rem; box-shadow: 0 26px 60px rgba(3,14,30,.4); border-top: 5px solid var(--valve); }
.h-form h2 { font-size: 1.45rem; margin: 0 0 .3rem; color: var(--ink); }
.h-form__sub { color: var(--muted); font-size: .96rem; margin: 0 0 1.3rem; }

/* Seamless Border Cutout Fields */
.h-field { position: relative; margin-bottom: 1.25rem; }
.h-field input, .h-field select { display: block; width: 100%; min-height: 3.3rem; padding: .8rem 1rem; font: inherit; font-size: 1rem; font-weight: 600; color: var(--ink); background: #fff !important; border: 1.5px solid #b9c9db; border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.h-field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231565c0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.2rem; }
.h-field input:focus, .h-field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,192,.14); }

.h-field input:-webkit-autofill,
.h-field input:-webkit-autofill:hover, 
.h-field input:-webkit-autofill:focus, 
.h-field input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: var(--ink) !important;
  transition: background-color 5000s ease-in-out 0s;
}

.h-field label { position: absolute; left: .85rem; top: 1.65rem; transform: translateY(-50%); margin: 0; padding: 0 .45rem; background: #fff; font-size: .95rem; font-weight: 500; color: var(--muted); pointer-events: none; z-index: 2; line-height: 1; transition: top .18s ease, font-size .18s ease, color .18s ease; }
.h-field input:focus + label, .h-field input:not(:placeholder-shown) + label,
.h-field select + label { top: 0; font-size: .78rem; font-weight: 700; color: var(--blue); }

.h-form__call { text-align: center; margin: 1.1rem 0 0; font-size: .92rem; color: var(--muted); }
.h-form__call a { font-weight: 800; color: var(--ink); text-decoration: none; }

/* Breadcrumbs */
.dr-crumbs { position: relative; z-index: 2; margin: 0 0 1.1rem; font-size: .9rem; }
.dr-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; color: #b6c9df; }
.dr-crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.dr-crumbs a { color: #fff; text-decoration: none; font-weight: 700; }
.dr-crumbs a:hover { text-decoration: underline; }

/* 4-Card Service Grid */
.dr-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.dr-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--h-radius); padding: 1.8rem; display: flex; flex-direction: column; gap: .5rem; transition: border-color .2s, box-shadow .2s; }
.dr-card:hover { border-color: #b9d3f0; box-shadow: var(--h-shadow); }
.dr-card h3 { margin: 0; font-size: 1.18rem; color: var(--ink); }
.dr-card p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.5; }
.dr-card .h-ico { margin-bottom: .8rem; }

/* 6-Card Common Causes Grid */
.dr-causes-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.dr-cause { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 1.4rem; display: flex; gap: 1.1rem; align-items: flex-start; transition: transform .2s, border-color .2s; }
.dr-cause:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--h-shadow); }
.dr-cause .h-ico { width: 3rem; height: 3rem; border-radius: 12px; }
.dr-cause .h-ico .icon { width: 1.4rem; height: 1.4rem; }
.dr-cause h3 { margin: 0 0 .3rem; font-size: 1.1rem; color: var(--ink); }
.dr-cause p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.45; }

/* Hydro Jetting Feature Banner */
.dr-jetting { background: linear-gradient(135deg, var(--ink) 0%, #0f3a6b 100%); color: #fff; border-radius: 20px; padding: clamp(2rem, 4vw, 3rem); box-shadow: var(--h-shadow-lg); display: grid; gap: 2.2rem; align-items: center; }
@media (min-width: 62rem) {
  .dr-jetting { grid-template-columns: 1.2fr .8fr; gap: 3.5rem; }
}
.dr-jetting h2 { color: #fff; margin: 0 0 .8rem; font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.dr-jetting p { color: #dbe7f5; margin: 0 0 1.2rem; line-height: 1.6; }
.dr-perks { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.dr-perks li { display: flex; align-items: center; gap: .75rem; font-size: .95rem; color: #fff; font-weight: 600; }
.dr-perks-ico { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--sky); color: #fff; flex: none; }
.dr-perks-ico .icon { width: .95rem; height: .95rem; stroke-width: 2.6; }

.dr-jet-box { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 18px; padding: 1.8rem; text-align: center; }
.dr-jet-box h3 { color: #fff; font-size: 1.35rem; margin: 0 0 .5rem; }
.dr-jet-box p { color: #cfe0f4; font-size: .92rem; margin: 0 0 1.4rem; }

/* FAQ */
.h-faq { max-width: 52rem; margin: 0 auto; display: grid; gap: .8rem; }
.h-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.h-faq details[open] { border-color: #b9d3f0; box-shadow: var(--h-shadow); }
.h-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; font-weight: 800; color: var(--ink); font-size: 1.04rem; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 1.4rem; line-height: 1; font-weight: 700; }
.h-faq details[open] summary::after { content: "\2212"; background: var(--blue); color: #fff; }
.h-faq details p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* Closing CTA */
.h-cta { background: linear-gradient(135deg, var(--ink) 0%, #0f3a6b 100%); color: #dbe7f5; padding-block: clamp(2.8rem, 6vw, 4.2rem); }
.h-cta__inner { display: grid; gap: 1.6rem; align-items: center; }
.h-cta h2 { color: #fff; margin: 0 0 .4rem; }
.h-cta p { margin: 0; }
.h-cta__actions { display: flex; flex-direction: column; gap: .9rem; align-items: flex-start; }
.h-cta__alt { color: #dbe7f5; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* Breakpoints */
@media (min-width: 62rem) {
  .h-hero__grid { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
  .h-cta__inner { grid-template-columns: 1.4fr 1fr; gap: 3rem; }
  .h-cta__actions { align-items: flex-end; }
}

/* Shared service pages: extra content + hub */
.svc-content { max-width: 52rem; margin: 0 auto; font-size: 1.06rem; }
.svc-content > *:first-child { margin-top: 0; }
.svc-content h2, .svc-content h3 { margin-top: 1.8em; }
.svc-content p, .svc-content ul, .svc-content ol { margin: 0 0 1.1em; }
.svc-content ul, .svc-content ol { padding-left: 1.3em; }
.svc-content a { color: var(--blue); }
.svc-more { display: inline-flex; align-items: center; gap: .35rem; margin-top: .9rem; font-weight: 800; color: var(--blue); text-decoration: none; }
.svc-more .icon { width: 1rem; height: 1rem; }
.svc-more:hover { text-decoration: underline; }
.dr-card h3 a { color: inherit; text-decoration: none; }
.dr-card h3 a:hover { color: var(--blue); }
/* System Comparison (Tank vs Tankless) */
.wh-vs { background: linear-gradient(135deg, var(--ink) 0%, #0f3a6b 100%); color: #fff; border-radius: 20px; padding: clamp(2rem, 4vw, 3rem); box-shadow: var(--h-shadow-lg); display: grid; gap: 2.2rem; }
@media (min-width: 62rem) { .wh-vs { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.wh-vs-box { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; padding: 1.8rem; display: flex; flex-direction: column; justify-content: space-between; }
.wh-vs-box h3 { color: #fff; font-size: 1.45rem; margin: 0 0 .6rem; font-weight: 800; }
.wh-vs-box p { color: #cfe0f4; font-size: .95rem; line-height: 1.55; margin: 0 0 1.2rem; }
.wh-vs-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .7rem; }
.wh-vs-list li { display: flex; align-items: center; gap: .65rem; font-size: .92rem; color: #fff; font-weight: 600; }
.wh-vs-list .icon { color: var(--sky) !important; width: 1.1rem !important; height: 1.1rem !important; }

/* Top Brands Serviced */
.wh-brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.8rem; }
.wh-brand-badge { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: .65rem 1.4rem; font-weight: 700; font-size: 1rem; color: var(--ink); box-shadow: 0 4px 12px rgba(11,42,74,.05); }

/* Reduce excessive top and bottom spacing around the overview card */
.h-sec--overview {
  padding-top: clamp(0.5rem, 1.5vw, 1.2rem);
  padding-bottom: clamp(1rem, 2vw, 1.8rem);
}

.h-sec--overview + .h-sec {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}
/* ===== WordPress Editor Auto-Styling Card ===== */
.svc-content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.8rem, 4.5vw, 3.2rem);
  box-shadow: var(--h-shadow);
  max-width: 56rem;
  margin: 0 auto;
}

.svc-content {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.svc-content > *:first-child {
  margin-top: 0;
}

.svc-content h2 {
  color: var(--ink);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.25;
}

.svc-content h3 {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 2.2rem 0 .8rem;
  border-bottom: 2px solid var(--blue-soft);
  padding-bottom: .5rem;
}

.svc-content p {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.svc-content strong {
  color: var(--ink);
}

/* Transform default boring bullet dots into stylish theme checkmarks */
.svc-content ul {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.8rem;
  display: grid;
  gap: .8rem;
}

.svc-content ul li {
  position: relative;
  padding-left: 2rem;
  font-size: .98rem;
  color: var(--text);
  line-height: 1.5;
}

.svc-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background-color: var(--blue-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231565c0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: .8rem;
}

/* Ordered list styling */
.svc-content ol {
  counter-reset: svc-step;
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 1.8rem;
  display: grid;
  gap: 1rem;
}

.svc-content ol li {
  counter-increment: svc-step;
  position: relative;
  padding-left: 2.4rem;
}

.svc-content ol li::before {
  content: counter(svc-step);
  position: absolute;
  left: 0;
  top: .1rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  display: grid;
  place-items: center;
}