/* ──────────────────────────────────────────────────────────────────
   Simply Pure Water — modern dev redesign
   Clean, airy, water-themed. Blue palette with cyan accents.
   ────────────────────────────────────────────────────────────────── */

:root {
  --spw-deep: #06345a;
  --spw-deep-ink: #021e36;
  --spw-blue: #1d6bbf;
  --spw-blue-bright: #2f8dd8;
  --spw-aqua: #3fc3d4;
  --spw-aqua-soft: #a8e3ea;
  --spw-sand: #f4faff;
  --spw-sand-soft: #e7f1f9;
  --spw-line: #dae6f0;
  --ink: #0b1d2e;
  --slate: #4a5b6b;
  --slate-soft: #6b7c8c;
  --white: #ffffff;

  --max-width: 1200px;
  --pad-section: clamp(4rem, 8vw, 7rem);
  --pad-container: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 8px;
  --radius-lg: 14px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--spw-blue); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--spw-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--pad-container);
  padding-right: var(--pad-container);
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 180ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--spw-blue);
  color: var(--white);
  box-shadow: 0 15px 40px rgba(29, 107, 191, 0.28);
}
.btn-primary:hover {
  background: var(--spw-deep);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(6, 52, 90, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.btn-full { display: flex; width: 100%; padding: 1.05rem 1.5rem; }

/* ── Nav ───────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem var(--pad-container);
  background: rgba(6, 52, 90, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
}
.brand:hover { color: var(--white); }
.brand-mark {
  width: 42px;
  height: 52px;
  color: var(--spw-aqua);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: var(--white); }
.brand-tag { font-size: 0.72rem; color: var(--spw-aqua-soft); text-transform: uppercase; letter-spacing: 0.14em; }
.nav-right { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-link:hover { color: var(--spw-aqua); }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  font-weight: 700;
  color: var(--spw-deep-ink);
  background: var(--spw-aqua);
  border-radius: var(--radius);
  font-size: 0.92rem;
}
.nav-phone:hover { background: var(--spw-aqua-soft); color: var(--spw-deep-ink); }
.nav-phone svg { flex: 0 0 auto; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse at top right, rgba(63, 195, 212, 0.2), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(29, 107, 191, 0.35), transparent 55%),
    linear-gradient(160deg, var(--spw-deep-ink) 0%, var(--spw-deep) 50%, var(--spw-blue) 100%);
}
.hero-blobs { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}
.blob-1 { width: 500px; height: 500px; top: -120px; right: -80px; background: radial-gradient(circle, var(--spw-aqua) 0%, transparent 70%); }
.blob-2 { width: 400px; height: 400px; bottom: -120px; left: 10%; background: radial-gradient(circle, var(--spw-blue-bright) 0%, transparent 70%); }
.blob-3 { width: 300px; height: 300px; top: 40%; left: 45%; background: radial-gradient(circle, var(--spw-aqua-soft) 0%, transparent 70%); opacity: 0.3; }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10rem var(--pad-container) 5rem;
  width: 100%;
}
.hero-eyebrow {
  display: inline-block;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--spw-aqua);
  border: 1px solid rgba(63, 195, 212, 0.5);
  border-radius: 999px;
  margin-bottom: 1.75rem;
}
.hero-title {
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  line-height: 1.04;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 18ch;
}
.hero-title .accent { color: var(--spw-aqua); font-style: italic; font-weight: 500; }
.hero-lede {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 58ch;
  margin: 0 0 2.25rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 56rem;
}
.hero-trust strong { color: var(--white); font-weight: 700; }
.trust-divider {
  width: 5px;
  height: 5px;
  background: var(--spw-aqua);
  border-radius: 50%;
  display: inline-block;
}

/* ── Section scaffolding ───────────────────────────────────────── */
.section {
  padding-top: var(--pad-section);
  padding-bottom: var(--pad-section);
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--spw-blue);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  margin-bottom: 1.25rem;
  max-width: 22ch;
}
.section-lede {
  font-size: 1.08rem;
  color: var(--slate);
  max-width: 60ch;
  line-height: 1.65;
  margin: 0 0 2.5rem;
}

/* ── Products ──────────────────────────────────────────────────── */
.section-products { background: var(--spw-sand); border-top: 1px solid var(--spw-line); border-bottom: 1px solid var(--spw-line); }
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
.product-card {
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--spw-line);
  border-radius: var(--radius-lg);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--spw-blue);
  box-shadow: 0 40px 80px rgba(6, 52, 90, 0.12);
}
.product-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  background: var(--spw-sand-soft);
}
.product-drink .product-icon { color: var(--spw-blue); }
.product-treatment .product-icon { color: var(--spw-deep); }
.product-card h3 {
  font-size: 1.7rem;
  color: var(--ink);
  margin: 0 0 0.75rem;
}
.product-lede {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.product-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  border-top: 1px solid var(--spw-line);
}
.product-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--spw-line);
  color: var(--slate);
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.4rem;
}
.product-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--spw-aqua);
  font-size: 0.7rem;
  top: 0.95rem;
}
.product-cta {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--spw-blue);
  border-bottom: 1px solid transparent;
  transition: all 180ms ease;
}
.product-cta:hover { color: var(--spw-deep); border-bottom-color: var(--spw-blue); }

