/* Illinois Cleanup Services: shared styles (homepage, booking, success) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f9f6ef;
  --fg: #1d2b24;
  --card: #fdfbf7;
  --primary: #2f4f40;
  --primary-dark: #243e32;
  --primary-fg: #f8f5ee;
  --secondary: #e6eadb;
  --muted: #efebe2;
  --muted-fg: #5a6a62;
  --accent: #f3dfc0;
  --clay: #b8683e;
  --ink: #18241e;
  --ink-fg: #f1eee6;
  --border: #ddd8cb;
  --danger: #b4372b;
  --radius: 14px;
  --shadow: 0 20px 50px -24px rgba(47, 79, 64, 0.38);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--fg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.12; }
h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.4rem; }
em.clay, .clay { color: var(--clay); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 600; color: var(--clay); }
.lead { font-size: 1.12rem; color: var(--muted-fg); }
.muted { color: var(--muted-fg); }
.section { padding: 88px 0; }
.section-tint { background: rgba(239, 235, 226, 0.7); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { margin-top: 12px; }
.section-head p { margin-top: 14px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 14px 28px; font: 600 0.98rem var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--fg); }
.btn-outline:hover { border-color: var(--primary); }
.btn-light { background: var(--primary-fg); color: var(--primary); }
.btn-sm { padding: 9px 20px; font-size: 0.88rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 600; text-decoration: none; font-size: 0.93rem; }
.link-arrow:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(249, 246, 239, 0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.logo { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--primary); text-decoration: none; white-space: nowrap; }
.logo i { color: var(--clay); }
.nav { display: flex; gap: 26px; font-size: 0.92rem; color: var(--muted-fg); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--fg); }
.header-right { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.92rem; text-decoration: none; white-space: nowrap; }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 560px) { .header-phone span { display: none; } .logo { font-size: 1.1rem; } }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 96px; }
.hero h1 { margin-top: 18px; }
.hero .lead { margin-top: 22px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 0.9rem; color: var(--muted-fg); }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row svg { color: var(--primary); }
.start-card { position: relative; background: var(--card); border-radius: 26px; padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.start-card h2 { font-size: 1.7rem; margin-top: 8px; }
.start-list { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.start-list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--bg); border: 1.5px solid var(--border); text-decoration: none; transition: border-color .2s, transform .2s; }
.start-list a:hover { border-color: var(--primary); transform: translateX(3px); }
.start-list .ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--secondary); color: var(--primary); display: grid; place-items: center; }
.start-list strong { display: block; font-family: var(--serif); font-size: 1.12rem; font-weight: 500; }
.start-list small { color: var(--muted-fg); font-size: 0.82rem; }
.start-list .chev { margin-left: auto; color: var(--muted-fg); }
.badge-247 { position: absolute; right: -22px; top: -30px; background: var(--primary); color: var(--primary-fg); border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow); }
.badge-247 b { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; display: block; line-height: 1; }
.badge-247 span { font-size: 0.82rem; opacity: .85; }
.badge-247 { padding: 12px 18px; } .badge-247 b { font-size: 1.5rem; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 72px; gap: 52px; } .badge-247 { right: 14px; top: -24px; } }

/* Services */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.service { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.service-top { height: 120px; display: flex; align-items: flex-end; justify-content: space-between; padding: 20px 24px; }
.service-top .ico { width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.75); color: var(--primary); display: grid; place-items: center; }
.service-top .dur { font-size: 0.78rem; color: var(--primary); background: rgba(255,255,255,.7); padding: 4px 10px; border-radius: 999px; }
.tone-1 { background: linear-gradient(135deg, #e6eadb, #d5dec8); }
.tone-2 { background: linear-gradient(135deg, #f3dfc0, #ecd0a8); }
.tone-3 { background: linear-gradient(135deg, #dfe8e3, #c9d9d0); }
.tone-4 { background: linear-gradient(135deg, #efe6da, #e3d4c2); }
.service-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.6rem; }
.service-body p { margin-top: 10px; color: var(--muted-fg); }
.service-body ul { list-style: none; margin: 14px 0 0; display: grid; gap: 6px; font-size: 0.9rem; }
.service-body li { display: flex; gap: 8px; align-items: center; }
.service-body li svg { color: var(--primary); flex: none; }
.service-links { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Steps */
.step-ico { width: 50px; height: 50px; border-radius: 50%; background: var(--secondary); color: var(--primary); display: grid; place-items: center; }
.step-num { margin-top: 16px; font-size: 0.78rem; color: var(--muted-fg); }
.step h3 { font-size: 1.3rem; }
.step p { margin-top: 8px; font-size: 0.94rem; color: var(--muted-fg); }

/* Promise band */
.band { background: var(--ink); color: var(--ink-fg); }
.band .eyebrow { color: #e0a47f; }
.band .muted, .band p { color: rgba(241, 238, 230, 0.75); }
.promise { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); border-radius: 20px; padding: 26px; }
.promise h3 { color: var(--ink-fg); margin-top: 14px; font-size: 1.35rem; }
.promise p { margin-top: 8px; font-size: 0.94rem; }
.promise .step-ico { background: rgba(255,255,255,.1); color: #e0a47f; }

/* Cities & resources */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--border); text-decoration: none; font-weight: 500; transition: border-color .2s; }
.chip:hover { border-color: var(--primary); }
.resource { display: block; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 22px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.resource:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.resource h3 { font-size: 1.2rem; }
.resource p { margin-top: 6px; font-size: 0.9rem; color: var(--muted-fg); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-weight: 600; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; font-weight: 400; color: var(--muted-fg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted-fg); }

/* Forms */
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.field label, .field-label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; font: 1rem var(--sans); color: var(--fg); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47,79,64,.12); }
.field textarea { min-height: 96px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 22px; } }
.fine { font-size: 0.8rem; color: var(--muted-fg); text-align: center; margin-top: 14px; }
.hidden { display: none !important; }

/* CTA + footer */
.cta { background: var(--primary); color: var(--primary-fg); border-radius: 28px; padding: 56px 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.cta p { color: rgba(248,245,238,.8); margin-top: 10px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta .btn-outline { color: var(--primary-fg); border-color: rgba(248,245,238,.4); }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; padding: 40px 24px; } .cta-actions { justify-content: flex-start; } }
.site-footer { background: var(--ink); color: var(--ink-fg); padding: 56px 0 32px; margin-top: 88px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .14em; color: #e0a47f; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 6px; font-size: 0.92rem; }
.site-footer a { text-decoration: none; opacity: .8; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.site-footer p { font-size: 0.92rem; opacity: .75; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 0.8rem; opacity: .55; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile sticky call bar */
.mobile-bar { display: none; }
@media (max-width: 640px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(249,246,239,.96); border-top: 1px solid var(--border); }
  .mobile-bar .btn { padding: 12px 10px; font-size: 0.92rem; }
  body.has-bar { padding-bottom: 76px; }
}

/* Photo layout (matches the Lovable design) */
.photo { position: relative; overflow: hidden; background: linear-gradient(135deg, #e6eadb, #efe6da); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-wrap { position: relative; }
.hero-photo { aspect-ratio: 4 / 5; border-radius: 28px; box-shadow: var(--shadow); }
.hero-badge { position: absolute; left: -24px; bottom: -24px; background: var(--card); border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow); }
.hero-badge b { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--primary); line-height: 1.1; }
.hero-badge span { font-size: 0.86rem; color: var(--muted-fg); }
@media (max-width: 900px) { .hero-badge { left: 16px; bottom: -20px; } .hero-photo { aspect-ratio: 4 / 3; } }
.svc { background: var(--card); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.svc .photo { height: 224px; }
.svc .photo img { transition: transform .5s; }
.svc:hover .photo img { transform: scale(1.05); }
.svc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.svc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.svc-head h3 { font-size: 1.6rem; }
.svc-head small { font-size: 0.78rem; color: var(--muted-fg); white-space: nowrap; }
.svc-body p { margin-top: 8px; color: var(--muted-fg); }
.svc-links { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery .photo { aspect-ratio: 1; border-radius: 18px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.statement { max-width: 780px; margin: 48px auto 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.35; }
.statement small { display: block; margin-top: 14px; font-family: var(--sans); font-style: normal; font-size: 0.9rem; color: var(--muted-fg); }
.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.cta-split .photo { aspect-ratio: 1 / 1; max-width: 460px; width: 100%; justify-self: end; border-radius: 28px; }
@media (max-width: 800px) { .cta-split .photo { justify-self: start; } }
@media (max-width: 800px) { .cta-split { grid-template-columns: 1fr; } }
