/* ============================================================
   Fox Valley Cleaning Quotes — styles.css
   Palette: clean teal + fox-orange accent
   Edit brand colors below under :root
   ============================================================ */

:root{
  --teal:        #0e7574;
  --teal-dark:   #0a5857;
  --teal-deep:   #0b3d3c;
  --teal-soft:   #e3f2f0;
  --orange:      #f28a2e;
  --orange-dark: #d97516;
  --orange-soft: #fdeedd;
  --bg:          #f4faf9;
  --surface:     #ffffff;
  --ink:         #17332f;
  --muted:       #5c7570;
  --line:        #dcece9;
  --danger:      #c0392b;
  --success:     #1e8e5a;
  --radius:      16px;
  --radius-sm:   10px;
  --shadow:      0 10px 30px rgba(11,61,60,.10);
  --shadow-lg:   0 18px 50px rgba(11,61,60,.16);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:var(--teal); }
h1,h2,h3,h4{ line-height:1.2; margin:0 0 .5em; font-weight:800; letter-spacing:-.015em; }
p{ margin:0 0 1em; }

.container{ width:min(1160px, 92%); margin:0 auto; }

.section{ padding:72px 0; }
.section-alt{ background:var(--surface); }
.section-head{ text-align:center; max-width:640px; margin:0 auto 44px; }
.section-head h2{ font-size:clamp(26px, 3.4vw, 36px); }
.section-head p{ color:var(--muted); font-size:17px; }
.eyebrow{
  display:inline-block; font-size:12.5px; font-weight:700; letter-spacing:.12em;
  text-transform:uppercase; color:var(--orange-dark);
  background:var(--orange-soft); padding:6px 14px; border-radius:999px; margin-bottom:14px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font:inherit; font-weight:700; text-decoration:none; cursor:pointer;
  border:0; border-radius:999px; padding:14px 28px; font-size:16px;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{
  background:linear-gradient(180deg, var(--orange), var(--orange-dark));
  color:#fff; box-shadow:0 8px 20px rgba(217,117,22,.35);
}
.btn-primary:hover{ box-shadow:0 10px 26px rgba(217,117,22,.45); transform:translateY(-1px); }
.btn-ghost{
  background:transparent; color:#fff; border:2px solid rgba(255,255,255,.55);
}
.btn-ghost:hover{ border-color:#fff; background:rgba(255,255,255,.08); }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.6; cursor:not-allowed; transform:none; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0; gap:16px;
}
.brand{ display:flex; align-items:center; gap:11px; text-decoration:none; color:var(--ink); }
.brand-logo{ width:44px; height:44px; flex:none; }
.brand-name{ display:flex; flex-direction:column; line-height:1.12; }
.brand-name b{ font-size:18px; font-weight:800; letter-spacing:-.01em; }
.brand-name span{ font-size:11px; font-weight:700; letter-spacing:.14em; color:var(--teal); text-transform:uppercase; }
.header-cta{ display:flex; align-items:center; gap:18px; }
.header-serving{ font-size:13.5px; color:var(--muted); }
.header-cta .btn{ padding:11px 22px; font-size:15px; }

/* ---------- Hero ---------- */
.hero{
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(242,138,46,.18), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(255,255,255,.07), transparent 60%),
    linear-gradient(160deg, var(--teal-deep) 0%, var(--teal-dark) 55%, var(--teal) 100%);
  color:#fff;
  padding:64px 0 84px;
  position:relative;
  overflow:hidden;
}
.hero-grid{
  display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:start;
}
.hero-copy{ padding-top:18px; }
.hero-badge{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22);
  border-radius:999px; padding:7px 16px; font-size:13.5px; font-weight:600; margin-bottom:22px;
}
.hero-badge svg{ width:15px; height:15px; }
.hero h1{
  font-size:clamp(32px, 4.6vw, 52px);
  margin-bottom:18px;
}
.hero h1 .accent{ color:#ffc38a; }
.hero-sub{ font-size:18.5px; color:rgba(255,255,255,.88); max-width:52ch; margin-bottom:26px; }
.hero-ticks{ list-style:none; padding:0; margin:0 0 30px; display:grid; gap:12px; }
.hero-ticks li{ display:flex; gap:11px; align-items:flex-start; font-size:16px; font-weight:500; }
.hero-ticks svg{ width:21px; height:21px; flex:none; margin-top:2px; color:#8fe6c8; }
.hero-towns{ font-size:14px; color:rgba(255,255,255,.75); }
.hero-towns b{ color:#fff; }

/* ---------- Quote form card ---------- */
.quote-card{
  background:var(--surface); color:var(--ink);
  border-radius:20px; box-shadow:var(--shadow-lg);
  padding:30px 30px 26px;
  scroll-margin-top:90px;
}
.quote-card-head{ text-align:center; margin-bottom:20px; }
.quote-card-head h2{ font-size:23px; margin-bottom:4px; }
.quote-card-head p{ color:var(--muted); font-size:14.5px; margin:0; }

.progress{ margin-bottom:22px; }
.progress-labels{
  display:flex; justify-content:space-between;
  font-size:12.5px; font-weight:700; color:var(--muted); margin-bottom:8px;
}
.progress-labels span.active{ color:var(--teal); }
.progress-track{ height:7px; background:var(--teal-soft); border-radius:99px; overflow:hidden; }
.progress-fill{
  height:100%; width:33.33%;
  background:linear-gradient(90deg, var(--teal), var(--orange));
  border-radius:99px; transition:width .3s ease;
}

.form-step{ border:0; padding:0; margin:0; display:none; }
.form-step.active{ display:block; animation:fadeStep .28s ease; }
@keyframes fadeStep{ from{ opacity:0; transform:translateX(10px);} to{ opacity:1; transform:none;} }

.field{ margin-bottom:15px; }
.field label{
  display:block; font-size:13.5px; font-weight:700; margin-bottom:6px; color:var(--ink);
}
.field label .opt{ font-weight:500; color:var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel],
.field select, .field textarea{
  width:100%; font:inherit; font-size:15.5px; color:var(--ink);
  background:#fbfdfd; border:1.5px solid var(--line); border-radius:var(--radius-sm);
  padding:12px 14px; outline:none; transition:border-color .15s, box-shadow .15s;
}
.field textarea{ resize:vertical; min-height:84px; }
.field input:focus, .field select:focus, .field textarea:focus{
  border-color:var(--teal); box-shadow:0 0 0 3px rgba(14,117,116,.14); background:#fff;
}
.field .error-msg{ display:none; color:var(--danger); font-size:12.5px; font-weight:600; margin-top:5px; }
.field.invalid .error-msg{ display:block; }
.field.invalid input, .field.invalid select{ border-color:var(--danger); }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }

/* service type radio-cards */
.type-cards{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:15px; }
.type-card input{ position:absolute; opacity:0; pointer-events:none; }
.type-cards .type-card{
  position:relative; display:flex; flex-direction:column; align-items:center; gap:8px;
  border:2px solid var(--line); border-radius:14px; padding:18px 10px 14px;
  cursor:pointer; text-align:center; background:#fbfdfd; transition:all .15s ease;
  font-weight:400; margin-bottom:0;
}
.type-card svg{ width:34px; height:34px; color:var(--teal); }
.type-card b{ font-size:15px; }
.type-card small{ color:var(--muted); font-size:12.5px; line-height:1.35; }
.type-card:hover{ border-color:var(--teal); }
.type-card.selected{
  border-color:var(--teal); background:var(--teal-soft);
  box-shadow:0 0 0 3px rgba(14,117,116,.12);
}
.type-card.selected::after{
  content:"✓"; position:absolute; top:8px; right:10px;
  width:20px; height:20px; border-radius:50%; background:var(--teal); color:#fff;
  font-size:12px; font-weight:800; display:flex; align-items:center; justify-content:center;
}

/* photo upload */
.upload-box{
  border:2px dashed var(--line); border-radius:14px; background:#fbfdfd;
  padding:20px 14px; text-align:center; cursor:pointer; transition:all .15s ease;
}
.upload-box:hover, .upload-box.dragover{ border-color:var(--orange); background:var(--orange-soft); }
.upload-box svg{ width:28px; height:28px; color:var(--orange-dark); margin:0 auto 6px; }
.upload-box p{ margin:0; font-size:14px; font-weight:600; }
.upload-box small{ color:var(--muted); font-size:12.5px; }
.upload-box input{ display:none; }
.photo-previews{ display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.photo-thumb{ position:relative; width:74px; height:74px; border-radius:10px; overflow:hidden; border:1px solid var(--line); }
.photo-thumb img{ width:100%; height:100%; object-fit:cover; }
.photo-thumb button{
  position:absolute; top:3px; right:3px; width:20px; height:20px; border:0; border-radius:50%;
  background:rgba(23,51,47,.8); color:#fff; font-size:11px; cursor:pointer; line-height:1;
}

.form-nav{ display:flex; gap:10px; margin-top:20px; }
.form-nav .btn-back{
  background:var(--teal-soft); color:var(--teal-dark); flex:0 0 auto; padding:14px 20px;
}
.form-nav .btn-back:hover{ background:#d3eae7; }
.form-nav .btn-primary{ flex:1; }
.form-note{
  text-align:center; font-size:12.5px; color:var(--muted); margin:14px 0 0;
  display:flex; align-items:center; justify-content:center; gap:6px;
}
.form-note svg{ width:14px; height:14px; color:var(--success); flex:none; }

.field .consent-field{
  display:flex; gap:10px; align-items:flex-start;
  font-size:13px; font-weight:500; color:var(--muted); line-height:1.5;
}
.consent-field input{ margin-top:3px; width:17px; height:17px; accent-color:var(--teal); flex:none; }

.form-alert{
  display:none; border-radius:var(--radius-sm); padding:12px 14px; font-size:14px; font-weight:600;
  margin-bottom:14px;
}
.form-alert.show{ display:block; }
.form-alert.error{ background:#fdecea; color:var(--danger); border:1px solid #f5c6c0; }

/* honeypot — hidden from humans */
.hp-field{ position:absolute !important; left:-9999px !important; top:auto; width:1px; height:1px; overflow:hidden; }

/* ---------- How it works ---------- */
.steps-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.step-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:30px 26px; position:relative; box-shadow:0 4px 14px rgba(11,61,60,.05);
}
.step-num{
  width:40px; height:40px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background:var(--teal-soft); color:var(--teal-dark); font-weight:800; font-size:17px; margin-bottom:16px;
}
.step-card h3{ font-size:18.5px; }
.step-card p{ color:var(--muted); font-size:15px; margin:0; }

/* ---------- Services ---------- */
.services-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.service-panel{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:32px; box-shadow:0 4px 14px rgba(11,61,60,.05);
}
.service-panel .panel-icon{
  width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  margin-bottom:16px;
}
.service-panel:first-child .panel-icon{ background:var(--teal-soft); color:var(--teal); }
.service-panel:last-child .panel-icon{ background:var(--orange-soft); color:var(--orange-dark); }
.service-panel .panel-icon svg{ width:26px; height:26px; }
.service-panel h3{ font-size:21px; }
.service-panel > p{ color:var(--muted); font-size:15px; }
.service-list{ list-style:none; padding:0; margin:18px 0 0; display:grid; gap:10px; }
.service-list li{ display:flex; gap:10px; align-items:flex-start; font-size:15px; }
.service-list svg{ width:18px; height:18px; color:var(--success); flex:none; margin-top:3px; }

/* ---------- Why ---------- */
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.why-card{ text-align:center; padding:26px 18px; }
.why-icon{
  width:56px; height:56px; margin:0 auto 14px; border-radius:16px;
  background:var(--teal-soft); color:var(--teal); display:flex; align-items:center; justify-content:center;
}
.why-icon svg{ width:26px; height:26px; }
.why-card h3{ font-size:16.5px; }
.why-card p{ color:var(--muted); font-size:14px; margin:0; }

/* ---------- Service areas ---------- */
.areas-wrap{ text-align:center; }
.town-chips{
  display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin:0 0 18px;
}
.town-chip{
  display:inline-flex; align-items:center; gap:7px;
  background:var(--surface); border:1px solid var(--line); border-radius:999px;
  padding:9px 17px; font-size:14.5px; font-weight:600; color:var(--ink);
}
.town-chip svg{ width:14px; height:14px; color:var(--orange); }
.areas-note{ color:var(--muted); font-size:14.5px; }

/* ---------- FAQ ---------- */
.faq-list{ max-width:760px; margin:0 auto; display:grid; gap:12px; }
.faq-item{
  background:var(--surface); border:1px solid var(--line); border-radius:14px;
  padding:0; overflow:hidden;
}
.faq-item summary{
  list-style:none; cursor:pointer; padding:18px 22px; font-weight:700; font-size:16px;
  display:flex; justify-content:space-between; align-items:center; gap:14px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:"+"; font-size:22px; font-weight:600; color:var(--teal); flex:none; line-height:1;
  transition:transform .2s ease;
}
.faq-item[open] summary::after{ transform:rotate(45deg); }
.faq-item .faq-body{ padding:0 22px 18px; color:var(--muted); font-size:15px; }
.faq-item .faq-body p:last-child{ margin-bottom:0; }

/* ---------- CTA band ---------- */
.cta-band{
  background:linear-gradient(140deg, var(--teal-deep), var(--teal));
  color:#fff; text-align:center; padding:64px 0;
}
.cta-band h2{ font-size:clamp(24px, 3.2vw, 34px); margin-bottom:10px; }
.cta-band p{ color:rgba(255,255,255,.85); margin-bottom:26px; font-size:17px; }

/* ---------- Footer ---------- */
.site-footer{ background:#092e2d; color:#a8c7c3; padding:52px 0 26px; font-size:14.5px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; margin-bottom:34px; }
.site-footer .brand{ color:#fff; margin-bottom:14px; }
.site-footer .brand-name span{ color:#8fd6cf; }
.site-footer h4{ color:#fff; font-size:14px; letter-spacing:.08em; text-transform:uppercase; margin-bottom:14px; }
.site-footer ul{ list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.site-footer a{ color:#a8c7c3; text-decoration:none; }
.site-footer a:hover{ color:#fff; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12); padding-top:22px;
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; font-size:13.5px;
}

/* ---------- Thank you / simple pages ---------- */
.page-simple{ max-width:760px; margin:0 auto; padding:70px 0; }
.page-simple h1{ font-size:clamp(28px,4vw,40px); }
.page-simple h2{ font-size:22px; margin-top:36px; }
.page-simple .lead{ font-size:18px; color:var(--muted); }
.thanks-card{
  background:var(--surface); border:1px solid var(--line); border-radius:20px;
  box-shadow:var(--shadow); padding:50px 44px; text-align:center;
}
.thanks-icon{
  width:76px; height:76px; margin:0 auto 22px; border-radius:50%;
  background:var(--teal-soft); color:var(--teal); display:flex; align-items:center; justify-content:center;
}
.thanks-icon svg{ width:38px; height:38px; }
.thanks-next{ text-align:left; background:var(--bg); border-radius:14px; padding:22px 26px; margin:28px 0; }
.thanks-next h3{ font-size:16px; }
.thanks-next ol{ margin:0; padding-left:20px; color:var(--muted); display:grid; gap:8px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; gap:40px; }
  .hero-copy{ text-align:center; padding-top:0; }
  .hero-sub{ margin-left:auto; margin-right:auto; }
  .hero-ticks{ max-width:420px; margin-left:auto; margin-right:auto; text-align:left; }
  .quote-card{ max-width:560px; margin:0 auto; }
  .steps-grid, .why-grid{ grid-template-columns:1fr 1fr; }
  .services-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 620px){
  .section{ padding:52px 0; }
  .header-serving{ display:none; }
  .header-cta .btn{ padding:10px 16px; font-size:14px; white-space:nowrap; }
  .brand-name span{ white-space:nowrap; }
  .steps-grid, .why-grid{ grid-template-columns:1fr; }
  .field-row{ grid-template-columns:1fr; }
  .type-cards{ grid-template-columns:1fr; }
  .quote-card{ padding:24px 18px 20px; }
  .footer-grid{ grid-template-columns:1fr; gap:28px; }
  .footer-bottom{ justify-content:center; text-align:center; }
  .hero{ padding:44px 0 60px; }
  .thanks-card{ padding:36px 22px; }
}
