/* Amherstburg Home Health Care — redesign preview */
:root{
  --ink:#1b2a33; --muted:#3d4f5a; --bg:#fbf8f3; --card:#ffffff;
  --brand:#0b4f6c; --brand-dark:#083a50; --brand-soft:#e3eff4;
  --warm:#f3e7d6; --line:#d9cfc0; --ph-bg:#fff4c2; --ph-ink:#5c4300;
  --focus:#ffbf47; --radius:14px; --max:72rem;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
@media (min-width:48em){html{scroll-padding-top:6rem}}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:1.1875rem;line-height:1.65;color:var(--ink);background:var(--bg);padding-bottom:5.25rem}
@media (min-width:48em){body{font-size:1.25rem;padding-bottom:0}}
img{max-width:100%;height:auto;display:block}
h1,h2,h3{line-height:1.2;color:var(--brand-dark);margin:0 0 .6em}
h1{font-size:clamp(2rem,1.4rem + 3vw,3.25rem);letter-spacing:-.01em}
h2{font-size:clamp(1.6rem,1.2rem + 1.6vw,2.25rem)}
h3{font-size:1.3rem}
p{margin:0 0 1em;max-width:65ch}
a{color:var(--brand);text-underline-offset:.18em;text-decoration-thickness:.08em}
a:hover{color:var(--brand-dark);text-decoration-thickness:.14em}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px;box-shadow:0 0 0 7px var(--focus);border-radius:4px}
.wrap{width:min(100% - 2.5rem,var(--max));margin-inline:auto}
.skip{position:absolute;left:1rem;top:-10rem;background:var(--ink);color:#fff;padding:.75rem 1rem;z-index:100;border-radius:8px}
.skip:focus{top:1rem;color:#fff}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Placeholder markers — intentionally loud so nothing ships unconfirmed */
.ph{display:inline-block;background:var(--ph-bg);color:var(--ph-ink);border:2px dashed #b38600;
  padding:.1em .5em;border-radius:6px;font-size:.85em;font-weight:600;line-height:1.4}
.ph-block{display:block;padding:1rem 1.25rem;margin:0 0 1rem}

/* Info bar */
.infobar{background:var(--brand-dark);color:#fff;font-size:1rem}
.infobar .wrap{display:flex;flex-wrap:wrap;gap:.25rem 1.5rem;justify-content:space-between;padding:0}
.infobar a{color:#fff;display:inline-flex;align-items:center;min-height:44px}
.infobar span{display:inline-flex;align-items:center;min-height:44px}
/* Header */
.site-header{position:relative;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;gap:1rem;justify-content:space-between;padding:.6rem 0;flex-wrap:wrap}
.brand{display:inline-flex;min-height:48px;align-items:center}
.brand img{width:200px;height:auto}
.nav ul{list-style:none;margin:0;padding:0;display:flex;gap:.25rem}
.nav a{display:inline-flex;align-items:center;min-height:48px;padding:0 .9rem;border-radius:10px;font-weight:600;text-decoration:none;color:var(--ink)}
.nav a:hover{background:var(--brand-soft)}
.nav a[aria-current="page"]{background:var(--brand-soft);color:var(--brand-dark);box-shadow:inset 0 -3px 0 var(--brand)}
.site-header .header-call{display:none}
@media (min-width:48em){.site-header{position:sticky;top:0}.brand img{width:240px}.site-header .header-call{display:inline-flex}}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:52px;padding:.7rem 1.4rem;
  border-radius:999px;font-weight:700;text-decoration:none;border:2px solid var(--brand);font-size:1.1rem;line-height:1.2}
.btn-primary{background:var(--brand);color:#fff}
.btn-primary:hover{background:var(--brand-dark);border-color:var(--brand-dark);color:#fff}
.btn-ghost{background:#fff;color:var(--brand-dark)}
.btn-ghost:hover{background:var(--brand-soft)}
.btn svg{width:1.25em;height:1.25em;flex:none}
.actions{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.5rem 0}

/* Mobile action bar */
.callbar{position:fixed;inset:auto 0 0 0;z-index:60;display:grid;grid-template-columns:1fr 1fr;gap:.5rem;
  padding:.6rem .75rem calc(.6rem + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 16px rgb(0 0 0/.08)}
.callbar .btn{width:100%;padding-inline:.5rem}
@media (min-width:48em){.callbar{display:none}}

/* Sections */
section{padding:clamp(2.5rem,2rem + 3vw,4.5rem) 0}
.hero{padding-top:clamp(2rem,1.5rem + 3vw,4rem);padding-bottom:0;background:linear-gradient(180deg,#fff 0%,var(--bg) 100%)}
.hero .eyebrow{font-weight:700;color:var(--brand);text-transform:none;margin-bottom:.5rem}
.hero .lede{font-size:1.2em;color:var(--muted)}
.hero-figure{margin:2rem 0 0;border-radius:var(--radius);overflow:hidden;aspect-ratio:16/9;background:var(--brand-soft)}
@media (min-width:48em){.hero-figure{aspect-ratio:1280/393}}
.hero-figure img{width:100%;height:100%;object-fit:cover;object-position:20% center}
@media (min-width:48em){.hero-figure img{object-position:center}}

.quickfacts{display:grid;gap:1rem;margin-top:-1px}
.fact{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.25rem 1.4rem}
.fact h3{font-size:1.05rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:.35rem}
.fact p{margin:0;font-size:1.15em;font-weight:600}
@media (min-width:48em){.quickfacts{grid-template-columns:repeat(3,1fr)}}

.adp{background:var(--brand-dark);color:#fff}
.adp h2,.adp h3{color:#fff}
.adp .tag{display:inline-block;border:2px solid #9fd0e3;color:#dff1f8;border-radius:999px;padding:.2rem .9rem;font-weight:600;font-size:.95rem;margin-bottom:1rem}
.adp-list{list-style:none;padding:0;margin:1.5rem 0;display:grid;gap:1rem;grid-template-columns:1fr}
.adp-list li{display:flex;align-items:center;gap:1rem;background:rgb(255 255 255/.08);border:1px solid rgb(255 255 255/.25);border-radius:var(--radius);padding:1.1rem 1.25rem;font-size:1.25rem;font-weight:700}
.adp-list svg{width:2rem;height:2rem;flex:none}
@media (min-width:40em){.adp-list{grid-template-columns:1fr 1fr}}
@media (min-width:64em){.adp-list{grid-template-columns:repeat(4,1fr)}}
.adp a{color:#fff}
.adp .btn-ghost{border-color:#fff;color:var(--brand-dark)}
.adp .btn-ghost:hover{background:var(--brand-soft);color:var(--brand-dark)}

.steps{list-style:none;padding:0;margin:1.5rem 0 0;display:grid;gap:1rem;counter-reset:s}
.steps li{background:var(--card);border:1px solid var(--line);border-left:6px solid var(--brand);border-radius:var(--radius);padding:1.1rem 1.25rem;font-weight:700;font-size:1.2rem}
@media (min-width:48em){.steps{grid-template-columns:repeat(4,1fr)}}

.split{display:grid;gap:2rem;align-items:start}
@media (min-width:56em){.split{grid-template-columns:1.2fr 1fr}}
.photos{display:grid;gap:1rem;grid-template-columns:1fr 1fr}
.photos figure{margin:0}
.photos figure:first-child{grid-column:1/-1}
.photos img{border-radius:var(--radius);width:100%;aspect-ratio:400/267;object-fit:cover}
.warm{background:var(--warm)}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem}

/* Contact */
.contact-grid{display:grid;gap:1.25rem}
@media (min-width:48em){.contact-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:64em){.contact-grid{grid-template-columns:repeat(3,1fr)}}
address{font-style:normal}
.hours{border-collapse:collapse;width:100%}
.hours th,.hours td{text-align:left;padding:.45rem 0;border-bottom:1px solid var(--line)}
.hours td{text-align:right}
.big-link{font-size:1.3em;font-weight:700;display:inline-flex;align-items:center;min-height:48px}
dl.contact-list{margin:0}
dl.contact-list dt{font-weight:700;color:var(--muted);font-size:.95rem;text-transform:uppercase;letter-spacing:.05em;margin-top:.75rem}
dl.contact-list dd{margin:0}

/* Footer */
.site-footer{background:var(--ink);color:#eef3f5;padding:2.5rem 0 2rem;font-size:1.05rem}
.site-footer a{color:#fff}
.site-footer .wrap{display:grid;gap:1.5rem}
@media (min-width:48em){.site-footer .wrap{grid-template-columns:repeat(3,1fr)}}
.site-footer h2{color:#fff;font-size:1.15rem;margin-bottom:.5rem}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li a{display:inline-flex;min-height:44px;align-items:center}
.site-footer .legal{grid-column:1/-1;border-top:1px solid #4a5b65;padding-top:1rem;font-size:.95rem}
.site-footer .ph{background:var(--ph-bg)}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

/* Video facade (no third-party requests until click) */
.video-box{position:relative;aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;background:#d9dde0;max-width:60rem}
.video-box iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.video-facade{position:absolute;inset:0;display:block;color:#fff;text-decoration:none}
.video-facade img{width:100%;height:100%;object-fit:cover}
.video-facade .play{position:absolute;left:50%;top:50%;transform:translate(-50%,-60%);width:4.5rem;height:4.5rem;border-radius:50%;
  background:var(--brand);display:grid;place-items:center;box-shadow:0 4px 18px rgb(0 0 0/.3)}
.video-facade .play svg{width:2.25rem;height:2.25rem;margin-left:.2rem}
.video-facade:hover .play{background:var(--brand-dark)}
.video-label{position:absolute;left:0;right:0;bottom:0;padding:.6rem 1rem;background:rgb(8 58 80/.92);font-weight:700;font-size:1rem;line-height:1.35}
.video-meta{font-weight:400}
.video-facade:focus-visible{outline-offset:-6px}
