/* Corporate Cleaning Services Inc. — brand stylesheet
   Tokens extracted from the company invoice (May 2026):
   navy + cyan on white, hairline rules, hard-edged hero band. */

:root {
  /* Surfaces */
  --bg:           oklch(99% 0.002 240);
  --surface:      oklch(100% 0 0);
  --surface-alt:  oklch(97% 0.004 240);

  /* Brand */
  --navy:         oklch(30% 0.085 255);
  --navy-deep:    oklch(22% 0.07 255);
  --cyan:         oklch(72% 0.135 220);
  --cyan-soft:    oklch(94% 0.04 220);

  /* Text */
  --fg:           oklch(22% 0.04 255);
  --muted:        oklch(50% 0.018 250);
  --subtle:       oklch(68% 0.012 250);

  /* Lines */
  --border:       oklch(92% 0.005 250);
  --border-strong: oklch(85% 0.008 250);

  /* Accent */
  --accent:       var(--cyan);

  /* Type stacks */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono:    ui-monospace, "JetBrains Mono", "IBM Plex Mono", Menlo, monospace;
}

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

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  text-wrap: pretty;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

/* ---------- Layout ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) {
  .wrap, .wrap-narrow { padding: 0 40px; }
}

section { padding: 80px 0; }
@media (min-width: 768px) { section { padding: 112px 0; } }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow.on-dark { color: var(--cyan); }

.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.h-display.on-dark { color: var(--surface); }

h2, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--fg);
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 56ch;
}
.lede.on-dark { color: oklch(86% 0.02 240); }

p { max-width: 65ch; }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 6px;
  transition: background 120ms ease, color 120ms ease, transform 120ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--surface);
}
.btn-primary:hover { background: var(--navy-deep); }
.btn-secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { border-color: var(--fg); }
.btn-ghost-on-dark {
  background: transparent;
  color: var(--surface);
  border: 1px solid oklch(100% 0 0 / 0.25);
}
.btn-ghost-on-dark:hover { border-color: oklch(100% 0 0 / 0.6); }
.btn-cyan {
  background: var(--cyan);
  color: var(--navy-deep);
}
.btn-cyan:hover { background: oklch(78% 0.135 220); }
.btn-arrow::after {
  content: "→";
  font-size: 16px;
  margin-left: 2px;
  transition: transform 160ms ease;
}
.btn-arrow:hover::after { transform: translateX(2px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(100% 0 0 / 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.brand-mark {
  width: 32px;
  height: 32px;
  flex: none;
}
.brand-name { line-height: 1.1; }
.brand-name small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1px;
}
.nav-links {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 13px;
  font-weight: 450;
  color: var(--muted);
  transition: color 120ms ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-cta { display: none; }
@media (min-width: 560px) {
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 14px; }
}
@media (min-width: 768px) {
  .nav-links { gap: 28px; }
  .nav-cta { display: inline-flex; }
}
@media (max-width: 559px) {
  .brand-name small { display: none; }
  .brand-name { font-size: 13px; }
  .brand-mark { width: 28px; height: 28px; }
}

/* ---------- Hero (navy) ---------- */
.hero {
  background: var(--navy);
  color: var(--surface);
  padding: 96px 0 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  display: block;
  height: 4px;
  background: var(--cyan);
}
.hero-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: end;
  padding-bottom: 96px;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; padding-bottom: 128px; }
}
.hero .eyebrow {
  color: oklch(82% 0.05 220);
  margin-bottom: 28px;
}
.hero h1 { color: var(--surface); margin-bottom: 24px; }
.hero .lede { margin-bottom: 40px; color: oklch(85% 0.02 240); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-mark {
  display: none;
  justify-self: end;
  width: min(280px, 60%);
  aspect-ratio: 1;
  position: relative;
}
@media (min-width: 960px) { .hero-mark { display: block; } }
.hero-mark svg { width: 100%; height: 100%; }

.hero-meta {
  border-top: 1px solid oklch(100% 0 0 / 0.12);
  padding: 24px 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .hero-meta { grid-template-columns: repeat(4, 1fr); }
}
.hero-meta-item {
  font-size: 13px;
  color: oklch(80% 0.02 240);
}
.hero-meta-item strong {
  display: block;
  color: var(--surface);
  font-weight: 500;
  margin-bottom: 2px;
  letter-spacing: -0.005em;
}

/* ---------- Section header ---------- */
.section-head {
  display: grid;
  gap: 24px;
  margin-bottom: 56px;
}
@media (min-width: 768px) {
  .section-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: end;
  }
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { max-width: 14ch; }
.section-head p { color: var(--muted); }

/* ---------- Services grid ---------- */
.services {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
@media (min-width: 720px) { .services { grid-template-columns: 1fr 1fr; } }
.service {
  background: var(--surface);
  padding: 36px 32px;
  display: grid;
  gap: 20px;
}
.service .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.service h3 { font-size: 22px; }
.service p { color: var(--muted); font-size: 15px; }
.service-foot {
  margin-top: auto;
  font-size: 13px;
  color: var(--subtle);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.service-foot a { color: var(--fg); font-weight: 500; }
.service-foot a:hover { color: var(--navy); }

/* ---------- Pillars (why us) ---------- */
.pillars {
  display: grid;
  gap: 32px 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .pillars { grid-template-columns: 1fr 1fr 1fr; } }
.pillar {
  display: grid;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-strong);
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.pillar h3 { font-size: 18px; }
.pillar p { color: var(--muted); font-size: 15px; }

/* ---------- About strip ---------- */
.about {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 80px; }
}
.about p {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--fg);
}
.about p + p { margin-top: 18px; }
.about-stats {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .about-stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  border-top: 1px solid var(--border-strong);
  padding-top: 14px;
}
.stat .v {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.stat .l {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-deep);
  color: var(--surface);
}
.cta-band .wrap {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 768px) {
  .cta-band .wrap { grid-template-columns: 1.4fr 1fr; gap: 48px; }
}
.cta-band h2 {
  color: var(--surface);
  font-size: clamp(28px, 3.2vw, 40px);
  max-width: 18ch;
}
.cta-band p {
  color: oklch(82% 0.02 240);
  margin-top: 16px;
  max-width: 50ch;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}
@media (min-width: 768px) { .cta-actions { justify-content: flex-end; } }

/* ---------- Footer ---------- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 14px;
}
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a:hover { color: var(--fg); }
.footer-bot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 12px;
  color: var(--subtle);
}
.footer .brand { color: var(--fg); }
.footer .brand-name small { color: var(--muted); }
.footer-blurb { color: var(--muted); margin-top: 16px; max-width: 36ch; }

/* ---------- Service detail (services.html) ---------- */
.service-row {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  padding: 56px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
@media (min-width: 880px) {
  .service-row { grid-template-columns: 0.6fr 1.4fr 0.8fr; gap: 64px; padding: 72px 0; }
}
.service-row .num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cyan);
}
.service-row h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 16px; }
.service-row p { color: var(--muted); max-width: 60ch; }
.service-row p + p { margin-top: 14px; }
.service-row ul.facts {
  list-style: none;
  display: grid;
  gap: 14px;
  font-size: 14px;
  color: var(--fg);
}
.service-row ul.facts li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.service-row ul.facts span {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  gap: 56px;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1.6fr 1fr; gap: 80px; }
}
.form {
  display: grid;
  gap: 24px;
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.field textarea { min-height: 120px; resize: vertical; font-family: var(--font-body); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px oklch(72% 0.135 220 / 0.25);
}
.field-row {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.checks {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .checks { grid-template-columns: 1fr 1fr; } }
.check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: border-color 120ms ease, background 120ms ease;
}
.check input { accent-color: var(--navy); }
.check:hover { border-color: var(--navy); }

.form-status {
  margin: 0;
  max-width: none;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid var(--border-strong);
}
.form-status[data-state="success"] {
  color: var(--navy-deep);
  background: var(--cyan-soft);
  border-color: var(--cyan);
}
.form-status[data-state="error"] {
  color: oklch(40% 0.12 25);
  background: oklch(96% 0.03 25);
  border-color: oklch(80% 0.09 25);
}
.form-status[data-state="pending"] {
  color: var(--muted);
  background: var(--surface-alt);
}

.contact-side {
  padding: 32px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.contact-side h3 { margin-bottom: 8px; }
.contact-side .blurb { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.contact-side dl {
  display: grid;
  gap: 18px;
}
.contact-side dt {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-side dd { font-size: 15px; color: var(--fg); }
.contact-side dd a:hover { color: var(--navy); }
.contact-side .hours {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.contact-side .hours div { display: flex; justify-content: space-between; padding: 4px 0; }
.contact-side .hours div span:last-child { color: var(--fg); font-variant-numeric: tabular-nums; }

/* ---------- Service area / strip ---------- */
.strip {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 32px;
  font-size: 13px;
  color: var(--muted);
}
.strip-inner .label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  font-weight: 500;
}
.strip-inner .dot {
  width: 4px;
  height: 4px;
  background: var(--cyan);
  border-radius: 0;
  transform: rotate(45deg);
  display: inline-block;
}

/* ---------- Page header (sub-pages) ---------- */
.page-head {
  background: var(--navy);
  color: var(--surface);
  padding: 80px 0 56px;
  position: relative;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--cyan);
}
.page-head .eyebrow { color: var(--cyan); margin-bottom: 24px; }
.page-head h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--surface);
  max-width: 20ch;
}
.page-head p {
  margin-top: 20px;
  color: oklch(85% 0.02 240);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  max-width: 56ch;
}

/* ---------- Why-us testimonial / quote ---------- */
.quote {
  padding: 48px 32px;
  border-left: 3px solid var(--cyan);
  background: var(--surface-alt);
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--fg);
  max-width: 36ch;
}
.quote cite {
  display: block;
  margin-top: 24px;
  font-size: 13px;
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.quote cite strong { color: var(--fg); font-weight: 500; display: block; margin-bottom: 2px; }

/* ---------- Credentials list ---------- */
.creds {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
}
.cred {
  display: grid;
  gap: 16px;
  grid-template-columns: 60px 1fr;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.cred .k {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 0.04em;
}
.cred .t { font-weight: 500; color: var(--fg); margin-bottom: 4px; }
.cred .d { color: var(--muted); font-size: 14px; max-width: 60ch; }

/* ---------- Diamond bullet ---------- */
.diamond {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  display: inline-block;
  transform: rotate(45deg);
  margin-right: 10px;
}

/* ---------- Utility ---------- */
.hide-on-mobile { display: none; }
@media (min-width: 720px) { .hide-on-mobile { display: initial; } }

/* ---------- Print ---------- */
@media print {
  @page { size: Letter; margin: 0.4in; }

  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  html, body { background: var(--bg); }

  .nav {
    position: static !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--surface) !important;
  }

  .nav-cta { display: none !important; }

  section { padding: 32px 0 !important; }
  .hero { padding-top: 32px !important; }
  .hero-grid { padding-bottom: 48px !important; }

  .service, .pillar, .stat, .about-grid > *, .cta-band, .hero {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  h1, h2, h3 { break-after: avoid; page-break-after: avoid; }

  a { color: inherit !important; text-decoration: none !important; }
}
