/* Cleaning Coordinator — shared site styles (cleaningcoordinator.com) */
:root {
  --navy: #161E7F;
  --navy-deep: #0B1245;
  --green: #B4DD7E;
  --royal: #506FD3;
  --sky: #C0E0ED;
  --fog: #F0F7FC;
  --white: #FFFFFF;
  --ink: #1B2263;
  --ink-soft: #3E4682;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--fog);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--royal); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); text-decoration: underline; }
img { max-width: 100%; display: block; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 200; }

/* ---------- Nav ---------- */
nav.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--sky);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 3px rgba(22, 30, 127, .06);
}
.nav-container {
  max-width: 1100px; margin: 0 auto; padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { text-decoration: none; color: var(--navy); }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { font-weight: 600; font-size: 14px; color: var(--navy); }
.nav-links a.nav-cta {
  background: var(--navy); color: var(--white); padding: 8px 16px; border-radius: 8px;
}
.nav-links a.nav-cta:hover { background: var(--navy-deep); text-decoration: none; }
@media (max-width: 720px) {
  .nav-links li.hide-sm { display: none; }
  .nav-links { gap: 16px; }
}

/* ---------- Buttons ---------- */
.btn {
  padding: 14px 28px; border-radius: 8px; font-weight: 700; font-size: 15px;
  display: inline-block; transition: all .2s ease; border: none; cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(22,30,127,.25); }
.btn-secondary { background: var(--white); color: var(--navy); border: 1.5px solid var(--sky); }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }

/* ---------- Sections ---------- */
section { padding: 72px 24px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.tag {
  display: inline-block; color: var(--royal); font-size: 12px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; margin-bottom: 12px;
}
h1, h2, h3 { color: var(--navy); letter-spacing: -.03em; }
h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 900; line-height: 1.1; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--ink-soft); max-width: 640px; margin: 0 auto; font-weight: 500; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--fog) 0%, var(--white) 100%); padding: 84px 24px 64px; text-align: center; }
.hero-inner { max-width: 800px; margin: 0 auto; }
.pill {
  display: inline-block; background: rgba(180,221,126,.25); color: var(--navy);
  padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; margin-bottom: 24px; border: 1px solid var(--green);
}
.hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; line-height: 1.05; margin-bottom: 20px; }
.hero h1 span { color: var(--royal); }
.hero-sub { font-size: clamp(16px, 2vw, 20px); color: var(--ink-soft); max-width: 640px; margin: 0 auto 32px; font-weight: 500; }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* About */
.bg-white { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text p { color: var(--ink-soft); font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.panel-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 16px; padding: 40px; color: var(--white); min-height: 320px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
}
.panel-title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.panel-sub { font-size: 13px; color: var(--sky); margin-top: 6px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 16px; background: rgba(255,255,255,.06); border-radius: 8px; border: 1px solid rgba(255,255,255,.12); }
.stat-value { font-size: 24px; font-weight: 900; color: var(--green); line-height: 1.1; }
.stat-label { font-size: 12px; color: var(--sky); margin-top: 6px; font-weight: 600; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--white); padding: 30px 26px; border-radius: var(--radius);
  border: 1px solid var(--sky); transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(22,30,127,.10); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 10px; background: var(--navy);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 22px;
}
.feature h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.02em; }
.feature p { color: var(--ink-soft); font-size: 14px; }
.note { text-align: center; color: var(--ink-soft); font-size: 14px; margin-top: 28px; }
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

/* Contact card */
.contact-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 16px; padding: 48px 32px; color: var(--white); text-align: center;
  max-width: 720px; margin: 0 auto;
}
.contact-card h2 { color: var(--white); margin-bottom: 12px; }
.contact-card p { color: var(--sky); font-size: 16px; }
.contact-info { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; }
.contact-label { font-size: 11px; color: var(--green); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-value, .contact-value a { color: var(--white); font-weight: 600; font-size: 15px; }
.contact-value a:hover { color: var(--green); }

/* ---------- Legal / document pages ---------- */
.doc-hero { background: var(--white); border-bottom: 1px solid var(--sky); padding: 56px 24px 40px; }
.doc-hero .container { max-width: 820px; }
.doc-hero h1 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 900; line-height: 1.1; margin-bottom: 12px; }
.doc-hero p { color: var(--ink-soft); font-size: 17px; max-width: 680px; }
.meta { margin-top: 18px; font-size: 13px; color: var(--royal); font-weight: 600; }
.doc-wrap { padding: 40px 24px 80px; }
.doc-layout { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.toc { position: sticky; top: 92px; font-size: 13px; }
.toc strong { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--royal); margin-bottom: 10px; }
.toc ol { list-style: none; border-left: 2px solid var(--sky); }
.toc li a { display: block; padding: 5px 0 5px 14px; color: var(--ink-soft); font-weight: 500; }
.toc li a:hover { color: var(--navy); text-decoration: none; border-left: 2px solid var(--navy); margin-left: -2px; }
.doc {
  background: var(--white); border: 1px solid var(--sky); border-radius: var(--radius);
  padding: 44px 44px 36px; min-width: 0;
}
.doc h2 { font-size: 22px; font-weight: 800; margin: 36px 0 12px; scroll-margin-top: 90px; letter-spacing: -.02em; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 16px; font-weight: 800; margin: 22px 0 8px; letter-spacing: -.01em; }
.doc p, .doc li { font-size: 15px; color: var(--ink-soft); line-height: 1.75; }
.doc p { margin-bottom: 12px; }
.doc ul, .doc ol.steps { padding-left: 22px; margin-bottom: 14px; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--ink); }
.summary {
  background: var(--fog); border: 1px solid var(--sky); border-left: 4px solid var(--green);
  border-radius: 10px; padding: 20px 24px; margin-bottom: 28px;
}
.summary h2 { margin-top: 0 !important; font-size: 18px; }
.summary ul { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 8px 0 18px; border: 1px solid var(--sky); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
th, td { text-align: left; padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--sky); color: var(--ink-soft); line-height: 1.55; }
th { background: var(--fog); color: var(--navy); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
tr:last-child td { border-bottom: none; }
td strong { color: var(--ink); }
.callout {
  background: rgba(180,221,126,.18); border: 1px solid var(--green); border-radius: 10px;
  padding: 16px 20px; margin: 16px 0;
}
.callout p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .doc-layout { grid-template-columns: 1fr; }
  .toc { position: static; background: var(--white); border: 1px solid var(--sky); border-radius: var(--radius); padding: 18px 20px; }
  .doc { padding: 28px 20px; }
}

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: var(--sky); padding: 40px 24px 28px; }
.footer-container {
  max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 8px; }
.footer-name { color: var(--white); font-weight: 700; font-size: 14px; }
.footer-text { font-size: 13px; color: var(--sky); opacity: .75; }
.footer-links { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
.footer-links a { color: var(--sky); font-size: 13px; opacity: .85; }
.footer-links a:hover { color: var(--green); opacity: 1; }

@media print {
  nav.site-nav, footer, .toc { display: none; }
  .doc-layout { display: block; }
  .doc { border: none; padding: 0; }
}