/* ── Refill (zero-waste depot) ────────────────────────────────── */
.section-refill {
  background:
    radial-gradient(ellipse at top left, rgba(63, 195, 212, 0.1), transparent 60%),
    var(--white);
}
.refill-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.refill-copy p {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.7;
  margin: 0 0 1.25rem;
  max-width: 56ch;
}
.refill-copy strong { color: var(--ink); }
.refill-copy .btn { margin-top: 1rem; }
.refill-card {
  padding: 2.25rem 2rem 2.5rem;
  background: linear-gradient(160deg, var(--spw-deep-ink) 0%, var(--spw-deep) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(6, 52, 90, 0.2);
  position: relative;
  overflow: hidden;
}
.refill-card::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--spw-aqua) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}
.refill-card-number {
  font-family: var(--font-serif);
  font-size: 7rem;
  line-height: 1;
  color: var(--spw-aqua);
  font-weight: 600;
  position: relative;
}
.refill-card-label {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.75rem;
  position: relative;
}
.refill-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
}
.refill-card-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.refill-card-list li strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--spw-aqua);
}
.refill-card-list li span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

/* ── Story / Values ────────────────────────────────────────────── */
.section-story { background: var(--spw-sand); border-top: 1px solid var(--spw-line); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.story-copy p {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.7;
  margin: 0 0 1.25rem;
  max-width: 56ch;
}
.story-copy strong { color: var(--ink); }
.story-values {
  display: grid;
  gap: 1.25rem;
}
.value {
  padding: 1.5rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--spw-line);
  border-left: 4px solid var(--spw-aqua);
  border-radius: var(--radius);
  position: relative;
}
.value-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--spw-blue);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.value h4 {
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 0.4rem;
}
.value p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.55;
}

/* ── Contact ───────────────────────────────────────────────────── */
.section-contact { background: var(--white); border-top: 1px solid var(--spw-line); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  margin-top: 2rem;
  align-items: start;
}
.contact-direct {
  padding: 2rem;
  background: linear-gradient(160deg, var(--spw-deep-ink) 0%, var(--spw-deep) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(6, 52, 90, 0.15);
}
.contact-row {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-row:last-child { border-bottom: none; }
.contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--spw-aqua);
  margin-bottom: 0.35rem;
}
.contact-value { color: rgba(255, 255, 255, 0.9); font-size: 0.98rem; line-height: 1.45; }
.contact-value a { color: var(--spw-aqua-soft); }
.contact-value a:hover { color: var(--white); }
.contact-phone {
  font-family: var(--font-serif);
  font-size: 1.8rem !important;
  font-weight: 600;
  color: var(--white) !important;
}
.contact-phone:hover { color: var(--spw-aqua) !important; }
.contact-form {
  background: var(--spw-sand);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--spw-line);
}
.contact-form label {
  display: block;
  margin-bottom: 1.1rem;
}
.contact-form label span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.4rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--spw-line);
  border-radius: var(--radius);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--spw-blue);
  box-shadow: 0 0 0 3px rgba(29, 107, 191, 0.15);
}
.contact-form textarea { resize: vertical; min-height: 100px; }

/* ── Footer ────────────────────────────────────────────────────── */
.footer {
  background: var(--spw-deep-ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2.5rem;
  border-top: 3px solid var(--spw-aqua);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 2rem;
  align-items: start;
}
.footer-brand {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}
.footer-sub { margin: 0; font-size: 0.88rem; }
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.footer-links a:hover { color: var(--spw-aqua); }
.footer-meta {
  font-size: 0.82rem;
  text-align: right;
  color: rgba(255, 255, 255, 0.55);
}

/* ── Mobile ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 0.75rem var(--pad-container); }
  .nav-right { gap: 1rem; }
  .nav-link { display: none; }
  .brand-tag { display: none; }
  .brand-mark { width: 32px; height: 40px; }
  .brand-name { font-size: 0.9rem; }
  .nav-phone { padding: 0.5rem 0.85rem; font-size: 0.82rem; }
  .nav-phone svg { width: 14px; height: 14px; }

  .hero { min-height: auto; }
  .hero-inner { padding: 7.5rem var(--pad-container) 4rem; }
  .hero-title { font-size: clamp(2.1rem, 9vw, 3.2rem); max-width: none; }
  .hero-lede { font-size: 1rem; }
  .hero-ctas .btn { width: 100%; }

  .products-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .refill-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-phone { font-size: 1.5rem !important; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; gap: 1.5rem; }
  .footer-meta { text-align: left; }
  .refill-card-number { font-size: 5rem; }
}
