/* Helping Hands Home Healthcare — single stylesheet, no external fonts or scripts */
:root {
  color-scheme: light;
  --blue: #2567b1;
  --blue-dark: #1b4c85;
  --green: #76bf43;
  --ink: #14213a;
  --muted: #56627a;
  --bg: #f5f8fc;
  --line: #e1e8f2;
  --white: #fff;
  --radius: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 1rem/1.6 var(--font); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
main:focus { outline: none; }
.nowrap { white-space: nowrap; }

:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 3px; border-radius: 4px; }
.owner :focus-visible, .contact-box :focus-visible { outline-color: var(--white); }

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px;
  border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; text-decoration: none; }
.brand img { flex: none; height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name { font-weight: 700; font-size: 1.05rem; }
.brand-sub { font-size: .85rem; color: var(--muted); }
.brand-sub strong { color: var(--blue); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  border: 2px solid transparent; font: 600 .95rem/1.2 var(--font);
  text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { border-color: var(--blue); color: var(--blue); }
.btn-ghost:hover { background: rgba(37, 103, 177, .08); }
.btn-green { background: var(--green); color: #10230a; }
.btn-green:hover { background: #86cc55; }

/* Hero */
.hero {
  padding-block: clamp(56px, 9vw, 112px);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(118, 191, 67, .18), transparent 60%),
    radial-gradient(800px 500px at 0% 0%, rgba(37, 103, 177, .12), transparent 60%),
    var(--bg);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--blue); font-size: .85rem; font-weight: 600;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
h1 { max-width: 16ch; font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
h1 span { color: var(--blue); }
.lead { max-width: 52ch; margin-top: 22px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: .95rem; color: var(--muted); }
.hero-note a, footer a { color: var(--blue); font-weight: 600; }

/* Ownership band */
.owner { padding-block: clamp(40px, 6vw, 64px); background: var(--ink); color: var(--white); }
.owner .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.owner-logo { padding: 14px 20px; border-radius: var(--radius); background: var(--white); }
.owner-logo img { height: 84px; width: auto; }
h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.owner p { max-width: 58ch; margin-top: 10px; color: #c9d4e6; }

/* Details */
.details { padding-block: clamp(56px, 8vw, 96px); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1.05rem; font-weight: 700; }
h3::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--green); }
.card dt { font-weight: 600; }
.card dd { color: var(--muted); }
.card dd + dt, .card div + div { margin-top: 12px; }
.card dd a { color: var(--blue); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .9rem; font-weight: 500; }

/* Contact band */
.contact { padding-bottom: clamp(56px, 8vw, 96px); }
.contact-box {
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
  padding: clamp(32px, 5vw, 56px); border-radius: 24px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: var(--white);
}
.contact-box p { margin-top: 10px; color: #f2f6fc; }

/* Footer */
footer { padding-block: 36px; border-top: 1px solid var(--line); background: var(--bg); font-size: .9rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { height: 44px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* 404 */
.notfound { padding-block: clamp(72px, 14vw, 160px); text-align: center; background: var(--bg); }
.notfound h1 { max-width: none; margin-inline: auto; font-size: clamp(2rem, 5vw, 3rem); }
.notfound .lead { margin-inline: auto; }
.notfound .hero-actions { justify-content: center; }

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .owner .wrap { grid-template-columns: 1fr; justify-items: start; gap: 22px; }
}
@media (max-width: 560px) {
  .brand img { height: 42px; }
  .brand-name { font-size: .95rem; }
  .brand-sub { font-size: .78rem; }
  .site-header .btn { min-height: 44px; padding: 10px 16px; font-size: .9rem; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
@media (forced-colors: active) {
  .btn { border-color: ButtonText; }
  .pill::before, h3::before { background: CanvasText; }
}
@media print {
  .site-header, .skip, .hero-actions, .btn { display: none; }
  .hero, .owner, .contact-box, footer { background: none; color: #000; }
  .owner p, .contact-box p, .lead { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
