/* ==========================================================================
   Stratos Environmental — design system & styles
   ========================================================================== */
:root {
  --green-700: #0f5c2e;
  --green-600: #15803d;
  --green-500: #1f9d4d;
  --green-400: #34b364;
  --lime: #8bc53f;
  --ink: #0e1a13;
  --ink-2: #10241a;
  --ink-3: #16311f;
  --muted: #5c6b61;
  --bg: #ffffff;
  --bg-soft: #f3f7f3;
  --bg-mint: #eaf5ec;
  --border: #e1e9e2;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(16, 36, 26, 0.06), 0 1px 2px rgba(16, 36, 26, 0.04);
  --shadow-md: 0 8px 24px rgba(16, 36, 26, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 36, 26, 0.14);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", var(--font-body);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: var(--green-600); text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-mint { background: var(--bg-mint); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--green-600); background: var(--bg-mint);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-lead { max-width: 640px; margin: 0 auto 52px; color: var(--muted); font-size: 1.08rem; }
.center .eyebrow { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green-600); color: #fff; box-shadow: 0 8px 20px rgba(21, 128, 61, 0.28); }
.btn-primary:hover { background: var(--green-500); box-shadow: 0 12px 26px rgba(21, 128, 61, 0.34); color:#fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--green-500); color: var(--green-700); }
.btn-white { background: #fff; color: var(--green-700); }
.btn-white:hover { background: #f0f7f1; color: var(--green-700); }
.btn-lg { padding: 17px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .logo-mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-600); margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 0.97rem; }
.nav-links a:hover { color: var(--green-600); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-family: var(--font-head); }
.nav-phone:hover { color: var(--green-600); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #f3f9f4 0%, #eaf5ec 55%, #e2f1e5 100%); }
.hero::before {
  content: ""; position: absolute; top: -160px; right: -160px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(139, 197, 63, 0.28), transparent 70%); border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; bottom: -200px; left: -140px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(31, 157, 77, 0.18), transparent 70%); border-radius: 50%;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; padding: 76px 0 86px; }
.hero h1 span { color: var(--green-600); }
.hero-sub { font-size: 1.16rem; color: var(--muted); max-width: 520px; margin-bottom: 26px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.hero-points li { display: flex; align-items: center; gap: 11px; font-weight: 500; }
.hero-points svg { flex: 0 0 auto; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { margin-top: 26px; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 0.92rem; }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 1.05rem; }

.hero-card {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 30px; border: 1px solid var(--border);
}
.hero-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.hero-card .muted { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }
.mini-form { display: grid; gap: 12px; }
.mini-form .field { display: grid; gap: 6px; }
.mini-form label { font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.mini-form select, .mini-form input {
  padding: 13px 14px; border: 1.5px solid var(--border); border-radius: 11px;
  font-size: 0.98rem; font-family: inherit; color: var(--ink); background: #fff;
}
.mini-form select:focus, .mini-form input:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(31,157,77,0.14); }
.hero-card .fineprint { font-size: 0.78rem; color: var(--muted); text-align: center; margin: 4px 0 0; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--ink-2); color: #dbeee0; }
.trustbar .container { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 24px; padding: 30px 22px; text-align: center; }
.trustbar .stat { display: flex; flex-direction: column; }
.trustbar .stat b { font-family: var(--font-head); font-size: 1.9rem; color: #fff; }
.trustbar .stat span { font-size: 0.9rem; color: #a9cbb5; }

/* ---------- Cards / services ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-mint); color: var(--green-600); margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 16px; font-size: 0.96rem; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.size-chip { font-size: 0.8rem; font-weight: 600; color: var(--green-700); background: var(--bg-mint); border-radius: 999px; padding: 5px 11px; }
.card-link { font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover { gap: 10px; }

/* ---------- Steps / how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow-sm); }
.step .num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--green-600); color: #fff;
  font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; font-size: 1.15rem; margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 0.96rem; }

/* ---------- Benefits ---------- */
.benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit .b-icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-mint); color: var(--green-600); display: grid; place-items: center; }
.benefit h3 { font-size: 1.06rem; margin-bottom: 4px; }
.benefit p { color: var(--muted); margin: 0; font-size: 0.94rem; }

/* ---------- Coverage ---------- */
.coverage-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.region { display: flex; align-items: center; gap: 9px; font-weight: 500; background: #fff; border: 1px solid var(--border); border-radius: 11px; padding: 12px 14px; box-shadow: var(--shadow-sm); }
.region svg { color: var(--green-500); flex: 0 0 auto; }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.quote-card .stars { margin-bottom: 12px; }
.quote-card p { color: var(--ink); font-size: 1.02rem; flex: 1; }
.quote-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--green-600); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.quote-author b { display: block; font-size: 0.96rem; }
.quote-author span { color: var(--muted); font-size: 0.85rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-weight: 600;
  font-size: 1.04rem; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--green-600); flex: 0 0 auto; line-height: 1; transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--green-700); }
.faq-a { padding: 0 24px 22px; }
.faq-a p { color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--green-700), var(--ink-2)); color: #fff; border-radius: var(--radius-lg); padding: 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; top:-100px; right:-80px; width:320px; height:320px; background: radial-gradient(circle, rgba(139,197,63,0.3), transparent 70%); border-radius:50%; pointer-events: none; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #cfe8d6; max-width: 560px; margin: 0 auto 26px; position: relative; }
.cta-band .hero-cta { justify-content: center; position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: #b9d3c2; padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: #b9d3c2; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.94rem; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 0.94rem; max-width: 280px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 0.94rem; }
.footer-contact svg { flex: 0 0 auto; margin-top: 3px; color: var(--green-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.86rem; color: #90b19e; }

/* ==========================================================================
   Quote wizard
   ========================================================================== */
.quote-page { background: var(--bg-soft); min-height: 100vh; }
.quote-layout { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 40px; padding: 52px 0 80px; align-items: start; }
.wizard { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 36px; }
.progress { margin-bottom: 30px; }
.progress-track { height: 8px; background: var(--bg-mint); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--green-500), var(--lime)); border-radius: 999px; transition: width 0.35s ease; width: 20%; }
.progress-label { display: flex; justify-content: space-between; margin-top: 10px; font-size: 0.85rem; color: var(--muted); font-weight: 500; }

.step-panel { display: none; animation: fade 0.3s ease; }
.step-panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-panel h2 { font-size: 1.5rem; margin-bottom: 6px; }
.step-panel .step-hint { color: var(--muted); margin-bottom: 24px; }

.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 26px; }
.option {
  position: relative;
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer;
  border: 1.5px solid var(--border); border-radius: 13px; background: #fff; transition: 0.15s; font-weight: 500;
}
.option:hover { border-color: var(--green-400); background: #fbfefb; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.options-err { color: #d33; font-size: 0.9rem; margin: -14px 0 18px; font-weight: 500; }
.option .opt-icon { color: var(--green-600); flex: 0 0 auto; display: grid; place-items: center; }
.option.selected { border-color: var(--green-600); background: var(--bg-mint); box-shadow: 0 0 0 3px rgba(31,157,77,0.12); }
.option .check { margin-left: auto; opacity: 0; color: var(--green-600); }
.option.selected .check { opacity: 1; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 26px; }
.form-field { display: grid; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.86rem; font-weight: 600; }
.form-field input {
  padding: 14px 15px; border: 1.5px solid var(--border); border-radius: 11px; font-size: 1rem; font-family: inherit; color: var(--ink);
}
.form-field input:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(31,157,77,0.14); }
.form-field .err { color: #d33; font-size: 0.8rem; display: none; }
.form-field.invalid input { border-color: #e5484d; }
.form-field.invalid .err { display: block; }

.wizard-nav { display: flex; justify-content: space-between; gap: 12px; }
.wizard-nav .btn-ghost.hidden { visibility: hidden; }

.wizard-success { text-align: center; padding: 20px 10px; }
.wizard-success .success-mark { width: 76px; height: 76px; border-radius: 50%; background: var(--bg-mint); color: var(--green-600); display: grid; place-items: center; margin: 0 auto 20px; }
.wizard-success h2 { font-size: 1.6rem; }
.wizard-success p { color: var(--muted); max-width: 420px; margin: 0 auto 8px; }

/* Sidebar */
.quote-aside { position: sticky; top: 96px; display: grid; gap: 22px; }
.aside-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.aside-card h3 { margin-bottom: 16px; }
.aside-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.aside-steps li { display: flex; gap: 13px; }
.aside-steps .n { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--green-600); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); font-size: 0.9rem; }
.aside-steps b { display: block; font-size: 0.96rem; }
.aside-steps span { color: var(--muted); font-size: 0.88rem; }
.aside-trust { background: var(--ink-2); color: #d6ebdd; }
.aside-trust h3 { color: #fff; }
.aside-trust ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.aside-trust li { display: flex; gap: 10px; align-items: center; font-size: 0.95rem; }
.aside-trust svg { color: var(--green-400); flex: 0 0 auto; }

/* ---------- Utilities & responsive ---------- */
.hide-mobile { }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 460px; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .coverage-wrap { grid-template-columns: 1fr; gap: 30px; }
  .quote-layout { grid-template-columns: 1fr; }
  .quote-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 18px 22px; gap: 18px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
  }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .options, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .wizard { padding: 24px; }
  .regions { grid-template-columns: repeat(2, 1fr); }
}
