/* =====================================================
   HAULS M.D. — palette sampled from the logo artwork
   ice     #EEF2FB  (logo background / page base)
   paper   #FFFFFF  (cards)
   ink     #171A21  (badge black)
   scrub   #3E6FB4  (scrub blue / links / buttons)
   sky     #A9C4E8  (light-blue lettering)
   steel   #B9BFC9  (dumpster gray / borders)
   pulse   #3F8C4B  (recycle green — used sparingly)
   ===================================================== */

:root{
  --ice:#EEF2FB;
  --paper:#FFFFFF;
  --ink:#171A21;
  --ink-soft:#3A4150;
  --scrub:#3E6FB4;
  --scrub-deep:#2E568D;
  --sky:#A9C4E8;
  --steel:#B9BFC9;
  --steel-light:#D9DEE8;
  --pulse:#3F8C4B;

  --font-display:"Zilla Slab", Georgia, serif;
  --font-body:"Public Sans", -apple-system, Segoe UI, sans-serif;
  --font-mono:"IBM Plex Mono", Consolas, monospace;

  --radius:14px;
  --shadow:0 10px 30px rgba(23,26,33,.10);
  --wrap:1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  font-size:1.0625rem;
  line-height:1.65;
  color:var(--ink-soft);
  background:var(--ice);
}

img{ max-width:100%; height:auto; display:block; }

h1,h2,h3{
  font-family:var(--font-display);
  color:var(--ink);
  line-height:1.12;
  margin:0 0 .5em;
}
h1{ font-size:clamp(2.6rem, 6vw, 4.2rem); font-weight:700; letter-spacing:-.01em; }
h2{ font-size:clamp(1.9rem, 4vw, 2.7rem); font-weight:700; }
h3{ font-size:1.3rem; font-weight:600; }
p{ margin:0 0 1em; }
a{ color:var(--scrub-deep); }

.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 clamp(1.1rem, 4vw, 2rem); }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--ink); color:#fff;
  padding:.6rem 1rem; z-index:100; border-radius:0 0 8px 0;
}
.skip-link:focus{ left:0; }

