:root{
  --bg:#ffffff;
  --text:#0b1220;
  --muted:#5b6472;
  --border:#e7ebf2;
  --shadow:0 10px 30px rgba(11,18,32,.06);
  --max:1100px;
  --radius:16px;

  /* BlowerDoctor accent: “urgent / industrial” */
  --accent:#e23b2e;
  --prose:74ch;
  --space:56px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
}

img{max-width:100%; height:auto; display:block}
.wrap{max-width:var(--max); margin:0 auto; padding:0 20px}
.muted{color:var(--muted)}
.prose{max-width:var(--prose)}
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); border:0;
}

/* =========================
   NAV (CLEAN + MOBILE SAFE)
   ========================= */
.nav{
  position:sticky; top:0; z-index:50;
  background:#fff;                 /* solid to avoid iOS blur wash-out */
  border-bottom:1px solid var(--border);
}

.nav-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  padding:12px 0 14px;
}

.brand{
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:inherit;
}

.header-logo{
  height:56px;
  width:auto;
  max-width:none;
}

@media (min-width: 600px){ .header-logo{ height: 66px; } }
@media (min-width: 980px){ .header-logo{ height: 78px; } }

/* Nav links: desktop wraps, mobile scrolls */
.nav-links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
  width:100%;
}

.nav-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  color:#111827;
  font-weight:800;
  font-size:13px;
  letter-spacing:.12px;

  text-decoration:none;
  padding:8px 12px;
  border-radius:999px;

  border:1px solid rgba(11,18,32,.18);
  background:#fff;
  box-shadow:0 1px 0 rgba(11,18,32,.03);
}

.nav-links a:hover{
  border-color: rgba(226,59,46,.40);
  background:#fff4f2;
}

/* Actions row */
.nav-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  width:100%;
}

.nav-actions select{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  font:inherit;
  color:#111827;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;

  border:1px solid var(--border);
  background:#fff;
  color:var(--text);

  padding:12px 16px;
  border-radius:999px;
  font-weight:750;
  box-shadow:0 1px 0 rgba(11,18,32,.04);
}
.btn:hover{transform:translateY(-1px)}

.btn.primary{
  background:var(--accent);
  color:#fff;
  border-color:transparent;
}

/* IMPORTANT: force CTA to never “wash out” on iOS */
.nav-actions .btn.primary{
  background:var(--accent) !important;
  color:#fff !important;
  opacity:1 !important;
  visibility:visible !important;
}

.nav::after{
  content:"";
  display:block;
  width:100%;
  height:1px;
  margin-top:10px;
  background: linear-gradient(
    90deg,
    rgba(226,59,46,0) 0%,
    rgba(226,59,46,.18) 30%,
    rgba(226,59,46,.34) 50%,
    rgba(226,59,46,.18) 70%,
    rgba(226,59,46,0) 100%
  );
}

/* Mobile: make nav pills a single swipe row */
@media (max-width: 760px){
  .nav-inner{ gap:10px; }

  .header-logo{ height:52px; }

  .nav-links{
    flex-wrap:nowrap;
    justify-content:flex-start;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    padding:2px 8px 10px;
    scrollbar-width:none;
  }
  .nav-links::-webkit-scrollbar{ display:none; }

  .nav-links a{
    flex:0 0 auto;
    white-space:nowrap;
  }

  /* Stack jump + CTA nicely and make CTA obvious */
  .nav-actions{
    justify-content:center;
  }
  .nav-actions select{
    width:68%;
    max-width:280px;
  }
  .nav-actions .btn.primary{
    width:auto;
    min-width:140px;
  }
}

/* =========================
   HERO
   ========================= */
.hero{padding:22px 0 10px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:26px;
  align-items:start;
}

.kicker{color:var(--muted); font-weight:650; margin:0 0 10px}
.hero h1{margin:0 0 10px; font-size:42px; line-height:1.08; letter-spacing:-.8px}
.hero .sub{margin:0 0 18px; font-size:18px; color:var(--muted); max-width:62ch}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:14px}

