/* Standard Power Washing LLC — standardpowerwashing.com
   Water-lit slate-blue system, matched to the existing live site:
   Cinzel display · Lato body · Cabin labels · glass cards · polished-steel buttons */

:root {
  --bg: #10161f;
  --navy: #182636;
  --navy-deep: #0d1520;
  --card-hi: rgba(64, 92, 124, 0.42);
  --card-lo: rgba(16, 26, 39, 0.85);
  --line: rgba(190, 214, 238, 0.16);
  --text: #c3d2e2;
  --text-bright: #eef3f9;
  --muted: #8ba0b8;
  --steel-hi: #f6f9fc;
  --steel-lo: #b9c7d6;
  --bloom: radial-gradient(1100px 620px at 78% -10%, rgba(96, 138, 186, 0.28), transparent 60%),
           radial-gradient(900px 700px at -10% 110%, rgba(56, 92, 132, 0.22), transparent 55%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: Lato, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--navy);
  background-image: var(--bloom);
  background-attachment: fixed;
}

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

a { color: #cfe0f2; }
a:focus-visible, button:focus-visible {
  outline: 3px solid #9fc3e8;
  outline-offset: 2px;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Type ---------- */

h1, h2, h3, .display {
  font-family: Cinzel, Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--text-bright);
  line-height: 1.18;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.45rem, 3.2vw, 2.1rem); margin-bottom: 0.85rem; }
h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }

h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
  color: #f4f8fd;
}

p + p { margin-top: 0.95rem; }

