/* Charles Pressure Cleaning LLC. Colors come from the van (lime, black lettering) and from clean and wet concrete. */
:root {
  --lime: #66E03C;
  --lime-deep: #2C6E12;
  --ink: #171A16;
  --asphalt: #23272B;
  --slab: #F2F2EE;
  --white: #FFFFFF;
  --wet: #5B6159;
  --line: #D9DAD3;
  --head: "Rubik", "Arial Rounded MT Bold", Arial, sans-serif;
  --body: "Red Hat Text", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --gut: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1.125rem; line-height: 1.6; color: var(--ink); background: var(--white); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0; }
a { color: var(--lime-deep); }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .reviews :focus-visible, .site-footer :focus-visible, .lightbox :focus-visible { outline-color: var(--white); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 8px; }
.skip:focus { top: 12px; }

.section { padding-block: clamp(64px, 8vw, 112px); }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section__head p { margin-top: 14px; color: var(--wet); font-size: 1.1875rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 10px; border: 2px solid transparent; font-family: var(--head); font-weight: 700; font-size: 1.125rem; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #8BEE66; }
.btn--ghost { border-color: var(--white); color: var(--white); background: rgba(23, 26, 22, .35); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; }
.textlink { display: inline-block; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 4px; text-underline-offset: 5px; }
.textlink:hover { text-decoration-color: var(--ink); }
.textlink--onDark { color: var(--white); }
.textlink--onDark:hover { text-decoration-color: var(--white); }

/* Header: painted like the van */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--lime); color: var(--ink); }
.site-header__in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.1; margin-right: auto; }
.brand__name { font-family: var(--head); font-weight: 800; font-size: 1.375rem; letter-spacing: -0.02em; }
.brand__place { font-size: .9375rem; font-weight: 500; }
.site-nav { display: flex; gap: 26px; }
.site-nav a { color: var(--ink); font-weight: 700; font-size: 1.0625rem; text-decoration: none; padding-block: 12px; border-bottom: 3px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--ink); }
.header-call { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 20px; border-radius: 10px; background: var(--ink); color: var(--white); font-family: var(--head); font-weight: 700; font-size: 1.0625rem; text-decoration: none; white-space: nowrap; }
.header-call:hover { background: #000; }
.menu-btn { display: none; }
.mobile-menu, .scrim { display: none; }

/* Hero */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(760px, calc(100vh - 72px)); background: var(--ink); color: var(--white); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 6%; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(18, 21, 17, .9) 0%, rgba(18, 21, 17, .72) 34%, rgba(18, 21, 17, .18) 62%, rgba(18, 21, 17, 0) 78%),
  linear-gradient(0deg, rgba(18, 21, 17, .55) 0%, rgba(18, 21, 17, 0) 45%); }
