/* AHS Groups — shared stylesheet
   Brand palettes sampled from the actual logo files:
     AHS Groups   green    #196339
     M&M          rust     #B15526 · charcoal #353534 · cream #FCF2E2
   Brand is scoped with a body class: .brand-ahs / .brand-mm                */

:root{
  --ink:#1c1c1a;
  --ink-soft:#4a4a46;
  --line:rgba(0,0,0,.10);
  --cream:#FCF2E2;
  --charcoal:#353534;
  --ahs-green:#196339;
  --ahs-green-dk:#0f4526;
  --mm-rust:#B15526;
  --mm-rust-dk:#8d4219;
  /* default accent — overridden per brand below */
  --accent:var(--charcoal);
  --accent-dk:#1c1c1a;
  --bg:#fff;
  --radius:14px;
  --wrap:1140px;
  --font:"Helvetica Neue",Helvetica,Arial,system-ui,sans-serif;
}

.brand-ahs{ --accent:var(--ahs-green); --accent-dk:var(--ahs-green-dk); }
.brand-mm { --accent:var(--mm-rust);   --accent-dk:var(--mm-rust-dk); --bg:var(--cream); }

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--font); font-size:17px; line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--accent-dk); }
h1,h2,h3{ line-height:1.12; margin:0 0 .5em; letter-spacing:-.02em; }
h1{ font-size:clamp(2.1rem,5.5vw,3.6rem); font-weight:800; }
h2{ font-size:clamp(1.6rem,3.6vw,2.4rem); font-weight:800; }
h3{ font-size:1.18rem; font-weight:700; }
p{ margin:0 0 1.1em; }
.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 22px; }
.center{ text-align:center; }
.eyebrow{
  text-transform:uppercase; letter-spacing:.16em; font-size:.76rem;
  font-weight:700; color:var(--accent); margin:0 0 .9em;
}
.lede{ font-size:1.14rem; color:var(--ink-soft); max-width:60ch; }
.center .lede{ margin-inline:auto; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55em;
  padding:15px 30px; border-radius:999px; text-decoration:none;
  font-weight:700; font-size:1rem; border:2px solid transparent;
  transition:transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn-primary{ background:var(--accent); color:#fff; }
.btn-primary:hover{ background:var(--accent-dk); transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(0,0,0,.16); }
.btn-ghost{ background:transparent; color:var(--accent-dk); border-color:currentColor; }
.btn-ghost:hover{ background:rgba(0,0,0,.05); transform:translateY(-2px); }
.btn-row{ display:flex; flex-wrap:wrap; gap:14px; }
.center .btn-row{ justify-content:center; }

/* ---------- site header ---------- */
.topbar{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding:18px 0; border-bottom:1px solid var(--line);
}
.topbar img{ height:46px; width:auto; }
.topbar .back{
  text-decoration:none; font-weight:600; font-size:.92rem; color:var(--ink-soft);
}
.topbar .back:hover{ color:var(--accent); }

/* ---------- hero ---------- */
.hero{ position:relative; overflow:hidden; }
.hero-media{
  position:absolute; inset:0; z-index:0;
  /* brand-tinted fallback — shows if the photo fails to load, so the page
     never looks broken, it just looks deliberate */
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(140deg, var(--accent-dk), var(--accent) 55%, var(--charcoal));
}
.hero-media img{
  width:100%; height:100%; object-fit:cover; opacity:.42;
}
.hero-inner{
  position:relative; z-index:1;
  padding:clamp(74px,13vw,150px) 0 clamp(64px,10vw,120px);
  color:#fff;
}
.hero-inner .eyebrow{ color:rgba(255,255,255,.86); }
.hero-inner h1{ color:#fff; max-width:22ch; }
.hero-inner .lede{ color:rgba(255,255,255,.93); }
.hero .btn-ghost{ color:#fff; }
.hero .btn-ghost:hover{ background:rgba(255,255,255,.14); }

/* ---------- sections ---------- */
section{ padding:clamp(56px,8vw,96px) 0; }
.section-head{ max-width:62ch; margin-bottom:44px; }
.center .section-head{ margin-inline:auto; }

/* ---------- brand chooser (landing) ---------- */
.chooser{
  display:grid; gap:26px; grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
}
.choice{
  display:flex; flex-direction:column; text-decoration:none; color:inherit;
  border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  background:#fff; transition:transform .18s ease, box-shadow .18s ease;
}
.choice:hover{ transform:translateY(-5px); box-shadow:0 18px 44px rgba(0,0,0,.13); }
.choice-top{
  padding:34px 30px 26px; display:flex; align-items:center; justify-content:center;
  min-height:172px;
}
.choice-top img{ max-height:104px; width:auto; }
.choice--ahs .choice-top{ background:#f3f7f4; }
.choice--mm  .choice-top{ background:var(--cream); }
.choice-body{ padding:26px 30px 32px; flex:1; display:flex; flex-direction:column; }
.choice-body h3{ margin-bottom:.35em; }
.choice-body p{ color:var(--ink-soft); font-size:.99rem; }
.choice ul{ list-style:none; margin:0 0 22px; padding:0; }
.choice li{
  position:relative; padding-left:22px; font-size:.95rem; color:var(--ink-soft);
  margin-bottom:5px;
}
.choice li::before{
  content:""; position:absolute; left:0; top:.62em; width:9px; height:2px;
  background:currentColor; opacity:.5;
}
.choice--ahs li::before{ background:var(--ahs-green); opacity:1; }
.choice--mm  li::before{ background:var(--mm-rust);   opacity:1; }
.choice-cta{
  margin-top:auto; font-weight:700; display:inline-flex; align-items:center; gap:.45em;
}
.choice--ahs .choice-cta{ color:var(--ahs-green); }
.choice--mm  .choice-cta{ color:var(--mm-rust); }
.choice-cta span{ transition:transform .15s ease; }
.choice:hover .choice-cta span{ transform:translateX(5px); }

/* ---------- service cards ---------- */
.cards{ display:grid; gap:22px; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }
.card{
  border:1px solid var(--line); border-radius:var(--radius);
  padding:28px 26px; background:#fff;
}
.brand-mm .card{ background:#fff; }
.card h3{ margin-bottom:.4em; }
.card p{ color:var(--ink-soft); font-size:.97rem; margin:0; }
.card-mark{
  width:40px; height:4px; border-radius:2px; background:var(--accent);
  margin-bottom:18px;
}

/* ---------- photo strip ---------- */
.strip{ display:grid; gap:14px; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
.shot{
  position:relative; aspect-ratio:4/3; border-radius:var(--radius); overflow:hidden;
  background:linear-gradient(140deg,var(--accent-dk),var(--accent));
}
.shot img{ width:100%; height:100%; object-fit:cover; }

/* ---------- steps ---------- */
.steps{ counter-reset:s; display:grid; gap:26px;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
.step{ counter-increment:s; }
.step::before{
  content:counter(s); display:flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:50%; background:var(--accent); color:#fff;
  font-weight:800; margin-bottom:14px;
}
.step h3{ margin-bottom:.3em; font-size:1.05rem; }
.step p{ color:var(--ink-soft); font-size:.95rem; margin:0; }

/* ---------- CTA band ---------- */
.band{ background:var(--accent); color:#fff; }
.band h2{ color:#fff; }
.band p{ color:rgba(255,255,255,.92); }
.band .btn-primary{ background:#fff; color:var(--accent-dk); }
.band .btn-primary:hover{ background:rgba(255,255,255,.9); }
.band .btn-ghost{ color:#fff; }
.band .btn-ghost:hover{ background:rgba(255,255,255,.14); }

/* ---------- footer ---------- */
footer{
  padding:52px 0 40px; border-top:1px solid var(--line);
  font-size:.93rem; color:var(--ink-soft);
}
.foot-grid{ display:grid; gap:28px; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
footer strong{ color:var(--ink); display:block; margin-bottom:6px; }
footer a{ color:var(--ink-soft); text-decoration:none; }
footer a:hover{ color:var(--accent); text-decoration:underline; }
.legal{ margin-top:34px; padding-top:20px; border-top:1px solid var(--line); font-size:.85rem; }

@media (max-width:640px){
  body{ font-size:16px; }
  .hero-inner{ padding-top:60px; }
  .btn{ width:100%; }
  .btn-row{ flex-direction:column; }
}
