/* ClearView Consolidated Site Solutions - public home page (index.asp). Same palette as css/app.css. */

:root {
  --bg: #ffffff;
  --alt: #f6f7f9;
  --ink: #0f172a;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --brand: #00cd8a;
  --brand-dark: #00a06c;
  --brand-ink: #052e1f;
  --brand-soft: #e6faf3;
  --accent: #99c1c1;
  --dark: #0b1a17;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}
a { color: #047857; }
img { max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 12px; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; }
h3 { font-size: 19px; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
section[id] { scroll-margin-top: 76px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn-solid { background: var(--brand); color: var(--brand-ink); }
.btn-solid:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: #cbd5e1; }
.btn-lg { padding: 14px 22px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo img { height: 38px; width: auto; }
.logo span { display: flex; flex-direction: column; font-weight: 800; font-size: 15px; line-height: 1.1; }
.logo small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: var(--brand-dark); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; font-size: 20px; padding: 4px 10px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 80px;
  background:
    radial-gradient(900px 400px at 85% 10%, rgba(0, 205, 138, .14), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(153, 193, 193, .25), transparent 60%),
    #fff;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 10px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 62px); letter-spacing: -.03em; margin-bottom: 18px; }
.hl { background: linear-gradient(transparent 62%, rgba(0, 205, 138, .35) 62%); }
.hero .lead { font-size: 19px; color: #374151; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: #374151; }
.hero-points li::before { content: "\2713"; color: var(--brand-dark); font-weight: 900; margin-right: 6px; }

.hero-visual { position: relative; }
.mock {
  background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 18px; transform: rotate(-1deg);
}
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 4px 4px 14px; border-bottom: 1px solid var(--border); }
.mock-head strong { display: block; color: var(--ink); }
.mock-head span:not(.tag) { font-size: 13px; color: var(--muted); }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid #f1f5f9; }
.mock-row div { flex: 1; min-width: 0; }
.mock-row b { display: block; font-size: 15px; color: var(--ink); }
.mock-row small { font-size: 13px; color: var(--muted); }
.mock-foot { display: flex; justify-content: space-between; padding: 14px 4px 2px; font-size: 14px; color: var(--muted); }
.mock-foot strong { color: var(--ink); font-size: 17px; }
.mock-float {
  position: absolute; left: -24px; bottom: -22px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
  padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow-lg);
}
.mock-float .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 6px; }
.ico { flex: 0 0 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); position: relative; }
.ico::after { content: ""; position: absolute; inset: 9px; border-radius: 4px; border: 2px solid var(--brand-dark); }
.ico-dumpster { background: #fff7ed; } .ico-dumpster::after { border-color: #c2410c; border-radius: 2px 2px 6px 6px; }
.ico-fence { background: #eff6ff; } .ico-fence::after { border-color: #1d4ed8; border-style: dashed; }
.ico-gen { background: #f5f3ff; } .ico-gen::after { border-color: #6d28d9; border-radius: 50%; }

.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.tag-green { background: var(--brand-soft); color: #065f46; }
.tag-amber { background: #fef3c7; color: #92400e; }
.tag-blue { background: #e0f2fe; color: #075985; }

/* ---------- Strip ---------- */
.strip { background: var(--ink); color: #e5e7eb; }
.strip-inner { padding: 18px 20px; text-align: center; font-size: 16px; }
.strip p { margin: 0; }
.strip strong { color: var(--brand); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--alt); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p:last-child { color: #4b5563; font-size: 18px; }

.cards { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc, .feat {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.svc p, .feat p { color: #4b5563; font-size: 16px; margin: 0; }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); display: grid; place-items: center; margin-bottom: 16px; }
.svc-icon svg { width: 28px; height: 28px; fill: none; stroke: #047857; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; position: relative; }
.steps p { color: #4b5563; font-size: 16px; margin: 0; }
.num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 900; margin-bottom: 14px; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { border-radius: var(--radius); padding: 30px; border: 1px solid var(--border); }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.compare-col li { padding-left: 30px; position: relative; }
.compare-old { background: #fafafa; }
.compare-old li::before { content: "\2715"; position: absolute; left: 0; color: #b91c1c; font-weight: 900; }
.compare-new { background: var(--brand-soft); border-color: #a7f3d0; }
.compare-new li::before { content: "\2713"; position: absolute; left: 0; color: #047857; font-weight: 900; }

.section-dark { background: var(--dark); color: #cbd5e1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p:last-child { color: #9ca3af; }
.section-dark .eyebrow { color: var(--brand); }
.section-dark .feat { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.section-dark .feat p { color: #9ca3af; }
.section-dark .feat h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--brand); margin-bottom: 14px; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.checks { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); color: #047857; font-size: 12px; font-weight: 900; display: grid; place-items: center; }

.vendor-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-lg); max-width: 400px; justify-self: center; width: 100%; }
.vc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.vc-head small { color: var(--muted); }
.vendor-card p { color: #4b5563; }
.vc-meta { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--border); }
.vc-btn { background: var(--brand); color: var(--brand-ink); text-align: center; font-weight: 800; border-radius: 12px; padding: 12px; }
.vc-note { font-size: 13px; text-align: center; margin: 10px 0 0; }

.callout { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.callout p { margin: 0; color: #4b5563; max-width: 680px; }

/* ---------- Request form ---------- */
.split-form { align-items: start; }
.contact-note { background: var(--alt); border-radius: 14px; padding: 18px; font-size: 15px; margin: 20px 0; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.form-card label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.form-card input:not([type=radio]):not([type=checkbox]), .form-card textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 400; padding: 10px 12px;
  border: 1px solid #d1d5db; border-radius: 10px; background: #fff;
}
.form-card input:focus, .form-card textarea:focus { outline: 2px solid rgba(0, 205, 138, .45); border-color: var(--brand); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kind-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kind-toggle label { display: block; cursor: pointer; }
.kind-toggle input { position: absolute; opacity: 0; }
.kind-toggle span { display: block; padding: 12px; border: 1px solid var(--border); border-radius: 12px; text-align: center; font-size: 14px; }
.kind-toggle input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: #065f46; }
.kind-toggle input:focus-visible + span { outline: 2px solid var(--brand); }
.svc-pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-pick legend { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.form-card .svc-pick label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; cursor: pointer; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 12px 14px; border-radius: 12px; font-size: 15px; }
.notice-ok { background: var(--brand-soft); color: #065f46; border: 1px solid #a7f3d0; }
.notice-err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #9ca3af; padding: 40px 0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer a { color: #d1d5db; text-decoration: none; }
.footer nav { display: flex; gap: 18px; }
.footer p { margin: 0; }
.logo-footer { color: #fff; }
.logo-footer img { background: #fff; border-radius: 8px; padding: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 8px 20px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .nav-toggle { display: block; }
  .mock-float { left: 10px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 64px; }
  .section { padding: 60px 0; }
  .cards-3, .steps, .compare, .grid2, .kind-toggle { grid-template-columns: 1fr; }
  .callout { flex-direction: column; align-items: flex-start; padding: 26px; }
  .hide-sm { display: none; }
  .logo span { font-size: 12px; }
  .nav-inner { gap: 10px; }
  .nav-cta .btn { padding: 8px 12px; font-size: 14px; }
}
@media (max-width: 480px) {
  .logo span { display: none; }
  .mock { transform: none; }
}
