/* Site Forge cleaning template — Trust & Authority system (ui-ux-pro-max)
   Palette: professional blue + orange CTA. Fonts: Poppins / Open Sans. */

:root {
  --primary: #57534e;
  --primary-dark: #292524;
  --secondary: #a8a29e;
  --accent: #b45309;
  --accent-dark: #92400e;
  --bg: #faf5f2;
  --fg: #1c1917;
  --heading: #292524;
  --muted: #f5f0ec;
  --border: #e7e0da;
  --white: #ffffff;
  --radius: 4px;
  --btn-radius: 4px;
  --shadow: 0 1px 3px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 8px 24px rgba(28, 25, 23, 0.12);
  --font-head: "Calistoga", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 4rem 0; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.0625rem;
  text-align: center;
  white-space: nowrap;
  padding: 0.875rem 1.75rem;
  border-radius: var(--btn-radius);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.btn:focus-visible, a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.btn-primary { background: var(--accent); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--white); color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: var(--white); }
.btn-lg { font-size: 1.1875rem; padding: 1rem 2.25rem; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo svg { width: 28px; height: 28px; }
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav a {
  text-decoration: none;
  color: var(--fg);
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
  transition: color 150ms ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent); }
.nav-phone {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--primary) !important;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* 1020px, not 820: 7 nowrap items + phone + button next to a long
   business name overflows anywhere below this */
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 1rem;
  }
  .main-nav.open { display: flex; }
}

/* Hero — layout in .hero, background per kit via hero--* classes */
.hero {
  color: var(--white);
  padding: 5.5rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero--blend {
  background:
    radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--secondary) 40%, transparent), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 55%),
    linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 55%, var(--secondary) 100%);
}
.hero--solid {
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0 18px, transparent 18px 36px),
    var(--primary-dark);
}
.hero--sweep {
  background:
    radial-gradient(700px 380px at 105% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 60%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, var(--primary-dark) 100%);
}
.hero--image {
  /* image itself is inlined on the section (background-image) so the URL
     resolves against the page, not this stylesheet — relative url() inside
     a custom property resolves against the using stylesheet in Chromium */
  background-color: var(--primary-dark);
  background-size: cover;
  background-position: center;
}
.hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--primary-dark) 76%, transparent);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 70px;
  background: var(--bg);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.hero h1, .hero p { color: var(--white); }
.hero .container { position: relative; z-index: 1; max-width: 780px; text-align: center; }
.hero .sub { font-size: 1.25rem; opacity: 0.92; margin: 1.25rem 0 2rem; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero .btn-secondary { border-color: var(--white); background: transparent; color: var(--white); }
.hero .btn-secondary:hover { background: var(--white); color: var(--primary); }

/* Split hero variant: copy left, promise panel right */
.hero-split .container {
  max-width: 1120px;
  text-align: left;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero-split .hero-cta { justify-content: flex-start; }
.hero-split .trust-chips { justify-content: flex-start; }
.hero-panel {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(4px);
}
.hero-panel h2 { color: var(--white); font-size: 1.15rem; margin-bottom: 1rem; }
.hero-panel ul { list-style: none; }
.hero-panel li { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.75rem; font-weight: 600; }
.hero-panel li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 0.2em; }
@media (max-width: 820px) {
  .hero-split .container { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
}

/* Trust chips */
.trust-chips {
  display: flex;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.25rem;
  padding: 0;
  list-style: none;
}
.trust-chips li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
}
.trust-chips svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--muted);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card .icon svg { width: 26px; height: 26px; }
.card ul { list-style: none; margin: 0 0 1.25rem; }
.card ul li { padding-left: 1.6rem; position: relative; margin-bottom: 0.4rem; }
.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1em;
  height: 1em;
  background: var(--accent);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}
.card .card-link { margin-top: auto; font-weight: 700; text-decoration: none; }
.card .card-link:hover { color: var(--accent); }

/* Stats band */
.stats {
  background: var(--primary);
  color: var(--white);
  padding: 3rem 0;
}
.stats .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; text-align: center; }
.stat .num { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; display: block; }
.stat .label { opacity: 0.9; font-size: 0.9375rem; }

/* Steps */
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 3.25rem; }
.steps .card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -1.25rem;
  left: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

/* Testimonials */
.quote-card { background: var(--white); }
.quote-card .starline { color: var(--accent); letter-spacing: 2px; font-size: 1.1rem; margin-bottom: 0.75rem; }
.quote-card footer { font-weight: 700; color: var(--heading); }

/* Areas */
.area-list { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; margin-top: 1.5rem; }
.area-list li a, .area-list li span {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary);
}

/* Forms */
.quote-section { background: var(--white); border-top: 1px solid var(--border); }
.form-wrap {
  max-width: 640px;
  margin: 2rem auto 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: 0.9375rem; display: block; margin: 1rem 0 0.35rem; color: var(--heading); }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--fg);
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(30, 64, 175, 0.35);
  outline-offset: 1px;
  border-color: var(--primary);
}
form .btn { margin-top: 1.5rem; width: 100%; }
.form-note { font-size: 0.875rem; color: #475569; margin-top: 0.75rem; text-align: center; }
.hidden { position: absolute; left: -9999px; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(160deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}
.page-hero h1, .page-hero p { color: var(--white); }
.page-hero p { max-width: 640px; margin: 0.75rem auto 0; opacity: 0.92; }

/* FAQ */
details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
details summary {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
}
details[open] summary { margin-bottom: 0.5rem; }

/* CTA banner */
.cta-banner {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: var(--white); }
.cta-banner .btn { background: var(--white); color: var(--accent-dark); margin-top: 1rem; }
.cta-banner .btn:hover { background: var(--muted); }

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: #dbeafe;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}
.site-footer .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.site-footer h4 { color: var(--white); margin-bottom: 0.75rem; font-size: 1.0625rem; }
.site-footer a { color: #bfdbfe; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-bottom {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(191, 219, 254, 0.25);
  font-size: 0.875rem;
  grid-column: 1 / -1;
}

.section-intro { max-width: 680px; }
.center { text-align: center; }
.center .section-intro { margin: 0 auto; }
