/* ============================================================
   ProCleanne — design system
   Palette: petrol teal / washed aqua / ink slate / amber CTA
   Type: Bricolage Grotesque (display) · Albert Sans (body)
         Spline Sans Mono (prices, ticket numbers)
   Signature: the "work-order ticket" estimate card
   ============================================================ */

:root {
  --ink: #16242e;
  --deep: #0e4c5c;
  --deep-press: #0a3a47;
  --mist: #f3f9f8;
  --foam: #d9ecea;
  --line: #c8ddda;
  --amber: #f5821f;
  --amber-press: #d96e12;
  --paper: #ffffff;
  --paper-warm: #fdfcf8;
  --stamp: #c9472b;
  --ok: #1d7a4f;

  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body: "Albert Sans", "Helvetica Neue", sans-serif;
  --font-mono: "Spline Sans Mono", "Courier New", monospace;

  --radius: 10px;
  --shadow-card: 0 1px 2px rgba(22, 36, 46, 0.06), 0 12px 32px -12px rgba(14, 76, 92, 0.25);
  --wrap: 1120px;
  --section-pad: clamp(56px, 9vw, 104px);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--mist);
}

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

a { color: var(--deep); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--deep);
  margin: 0 0 14px;
}

.lede { font-size: clamp(17px, 2vw, 20px); max-width: 56ch; color: #3c4f5b; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.btn-primary { background: var(--amber); color: #fff; }
.btn-primary:hover { background: var(--amber-press); }
.btn-quiet { background: transparent; color: var(--deep); border: 2px solid var(--line); }
.btn-quiet:hover { border-color: var(--deep); }
.btn-deep { background: var(--deep); color: #fff; }
.btn-deep:hover { background: var(--deep-press); }

/* ---------- header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.wordmark span { color: var(--deep); }
.header-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5d7280;
  border-left: 1px solid var(--line);
  padding-left: 16px;
  display: none;
}
.site-header nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-header nav a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 16px;
}
.site-header nav a:not(.btn):hover { color: var(--deep); }
.header-phone { font-family: var(--font-mono); font-weight: 600; white-space: nowrap; }
.nav-link { display: none; }
@media (min-width: 760px) {
  .header-tag { display: block; }
  .nav-link { display: inline; }
}

/* ---------- hero ---------- */
.hero { padding: var(--section-pad) 0; overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.05fr 0.95fr; gap: 64px; }
}
.hero h1 em { font-style: normal; color: var(--deep); }
.trust-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.trust-points li { padding-left: 30px; position: relative; font-size: 17px; }
.trust-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--deep);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/contain no-repeat;
}
.hero-call {
  margin-top: 30px;
  font-size: 16px;
  color: #3c4f5b;
}
.hero-call a { font-family: var(--font-mono); font-weight: 600; }

/* ---------- the ticket (signature element) ---------- */
.ticket {
  background: var(--paper-warm);
  border-radius: 6px 6px var(--radius) var(--radius);
  box-shadow: var(--shadow-card);
  position: relative;
  max-width: 480px;
}
/* perforated tear-off top edge */
.ticket::before {
  content: "";
  display: block;
  height: 14px;
  border-radius: 6px 6px 0 0;
  background:
    radial-gradient(circle at 7px 0, transparent 5px, var(--deep) 5px) top left / 14px 14px repeat-x;
}
.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 24px 12px;
  border-bottom: 2px dashed var(--line);
}
.ticket-head .ticket-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.ticket-no { font-family: var(--font-mono); font-size: 12px; color: #8a9aa4; }
.stamp {
  position: absolute;
  top: -12px;
  right: 18px;
  transform: rotate(-4deg);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stamp);
  border: 2px solid var(--stamp);
  border-radius: 4px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.85);
}
.ticket-body { padding: 20px 24px 24px; }

