/* ============================================
   GET READY TO FIX — SITE STYLES
   Brand colors pulled from the existing site:
   blue #1E5275 (body/nav) + orange #FF670E (accent)
   ============================================ */

:root {
  --blue: #1e5275;
  --blue-dark: #123249;
  --orange: #ff670e;
  --orange-dark: #e2560a;
  --bg: #ffffff;
  --bg-soft: #f6f5f2;
  --border: #e5e1d8;
  --text: #1e5275;
  --text-muted: #5b7185;
  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --max-width: 1140px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--blue);
  margin: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--orange);
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  z-index: 50;
}

.nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}
.brand-logo { height: 92px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--orange); }

/* ---------- Services dropdown ---------- */

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  cursor: pointer;
  list-style: none;
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after {
  content: "▾";
  font-size: 0.7rem;
  color: var(--text-muted);
}
.nav-dropdown[open] summary,
.nav-dropdown summary:hover { color: var(--orange); }
.nav-dropdown[open] summary::after { color: var(--orange); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 190px;
  box-shadow: 0 12px 28px rgba(30, 82, 117, 0.14);
  z-index: 60;
}

.dropdown-menu a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 7px;
  text-decoration: none;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 500;
}
.dropdown-menu a:hover,
.dropdown-menu a[aria-current="page"] {
  background: var(--bg-soft);
  color: var(--orange);
}

@media (max-width: 640px) {
  .dropdown-menu { position: static; box-shadow: none; margin-top: 0.4rem; border: none; padding-left: 0.5rem; }
}

.nav-cta {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-size: 1rem;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.nav-cta:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }

/* ---------- Mobile nav menu ---------- */

.nav-toggle-input { display: none; }

.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 22px;
  cursor: pointer;
}
.nav-toggle-label span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
}

@media (max-width: 640px) {
  .nav {
    flex-wrap: wrap;
    position: relative;
  }

  .nav-toggle-label {
    display: flex;
    order: 2;
  }

  .nav-cta {
    order: 1;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 0.5rem 1.5rem 1.25rem;
    box-shadow: 0 16px 28px rgba(30, 82, 117, 0.14);
  }

  .nav-toggle-input:checked ~ .nav-links {
    display: flex;
  }

  .nav-links > li {
    width: 100%;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links > li:last-child {
    border-bottom: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  line-height: 1.15;
  margin: 0.6rem 0 1rem;
}
.hero h1 .accent { color: var(--orange); }

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 38em;
  margin: 0 auto 1.75rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.button--primary { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(255,103,14,0.25); }
.button--primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 10px 20px rgba(255,103,14,0.3); }
.button--outline { border-color: var(--blue); color: var(--blue); }
.button--outline:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }

.button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- Trust strip ---------- */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.6rem;
  margin: 0 auto 0.25rem;
  max-width: 44em;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.trust-strip li { display: flex; align-items: center; gap: 0.45rem; }
.trust-strip li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* ---------- Service wordmark strip ---------- */

.service-strip {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
  flex-wrap: wrap;
  padding: 0.5rem 1.5rem 3.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.service-strip a {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.8rem);
  color: var(--blue);
  opacity: 0.55;
  transition: opacity 0.15s, color 0.15s;
}
.service-strip a:nth-child(odd) { color: var(--orange); }
.service-strip a:hover { opacity: 1; }

/* ---------- Services section ---------- */

.services {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 1.5rem;
}

.services-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.services-inner > .eyebrow { display: block; text-align: center; margin-bottom: 0.5rem; }
.services-inner > h2 { text-align: center; font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin-bottom: 3rem; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.service-card {
  scroll-margin-top: 90px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.9rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: 0 1px 2px rgba(30,82,117,0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(30,82,117,0.12);
}

.service-card .letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--orange);
  line-height: 1;
}

.service-card h3 { font-size: 1.25rem; }

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
  flex-grow: 1;
}

.service-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.service-card ul li { margin-bottom: 0.2rem; }

/* ---------- Generic content sections ---------- */

main.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

.page-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0.4rem 0 0.6rem;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 42em;
  margin: 0 0 2.75rem;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
}

.card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }
.card ul { margin: 0; }

/* ---------- Reusable section block (heading + intro inside main.page) ---------- */

.section-block { margin-top: 4.5rem; }
main.page > .section-block:first-of-type { margin-top: 3rem; }
.section-block > .eyebrow { display: block; margin-bottom: 0.4rem; }
.section-block > h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 0.7rem; }
.section-block > .section-intro { color: var(--text-muted); max-width: 46em; margin: 0 0 0.5rem; font-size: 1rem; }

