/* United Office Cleaners -- brand tokens (Direction 01, The Standard) */
:root {
  --navy: #13233F;
  --cobalt: #3457D5;
  --cobalt-dark: #2846b8;
  --steel: #7C8AA5;
  --mist: #D9DCE3;
  --paper: #FAFAF8;
  --white: #FFFFFF;
  --ink-soft: #5C6B85;
  --good: #1D8A5F;
  --warn: #B4453D;
  --radius: 10px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: 'Libre Franklin', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

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

/* ---- top nav ---- */
.site-header {
  border-bottom: 1px solid var(--mist);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  color: var(--navy);
}
.brand .sub { display: none; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 14.5px;
}
.main-nav a { text-decoration: none; color: var(--navy); }
.main-nav a:hover { color: var(--cobalt); }
.main-nav .cta {
  background: var(--cobalt);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 7px;
  font-weight: 600;
}
.main-nav .cta:hover { background: var(--cobalt-dark); color: var(--white); }

.nav-toggle { display: none; }

@media (max-width: 760px) {
  .main-nav { position: fixed; inset: 64px 0 0 0; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 20px; transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle {
    display: block; background: none; border: 1px solid var(--mist); border-radius: 7px;
    width: 40px; height: 40px; cursor: pointer; position: relative;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ''; position: absolute; left: 9px; right: 9px; height: 2px; background: var(--navy);
  }
  .nav-toggle span { top: 19px; }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
}

/* ---- buttons ---- */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--cobalt); color: var(--white); }
.btn-primary:hover { background: var(--cobalt-dark); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--paper); }
.btn-outline-light { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-outline-light:hover { background: var(--paper); color: var(--navy); }

/* ---- hero ---- */
.hero {
  background: var(--navy);
  color: var(--paper);
  padding: 84px 0 96px;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero .eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #9AAAD1; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 4.4vw, 50px); font-weight: 800; line-height: 1.08; margin: 0 0 20px; text-wrap: balance; }
.hero p.lede { font-size: 17px; color: #C9D2E6; max-width: 46ch; line-height: 1.6; margin: 0 0 32px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 28px;
}
.hero-panel h3 { margin: 0 0 16px; font-size: 15px; text-transform: uppercase; letter-spacing: 0.05em; color: #9AAAD1; }
.hero-panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.hero-panel li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.hero-panel li b { font-weight: 700; }
.check { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--cobalt); display: flex; align-items: center; justify-content: center; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ---- generic sections ---- */
section.block { padding: 80px 0; }
section.block.tight { padding: 56px 0; }
.section-head { max-width: 60ch; margin-bottom: 48px; }
.kicker { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 12px; }
h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; margin: 0 0 12px; text-wrap: balance; }
.section-head p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { font-size: 18px; margin: 0 0 10px; }
.card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; margin: 0; }
.card a.more { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--cobalt); text-decoration: none; }

.icon-badge {
  width: 42px; height: 42px; border-radius: 9px; background: var(--navy);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}

.band {
  background: var(--navy);
  color: var(--paper);
}
.band .section-head p { color: #C9D2E6; }
.band .card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.band .card h3 { color: var(--paper); }
.band .card p { color: #C9D2E6; }

.stat-row { display: flex; gap: 48px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat .n { font-size: 36px; font-weight: 800; }
.stat .l { font-size: 13px; color: var(--ink-soft); font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.03em; }
.band .stat .l { color: #9AAAD1; }

/* ---- forms ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
label .opt { font-weight: 400; color: var(--ink-soft); }
input, select, textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--mist);
  border-radius: 7px;
  font-family: inherit;
  font-size: 14.5px;
  background: var(--white);
  color: var(--navy);
}
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--cobalt); outline-offset: 1px;
}
textarea { resize: vertical; min-height: 110px; }

.field-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }

.alert { padding: 13px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; }
.alert-error { background: #FBE9E7; color: var(--warn); border: 1px solid #F3C6C1; }
.alert-success { background: #E4F4EC; color: var(--good); border: 1px solid #BFE6D2; }

/* ---- footer ---- */
.site-footer { background: var(--navy); color: #C9D2E6; padding: 56px 0 32px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--paper); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 16px; }
.site-footer a { color: #C9D2E6; text-decoration: none; font-size: 14px; display: block; margin-bottom: 10px; }
.site-footer a:hover { color: var(--paper); }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 40px; padding-top: 24px; font-size: 12.5px; color: #7C8AA5; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

.table-scroll { overflow-x: auto; }
table.plain { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.plain th, table.plain td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--mist); }
table.plain th { font-family: 'IBM Plex Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }

.pill { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; font-family: 'IBM Plex Mono', monospace; }
.pill-new { background: #DCE6FF; color: var(--cobalt-dark); }
.pill-contacted { background: #FFF1D6; color: #9A6A00; }
.pill-quoted { background: #E6E0FF; color: #5B3FD1; }
.pill-won { background: #DDF3E7; color: var(--good); }
.pill-lost { background: #F3D9D6; color: var(--warn); }
.pill-scheduled { background: #DCE6FF; color: var(--cobalt-dark); }
.pill-completed { background: #DDF3E7; color: var(--good); }
.pill-cancelled { background: #F3D9D6; color: var(--warn); }