.hero__in { position: relative; padding-block: clamp(56px, 8vw, 96px) clamp(44px, 5vw, 68px); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); max-width: 12.5ch; line-height: 1.02; }
.hero__lead { margin-top: 22px; max-width: 34ch; font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.45; font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__rating { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; min-height: 48px; color: var(--white); font-weight: 700; text-decoration: none; }
.hero__rating:hover span:last-child { text-decoration: underline; }
.stars { color: var(--lime); display: inline-flex; }

/* Facts strip */
.facts { border-bottom: 1px solid var(--line); }
.facts__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__list li { padding: 26px 24px 26px 0; }
.facts__list li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts__list strong { display: block; font-family: var(--head); font-weight: 700; font-size: 1.1875rem; line-height: 1.25; }
.facts__list span { display: block; color: var(--wet); font-size: 1.0625rem; margin-top: 2px; }

/* Before and after, surface by surface */
.results { background: var(--slab); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.shot { position: relative; display: block; padding: 0; border: 0; background: var(--line); cursor: zoom-in; overflow: hidden; }
.shot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.pair .shot:first-child { border-radius: 10px 0 0 10px; }
.pair .shot:last-child { border-radius: 0 10px 10px 0; }
.tag { position: absolute; left: 12px; top: 12px; padding: 5px 12px; border-radius: 6px; background: var(--white); color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 1rem; line-height: 1.3; }
.tag--after { background: var(--lime); }

.surface h3 { margin-top: 20px; }
.surface p { margin-top: 8px; color: #3F443D; max-width: 44ch; }
.surface--lead { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: center; padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.surface--lead h3 { margin-top: 0; font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 800; }
.surface--lead p { margin-top: 14px; font-size: 1.1875rem; }
.surface--lead .textlink { margin-top: 24px; }
.surface--lead .shot img { aspect-ratio: 1 / 1; object-position: 50% 62%; }
.surface-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 48px; }

/* Services */
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.svc__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.svc__item h3 { margin-top: 20px; }
.svc__item p { margin-top: 8px; color: #3F443D; }
.lists { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2.5fr) minmax(0, 5fr); gap: 48px; margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(36px, 4vw, 48px); border-top: 3px solid var(--ink); }
.lists h3 { font-size: 1.25rem; margin-bottom: 14px; }
.plain { columns: 2; column-gap: 32px; }
.plain--one { columns: 1; }
.plain li { padding: 9px 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-weight: 500; }
.owner { margin: 0; padding: 26px 28px; background: var(--lime); border-radius: 10px; align-self: start; }
.owner p { font-family: var(--head); font-weight: 600; font-size: 1.25rem; line-height: 1.4; }
.owner footer { margin-top: 14px; font-size: 1rem; font-weight: 500; }

/* Recent work */
.work { background: var(--slab); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.g { padding: 0; border: 0; background: var(--line); cursor: zoom-in; overflow: hidden; border-radius: 8px; aspect-ratio: 3 / 4; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.g:hover img { transform: scale(1.03); }
.g--big, .g--wide { position: relative; grid-column: span 2; aspect-ratio: auto; }
.g--big { grid-row: span 2; }
.g--big img, .g--wide img { position: absolute; inset: 0; }
.g--wide img { object-position: 50% 70%; }

/* Reviews */
.reviews { background: var(--asphalt); color: var(--white); }
.reviews__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.reviews__score { position: sticky; top: 112px; }
.score { margin-top: 28px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.score__num { font-family: var(--head); font-weight: 800; font-size: clamp(4.5rem, 8vw, 7rem); line-height: .9; color: var(--lime); letter-spacing: -0.03em; }
.score__of { font-weight: 500; }
.score__count { margin-top: 8px; margin-bottom: 26px; color: #C9CDC6; }
.reviews__list { columns: 2; column-gap: 40px; }
.quote { margin: 0 0 36px; break-inside: avoid; padding-top: 20px; border-top: 3px solid var(--lime); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: 1.125rem; line-height: 1.6; color: #EEF0EB; }
.quote figcaption { margin-top: 14px; }
.quote figcaption strong { display: block; font-family: var(--head); font-weight: 700; }
.quote figcaption span { color: #C9CDC6; font-size: 1rem; }

/* About */
.about__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.about__photo { margin: 0; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 10px; }
.about__text p { margin-top: 18px; max-width: 56ch; }
.about__facts { margin: 34px 0 0; border-top: 3px solid var(--ink); }
.about__facts div { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.about__facts dt { font-family: var(--head); font-weight: 700; }
.about__facts dd { margin: 0; color: #3F443D; }

/* Service area: lime band */
.area { background: var(--lime); padding-block: clamp(52px, 6vw, 80px); }
.area__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.area p { margin-top: 12px; font-weight: 500; max-width: 30ch; }
.towns { display: flex; flex-wrap: wrap; gap: 6px 34px; }
.towns li { font-family: var(--head); font-weight: 800; font-size: clamp(1.625rem, 3vw, 2.5rem); line-height: 1.2; letter-spacing: -0.015em; }

/* Quote */
.quote-sec__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.quote-sec__form > p { margin-top: 14px; color: #3F443D; max-width: 54ch; }
form { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field:nth-of-type(3), .field:nth-of-type(4) { grid-column: 1 / -1; }
label { font-weight: 700; }
.opt { font-weight: 400; color: var(--wet); }
input, select, textarea { width: 100%; min-height: 54px; padding: 12px 14px; border: 2px solid #8C9189; border-radius: 8px; background: var(--white); font: inherit; color: var(--ink); }
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 0; border-color: var(--ink); }
.form-err { grid-column: 1 / -1; color: #A3180F; font-weight: 700; min-height: 0; }
.form-err:empty { display: none; }
form .btn { grid-column: 1 / -1; justify-self: start; }
.contact { padding: 34px 36px; background: var(--slab); border-radius: 10px; }
.contact h3 { font-size: 1.125rem; color: var(--wet); font-weight: 600; }
.contact h3:not(:first-child) { margin-top: 30px; }
.contact__phone { display: block; margin-top: 6px; font-family: var(--head); font-weight: 800; font-size: clamp(1.875rem, 3vw, 2.375rem); color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.contact__phone:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 5px; }
.contact__mail { display: inline-block; margin-top: 4px; padding-block: 8px; color: var(--ink); overflow-wrap: anywhere; }
.hours { width: 100%; margin-top: 8px; margin-bottom: 26px; border-collapse: collapse; }
.hours th, .hours td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-weight: 400; white-space: nowrap; }

/* Footer */
.site-footer { background: var(--ink); color: #D5D8D1; padding-block: 44px; }
.site-footer__in { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; }
.site-footer__name { font-family: var(--head); font-weight: 800; font-size: 1.25rem; color: var(--white); }
.site-footer a { color: var(--white); display: inline-block; padding-block: 4px; }
.site-footer__copy { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid #3A3F38; font-size: 1rem; }

.sticky-book { display: none; }

/* Photo viewer */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15, 17, 14, .97); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 80vh; object-fit: contain; border-radius: 4px; }
.lightbox figcaption { max-width: min(92vw, 760px); text-align: center; font-size: 1.0625rem; color: #D5D8D1; padding-inline: 16px; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); background: rgba(0, 0, 0, .4); color: var(--white); cursor: pointer; }
.lb-btn:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Tablet */
@media (max-width: 1080px) {
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 1rem; }
  .brand__name { font-size: 1.1875rem; }
  .lists { grid-template-columns: 1fr 1fr; }
  .owner { grid-column: 1 / -1; }
  .reviews__list { columns: 1; }
  .surface--lead { gap: 32px; }
}

@media (max-width: 960px) {
  :root { --gut: 24px; }
  .site-nav, .header-call { display: none; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 52px; height: 52px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--ink); cursor: pointer; }
  .menu-btn span { display: block; height: 3px; border-radius: 2px; background: var(--lime); }
  .scrim { display: block; position: fixed; inset: 0; z-index: 38; background: rgba(15, 17, 14, .55); }
  .mobile-menu { display: block; position: fixed; top: 72px; left: 0; right: 0; z-index: 39; background: var(--white); padding: 6px var(--gut) 18px; box-shadow: 0 18px 30px rgba(15, 17, 14, .25); }
  .mobile-menu a { display: flex; align-items: center; min-height: 56px; color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 1.1875rem; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-menu a:last-child { border-bottom: 0; }
  .scrim[hidden], .mobile-menu[hidden] { display: none; }

  .facts__list { grid-template-columns: 1fr 1fr; }
  .facts__list li { padding: 20px 16px 20px 0; }
  .facts__list li + li { padding-left: 0; border-left: 0; }
  .facts__list li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .facts__list li:nth-child(n+3) { border-top: 1px solid var(--line); }

  .surface--lead { grid-template-columns: 1fr; align-items: start; }
  .surface--lead .pair { order: -1; }
  .surface--lead .shot img { aspect-ratio: 3 / 4; }
  .svc { grid-template-columns: 1fr 1fr; }
  .reviews__in, .about__in, .area__in, .quote-sec__in { grid-template-columns: 1fr; gap: 36px; }
  .reviews__score { position: static; }
  .reviews__list { columns: 2; }
  .about__photo img { aspect-ratio: 4 / 3; object-position: 50% 12%; }
}

/* Phone */
@media (max-width: 640px) {
  :root { --gut: 16px; }
  body { padding-bottom: 0; }
  html { scroll-padding-top: 76px; }
  .site-header__in { min-height: 64px; gap: 12px; }
  .mobile-menu { top: 64px; }
  .brand__name { font-size: 1.125rem; }
  .brand__place { font-size: .875rem; }
  .menu-btn { width: 48px; height: 48px; }

  .hero { display: block; min-height: 0; }
  .hero__img { position: static; height: auto; aspect-ratio: 4 / 3; object-position: 80% 0%; }
  .hero__shade { display: none; }
  .hero__in { padding-block: 28px 34px; }
  .hero h1 { font-size: clamp(2.25rem, 10.4vw, 2.75rem); max-width: none; }
  .hero__lead { margin-top: 14px; font-size: 1.125rem; }
  .hero__actions { margin-top: 22px; flex-direction: column; gap: 12px; }
  .hero__actions .btn { width: 100%; }
  .hero__rating { margin-top: 16px; gap: 10px; font-size: 1.0625rem; }
  .stars svg { width: 94px; height: auto; }

  .facts__list strong { font-size: 1.0625rem; }
  .facts__list span { font-size: 1rem; }

  .surface-grid { grid-template-columns: 1fr; gap: 44px; }
  .pair { gap: 4px; }
  .tag { left: 8px; top: 8px; font-size: .9375rem; padding: 4px 10px; }
  .svc { grid-template-columns: 1fr; gap: 36px; }
  .lists { grid-template-columns: 1fr; gap: 34px; }
  .owner { padding: 22px 20px; }
  .owner p { font-size: 1.1875rem; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 6px; }
  .g--big { grid-row: auto; aspect-ratio: 4 / 5; }
  .g--wide { aspect-ratio: 3 / 2; }
  .reviews__list { columns: 1; }
  .about__facts div { grid-template-columns: 1fr; gap: 2px; }
  form { grid-template-columns: 1fr; }
  form .btn { width: 100%; }
  .contact { padding: 26px 20px; }
  .hours td { white-space: normal; }
  .site-footer__in { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 110px; }

  .sticky-book { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 36; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px rgba(15, 17, 14, .14); transform: translateY(110%); transition: transform .2s; }
  .sticky-book.is-visible { transform: none; }
  .sticky-book .btn { flex: 1; min-height: 54px; padding: 0 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lightbox img { max-height: 68vh; }
}

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