/* ==========================================================================
   Top Stream Pressure Clean — Design System
   Palette: navy + gold (existing brand) + a "stream" teal signature accent
   Type: Oswald (display, badge-lettering echo) + Work Sans (body)
   ========================================================================== */

:root {
  --navy: #0b1f3a;
  --navy-deep: #071527;
  --navy-mid: #13294f;
  --gold: #c9a227;
  --gold-light: #e4c866;
  --stream: #1c7c8c;
  --stream-light: #2fa3b6;
  --paper: #f6f4ee;
  --paper-dim: #ece8dd;
  --ink: #14213d;
  --ink-soft: #4b5566;
  --white: #ffffff;
  --danger: #b3261e;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1180px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--stream);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 4.5rem 0; }
.section--tight { padding: 3rem 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: #b8c2d6; }
.section--paper-dim { background: var(--paper-dim); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.85em 1.6em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline-light { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline-light:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-stream { background: var(--stream); color: var(--white); }
.btn-stream:hover { background: var(--stream-light); }

/* ============ Header / Nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.brand img { width: 44px; height: 44px; object-fit: contain; background: var(--white); border-radius: 50%; padding: 3px; }
.brand-text { font-family: var(--font-display); color: var(--white); line-height: 1.1; }
.brand-text strong { display: block; font-size: 1.02rem; letter-spacing: 0.03em; }
.brand-text span { display: block; font-size: 0.68rem; color: var(--gold-light); letter-spacing: 0.14em; }

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.9rem 0.9rem;
  color: #d7dde8;
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-link:hover, .nav-item.open .nav-link { color: var(--gold-light); }
.caret { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform 0.15s; }
.nav-item.open .caret { transform: rotate(225deg); margin-top: 3px; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(7,21,39,0.25);
  padding: 0.6rem;
  min-width: 260px;
  display: none;
  z-index: 50;
}
.dropdown.wide { min-width: 520px; column-count: 2; column-gap: 0; }
.nav-item.open .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 4px;
  color: var(--ink);
  font-size: 0.88rem;
  break-inside: avoid;
}
.dropdown a:hover { background: var(--paper-dim); color: var(--stream); }
.dropdown a small { display: block; color: var(--ink-soft); font-size: 0.74rem; font-weight: 400; }

.nav-cta { display: flex; align-items: center; gap: 0.6rem; }
.nav-cta .btn { padding: 0.6em 1.1em; font-size: 0.82rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-main { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn-outline-light { display: none; }
}

/* Mobile nav panel */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-deep);
  padding: 1rem 1.25rem 1.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a, .mobile-nav .m-group-label {
  color: #d7dde8;
  padding: 0.6rem 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav .m-group-label { color: var(--gold-light); padding-top: 1rem; border-bottom: none; }
.mobile-nav a.sub { padding-left: 1rem; font-size: 0.8rem; color: #aab4c6; text-transform: none; letter-spacing: 0; border-bottom: none; }

/* ============ Hero ============ */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 4rem 0 5rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cpath d='M0 260 Q 80 200 160 250 T 300 220' stroke='%23c9a227' stroke-width='2' fill='none' opacity='0.15'/%3E%3C/svg%3E");
  background-size: cover;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--gold-light); }
.hero-sub { font-size: 1.08rem; color: #c3ccdc; max-width: 46ch; }
.hero-actions { display: flex; gap: 0.9rem; margin-top: 1.6rem; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 1.6rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-trust div { font-size: 0.8rem; color: #9fb0c9; }
.hero-trust strong { display: block; color: var(--gold-light); font-family: var(--font-display); font-size: 1.3rem; }

/* Before/After slider — signature element */
.ba-slider {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  user-select: none;
  border: 3px solid var(--gold);
}
.ba-slider .ba-panel {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center; padding: 1.5rem;
  font-family: var(--font-display);
}
.ba-panel.after {
  background: linear-gradient(135deg, #dce8ea, #eef5f0);
  color: var(--navy);
}
.ba-panel.before {
  background: linear-gradient(135deg, #4a4636, #6b6650);
  color: #efe9d8;
}
.ba-panel .tag {
  position: absolute; top: 12px; font-size: 0.72rem; letter-spacing: 0.18em;
  padding: 0.3em 0.8em; border-radius: 3px; text-transform: uppercase;
}
.ba-panel.before .tag { left: 12px; background: rgba(0,0,0,0.35); color: #f2ead0; }
.ba-panel.after .tag { right: 12px; background: rgba(11,31,58,0.12); color: var(--navy); }
.ba-clip { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 4px; background: var(--gold);
  cursor: ew-resize; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center;
}
.ba-handle::after {
  content: "◂ ▸";
  position: absolute;
  background: var(--gold);
  color: var(--navy-deep);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.ba-caption { text-align: center; font-size: 0.78rem; color: #9fb0c9; margin-top: 0.8rem; }

/* ============ Cards ============ */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-top: 4px solid var(--gold);
  box-shadow: 0 4px 18px rgba(11,31,58,0.06);
}
.card h3 { margin-bottom: 0.5rem; }
.card .icon { color: var(--stream); margin-bottom: 0.9rem; }
.card a.more { color: var(--stream); font-family: var(--font-display); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }

.area-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  border-left: 4px solid var(--stream);
  box-shadow: 0 4px 14px rgba(11,31,58,0.05);
}
.area-card h3 { margin-bottom: 0.35rem; font-size: 1.05rem; }
.area-card p { font-size: 0.88rem; margin-bottom: 0.6rem; }
.area-card .more { color: var(--stream); font-size: 0.78rem; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; }

/* Testimonials */
.quote-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 4px 18px rgba(11,31,58,0.06);
  position: relative;
}
.quote-card .mark { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); line-height: 0.5; }
.quote-card .stars { color: var(--gold); letter-spacing: 0.15em; margin-bottom: 0.5rem; }
.quote-card footer { margin-top: 1rem; font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }

/* CTA band */
.cta-band {
  background: var(--stream);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band .btn-gold { color: var(--navy-deep); }

/* Photo placeholder blocks (developer: swap with real job photos) */
.photo-slot {
  background: repeating-linear-gradient(135deg, #e4ded0, #e4ded0 10px, #ddd6c5 10px, #ddd6c5 20px);
  border: 2px dashed #c8bfa5;
  border-radius: var(--radius);
  min-height: 220px;
  display: flex; align-items: center; justify-content: center;
  color: #8a7f5f; font-size: 0.8rem; text-align: center; padding: 1rem;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #9fb0c9;
  padding: 3.5rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--gold-light); font-size: 0.85rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.site-footer a { display: block; color: #9fb0c9; font-size: 0.85rem; margin-bottom: 0.5rem; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.76rem;
  color: #6b7891;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
.footer-badge {
  position: absolute;
  right: -60px; bottom: -60px;
  width: 280px; height: 280px;
  opacity: 0.04;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 5 L62 20 L85 15 L80 38 L95 50 L80 62 L85 85 L62 80 L50 95 L38 80 L15 85 L20 62 L5 50 L20 38 L15 15 L38 20 Z' fill='%23c9a227'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Page hero (interior pages) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 0;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.4rem; }
.breadcrumb { font-size: 0.78rem; color: #9fb0c9; margin-bottom: 0.8rem; }
.breadcrumb a { color: var(--gold-light); }

.two-col {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.list-check { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.list-check li { padding-left: 1.6em; position: relative; margin-bottom: 0.6em; color: var(--ink-soft); }
.list-check li::before { content: "✓"; position: absolute; left: 0; color: var(--stream); font-weight: 700; }

.sidebar-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 18px rgba(11,31,58,0.06);
  margin-bottom: 1.5rem;
}
.sidebar-box h4 { font-size: 0.9rem; letter-spacing: 0.06em; margin-bottom: 0.8rem; }
.sidebar-box .btn { width: 100%; justify-content: center; margin-top: 0.6rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  background: var(--paper-dim);
  color: var(--ink);
  font-size: 0.78rem;
  padding: 0.4em 0.8em;
  border-radius: 20px;
}
.chip a { color: var(--stream); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--paper-dim); padding: 1.1rem 0; }
.faq-item h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.faq-item p { margin-bottom: 0; }

/* Skip link / focus visibility */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--navy-deep); padding: 0.6em 1em; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--stream); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
