/* ClearSpace — Residential & Office Cleaning, Ottawa */
/* Palette: white base with teal accents */
:root {
  --teal: #0f9d9d;
  --teal-dark: #0b7d7d;
  --teal-darker: #075c5c;
  --teal-tint: #e6f7f7;
  --teal-tint-2: #f3fbfb;
  --ink: #1b2a2a;
  --muted: #5a6b6b;
  --white: #ffffff;
  --border: #e3eded;
  --shadow: 0 10px 30px rgba(15, 157, 157, 0.12);
  --radius: 14px;
  --maxw: 1140px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal-darker); }

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

h1, h2, h3 { line-height: 1.2; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }

p { color: var(--muted); }

.section { padding: 80px 0; }
.section--tint { background: var(--teal-tint-2); }

.eyebrow {
  display: inline-block;
  color: var(--teal-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin-top: 12px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.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); }
.btn--ghost { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal-tint); color: var(--teal-darker); }
.btn--white { background: #fff; color: var(--teal-dark); }
.btn--white:hover { background: var(--teal-tint); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) 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.3rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.1rem;
}
.brand span.teal { color: var(--teal-dark); }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--teal-dark); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 8px;
}
.nav-toggle span {
  display: block; height: 3px; background: var(--ink);
  border-radius: 3px; margin: 5px 0; transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(120deg, rgba(7,92,92,0.86), rgba(15,157,157,0.72)),
    url("../images/hero.jpg") center/cover no-repeat;
}
.hero .container { padding-top: 96px; padding-bottom: 96px; }
.hero-inner { max-width: 640px; }
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,0.92); font-size: 1.15rem; margin: 18px 0 28px; }
.hero .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 34px; }
.hero-badge { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.hero-badge svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Trust bar */
.trustbar { background: var(--teal-tint); }
.trustbar .container {
  display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-around;
  padding-top: 26px; padding-bottom: 26px; text-align: center;
}
.trust-item { }
.trust-item .num { font-size: 1.8rem; font-weight: 800; color: var(--teal-dark); }
.trust-item .label { font-size: 0.9rem; color: var(--muted); }

/* Cards grid */
.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;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--teal-tint); color: var(--teal-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); }
.card ul li { margin-bottom: 6px; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.split .checklist { list-style: none; margin-top: 20px; }
.split .checklist li { display: flex; gap: 10px; margin-bottom: 12px; color: var(--ink); }
.split .checklist svg { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { text-align: center; padding: 20px; }
.step .step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 800; font-size: 1.2rem;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}

/* Testimonials */
.quote {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; position: relative;
}
.quote p { color: var(--ink); font-style: italic; }
.quote .who { margin-top: 16px; font-weight: 700; color: var(--teal-dark); font-style: normal; }
.stars { color: #f5a623; margin-bottom: 10px; letter-spacing: 2px; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--teal-dark), var(--teal));
  color: #fff; text-align: center; border-radius: 20px; padding: 56px 24px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.92); margin: 12px 0 26px; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(120deg, rgba(7,92,92,0.9), rgba(15,157,157,0.78)),
    url("../images/hero.jpg") center/cover no-repeat;
  color: #fff; text-align: center; padding: 72px 0;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.92); max-width: 620px; margin: 14px auto 0; }
.breadcrumb { font-size: 0.9rem; color: rgba(255,255,255,0.85); margin-top: 10px; }
.breadcrumb a { color: #fff; text-decoration: underline; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; }
.contact-info .info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .info-item svg { width: 26px; height: 26px; color: var(--teal-dark); flex-shrink: 0; }
.contact-info .info-item h3 { font-size: 1rem; margin-bottom: 2px; }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.92rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 10px; font: inherit; color: var(--ink); background: #fff;
}
.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-tint);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: 10px; display: none; }
.form-status.show { display: block; }
.form-status.success { background: var(--teal-tint); color: var(--teal-darker); }
.form-status.error { background: #fdecea; color: #b3261e; }

.map-embed iframe { width: 100%; height: 320px; border: 0; border-radius: var(--radius); margin-top: 30px; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d6d6; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.site-footer a { color: #c9d6d6; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.3rem; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 40px; padding-top: 20px; text-align: center; font-size: 0.88rem; color: #8ea3a3;
}

/* Responsive */
@media (max-width: 900px) {
  .grid--3, .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; background: #fff; border-bottom: 1px solid var(--border);
    padding: 16px 20px; gap: 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-cta { margin-left: 0; width: 100%; text-align: center; }
  .grid--3, .grid--2, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