/* mono chart-label eyebrow */
.eyebrow{
  font-family:var(--font-mono);
  font-size:.78rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:var(--scrub);
  margin:0 0 .9rem;
}
.eyebrow-light{ color:var(--sky); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.55rem;
  font-family:var(--font-body); font-weight:700; font-size:1rem;
  text-decoration:none; border-radius:999px;
  padding:.85rem 1.5rem;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:focus-visible{ outline:3px solid var(--scrub); outline-offset:3px; }
.btn:hover{ transform:translateY(-2px); }
.btn .ico{ width:1.1em; height:1.1em; fill:currentColor; flex:none; }

.btn-primary{ background:var(--scrub); color:#fff; box-shadow:0 6px 18px rgba(62,111,180,.35); border:0; cursor:pointer; }
.btn-primary:hover{ background:var(--scrub-deep); }
.btn-secondary{
  background:var(--paper); color:var(--scrub-deep);
  border:2px solid var(--scrub);
}
.btn-secondary-dark{ background:transparent; color:#fff; border-color:var(--sky); }
.btn-secondary-dark:hover{ background:rgba(255,255,255,.08); }
.btn-lg{ padding:1.05rem 2rem; font-size:1.1rem; }

.btn-call{
  background:var(--ink); color:#fff;
  padding:.65rem 1.15rem; font-size:.92rem;
  border:2px solid var(--ink);
}
.btn-call:hover{ background:#000; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(238,242,251,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--steel-light);
}
.header-inner{
  display:flex; align-items:center; gap:1.5rem;
  padding-top:.7rem; padding-bottom:.7rem;
}
.brand{ display:flex; align-items:center; gap:.65rem; text-decoration:none; }
.brand-mark{ width:46px; height:46px; object-fit:contain; }
.brand-name{
  font-family:var(--font-display); font-weight:700; font-size:1.35rem;
  color:var(--ink); letter-spacing:.01em;
}
.brand-md{ color:var(--scrub); }

.site-nav{ display:flex; gap:1.4rem; margin-left:auto; }
.site-nav a{
  text-decoration:none; color:var(--ink-soft); font-weight:600; font-size:.95rem;
  padding:.3rem 0; border-bottom:2px solid transparent;
}
.site-nav a:hover{ color:var(--scrub-deep); border-bottom-color:var(--scrub); }

.header-cta{ flex:none; }

.nav-toggle{
  display:none; margin-left:auto;
  background:none; border:0; padding:.5rem; cursor:pointer;
}
.nav-toggle .bar{
  display:block; width:24px; height:3px; margin:5px 0;
  background:var(--ink); border-radius:2px; transition:transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(2){ transform:translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3){ opacity:0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4){ transform:translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{ position:relative; overflow:hidden; }
.hero-grid{
  display:grid; grid-template-columns:1.05fr .95fr; gap:2.5rem;
  align-items:center;
  padding-top:clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom:clamp(1rem, 3vw, 2rem);
}
.hero-sub{ font-size:1.15rem; max-width:34rem; }
.underline-pulse{
  background:linear-gradient(transparent 68%, var(--sky) 68%);
  padding:0 .05em;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:.8rem; margin:1.6rem 0 1.4rem; }
.hero-vitals{
  list-style:none; display:flex; flex-wrap:wrap; gap:.4rem 1.5rem;
  margin:0; padding:0; font-weight:600; font-size:.95rem; color:var(--ink);
}
.check{
  display:inline-flex; align-items:center; justify-content:center;
  width:1.25em; height:1.25em; margin-right:.35em;
  background:var(--pulse); color:#fff; border-radius:50%;
  font-size:.75em; font-weight:700;
}
.hero-art img{ margin:0 auto; max-width:520px; }

/* Signature EKG divider */
.ekg{ line-height:0; }
.ekg svg{ width:100%; height:60px; display:block; }
.ekg-line{
  fill:none; stroke:var(--scrub); stroke-width:3;
  stroke-linecap:round; stroke-linejoin:round;
  stroke-dasharray:2400; stroke-dashoffset:2400;
}
.ekg.in-view .ekg-line{ animation:ekg-draw 2.4s ease-out forwards; }
@keyframes ekg-draw{ to{ stroke-dashoffset:0; } }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .ekg-line{ stroke-dashoffset:0; animation:none !important; }
  .btn:hover{ transform:none; }
}

/* ---------- Sections ---------- */
.section{ padding:clamp(3.2rem, 7vw, 5.5rem) 0; }
.section-lede{ max-width:38rem; font-size:1.1rem; }

/* Services — the treatment chart */
.section-services{ background:var(--paper); }
.chart-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:1.2rem;
  margin-top:2.2rem;
}
.chart-card{
  background:var(--ice);
  border:1px solid var(--steel-light);
  border-radius:var(--radius);
  padding:1.5rem 1.4rem 1.2rem;
  transition:transform .15s ease, box-shadow .15s ease;
}
.chart-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.chart-card h3{ margin-bottom:.4em; }
.chart-card p:last-child{ margin:0; font-size:.97rem; }
.chart-label{
  font-family:var(--font-mono); font-size:.72rem; font-weight:600;
  text-transform:uppercase; letter-spacing:.12em;
  color:var(--scrub); margin:0 0 .7rem;
  padding-bottom:.55rem; border-bottom:1px dashed var(--steel);
}
.services-cta{ margin:2.2rem 0 0; font-weight:600; color:var(--ink); }

/* Steps */
.steps{
  list-style:none; margin:2.2rem 0 0; padding:0;
  display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem;
}
.step{
  background:var(--paper); border:1px solid var(--steel-light);
  border-radius:var(--radius); padding:1.6rem 1.5rem;
}
.step-num{
  font-family:var(--font-mono); font-weight:600; font-size:.85rem;
  color:var(--paper); background:var(--scrub);
  width:2.4em; height:2.4em; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin:0 0 1rem;
}
.step p:last-child{ margin:0; font-size:.97rem; }

/* Pricing — dark "badge" band */
.section-pricing{ background:var(--ink); color:var(--steel-light); }
.section-pricing h2{ color:#fff; }
.section-pricing strong{ color:#fff; }
.pricing-inner{
  display:grid; grid-template-columns:1.1fr .9fr; gap:3rem; align-items:center;
}
.pricing-points{
  list-style:none; margin:0 0 1.8rem; padding:0;
  display:grid; gap:.55rem; font-weight:600; color:#fff;
}
.check-green{ background:var(--pulse); }

/* Prescription pad card */
.rx-card{
  background:var(--paper); color:var(--ink-soft);
  border-radius:10px; padding:1.8rem 1.9rem;
  box-shadow:0 18px 45px rgba(0,0,0,.35);
  transform:rotate(1.5deg);
  font-size:.98rem;
}
.rx-head{
  font-family:var(--font-display); font-weight:700; font-size:1.35rem;
  color:var(--scrub-deep); margin:0 0 1rem;
  border-bottom:2px solid var(--scrub); padding-bottom:.6rem;
}
.rx-card dl{ margin:0; }
.rx-card dl > div{
  display:grid; grid-template-columns:7.5em 1fr; gap:.6rem;
  padding:.45rem 0; border-bottom:1px dashed var(--steel-light);
}
.rx-card dt{
  font-family:var(--font-mono); font-size:.72rem; font-weight:600;
  text-transform:uppercase; letter-spacing:.1em; color:var(--steel);
  padding-top:.2em;
}
.rx-card dd{ margin:0; font-weight:600; color:var(--ink); }
.rx-sig{
  margin:1.1rem 0 0; text-align:right;
  font-family:var(--font-display); font-style:italic; font-size:1.25rem;
  color:var(--scrub-deep);
}

/* Service area */
.section-area{ background:var(--paper); text-align:center; }
.section-area .section-lede{ margin-left:auto; margin-right:auto; max-width:44rem; }

/* ---------- Contact form ---------- */
.contact-inner{
  display:grid; grid-template-columns:.9fr 1.1fr; gap:3rem; align-items:start;
}
.contact-vitals{ margin-top:1.2rem; flex-direction:column; gap:.5rem; }

.contact-form{
  background:var(--paper);
  border:1px solid var(--steel-light);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:1.8rem 1.7rem;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.field{ margin-bottom:1.05rem; }
.field label{
  display:block; font-weight:700; font-size:.9rem; color:var(--ink);
  margin-bottom:.35rem;
}
.field .optional{ font-weight:500; color:var(--steel); }
.field input,
.field select,
.field textarea{
  width:100%; font:inherit; color:var(--ink);
  background:var(--ice);
  border:1.5px solid var(--steel-light);
  border-radius:10px;
  padding:.7rem .85rem;
}
.field textarea{ resize:vertical; min-height:110px; }
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:none; border-color:var(--scrub);
  box-shadow:0 0 0 3px rgba(62,111,180,.18);
}

/* honeypot — visually removed, still in the DOM for bots */
.hp-field{
  position:absolute; left:-9999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}

.btn-form{ width:100%; justify-content:center; }
.form-status{ margin:.9rem 0 0; font-weight:700; min-height:1.4em; }
.form-status.ok{ color:var(--pulse); }
.form-status.err{ color:#B4443E; }

/* Final CTA */
.section-final{ text-align:center; }
.final-inner h2{ font-size:clamp(2rem, 5vw, 3rem); }
.final-actions{ justify-content:center; margin-bottom:0; }
.ekg-final{ max-width:420px; margin:0 auto 1.2rem; }
.ekg-final svg{ height:50px; }

/* Footer */
.site-footer{
  background:var(--ink); color:var(--steel);
  padding:2.6rem 0 6.5rem; /* bottom padding clears mobile sticky bar */
  font-size:.95rem;
}
.footer-inner{ display:grid; gap:1.4rem; }
.footer-brand{ display:flex; align-items:center; gap:.8rem; }
.footer-brand .brand-name{ color:#fff; margin:0; }
.footer-brand .brand-mark{ background:var(--ice); border-radius:10px; padding:3px; }
.footer-tag{ margin:0; font-size:.88rem; }
.footer-contact{ display:flex; flex-wrap:wrap; gap:1.5rem; }
.footer-contact a{ color:var(--sky); font-weight:700; text-decoration:none; }
.footer-contact a:hover{ text-decoration:underline; }
.footer-legal{ margin:0; font-size:.82rem; color:#7d838f; }

/* Mobile sticky Call/Text bar */
.sticky-cta{
  position:fixed; left:0; right:0; bottom:0; z-index:60;
  display:none;
  box-shadow:0 -6px 20px rgba(23,26,33,.25);
}
.sticky-cta a{
  flex:1; display:flex; align-items:center; justify-content:center; gap:.5rem;
  padding:1rem 0; font-weight:800; font-size:1.05rem; text-decoration:none;
}
.sticky-cta .ico{ width:1.15em; height:1.15em; fill:currentColor; }
.sticky-call{ background:var(--scrub); color:#fff; }
.sticky-text{ background:var(--ink); color:#fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .chart-grid{ grid-template-columns:repeat(2,1fr); }
  .pricing-inner{ grid-template-columns:1fr; gap:2.2rem; }
  .rx-card{ max-width:440px; }
  .contact-inner{ grid-template-columns:1fr; gap:2rem; }
}

@media (max-width: 820px){
  .hero-grid{ grid-template-columns:1fr; text-align:center; }
  .hero-sub{ margin-left:auto; margin-right:auto; }
  .hero-actions, .hero-vitals{ justify-content:center; }
  .contact-vitals{ align-items:flex-start; }
  .hero-art{ order:-1; }
  .hero-art img{ max-width:360px; }
  .steps{ grid-template-columns:1fr; }

  .header-cta{ display:none; }           /* sticky bottom bar takes over */
  .sticky-cta{ display:flex; }

  .nav-toggle{ display:block; }
  .site-nav{
    display:none;
    position:absolute; top:100%; left:0; right:0;
    flex-direction:column; gap:0;
    background:var(--paper); border-bottom:1px solid var(--steel-light);
    padding:.5rem 1.25rem 1rem;
  }
  .site-nav.open{ display:flex; }
  .site-nav a{ padding:.8rem 0; border-bottom:1px solid var(--steel-light); }
}

@media (max-width: 560px){
  .chart-grid{ grid-template-columns:1fr; }
  .btn{ width:100%; justify-content:center; }
  .hero-actions{ flex-direction:column; }
  .form-row{ grid-template-columns:1fr; }
}
