/* Legacy Pressure Washing LLC
   Brand palette sampled from Seth's actual logo: royal blue #3C57A6, steel gray.
   Dark, bold identity. Display face: Barlow Condensed italic (echoes the logo's
   speed-slant); body: Archivo.
   Radius system (locked): buttons pill, cards/images 14px, inputs 10px. */

:root {
  --bg: #14171d;
  --bg-deep: #0e1116;
  --surface: #1b2028;
  --line: rgba(255, 255, 255, 0.09);
  --blue: #3c57a6;
  --blue-deep: #24365f;
  --blue-bright: #7d9be8;
  --steel: #a8b0b9;
  --ink: #f1f3f6;
  --muted: #a8b0b9;
  --r-card: 14px;
  --r-input: 10px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

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

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

h1, h2, h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(3rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.45rem; letter-spacing: 0.02em; }

p { color: var(--muted); }

a { color: var(--blue-bright); }

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

.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.6rem;
  font: 700 1rem/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary, .btn-accent {
  background: var(--blue);
  color: #ffffff;
}
.btn-primary:hover, .btn-accent:hover {
  background: #4a69c4;
  box-shadow: 0 10px 30px rgba(60, 87, 166, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue-bright); color: var(--blue-bright); }

.btn-lg { padding: 1rem 2rem; font-size: 1.06rem; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 17, 22, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 96px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand { display: flex; align-items: center; text-decoration: none; white-space: nowrap; }
.brand img { height: 76px; width: auto; }

.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a {
  color: var(--steel);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 1.1rem; }
.nav-phone {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
.nav-phone:hover { color: var(--blue-bright); }

.nav-toggle { display: none; }

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

.hero {
  position: relative;
  background:
    radial-gradient(1100px 460px at 18% -8%, rgba(60, 87, 166, 0.34), transparent 65%),
    radial-gradient(700px 380px at 95% 8%, rgba(60, 87, 166, 0.16), transparent 60%),
    var(--bg-deep);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 5rem;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.hero h1 .line { display: block; }
.hero h1 .hl { color: var(--blue-bright); }

.hero-sub {
  margin-top: 1.4rem;
  font-size: 1.14rem;
  max-width: 34rem;
  color: var(--steel);
}
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-ctas { margin-top: 2.1rem; display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }

.hero-media { position: relative; }
.hero-media img,
.hero-media video {
  width: 100%;
  border-radius: var(--r-card);
  aspect-ratio: 6 / 7;
  object-fit: cover;
  display: block;
  height: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line);
}

/* ---------- Commercial band (royal blue block) ---------- */

.commercial {
  background: linear-gradient(160deg, var(--blue-deep), #1a2743 70%);
  border-block: 1px solid var(--line);
}

.commercial-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 1.25rem;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.commercial h2 { color: #ffffff; }
.commercial p { color: #b9c6de; margin-top: 1.1rem; max-width: 32rem; }

.commercial .btn-accent { margin-top: 1.8rem; background: #ffffff; color: #1a2743; }
.commercial .btn-accent:hover { background: #e8edf8; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }

.commercial-media img,
.commercial-media video {
  width: 100%;
  border-radius: var(--r-card);
  aspect-ratio: 7 / 5;
  object-fit: cover;
  display: block;
  height: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.10);
}

.check-list {
  list-style: none;
  margin-top: 1.4rem;
  display: grid;
  gap: 0.55rem;
}
.check-list li {
  padding-left: 1.8rem;
  position: relative;
  font-weight: 500;
  color: #dbe4f2;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 15px;
  height: 8px;
  border-left: 2.5px solid #7d9be8;
  border-bottom: 2.5px solid #7d9be8;
  transform: rotate(-45deg);
}

/* ---------- Services bento ---------- */

.services { max-width: 1200px; margin: 0 auto; padding: 5.5rem 1.25rem; }

.section-head { max-width: 42rem; margin-bottom: 2.6rem; }
.section-head p { margin-top: 0.9rem; font-size: 1.05rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1.1rem;
}

.svc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.svc:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 155, 232, 0.4);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}

.svc-body { padding: 1.4rem 1.5rem 1.5rem; }
.svc-body h3 { color: var(--ink); }
.svc-body p { margin-top: 0.5rem; font-size: 0.95rem; }

.svc-feature { grid-column: span 2; grid-row: span 2; }
.svc-feature img { flex: 1; min-height: 0; width: 100%; object-fit: cover; }

.svc:nth-child(2), .svc:nth-child(3) { grid-column: span 2; }

.svc-img { grid-column: span 2; }
.svc-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 45%;
}
.svc-tint {
  grid-column: span 2;
  background: linear-gradient(160deg, rgba(60, 87, 166, 0.28), rgba(60, 87, 166, 0.10)), var(--surface);
  border-color: rgba(125, 155, 232, 0.25);
}

.svc-half { grid-column: span 1; }

.svc-wide {
  grid-column: span 4;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}
.svc-wide video {
  width: 300px;
  flex: none;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--r-card) 0 0 var(--r-card);
  align-self: stretch;
  height: auto;
}
.svc-wide .svc-body { max-width: 38rem; padding: 2.5rem 3rem; }
.svc-wide .svc-body h3 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.svc-wide .svc-body p { font-size: 1.12rem; margin-top: 0.9rem; }
.svc-wide .svc-body .btn { margin-top: 1.7rem; }

/* ---------- Before / After ---------- */

.results { max-width: 1200px; margin: 0 auto; padding: 1rem 1.25rem 5.5rem; }

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.ba-item { margin: 0; }
.ba-item figcaption {
  margin-top: 0.7rem;
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--steel);
  font-size: 1.05rem;
}

.ba {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  --pos: 50%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line);
}
.ba img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.ba-before-wrap {
  position: absolute;
  inset: 0;
  /* Reveal the left portion via clip-path: both images render at identical
     size/crop, so alignment can never race the layout or distort. */
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-before-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: #ffffff;
  pointer-events: none;
}
.ba-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}
.ba-handle span::before,
.ba-handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px; height: 8px;
  border-top: 2.5px solid var(--blue);
  border-left: 2.5px solid var(--blue);
}
.ba-handle span::before { left: 10px;  transform: translateY(-50%) rotate(-45deg); }
.ba-handle span::after  { right: 10px; transform: translateY(-50%) rotate(135deg); }

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}

