/* cleaningwellhome.com — text-first, service-oriented layout */

:root {
  --bg: #f7f8f6;
  --bg-panel: #ffffff;
  --text: #1a221c;
  --text-muted: #4a564d;
  --accent: #2d6a4f;
  --accent-soft: #40916c;
  --border: #d8ded9;
  --max-read: 38rem;
  --max-wide: 52rem;
  --radius: 6px;
  --font: "Georgia", "Times New Roman", Times, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image: url("../images/site-bg.svg");
  background-repeat: repeat;
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-soft);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: var(--max-read);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container--wide {
  max-width: var(--max-wide);
}

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

.header-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0;
}

.site-title a {
  color: var(--text);
  text-decoration: none;
}

.site-title a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-panel);
  cursor: pointer;
  color: var(--text);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.site-nav a {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

main {
  padding-bottom: 3rem;
}

.hero {
  padding: 2.75rem 0 2.25rem;
  border-bottom: 1px solid var(--border);
}

.hero-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.hero-lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn--secondary:hover {
  background: rgba(45, 106, 79, 0.08);
  color: var(--accent-soft);
}

.hero-anchors {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.hero-anchors a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.hero-anchors a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.trust-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 32rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text);
}

.lead {
  color: var(--text-muted);
}

.two-col {
  display: grid;
  gap: 1.5rem 2.5rem;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 14rem;
    align-items: start;
  }

  .rail {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding-left: 1rem;
    border-left: 1px solid var(--border);
  }
}

.help-grid {
  display: grid;
  gap: 0.35rem 2rem;
}

@media (min-width: 600px) {
  .help-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.help-grid li {
  margin: 0;
  padding-left: 1rem;
  position: relative;
}

.help-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.pathways {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .pathways {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.pathway {
  padding: 1.25rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pathway h3 {
  margin-top: 0;
  font-size: 1rem;
  font-family: var(--font-sans);
}

.pathway p {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.pathway-links {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.pathway-links li {
  margin-bottom: 0.35rem;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.process-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.process-list strong {
  font-family: var(--font-sans);
  font-size: 0.92rem;
}

.selected-feature {
  padding: 1.5rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.selected-feature h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.selected-feature .meta {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.article-stack {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-stack li {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.article-stack li:first-child {
  border-top: none;
  padding-top: 0;
}

.article-stack h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.article-stack p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.read-link {
  font-family: var(--font-sans);
  font-size: 0.88rem;
}

.archive {
  font-family: var(--font-sans);
  font-size: 0.92rem;
}

.archive ol {
  margin: 0;
  padding-left: 1.25rem;
}

.archive li {
  margin-bottom: 0.5rem;
}

.archive a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.archive a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.contact-section {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

form label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

form input,
form textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  margin-bottom: 0.85rem;
}

form textarea {
  min-height: 7rem;
  resize: vertical;
}

form button[type="submit"] {
  margin-top: 0.25rem;
}

.contact-details {
  font-size: 0.98rem;
}

.contact-details p {
  margin-bottom: 0.65rem;
}

.contact-details strong {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.15rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.65);
}

.footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.88rem;
}

.footer-nav li {
  margin-bottom: 0.35rem;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-tag {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
}

/* Inner pages */
.page-header {
  padding: 2rem 0 1rem;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
}

.breadcrumb {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.article-body h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
}

.article-body p {
  margin-bottom: 1rem;
}

.related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.related h2 {
  font-size: 1.1rem;
}

.related ul {
  margin: 0;
  padding-left: 1.2rem;
}

.privacy-page h2 {
  font-size: 1.1rem;
  margin-top: 2rem;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-top: 0.75rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    flex-basis: 100%;
  }
}