.field-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.field-row + .field-row { border-top: 1px solid #eef2f0; }
.field-row label, .field-row .row-label { font-size: 15.5px; font-weight: 500; }
.row-hint { display: block; font-size: 12.5px; font-weight: 400; color: #8a9aa4; }

.stepper { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; }
.stepper button {
  width: 36px; height: 36px;
  border: none; background: var(--mist); color: var(--deep);
  font-size: 18px; font-weight: 700; cursor: pointer; line-height: 1;
}
.stepper button:hover { background: var(--foam); }
.stepper output {
  width: 40px; text-align: center;
  font-family: var(--font-mono); font-weight: 600; font-size: 16px;
}

.check-pill { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check-pill input { width: 19px; height: 19px; accent-color: var(--deep); cursor: pointer; }
.addon-price { font-family: var(--font-mono); font-size: 13.5px; color: #5d7280; white-space: nowrap; }

.ticket-total {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--mist);
  border: 1.5px solid var(--foam);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.ticket-total .label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-mono); color: #5d7280; }
.ticket-total output {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  color: var(--deep);
  white-space: nowrap;
}
.ticket-fine { font-size: 12.5px; color: #8a9aa4; margin: 10px 2px 0; }

.ticket .btn { width: 100%; margin-top: 16px; }

/* contact step */
.ticket-form { display: grid; gap: 12px; }
.ticket-form .two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ticket-form input, .ticket-form select, .ticket-form textarea {
  width: 100%;
  font: 500 16px var(--font-body);
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.ticket-form textarea { resize: vertical; min-height: 64px; }
.form-note { font-size: 13px; color: #5d7280; margin: 2px 2px 0; }
.back-link { background: none; border: none; color: #5d7280; font-size: 14px; cursor: pointer; padding: 4px 0; text-align: left; text-decoration: underline; }
.hidden { display: none !important; }
.submit-error { color: var(--stamp); font-size: 14px; }

/* ---------- pricing strip ---------- */
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.price-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 36px; }
@media (min-width: 700px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.section-alt .price-card { background: var(--mist); }
.price-card .amount { font-family: var(--font-mono); font-size: 30px; font-weight: 600; color: var(--deep); }
.price-card .per { font-size: 14px; color: #5d7280; }
.price-card p { font-size: 15px; color: #3c4f5b; margin-bottom: 0; }

/* ---------- services ---------- */
.svc-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 36px; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
.svc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.svc h3 { margin: 0; }
.svc p { margin: 0; color: #3c4f5b; font-size: 15.5px; }
.svc .svc-kicker { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--deep); }
.svc a { font-weight: 600; margin-top: 6px; }

/* ---------- photos ---------- */
.photo-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 36px; }
@media (min-width: 700px) { .photo-grid { grid-template-columns: 1fr 1fr; } }
.photo-slot {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 2px dashed var(--line);
  background: repeating-linear-gradient(-45deg, var(--mist), var(--mist) 14px, #ecf4f3 14px, #ecf4f3 28px);
  display: grid;
  place-items: center;
  color: #5d7280;
  font-size: 14px;
  text-align: center;
  padding: 16px;
}
figure { margin: 0; }
figcaption { font-size: 14px; color: #5d7280; margin-top: 8px; }

/* ---------- reviews ---------- */
.review-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 36px; }
@media (min-width: 700px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  font-size: 15.5px;
}
.review .stars { color: var(--amber); letter-spacing: 2px; font-size: 15px; }
.review p { color: #3c4f5b; }
.review cite { font-style: normal; font-weight: 600; font-size: 14px; }

/* ---------- commercial band ---------- */
.band {
  background: var(--deep);
  color: #eaf4f4;
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 52px);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 800px) { .band { grid-template-columns: 1.4fr 0.6fr; } }
.band h2 { color: #fff; }
.band p { color: #cfe5e3; max-width: 56ch; }
.band .btn { justify-self: start; }
@media (min-width: 800px) { .band .btn { justify-self: end; } }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-top: 28px; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 20px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq summary::after {
  content: "+";
  position: absolute; right: 4px; top: 12px;
  font-family: var(--font-mono); font-size: 20px; color: var(--deep);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: #3c4f5b; padding-bottom: 16px; margin: 0; font-size: 15.5px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: #b9c8d1;
  padding: 56px 0 40px;
  margin-top: var(--section-pad);
  font-size: 15px;
}
.site-footer .wrap { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer .wordmark { color: #fff; }
.site-footer .wordmark span { color: #7fc6c0; }
.site-footer h3 { color: #fff; font-size: 15px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.site-footer a { color: #d9e6ec; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fineprint { grid-column: 1 / -1; border-top: 1px solid #2b3c48; padding-top: 20px; font-size: 13px; color: #7f93a0; }

/* ---------- commercial page ---------- */
.page-hero { padding: var(--section-pad) 0 32px; }
.facility-list { columns: 2; gap: 24px; list-style: none; padding: 0; margin: 24px 0 0; font-size: 16px; }
.facility-list li { padding: 6px 0 6px 28px; position: relative; break-inside: avoid; }
.facility-list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 16px; height: 16px; border-radius: 4px; background: var(--foam);
  border: 1.5px solid var(--deep);
}

/* ---------- thanks page ---------- */
.thanks-card {
  max-width: 560px;
  margin: var(--section-pad) auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
}
.thanks-card .bigcheck {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--ok);
  display: grid; place-items: center;
  color: #fff; font-size: 32px; font-weight: 700;
}