/* ---------- Process / how it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.step { text-align: center; }
.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 auto 0.9rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* ---------- Core values ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem 1.5rem;
  box-shadow: 0 1px 2px rgba(30,82,117,0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(30,82,117,0.12);
}
.value-card .letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  background: var(--orange);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.value-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

.values-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.values-strip .value-mini {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.values-strip .value-mini .letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  background: var(--orange);
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.values-strip .value-mini p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.values-strip .value-mini strong { display: block; color: var(--blue); font-size: 0.95rem; margin-bottom: 0.1rem; }

/* ---------- Callout ---------- */

.callout {
  background: var(--bg-soft);
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.9rem;
}
.callout strong { color: var(--blue); }

/* ---------- Special customer function cards ---------- */

.function-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  margin-top: 2.5rem;
}
.function-card {
  scroll-margin-top: 90px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: 0 1px 2px rgba(30,82,117,0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.function-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(30,82,117,0.12);
}
.function-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
}
.function-card h3 { font-size: 1.15rem; }
.function-card ul { margin: 0.2rem 0 0; padding-left: 1.1rem; color: var(--text-muted); font-size: 0.9rem; }
.function-card ul li { margin-bottom: 0.3rem; }
.learn-more { font-size: 0.9rem; font-weight: 600; color: var(--blue); text-decoration: none; }
.learn-more:hover { color: var(--orange); }
.function-card .learn-more { margin-top: 0.2rem; font-size: 0.85rem; }

/* ---------- Sequence pill row (e.g. Paint -> Clean -> Move in) ---------- */

.sequence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 1.25rem 0 0;
}
.sequence span {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--blue);
}
.sequence .arrow {
  color: var(--orange);
  font-weight: 700;
  background: none;
  border: none;
  padding: 0;
}

/* ---------- Checklist (core services) ---------- */

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.6rem 1.2rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--text);
}
.checklist li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Distinguish tiers (e.g. deep clean vs broom swept) ---------- */

.tier-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.75rem;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}
.area-list li {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.88rem;
  color: var(--blue);
}

/* ---------- Service detail pages ---------- */

.service-hero {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  margin-bottom: 0.75rem;
}
.service-hero .letter-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.2rem;
  color: var(--orange);
  line-height: 1;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.service-detail-grid ul {
  padding-left: 1.2rem;
  color: var(--text-muted);
}
.service-detail-grid ul li { margin-bottom: 0.5rem; }

.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.service-nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1rem;
}
.service-nav a:hover,
.service-nav a[aria-current="page"] {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
}
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-form { display: grid; gap: 1.1rem; }
.contact-form label { display: block; font-size: 0.9rem; margin-bottom: 0.35rem; font-weight: 600; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
}
.contact-form textarea { resize: vertical; min-height: 120px; }

.checkbox-field { border: none; margin: 0; padding: 0; }
.checkbox-field legend { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.3rem; padding: 0; }
.checkbox-hint { color: var(--text-muted); font-size: 0.85rem; margin: 0 0 0.75rem; }

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.6rem;
}
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.checkbox-option input { accent-color: var(--orange); width: 16px; height: 16px; flex-shrink: 0; }
.checkbox-option:hover { border-color: var(--blue); }
.checkbox-option:has(input:checked) {
  border-color: var(--orange);
  background: rgba(255, 103, 14, 0.06);
  color: var(--blue);
  font-weight: 600;
}

.contact-details h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.contact-details p { margin: 0 0 1.5rem; color: var(--text-muted); }
.contact-details a { color: var(--blue); font-weight: 600; text-decoration: none; }
.contact-details a:hover { color: var(--orange); }

/* ---------- Lead magnet (low-commitment offer) ---------- */

.lead-magnet-wrap { padding: 1rem 1.5rem 4rem; max-width: var(--max-width); margin: 0 auto; }
main.page .lead-magnet-wrap { padding: 0; margin: 3.5rem 0 0; max-width: none; }

.lead-magnet {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: 18px;
  padding: 2.5rem 2.25rem;
  color: #fff;
}
.lead-magnet-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}
.lead-magnet .tag {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}
.lead-magnet h2 { color: #fff; font-size: clamp(1.35rem, 3vw, 1.75rem); margin-bottom: 0.6rem; }
.lead-magnet p { color: #cfe0ee; margin: 0; font-size: 0.95rem; max-width: 34em; }

.lead-magnet-form { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.lead-magnet-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  font-family: inherit;
}
.lead-magnet-form button { white-space: nowrap; cursor: pointer; }
.lead-magnet-note { grid-column: 1 / -1; color: #9fb6c9; font-size: 0.78rem; margin: -0.3rem 0 0; }

@media (max-width: 760px) {
  .lead-magnet-inner { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--blue-dark);
  color: #cfd9e2;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}
.footer-inner h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}
.footer-inner a {
  color: #cfd9e2;
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-inner a:hover { color: var(--orange); }
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  padding: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #93a5b5;
}

@media (max-width: 640px) {
  .nav { padding: 1rem 1.25rem; }
  .brand-logo { height: 56px; }
  .nav-links { gap: 1rem; font-size: 0.9rem; }
  .nav-cta { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
}
