/* ============================================================
   Primetime Maintenance & Cleaners — shared site stylesheet
   Design system: navy #0A3161 · fairway green #006747 · red #B31942
   Font: Inter only. Radius 8 / 12 / 999.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --navy: #0A3161;
  --green: #006747;
  --green-dark: #00543A;
  --green-soft: #3E9A6E;
  --red: #B31942;
  --ink: #0F1B2D;
  --surface: #F4F6F3;
  --white: #FFFFFF;
  --muted: #5C6B7A;
  --border: #D9E0DA;
  --mint: #E6EFE9;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-sm: 8px;
  --r-md: 12px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(15, 27, 45, 0.08);
  --shadow-md: 0 6px 24px rgba(15, 27, 45, 0.10);
  --shadow-lg: 0 16px 48px rgba(15, 27, 45, 0.18);
  --maxw: 1160px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; }

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
}
h1 { font-weight: 900; }

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

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 17px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.section--navy .eyebrow { color: #7FC8A9; }

/* ---------- Buttons ---------- */
.btn-primary, .btn-outline, .btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 2px 10px rgba(0, 103, 71, 0.30);
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 103, 71, 0.35); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn-white:hover { background: var(--mint); border-color: var(--mint); }
.btn-lg { padding: 18px 32px; font-size: 17px; border-radius: var(--r-md); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.wordmark__name {
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.wordmark__name .wm-accent { color: var(--green); }
.wordmark__sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--green); border-bottom-color: var(--green); }
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  transition: background-color .15s ease;
}
.header-call:hover { background: var(--green); }
.header-call svg { width: 16px; height: 16px; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.card--pad { padding: 28px; }

/* ---------- Pills / chips ---------- */
.pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Forms ---------- */
.field {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: 16px;
  color: var(--ink);
}
.field:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 103, 71, 0.15); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 32px;
}
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.footer-bottom {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding: 24px 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Icon helper ---------- */
.icon { width: 24px; height: 24px; flex-shrink: 0; }

/* ---------- Mobile sticky CTA bar ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1100;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(15, 27, 45, 0.12);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-cta a { flex: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .section { padding: 52px 0; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
