/* ==================================================================
   Cleanly — Residential + Commercial Cleaning in Greater Victoria
   Design system: teal primary + charcoal-green text on white.
   ================================================================== */

:root {
  --teal: #2C9997;
  --teal-dark: #1F7A78;
  --teal-light: #E6F5F4;
  --teal-tint: #F4FBFA;
  --charcoal: #3D4E4B;
  --charcoal-soft: #556A67;
  --charcoal-muted: #7A8B88;
  --border: #E5EBEA;
  --bg-soft: #F8FAFA;
  --white: #FFFFFF;
  --success: #16A34A;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.05);
  --shadow-md: 0 4px 14px rgba(15,23,42,0.08);
  --shadow-lg: 0 20px 40px rgba(15,23,42,0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --max-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--teal); }

/* ==================== NAV ==================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  color: var(--charcoal);
  letter-spacing: -0.5px;
}
.nav-logo img { height: 36px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--charcoal);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--teal-dark); color: var(--white) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
  transition: 0.3s;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-lg { padding: 18px 36px; font-size: 16px; }

/* ==================== HERO ==================== */
.hero {
  padding: 80px 24px 100px;
  background: linear-gradient(180deg, var(--teal-tint) 0%, var(--white) 100%);
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -1.5px;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--teal); }
.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--charcoal-soft);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  color: var(--charcoal-muted);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-trust svg { color: var(--teal); flex-shrink: 0; }
.hero-visual {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--border);
}
.hero-visual img { margin: 0 auto; max-width: 220px; }
.hero-visual-title {
  margin-top: 20px;
  font-weight: 700;
  font-size: 20px;
  color: var(--charcoal);
}
.hero-visual-sub {
  margin-top: 6px;
  font-size: 14px;
  color: var(--charcoal-muted);
}

/* ==================== SECTIONS ==================== */
section { padding: 80px 24px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -1px;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--charcoal-soft);
  max-width: 640px;
  margin: 0 auto;
}
.section-bg-soft { background: var(--bg-soft); }

/* ==================== SERVICE CARDS ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { color: var(--teal); width: 24px; height: 24px; }
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.service-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--charcoal-soft);
  margin-bottom: 18px;
  flex-grow: 1;
}
.service-card .service-link {
  color: var(--teal);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==================== AREA GRID ==================== */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.area-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--charcoal);
  font-weight: 600;
  font-size: 15px;
}
.area-card:hover {
  border-color: var(--teal);
  background: var(--teal-tint);
  color: var(--charcoal);
  transform: translateY(-1px);
}
.area-card svg { color: var(--teal); flex-shrink: 0; }

/* ==================== TRUST STRIP ==================== */
.trust-strip {
  background: var(--charcoal);
  color: var(--white);
  padding: 32px 24px;
}
.trust-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}
.trust-badge svg { color: var(--teal); flex-shrink: 0; }

/* ==================== STEPS ==================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
}
.step-num {
  width: 40px;
  height: 40px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--charcoal-soft);
}

/* ==================== FAQ ==================== */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-q {
  font-weight: 700;
  font-size: 17px;
  color: var(--charcoal);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.faq-q::before {
  content: "Q.";
  color: var(--teal);
  font-weight: 800;
  flex-shrink: 0;
}
.faq-a {
  color: var(--charcoal-soft);
  font-size: 15px;
  line-height: 1.65;
  padding-left: 28px;
}

/* ==================== CTA BANNER ==================== */
.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 72px 24px;
  text-align: center;
}
.cta-banner h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}
.cta-banner p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.92;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn-primary {
  background: var(--white);
  color: var(--teal-dark);
}
.cta-banner .btn-primary:hover { background: var(--charcoal); color: var(--white); }

/* ==================== FORM ==================== */
.quote-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  max-width: 680px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-weight: 600;
  font-size: 14px;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.form-field label .req { color: #DC2626; }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.15s ease;
}
.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: 100px; }
.form-submit { margin-top: 10px; }
.form-note {
  font-size: 13px;
  color: var(--charcoal-muted);
  margin-top: 14px;
  text-align: center;
}

/* ==================== CONTENT (long-form) ==================== */
.content { max-width: 780px; margin: 0 auto; }
.content h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--charcoal);
  margin: 40px 0 18px;
  letter-spacing: -0.5px;
}
.content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 28px 0 12px;
}
.content p { margin-bottom: 16px; font-size: 16px; line-height: 1.7; color: var(--charcoal-soft); }
.content ul, .content ol { margin: 12px 0 20px 24px; }
.content li { margin-bottom: 8px; color: var(--charcoal-soft); }
.content strong { color: var(--charcoal); font-weight: 700; }

/* ==================== FOOTER ==================== */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.85);
  padding: 60px 24px 24px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-brand img { height: 40px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand .tagline {
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.8;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 14px; }
.footer-col a:hover { color: var(--teal); }
.footer-contact { font-size: 14px; line-height: 1.7; }
.footer-contact a { color: rgba(255,255,255,0.85); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 13px;
  opacity: 0.7;
  gap: 12px;
}

/* ==================== PAGE HEADER (interior pages) ==================== */
.page-header {
  background: linear-gradient(180deg, var(--teal-tint) 0%, var(--white) 100%);
  padding: 70px 24px 50px;
  text-align: center;
}
.page-header .breadcrumb {
  font-size: 13px;
  color: var(--charcoal-muted);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.page-header .breadcrumb a { color: var(--teal-dark); }
.page-header h1 {
  font-size: 44px;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 14px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.page-header p {
  font-size: 18px;
  color: var(--charcoal-soft);
  max-width: 640px;
  margin: 0 auto;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .hero h1 { font-size: 40px; }
  .section-title { font-size: 32px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner h2 { font-size: 30px; }
  .page-header h1 { font-size: 34px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px 24px; border-bottom: 1px solid var(--border); gap: 16px; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { text-align: center; }
  .hero { padding: 50px 20px 60px; }
  .hero h1 { font-size: 32px; }
  section { padding: 60px 20px; }
  .section-title { font-size: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-header h1 { font-size: 28px; }
  .cta-banner h2 { font-size: 24px; }
  .cta-banner p { font-size: 16px; }
}
