/* Pacific Pro Exterior Clean — one-off mock. Not the factory restyle.
   Bar: Peppers quote-in-hero + Pure full-bleed job photo. */

:root {
  --bg: #f4f5f7;
  --ink: #0b0d12;
  --muted: #5a6573;
  --line: #e4e7ec;
  --card: #ffffff;
  --keep: #047857;
  --accent: #2563eb;
  --accent-ink: #1d4ed8;
  --radius: 10px;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 72rem;
  --banner-h: 2.35rem;
  --header-h: 3.65rem;
  --stack-h: calc(var(--banner-h) + var(--header-h));
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--stack-h);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
button, input, textarea { font-family: inherit; }

a { color: var(--accent-ink); text-underline-offset: 0.16em; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 80;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 0 0 8px 8px;
}
.skip:focus { top: 0; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* —— Sticky stack —— */
.banner {
  position: sticky;
  top: 0;
  z-index: 70;
  min-height: var(--banner-h);
  background: var(--ink);
  color: #d6d9de;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.45rem 1rem;
  line-height: 1.35;
}

.site-header {
  position: sticky;
  top: var(--banner-h);
  z-index: 60;
  min-height: var(--header-h);
  color: #fff;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header.is-over-hero {
  background: rgba(11, 13, 18, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.header-inner {
  width: min(var(--max), calc(100% - 1.5rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: inherit; }
.brand img {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 3px;
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.brand-sub {
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.15rem;
  margin-left: auto;
}
.nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.nav a:hover { color: #fff; }

.header-phone {
  display: none;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.header-phone:hover { color: #fff; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: var(--accent-ink); color: #fff; }
.btn-ink {
  background: var(--ink);
  color: #fff;
}
.btn-ink:hover { background: #1a1e28; color: #fff; }

.header-cta {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 8px;
  padding: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (min-width: 880px) {
  .nav { display: flex; }
  .header-phone { display: inline; margin-left: 0.5rem; }
  .header-actions { margin-left: 0; }
  .nav-toggle { display: none; }
}

@media (max-width: 879px) {
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 0 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.7rem 1.15rem;
    font-size: 1rem;
  }
  .site-header { position: sticky; }
}

/* —— Hero: full-bleed job photo, quote in the first screen —— */
.hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(var(--header-h) * -1);
  min-height: calc(100vh - var(--banner-h));
  display: flex;
  align-items: center;
  color: #fff;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(11, 13, 18, 0.66) 0%,
      rgba(11, 13, 18, 0.38) 36%,
      rgba(11, 13, 18, 0.12) 58%,
      rgba(11, 13, 18, 0.2) 100%
    ),
    linear-gradient(
      to top,
      rgba(11, 13, 18, 0.42) 0%,
      rgba(11, 13, 18, 0.08) 42%,
      rgba(11, 13, 18, 0.28) 100%
    );
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: calc(var(--header-h) + 1.5rem) 0 4.25rem;
  display: grid;
  gap: 1.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.eyebrow::before {
  content: "";
  width: 1.1rem;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  text-shadow: 0 2px 24px rgba(11, 13, 18, 0.45);
  margin: 0 0 0.85rem;
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: #fff;
  max-width: 11.5ch;
}

.lede {
  margin: 0 0 0.9rem;
  max-width: 36ch;
  font-size: 1.05rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.facts {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: -0.01em;
}

.hero-chip {
  position: absolute;
  z-index: 3;
  left: max(1rem, calc((100% - min(var(--max), calc(100% - 2rem))) / 2));
  bottom: 1.1rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
}

/* Quote card — Peppers move, our system (solid white, no glass, no orange) */
.quote-card {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.1rem;
  border: 1px solid rgba(11, 13, 18, 0.06);
}
.quote-card h2 {
  margin: 0 0 0.2rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.quote-card .card-hint {
  margin: 0 0 0.95rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin-bottom: 0.55rem;
}
.field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}
.opt { font-weight: 400; }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 0.62rem 0.75rem;
  font-size: 1rem;
  color: var(--ink);
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.field textarea { min-height: 4.5rem; resize: vertical; }

.chip-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0.35rem 0 0.4rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}
.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.25;
}
.chip:hover { border-color: #c5cad3; }
.chip.is-on,
.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.quote-card .btn-submit {
  width: 100%;
  padding: 0.82rem 1rem;
  font-size: 1rem;
  margin-top: 0.1rem;
}
.fine {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}
.fine a { color: var(--accent-ink); }

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr min(24.5rem, 40%);
    gap: 2.25rem;
    align-items: center;
    padding: calc(var(--header-h) + 2rem) 0 4.5rem;
  }
}

/* —— Below the fold —— */
.section {
  padding: 3.5rem 0;
}
.section h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.section-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 42ch;
}

/* Photographic plates — not icon cards */
.plates {
  display: grid;
  gap: 0.85rem;
}
.plate {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  min-height: 16rem;
}
.plate img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.plate-gutter img { object-position: 50% 12%; }
.plate-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.75rem 1.05rem 1.05rem;
  background: linear-gradient(transparent, rgba(11, 13, 18, 0.9) 70%);
}
.plate-cap h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.plate-cap p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}

@media (min-width: 880px) {
  .plates { grid-template-columns: 1fr 1fr 1fr; }
}

/* Before / after sliders — Pure style */
.work { background: #fff; }
.ba-grid {
  display: grid;
  gap: 1.5rem;
}
.ba { margin: 0; }
.ba-title {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.ba-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  aspect-ratio: 4 / 3;
  touch-action: none;
  cursor: ew-resize;
  user-select: none;
}
.ba-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}
.ba-before-wrap {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pos, 50%);
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.ba-before-wrap img {
  width: var(--frame-w, 100%);
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  pointer-events: none;
  z-index: 2;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  pointer-events: none;
}
.ba-handle svg { width: 18px; height: 18px; }

.ba-tag {
  position: absolute;
  top: 0.65rem;
  z-index: 3;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  color: #fff;
  pointer-events: none;
}
.ba-tag-before {
  left: 0.65rem;
  background: rgba(11, 13, 18, 0.72);
}
.ba-tag-after {
  right: 0.65rem;
  background: var(--keep);
}

.ba-range {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 2.2rem;
  margin: 0;
  opacity: 0;
  z-index: 4;
  cursor: ew-resize;
}

@media (min-width: 880px) {
  .ba-grid { grid-template-columns: 1fr 1fr; }
}

/* About + quotes */
.about-grid {
  display: grid;
  gap: 1.25rem;
}
.about-copy p { margin: 0 0 0.85rem; color: #2a3038; max-width: 48ch; }
.about-copy p:last-child { margin-bottom: 0; }

.quotes { display: grid; gap: 0.85rem; }
blockquote {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1rem;
  border-left: 2px solid var(--accent);
}
blockquote p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
}
blockquote footer {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}

@media (min-width: 880px) {
  .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: start; }
  .quotes { grid-template-columns: 1fr 1fr; }
}

/* Towns */
.towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.town {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Bottom quote */
.quote-band { background: var(--bg); }
.quote-split {
  display: grid;
  gap: 1.5rem;
}
.callout {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.callout h2 { color: #fff; }
.callout p { color: rgba(255, 255, 255, 0.78); margin: 0 0 1.1rem; }
.callout .btn-pill { align-self: flex-start; padding: 0.75rem 1.15rem; }

@media (min-width: 880px) {
  .quote-split { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
}

/* Footer */
.site-footer {
  padding: 1.25rem 0 5.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.footer-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  justify-content: space-between;
}
.site-footer a { color: inherit; text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--ink); }

/* Mobile sticky Call | Free quote */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: var(--ink);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  border-radius: 0;
}
.mobile-bar .bar-call { background: var(--ink); }
.mobile-bar .bar-quote { background: var(--accent); }
.mobile-bar .bar-quote:hover { color: #fff; background: var(--accent-ink); }

@media (max-width: 879px) {
  .mobile-bar { display: grid; }
  body { padding-bottom: 3.15rem; }
  .site-footer { padding-bottom: 1.25rem; }
}


@media (max-width: 879px) {
  .hero-grid {
    padding: calc(var(--header-h) + 0.9rem) 0 5.25rem;
    gap: 1.15rem;
  }
  .lede { font-size: 0.98rem; }
  .hero h1 { margin-bottom: 0.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
