:root {
  --ink: #102331;
  --muted: #526673;
  --blue: #075985;
  --blue-dark: #063449;
  --aqua: #0f9f9a;
  --green: #557a46;
  --gold: #d99a2b;
  --coral: #c65f4a;
  --paper: #f7fbfb;
  --wash: #eaf4f2;
  --line: rgba(16, 35, 49, 0.14);
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(6, 52, 73, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  line-height: 1.55;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
}

.topbar-inner,
.nav,
.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(9, 38, 53, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 230px;
}

.brand img {
  width: 230px;
  max-width: 44vw;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(7, 89, 133, 0.22);
}

.button-secondary {
  color: var(--blue-dark);
  background: var(--white);
  border-color: var(--line);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-dark);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 52, 73, 0.92), rgba(6, 52, 73, 0.64) 52%, rgba(6, 52, 73, 0.28)),
    var(--hero-image, url("https://loonlakeswater.com/wp-content/uploads/elementor/thumbs/home-hero-bg-ribm9usobx0pij6spinwezsjs716dks3htq4q5krqg.jpg")) center / cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(0deg, var(--paper), transparent);
}

.page-hero .section-inner {
  position: relative;
  z-index: 1;
  padding: 92px 0 82px;
}

.eyebrow,
.section-kicker {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.lede {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.87);
  font-size: clamp(1.06rem, 2vw, 1.24rem);
}

section {
  padding: 82px 0;
}

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

.section-heading p,
.copy p,
.card p,
.step p,
.tile span,
.list-card li {
  color: var(--muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.card,
.list-card,
.quote {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 26px rgba(6, 52, 73, 0.06);
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 24px;
}

.product-photo {
  display: grid;
  place-items: center;
  height: 460px;
  margin: -4px -4px 24px;
  padding: 70px;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #eef6f5);
}

.product-photo img {
  display: block;
  width: auto;
  max-width: 46%;
  height: auto;
  max-height: 46%;
  object-fit: contain;
  transform: none;
}

.product-photo.product-photo-small img {
  max-width: 38%;
  max-height: 38%;
}

.product-photo + .icon {
  margin-top: 0;
}

.card a {
  margin-top: auto;
  padding-top: 22px;
  color: var(--blue);
  font-weight: 800;
}

.city-card {
  min-height: 285px;
}

.city-card .city-meta {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: var(--wash);
  font-size: 0.78rem;
  font-weight: 800;
}

.city-card p {
  margin-bottom: 10px;
}

.icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--aqua);
  font-weight: 900;
}

.split {
  background: var(--white);
}

.photo-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}

.photo-frame img {
  height: 460px;
  object-fit: cover;
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  justify-items: center;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 244, 242, 0.92)),
    radial-gradient(circle at 50% 100%, rgba(15, 159, 154, 0.22), transparent 54%);
  box-shadow: var(--shadow);
}

.product-showcase img {
  width: auto;
  max-width: 100%;
  height: 560px;
  object-fit: contain;
}

.list-card {
  padding: 26px;
}

.list-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-card li {
  padding-left: 24px;
  position: relative;
}

.list-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.step {
  min-height: 230px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
}

.step-number {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-weight: 900;
}

.band {
  background: var(--wash);
}

.cta {
  padding: 0 0 82px;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  padding: 40px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(6, 52, 73, 0.96), rgba(7, 89, 133, 0.82)),
    url("https://loonlakeswater.com/wp-content/uploads/elementor/thumbs/why-choose-us-ribm9usobx0pij6spinwezsjs716dks3htq4q5krqg.jpg") center / cover;
  box-shadow: var(--shadow);
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.84);
}

.mini-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

label {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  font: inherit;
  padding: 10px 12px;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

select option {
  color: var(--ink);
}

.footer {
  padding: 38px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #092635;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer a:hover {
  color: var(--white);
}

.footer-logo {
  width: 210px;
  max-width: 100%;
  margin-bottom: 12px;
}

@media (max-width: 940px) {
  .nav {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .cta-panel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .topbar-inner,
  .nav,
  .section-inner,
  .footer-inner {
    width: min(100% - 28px, 1160px);
  }

  .topbar-inner,
  .footer-inner {
    display: grid;
  }

  .nav-actions {
    width: 100%;
  }

  .brand img {
    width: 190px;
    max-width: 68vw;
  }

  .nav-actions .button {
    flex: 1;
  }

  h1 {
    font-size: 3.15rem;
  }

  section {
    padding: 62px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .cta-panel,
  .product-showcase {
    grid-template-columns: 1fr;
  }

  .photo-frame img {
    height: 330px;
  }

  .product-showcase img {
    height: auto;
    max-height: 520px;
  }
}