.hero-proof{
  margin:0;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid var(--border);
  background:#fff;
}

.hero-image{
  width:100%;
  height:320px;
  object-fit:cover;
  object-position:center;
  display:block;
}

/* Pills under hero */
.pill-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.pill{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  color:var(--muted);
  font-size:13px;
}

.notice{
  margin-top:14px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(226,59,46,.22);
  background: linear-gradient(180deg, #fff 0%, #fff6f5 100%);
  color:var(--muted);
}

/* =========================
   SECTIONS / CARDS
   ========================= */
.section{padding:var(--space) 0}
.section-sep{
  height:2px;
  width:100%;
  margin:28px 0;
  background: linear-gradient(
    90deg,
    rgba(226,59,46,0) 0%,
    rgba(226,59,46,.35) 25%,
    rgba(226,59,46,.70) 50%,
    rgba(226,59,46,.35) 75%,
    rgba(226,59,46,0) 100%
  );
  border-radius:999px;
}
.section h2{margin:0 0 10px; font-size:28px; letter-spacing:-.4px}
.lead{margin:0 0 18px; color:var(--muted); font-size:16px}

.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.grid-2{display:grid; grid-template-columns:repeat(2,1fr); gap:14px}

.tile{
  padding:18px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.tile h3{margin:0 0 8px; font-size:16px}
.tile p{margin:0; color:var(--muted)}

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}
.hero-card .big{font-size:18px; font-weight:750; letter-spacing:-.2px; margin:0 0 10px}

.divider{height:1px; background:var(--border); margin:22px 0}
.list{margin:0; padding-left:18px; color:var(--muted)}

.ongoing-callout{ margin-top:14px; border-color: rgba(226,59,46,.20); }
.ongoing-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:14px; }

/* FORM */
form{display:grid; gap:12px}
label{display:block; font-size:13px; color:var(--muted); margin-bottom:6px}
input, textarea{
  width:100%;
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px 12px;
  font:inherit;
  outline:none;
}
textarea{min-height:130px; resize:vertical}
input:focus, textarea:focus{
  border-color:rgba(226,59,46,.60);
  box-shadow:0 0 0 4px rgba(226,59,46,.12);
}

/* FAQ */
.accordion summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-weight:650;
}
.accordion summary::-webkit-details-marker{display:none}
.sum-title{color:var(--text)}
.sum-tag{
  color:var(--muted);
  font-weight:600;
  font-size:12px;
  border:1px solid var(--border);
  padding:4px 10px;
  border-radius:999px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

/* FOOTER */
.footer{
  border-top:1px solid var(--border);
  padding:26px 0;
  color:var(--muted);
}
.footer::before{
  content:"";
  display:block;
  width:100%;
  height:2px;
  margin-bottom:26px;
  background: linear-gradient(
    90deg,
    rgba(226,59,46,0) 0%,
    rgba(226,59,46,.25) 25%,
    rgba(226,59,46,.48) 50%,
    rgba(226,59,46,.25) 75%,
    rgba(226,59,46,0) 100%
  );
  border-radius:999px;
}
.footer-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.footer-logo{
  display:block;
  height:40px;
  width:auto;
  max-width:340px;
  opacity:.92;
}
@media (max-width: 720px){ .footer-logo{ height:36px; } }
@media (min-width: 980px){ .footer-logo{ height:46px; } }

/* RESPONSIVE */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr;}
  .hero h1{font-size:36px}
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .hero-image{height:260px}
}
/* ===== MOBILE NAV: WRAP + STACK (NO SIDE SCROLL) ===== */
@media (max-width: 760px){
  .nav-links{
    flex-wrap: wrap !important;
    justify-content: center !important;

    overflow-x: visible !important;
    overflow-y: visible !important;

    padding: 0 0 6px !important;
  }

  .nav-links a{
    flex: 0 0 auto !important;
    white-space: nowrap !important;  /* keeps each pill on one line */
  }
}
