:root {
  --ink: #0a2635;
  --muted: #526873;
  --blue: #0b5b76;
  --blue-dark: #062f42;
  --aqua: #167f80;
  --green: #476e5d;
  --gold: #c4933d;
  --coral: #ad584b;
  --paper: #f5f8f7;
  --wash: #e8f0ef;
  --line: rgba(6, 47, 66, 0.14);
  --shadow: 0 24px 64px rgba(6, 38, 53, 0.12);
  --radius: 6px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: #fbfcfc;
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

body::selection {
  color: #fff;
  background: var(--blue);
}

h1,
h2,
h3,
h4,
.brand,
.button {
  font-family: "Aptos Display", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  text-wrap: balance;
}

h2 {
  font-size: 2.55rem;
  line-height: 1.08;
}

h3 {
  line-height: 1.25;
}

p,
li {
  color: var(--muted);
}

a {
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid rgba(196, 147, 61, 0.65);
  outline-offset: 3px;
}

.topbar {
  color: rgba(255, 255, 255, 0.86);
  background: #041f2c;
  border-bottom: 1px solid rgba(196, 147, 61, 0.28);
}

.topbar-inner {
  min-height: 34px;
  font-size: 0.78rem;
  font-weight: 700;
}

.site-header {
  background: rgba(6, 47, 66, 0.98);
  border-bottom: 1px solid rgba(196, 147, 61, 0.26);
  box-shadow: 0 12px 34px rgba(3, 24, 35, 0.2);
}

.nav {
  min-height: 108px;
  gap: 26px;
}

.brand img {
  width: 385px;
  max-width: 38vw;
  height: auto;
  object-fit: contain;
  filter: none;
}

.nav-links {
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 10px 9px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  right: 9px;
  bottom: 4px;
  left: 9px;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #efc778;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  gap: 8px;
}

.button,
button {
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 5px;
  font-weight: 800;
  box-shadow: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
button:hover {
  transform: translateY(-1px);
}

.button-primary,
button[type="submit"] {
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
  box-shadow: 0 10px 22px rgba(11, 91, 118, 0.2);
}

.button-primary:hover,
button[type="submit"]:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 14px 28px rgba(6, 47, 66, 0.24);
}

.button-secondary {
  color: #172f3b;
  background: var(--gold);
  border-color: var(--gold);
}

.button-secondary:hover {
  background: #d0a34f;
  border-color: #d0a34f;
}

.button-ghost {
  color: var(--blue-dark);
  background: transparent;
  border-color: rgba(6, 47, 66, 0.28);
}

.site-header .button-primary {
  color: #082c3d;
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 10px 22px rgba(3, 24, 35, 0.2);
}

.site-header .button-primary:hover {
  color: #082c3d;
  background: #d3a44e;
  border-color: #d3a44e;
}

.site-header .button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.site-header .button-ghost:hover {
  color: var(--blue-dark);
  background: #fff;
  border-color: #fff;
}

.button-ghost:hover {
  color: #fff;
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background-color: var(--blue-dark);
  background-position: center;
  background-size: cover;
}

.hero::before,
.page-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(3, 24, 35, 0.91) 0%, rgba(4, 36, 49, 0.75) 47%, rgba(4, 36, 49, 0.22) 100%),
    linear-gradient(0deg, rgba(2, 24, 34, 0.42), transparent 54%),
    url("https://images.unsplash.com/photo-1553564552-02656d6a2390?auto=format&fit=crop&fm=jpg&q=86&w=2200")
      center / cover;
}

.page-hero::before {
  background:
    linear-gradient(90deg, rgba(3, 24, 35, 0.91) 0%, rgba(4, 36, 49, 0.75) 47%, rgba(4, 36, 49, 0.22) 100%),
    linear-gradient(0deg, rgba(2, 24, 34, 0.42), transparent 54%),
    var(
        --hero-image,
        url("https://loonlakeswater.com/wp-content/uploads/elementor/thumbs/home-hero-bg-ribm9usobx0pij6spinwezsjs716dks3htq4q5krqg.jpg")
      )
      center / cover;
}

.hero::after,
.page-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--gold), #e3c279 46%, var(--aqua));
}

.hero {
  min-height: 680px;
}

.hero-inner {
  min-height: 680px;
  padding-top: 108px;
  padding-bottom: 96px;
}

.hero-content {
  max-width: 770px;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: #fff;
  font-size: 4.8rem;
  line-height: 0.98;
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.24);
}

.hero-lede {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.23rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #e7bd6a;
}

.hero-actions {
  margin-top: 30px;
}