.ba-tag {
  position: absolute;
  bottom: 1rem;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  background: rgba(14, 17, 22, 0.78);
  color: #ffffff;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.ba-tag-before { left: 1rem; }
.ba-tag-after { right: 1rem; }

/* ---------- Meet Seth ---------- */

.meet { background: var(--surface); border-block: 1px solid var(--line); }

.meet-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.25rem;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.meet-media img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--r-card);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--line);
}

.meet-copy p { margin-top: 1.1rem; max-width: 34rem; }
.meet-copy .btn { margin-top: 1.7rem; }

/* ---------- Process ---------- */

.process { background: var(--bg-deep); border-block: 1px solid var(--line); }

.process-inner { max-width: 1200px; margin: 0 auto; padding: 5rem 1.25rem; }

.steps {
  list-style: none;
  counter-reset: step;
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 46rem;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 2rem 4.2rem;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}
.steps h3 { color: var(--ink); }
.steps p { margin-top: 0.35rem; max-width: 30rem; }

/* ---------- Area ---------- */

.area { max-width: 1200px; margin: 0 auto; padding: 5.5rem 1.25rem; }

.area-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.area-col > p { margin-top: 0.9rem; }

.towns {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.towns li {
  padding: 0.44rem 1.1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--ink);
}

.area .check-list { margin-top: 1.5rem; }
.area .check-list li { color: var(--ink); }

/* ---------- Quote ---------- */

.quote {
  background:
    radial-gradient(900px 420px at 82% 0%, rgba(60, 87, 166, 0.32), transparent 62%),
    var(--bg-deep);
  border-top: 1px solid var(--line);
}

.quote-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 1.25rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.quote h2 { color: #ffffff; }
.quote-info > p { color: var(--steel); margin-top: 1.1rem; max-width: 26rem; }

.quote-phone {
  display: inline-block;
  margin-top: 1.6rem;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--blue-bright);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.quote-phone:hover { color: #9db6f0; }

.quote-fb { margin-top: 1rem; color: var(--steel); }
.quote-fb a { color: var(--ink); }

.quote-form {
  background: #ffffff;
  border-radius: var(--r-card);
  padding: 2rem;
  display: grid;
  gap: 1.1rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.hp { display: none; }

.field { display: grid; gap: 0.45rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.field label { font-weight: 600; font-size: 0.92rem; color: #14171d; }

.field input,
.field select,
.field textarea {
  font: 400 1rem/1.4 var(--body);
  color: #14171d;
  background: #f3f5f8;
  border: 1.5px solid #d8dde4;
  border-radius: var(--r-input);
  padding: 0.7rem 0.9rem;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(60, 87, 166, 0.25);
}

.quote-form .btn { justify-self: start; }

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

.footer { background: var(--bg-deep); color: var(--steel); border-top: 1px solid var(--line); }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.8rem 1.25rem;
  display: grid;
  gap: 1.1rem;
}

.footer-brand img { height: 72px; width: auto; }

.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-links a { color: var(--steel); text-decoration: none; font-size: 0.93rem; }
.footer-links a:hover { color: #ffffff; }

.footer-fine { font-size: 0.85rem; color: #76808b; }
.footer-fine a { color: #76808b; }

/* ---------- Reveal animation ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .reveal.in { opacity: 1; transform: none; }
  .delay-1.in { transition-delay: 0.1s; }
  .delay-2.in { transition-delay: 0.2s; }
}

/* ---------- Mobile ---------- */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }

  .hero-inner,
  .commercial-inner,
  .area-inner,
  .quote-inner,
  .meet-inner {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .hero-inner { padding: 3rem 1.25rem 3.5rem; }
  .hero-media { order: -1; }
  .hero-media img, .hero-media video { aspect-ratio: 4 / 3; }

  .services-grid { grid-template-columns: 1fr; }
  .svc-feature, .svc:nth-child(2), .svc:nth-child(3), .svc-tint, .svc-img, .svc-wide { grid-column: auto; grid-row: auto; }
  .svc-wide { flex-direction: column; align-items: stretch; }
  .svc-wide video { width: 100%; aspect-ratio: 4 / 5; border-radius: 0; }
  .svc-wide .svc-body { padding: 1.6rem 1.5rem 1.8rem; }
  .svc-feature img { max-height: 280px; }

  .field-row { grid-template-columns: 1fr; }

  .ba-grid { grid-template-columns: 1fr; }

  .commercial-inner, .services, .area, .quote-inner, .process-inner, .meet-inner { padding-block: 3.5rem; }
}

@media (max-width: 520px) {
  .brand img { height: 56px; }
  .nav-actions .btn { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
  .hero-ctas .btn { width: 100%; text-align: center; }
}