.eyebrow {
  font-family: Cabin, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.lede { font-size: 1.15rem; color: var(--text); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: Cabin, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: filter 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn-call {
  background: linear-gradient(180deg, var(--steel-hi) 0%, var(--steel-lo) 100%);
  color: #14212f;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 6px 18px rgba(6, 12, 20, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.btn-call:hover { filter: brightness(1.06); }

.btn-ghost {
  border-color: var(--line);
  color: var(--text-bright);
  background: rgba(20, 32, 46, 0.4);
}
.btn-ghost:hover { border-color: rgba(190, 214, 238, 0.4); }

/* ---------- Header ---------- */

.site-header {
  background: rgba(13, 21, 32, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 68px;
  position: relative;
}

.brand { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }

.brand-text {
  font-family: Cinzel, Georgia, serif;
  color: var(--text-bright);
  white-space: nowrap;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
}
.brand-text em { font-style: italic; }
.brand-text small {
  font-family: Cabin, "Segoe UI", sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav-toggle {
  display: none;
  font-family: Cabin, "Segoe UI", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text-bright);
  padding: 0.5rem 0.85rem;
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
}

.site-nav ul { list-style: none; display: flex; gap: 1.5rem; align-items: center; }

.site-nav a {
  font-family: Cabin, "Segoe UI", sans-serif;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.site-nav a:hover { color: #ffffff; }

.has-menu { position: relative; }

.site-nav .submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(16, 26, 39, 0.97);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 270px;
  padding: 0.45rem 0;
  display: none;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 16px 36px rgba(4, 9, 16, 0.6);
}

.has-menu:hover .submenu,
.has-menu:focus-within .submenu { display: flex; }

.site-nav .submenu a { display: block; padding: 0.7rem 1.1rem; font-weight: 500; letter-spacing: 0.06em; text-transform: none; font-size: 0.92rem; }
.site-nav .submenu a:hover { background: rgba(96, 138, 186, 0.14); }

.header-call { white-space: nowrap; padding: 0.65rem 1.1rem; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header-call { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 21, 32, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.25rem;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid rgba(190, 214, 238, 0.08); }
  .site-nav a { display: block; padding: 0.75rem 0; }
  .site-nav .submenu {
    position: static;
    transform: none;
    display: flex;
    border: none;
    box-shadow: none;
    background: none;
    padding: 0 0 0.5rem 1rem;
    min-width: 0;
  }
  .site-nav .submenu a { padding: 0.45rem 0; }
  .site-nav .submenu li:last-child, .site-nav > ul > li:last-child { border-bottom: none; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 5rem 0 5.5rem;
  background:
    linear-gradient(100deg, rgba(13, 21, 32, 0.97) 0%, rgba(13, 21, 32, 0.86) 48%, rgba(16, 28, 42, 0.55) 100%),
    url("/assets/images/photo-hero.jpg") right center / cover no-repeat,
    var(--navy-deep);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.hero h1 { max-width: 20ch; }

.hero .eyebrow { color: #9fc3e8; }

.hero .lede { max-width: 54ch; margin: 1.2rem 0 1.9rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero-note {
  margin-top: 1.5rem;
  font-family: Cabin, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* ---------- Sections ---------- */

.section { padding: 4rem 0; }

.section-concrete {
  background: linear-gradient(180deg, rgba(13, 21, 32, 0.55) 0%, rgba(13, 21, 32, 0.2) 100%);
  border-top: 1px solid rgba(190, 214, 238, 0.08);
  border-bottom: 1px solid rgba(190, 214, 238, 0.08);
}

.section-dark {
  background:
    radial-gradient(800px 420px at 20% 20%, rgba(96, 138, 186, 0.18), transparent 60%),
    var(--navy-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { max-width: 64ch; margin-bottom: 2.25rem; }

/* ---------- Cards / grids ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}

.card {
  background: linear-gradient(160deg, var(--card-hi) 0%, var(--card-lo) 68%);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 34px rgba(5, 10, 17, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.card img { width: 100%; height: auto; }

.card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { font-size: 0.95rem; color: var(--text); flex: 1; }

.card-link {
  margin-top: 1rem;
  font-family: Cabin, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
  color: #cfe0f2;
}
.card-link::after { content: " →"; }
.card-link:hover { color: #ffffff; }

.point-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem 1.5rem;
}

.point {
  background: linear-gradient(160deg, rgba(46, 68, 94, 0.35) 0%, rgba(16, 26, 39, 0.6) 70%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.3rem 1.35rem;
}
.point h3 { color: var(--text-bright); }
.point p { font-size: 0.95rem; }

/* ---------- City chips ---------- */

.city-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.4rem; }

.city-list li {
  font-family: Cabin, "Segoe UI", sans-serif;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 32, 46, 0.5);
  color: var(--text-bright);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.95rem;
}

/* ---------- Service page ---------- */

.page-hero {
  padding: 3.75rem 0;
  background:
    radial-gradient(800px 420px at 75% 0%, rgba(110, 152, 198, 0.26), transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 24ch; }
.page-hero .eyebrow { color: #9fc3e8; }
.page-hero .lede { max-width: 58ch; margin-top: 1.1rem; }

.article { padding: 3.5rem 0; }
.article .wrap { max-width: 820px; }
.article h2 { margin-top: 2.4rem; }
.article h2:first-of-type { margin-top: 0; }
.article ul { margin: 1rem 0 1rem 1.25rem; }
.article li + li { margin-top: 0.4rem; }
.article strong { color: var(--text-bright); }

.figure-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 2.25rem 0; }
.figure-row figure { margin: 0; }
.figure-row img { border-radius: 14px; border: 1px solid var(--line); }
.figure-row figcaption {
  font-family: Cabin, "Segoe UI", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 0.55rem;
}
@media (max-width: 640px) { .figure-row { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, rgba(13, 21, 32, 0.55) 0%, rgba(13, 21, 32, 0.2) 100%);
  border-top: 1px solid rgba(190, 214, 238, 0.08);
}
.faq .wrap { max-width: 820px; }

.faq details {
  background: linear-gradient(160deg, rgba(46, 68, 94, 0.32) 0%, rgba(16, 26, 39, 0.65) 70%);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 0.8rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text-bright);
  padding: 0.95rem 1.15rem;
}

.faq details > p { padding: 0 1.15rem 1.05rem; }

/* ---------- CTA band ---------- */

.cta-band {
  padding: 4rem 0;
  background:
    radial-gradient(700px 380px at 50% 120%, rgba(110, 152, 198, 0.25), transparent 65%),
    var(--navy-deep);
  border-top: 1px solid var(--line);
}
.cta-band .eyebrow { color: #9fc3e8; }
.cta-band p { max-width: 58ch; }

.cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.6rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: #0a111b;
  color: var(--muted);
  padding: 3rem 0 6.5rem;
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-nav ul { list-style: none; }
.footer-nav a { color: var(--text); text-decoration: none; display: inline-block; padding: 0.45rem 0; }
.footer-nav a:hover { color: #ffffff; }

.footer-brand {
  font-family: Cinzel, Georgia, serif;
  color: var(--text-bright);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.nap { margin-top: 1.4rem; border-top: 1px solid rgba(190, 214, 238, 0.1); padding-top: 1.4rem; grid-column: 1 / -1; }
.nap a { color: var(--text); display: inline-block; padding: 0.3rem 0; }

/* ---------- Sticky mobile call bar ---------- */

.callbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.callbar a {
  display: block;
  text-align: center;
  background: linear-gradient(180deg, var(--steel-hi) 0%, var(--steel-lo) 100%);
  color: #14212f;
  font-family: Cabin, "Segoe UI", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

@media (max-width: 767px) {
  .callbar { display: block; }
}
@media (min-width: 768px) {
  .site-footer { padding-bottom: 3rem; }
}

/* ---------- 404 ---------- */

.error-page { padding: 5rem 0; }
.error-code {
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(4rem, 14vw, 8rem);
  color: rgba(190, 214, 238, 0.12);
  line-height: 1;
}
.error-page h1 { margin: 0.5rem 0 1rem; }
.error-page .cta-actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.85rem; }
