:root {
  --water: #0f4c63;
  --water-d: #0b3a4c;
  --heat: #c56a3a;
  --heat-d: #9e4c26;
  --paper: #f4f7f8;
  --ink: #16323d;
  --muted: #4d646d;
  --line: rgba(15, 76, 99, 0.14);
  --font: Manrope, "Segoe UI", sans-serif;
  --space: clamp(3.3rem, 7vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 1.08rem;
  line-height: 1.55;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--water); }
h1, h2 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }

.box { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

.skip { position: absolute; left: 0.75rem; top: -4rem; background: var(--water); color: #fff; padding: 0.55rem 0.8rem; z-index: 80; }
.skip:focus { top: 0.75rem; }

.demo-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  background: var(--water-d); color: #e8f3f7; padding: 0.5rem 1rem; font-size: 0.95rem;
}
.demo-bar p { margin: 0; }
.demo-bar a { color: #f0c3a6; }
.demo-bar-dismiss { min-width: 44px; min-height: 44px; border: 0; background: transparent; color: inherit; font-size: 1.4rem; cursor: pointer; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 247, 248, 0.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 4.2rem; gap: 0.7rem; }
.logo { color: var(--water); text-decoration: none; font-weight: 800; letter-spacing: -0.03em; font-size: 1.2rem; }

.nav-toggle { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 1.3rem; height: 2px; background: var(--ink); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.site-nav { display: none; flex-direction: column; width: 100%; padding-bottom: 1rem; }
.site-nav.is-open { display: flex; }
.site-nav a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav-phone { font-weight: 800; color: var(--heat-d); }

.hero {
  background:
    linear-gradient(120deg, rgba(11, 58, 76, 0.94), rgba(158, 76, 38, 0.82)),
    url("https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #fff;
  padding: 4.5rem 0 3.5rem;
}
.hero a { color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 800; }
.lead { max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }

.btn {
  min-height: 48px; padding: 0.7rem 1.15rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; font-size: 1rem;
}
.btn-water { background: var(--water-d); color: #fff; }
.btn-water:hover { background: #082f3e; color: #fff; }
.btn-heat { background: var(--heat); color: #fff; }
.hero .btn-water {
  background: #fff;
  color: var(--water-d);
  border: 2px solid #fff;
}

.alert-strip { background: var(--heat); color: #fff; padding: 0.95rem 0; }
.alert-strip .box { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.alert-strip a { color: #fff; font-weight: 800; }

.section { padding: var(--space) 0; }
.muted { background: #e7eef1; }

.twin { display: grid; gap: 1rem; }
.pane { border-radius: 1.2rem; padding: 1.4rem; color: #fff; }
.pane.water { background: var(--water); }
.pane.heat { background: var(--heat-d); }
.pane ul { padding-left: 1.1rem; }
.pane img { width: 100%; height: 12rem; object-fit: cover; border-radius: 0.9rem; margin-top: 1rem; }

.towns { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; }
.towns li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.55rem 0.95rem; min-height: 44px; display: inline-flex; align-items: center; }

.about, .quotes, .contact { display: grid; gap: 1.2rem; }
.about img { width: 100%; height: 16rem; object-fit: cover; border-radius: 1.1rem; background: #c5d4da; }

blockquote { margin: 0; background: #fff; padding: 1.3rem; border-radius: 1.1rem; border-top: 5px solid var(--water); }
blockquote footer { color: var(--muted); font-size: 0.95rem; }

.contact-form { display: grid; gap: 0.8rem; background: #fff; padding: 1.2rem; border-radius: 1.1rem; }
.contact-form label { display: grid; gap: 0.3rem; font-size: 0.92rem; font-weight: 700; }
input, textarea { font: inherit; border: 1px solid var(--line); border-radius: 0.7rem; padding: 0.7rem 0.8rem; min-height: 48px; }
textarea { min-height: 7.5rem; resize: vertical; }

.site-footer { background: var(--water-d); color: #d5e6ed; padding: 1.3rem 0; font-size: 0.95rem; }
.site-footer a { color: #f0c3a6; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.7rem; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  flex: 1 1 100%;
}
.footer-contact a { margin-left: 0; }
.legal-page { padding: 4rem 0 5rem; }
.legal-page .note { background: #e7eef1; padding: 0.9rem 1rem; border-radius: 0.8rem; }

:focus-visible { outline: 3px solid var(--heat); outline-offset: 3px; }

@media (min-width: 840px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; flex-direction: row; width: auto; gap: 1.1rem; padding: 0; align-items: center; }
  .twin, .about, .quotes, .contact { grid-template-columns: 1fr 1fr; }
  .pane img, .about img { height: 16rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
