/* ==========================================================================
   CleanSpaceottawa — Shared stylesheet
   Clean & fresh: white base with teal accents
   ========================================================================== */

:root {
  --teal: #0f9d9d;
  --teal-dark: #0b7a7a;
  --teal-darker: #075c5c;
  --teal-light: #e6f7f7;
  --teal-tint: #f4fbfb;
  --ink: #1b2a2a;
  --muted: #5c6b6b;
  --white: #ffffff;
  --border: #e2ecec;
  --shadow: 0 6px 24px rgba(15, 157, 157, 0.10);
  --shadow-lg: 0 16px 48px rgba(15, 157, 157, 0.16);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1160px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--muted); }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal-darker); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--tint { background: var(--teal-tint); }
.text-center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; margin: 0 auto 1.5rem; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 2px;
  font-size: .78rem; font-weight: 700; color: var(--teal-dark);
  background: var(--teal-light); padding: 6px 14px; border-radius: 40px; margin-bottom: 14px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block; font-weight: 700; font-size: 1rem;
  padding: 13px 26px; border-radius: 40px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-light { background: #fff; color: var(--teal-dark); }
.btn-light:hover { background: var(--teal-light); color: var(--teal-darker); }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: grid; place-items: center; color: #fff; font-size: 1.1rem;
}
.brand span.accent { color: var(--teal-dark); }
.brand-name { white-space: nowrap; }
.footer-brand .brand-name { white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink); font-weight: 600; padding: 8px 14px; border-radius: 8px; font-size: .98rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal-dark); background: var(--teal-light); }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; border-radius: 2px; }

/* ---- Hero ---- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, rgba(11,122,122,.92), rgba(15,157,157,.82)),
              url("../images/hero.jpg") center/cover no-repeat;
}
.hero .container { padding-top: 92px; padding-bottom: 96px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero p { color: rgba(255,255,255,.92); font-size: 1.2rem; max-width: 620px; }
.hero .hero-actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .badge-row { margin-top: 30px; display: flex; gap: 24px; flex-wrap: wrap; color: rgba(255,255,255,.95); font-weight: 600; }
.hero .badge-row span::before { content: "✓ "; color: #d4f7f7; font-weight: 800; }

/* ---- Page banner (inner pages) ---- */
.page-banner {
  background: linear-gradient(120deg, var(--teal-dark), var(--teal));
  color: #fff; padding: 64px 0; text-align: center;
}
.page-banner h1 { color: #fff; margin-bottom: .3em; }
.page-banner p { color: rgba(255,255,255,.92); max-width: 620px; margin: 0 auto; }

/* ---- Grid & Cards ---- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--teal-light);
  color: var(--teal-dark); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px;
}
.card h3 { margin-bottom: .4em; }
.card p { margin-bottom: 0; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 8px 0 8px 32px; position: relative; color: var(--ink); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 7px; width: 22px; height: 22px;
  background: var(--teal-light); color: var(--teal-dark); border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}

/* ---- Split (image + text) ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats .num { font-size: 2.4rem; font-weight: 800; color: var(--teal-dark); }
.stats .label { color: var(--muted); font-weight: 600; }

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(120deg, var(--teal), var(--teal-dark));
  color: #fff; border-radius: 20px; padding: 48px; text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); }

/* ---- Pricing ---- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.price-card { text-align: center; }
.price-card.featured { border-color: var(--teal); box-shadow: var(--shadow-lg); position: relative; }
.price-card.featured::after {
  content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 5px 14px; border-radius: 40px;
}
.price-card .price { font-size: 2.4rem; font-weight: 800; color: var(--ink); }
.price-card .price span { font-size: 1rem; color: var(--muted); font-weight: 600; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: start; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-light);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .88rem; color: var(--muted); }
.info-box { background: var(--teal-tint); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.info-row .ic {
  width: 42px; height: 42px; border-radius: 11px; background: var(--teal-light); color: var(--teal-dark);
  display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0;
}
.info-row strong { display: block; color: var(--ink); }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #c7d4d4; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 1.05rem; }
.site-footer a { color: #c7d4d4; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: #fff; margin-bottom: 12px; }
.footer-brand .logo-mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); display: grid; place-items: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: .9rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---- Utility ---- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 18px; display: none; }
.alert-success { background: var(--teal-light); color: var(--teal-darker); border: 1px solid var(--teal); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .grid-3, .price-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split img { order: -1; }
}
@media (max-width: 680px) {
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 18px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-2, .price-grid, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; }
  .section { padding: 52px 0; }
}