.hero-proof {
  max-width: 760px;
  margin-top: 54px;
  padding: 19px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.proof-item {
  color: rgba(255, 255, 255, 0.9);
}

.proof-item strong {
  color: #fff;
  font-size: 1rem;
}

.page-hero {
  min-height: 480px;
}

.page-hero .section-inner {
  display: flex;
  min-height: 480px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0 0 20px;
  color: #fff;
  font-size: 4.15rem;
  line-height: 1;
  text-shadow: 0 5px 26px rgba(0, 0, 0, 0.22);
}

.page-hero .lede {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
}

.page-hero .button {
  width: fit-content;
  margin-top: 20px;
}

.section,
section {
  position: relative;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-soft,
.services,
.process {
  background: var(--paper);
  border-top: 1px solid rgba(6, 47, 66, 0.07);
  border-bottom: 1px solid rgba(6, 47, 66, 0.07);
}

.section-header {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-header p,
.lede {
  font-size: 1.08rem;
}

.card,
.list-card,
.problem-card,
.service-card,
.process-step,
.quote-card,
.trust-tile,
.city-card {
  border: 1px solid rgba(6, 47, 66, 0.13);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 38px rgba(6, 38, 53, 0.07);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.card:hover,
.list-card:hover,
.problem-card:hover,
.service-card:hover,
.process-step:hover,
.trust-tile:hover,
.city-card:hover {
  border-color: rgba(196, 147, 61, 0.55);
  box-shadow: 0 22px 48px rgba(6, 38, 53, 0.11);
  transform: translateY(-3px);
}

.card,
.list-card,
.problem-card,
.service-card,
.process-step,
.trust-tile,
.city-card {
  padding: 28px;
}

.product-system-photo {
  display: grid;
  min-height: 460px;
  padding: 44px;
  place-items: center;
  background: #f2f6f5;
}

.product-system-photo img {
  width: auto !important;
  max-width: 52% !important;
  height: 330px !important;
  max-height: 330px !important;
  object-fit: contain !important;
}

.card h3,
.list-card h3,
.problem-card h3,
.service-card h3,
.process-step h3,
.trust-tile h3,
.city-card h3 {
  margin-bottom: 10px;
  color: var(--blue-dark);
}

.trust-tile strong {
  color: var(--blue-dark);
}

.trust-tile span {
  color: var(--muted);
}

.trust-tile:nth-child(2) {
  background: #3f6655;
}

.trust-tile:nth-child(3) {
  background: #98483e;
}

.trust-tile:nth-child(4) {
  background: #075d78;
}

.trust-tile:nth-child(n + 2) strong {
  color: #fff;
}

.trust-tile:nth-child(n + 2) span {
  color: rgba(255, 255, 255, 0.92);
}

.icon,
.service-icon,
.step-number {
  display: grid;
  color: var(--gold);
  background: rgba(6, 47, 66, 0.96);
  border: 1px solid rgba(196, 147, 61, 0.38);
  border-radius: 5px;
  place-items: center;
}

.service-card {
  overflow: hidden;
  padding: 28px;
}

.service-image {
  min-height: 210px;
  border-bottom: 1px solid var(--line);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.service-card:hover .service-image img {
  transform: scale(1.03);
}

.image-main,
.split-image {
  overflow: hidden;
  border: 1px solid rgba(6, 47, 66, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-main img,
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-frame,
.product-photo,
.product-showcase {
  display: grid;
  overflow: hidden;
  min-height: 390px;
  padding: 34px;
  border: 1px solid rgba(6, 47, 66, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff 0%, #edf4f3 100%);
  box-shadow: 0 16px 42px rgba(6, 38, 53, 0.08);
  place-items: center;
}

.product-frame img,
.product-photo img,
.product-showcase img {
  width: auto;
  max-width: 76%;
  height: auto;
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(6, 38, 53, 0.15));
}

.product-photo-small img,
img.product-photo-small {
  max-width: 64%;
  max-height: 330px;
}

.feature-list {
  gap: 13px;
}

.feature-list li,
.check-row {
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(6, 47, 66, 0.1);
}

.check {
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
}

.quote-card {
  position: relative;
  padding: 38px;
  border-left: 4px solid var(--gold);
}

.quote-card blockquote {
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1.5;
}

.cta {
  background:
    linear-gradient(115deg, rgba(4, 30, 42, 0.98), rgba(8, 72, 91, 0.96)),
    var(--blue-dark);
  border-top: 4px solid var(--gold);
}

.cta h2,
.cta h3,
.cta p,
.cta li,
.cta label,
.cta-panel h2,
.cta-panel h3,
.cta-panel p,
.cta-panel label {
  color: #fff;
}

.cta-panel,
.contact-form,
.mini-form {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(4, 38, 52, 0.92);
  box-shadow: 0 28px 70px rgba(3, 24, 35, 0.2);
}

.cta .list-card {
  background: #fff;
}

.cta .list-card li {
  color: var(--ink);
}

input,
select,
textarea {
  min-height: 48px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(6, 47, 66, 0.22);
  border-radius: 4px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 147, 61, 0.17);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #7a8c94;
  opacity: 1;
}

.consent-check {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
}

.consent-check input[type="checkbox"] {
  width: 17px;
  min-width: 17px;
  height: 17px;
  min-height: 17px;
  accent-color: var(--gold);
}

.footer {
  padding: 0;
  background: #031f2d;
  border-top: 4px solid var(--gold);
}

.footer::before {
  display: block;
  width: min(860px, calc(100% - 40px));
  height: 132px;
  margin: 0 auto;
  content: "";
  background:
    url("assets/puronics-authorized-dealer-white.png") left 46px center / 315px auto no-repeat,
    url("assets/pure-gentle-logo.svg") right 16px center / 300px 92px no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer,
.footer p,
.footer a,
.footer li {
  color: rgba(255, 255, 255, 0.74);
}

.footer a:hover {
  color: #efc778;
}

.footer-inner {
  padding-top: 58px;
  padding-bottom: 36px;
}

.footer-logo {
  width: 315px;
  max-width: 100%;
  padding: 0;
  background: transparent;
  border-radius: 0;
  filter: none;
}

@media (max-width: 1100px) {
  .nav {
    gap: 14px;
  }

  .nav-links a {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 0.8rem;
  }

  .nav-actions .button-ghost {
    display: none;
  }

  .brand img {
    width: 325px;
    max-width: 34vw;
    height: auto;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .page-hero h1 {
    font-size: 3.6rem;
  }
}

@media (max-width: 860px) {
  .topbar-inner {
    justify-content: center;
  }

  .topbar-inner span:first-child {
    display: none;
  }

  .nav {
    min-height: auto;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 0;
  }

  .brand img {
    width: 245px;
    max-width: 42vw;
    height: auto;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-links {
    order: 3;
    width: calc(100% + 32px);
    margin: 0 -16px;
    padding: 5px 16px 9px;
    overflow-x: auto;
    background: #052a3b;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    scrollbar-width: thin;
  }

  .nav-links a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero,
  .hero-inner {
    min-height: 620px;
  }

  .hero h1 {
    font-size: 3.6rem;
  }

  .page-hero,
  .page-hero .section-inner {
    min-height: 430px;
  }

  .page-hero h1 {
    font-size: 3.35rem;
  }

  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .grid-4,
  .grid-3,
  .service-grid,
  .process-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  h2 {
    font-size: 2.05rem;
  }

  .product-system-photo {
    min-height: 350px;
    padding: 34px;
  }

  .product-system-photo img {
    max-width: 58% !important;
    height: 250px !important;
    max-height: 250px !important;
  }

  .nav {
    display: grid;
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-right: 14px;
    padding-left: 14px;
    box-sizing: border-box;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 215px;
    max-width: 55vw;
    height: auto;
  }

  .nav-actions .button-primary {
    min-height: 40px;
    padding: 9px 11px;
    font-size: 0.75rem;
  }

  .nav-actions {
    display: none;
  }

  .nav-links {
    grid-column: 1 / -1;
    width: calc(100% + 28px);
    min-width: 0;
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero,
  .hero-inner {
    min-height: 580px;
  }

  .hero-inner {
    padding-top: 78px;
    padding-bottom: 68px;
  }

  .hero h1 {
    font-size: 2.35rem;
    line-height: 1.02;
  }

  .hero-lede,
  .page-hero .lede {
    font-size: 1.03rem;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

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

  .hero-proof {
    display: grid;
    gap: 13px;
    margin-top: 38px;
  }

  .page-hero,
  .page-hero .section-inner {
    min-height: 390px;
  }

  .page-hero .section-inner {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .page-hero h1 {
    font-size: 2.35rem;
  }

  .section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .service-grid,
  .process-grid,
  .trust-grid,
  .split-layout,
  .proof-layout {
    grid-template-columns: 1fr;
  }

  .card,
  .list-card,
  .problem-card,
  .process-step,
  .trust-tile,
  .city-card {
    padding: 23px;
  }

  .product-frame,
  .product-photo,
  .product-showcase {
    min-height: 330px;
    padding: 24px;
  }

  .product-frame img,
  .product-photo img,
  .product-showcase img {
    max-width: 82%;
    max-height: 300px;
  }

  .cta-panel,
  .contact-form,
  .mini-form {
    padding: 23px;
  }

  .footer::before {
    width: calc(100% - 28px);
    height: 104px;
    background:
      url("assets/puronics-authorized-dealer-white.png") left center / 172px auto no-repeat,
      url("assets/pure-gentle-logo.svg") right center / 164px 50px no-repeat;
  }
}
