/* Reliable Home Care & Medical Equipment — site styles
   Palette pulled from the printed brochure + business card */
:root {
  --navy: #1f2a5e;
  --navy-deep: #18214b;
  --blue: #2f3f8f;
  --green: #4e8a34;
  --green-dark: #3d6e28;
  --green-light: #8cc63f;
  --ink: #1d2433;
  --muted: #55607a;
  --line: #dfe4ee;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --bg-green: #f2f7ee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(24, 33, 75, 0.10);
  --max: 1160px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --font-serif: "Lora", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.serif { font-family: var(--font-serif); font-style: italic; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: .85em 1.5em; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { border-color: #fff; color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.topbar { background: var(--navy); color: #dfe5ff; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar span + span::before { content: "•"; margin: 0 .6em; color: var(--green-light); }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand img { height: 66px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--navy);
  text-decoration: none; padding: .5em .8em; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-green); color: var(--green-dark); }
.nav .btn { margin-left: 8px; padding: .65em 1.2em; }
.nav .btn:hover { background: var(--green-dark); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.menu-toggle svg { width: 30px; height: 30px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; background: #fff; padding: 10px 20px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: .8em .6em; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .brand img { height: 50px; }
}

/* ---------- Leaf divider (brochure motif) ---------- */
.leaf-divider { display: flex; align-items: center; justify-content: center; gap: 10px; margin: -4px 0 18px; }
.leaf-divider::before, .leaf-divider::after { content: ""; height: 1px; width: 60px; background: #b9c3d9; }
.leaf-divider svg { width: 30px; height: 14px; color: var(--green); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head p { color: var(--muted); }
.left .leaf-divider { justify-content: flex-start; }
.left .leaf-divider::before { display: none; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-green { background: var(--bg-green); }
.eyebrow { font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--green); margin-bottom: .6em; display: block; }

/* Wave like the business card: navy band with green stroke */
.wave { display: block; width: 100%; height: 70px; margin-bottom: -1px; }

/* ---------- Landing ---------- */
.landing-hero { padding: 56px 0 24px; text-align: center; }
.landing-hero .logo-lg { width: min(380px, 78vw); margin: 0 auto 10px; }
.landing-hero .tagline { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.15rem, 2.5vw, 1.5rem); color: var(--blue); margin: 0 0 6px; }
.landing-hero .sub { color: var(--muted); max-width: 640px; margin: 0 auto; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 24px 0 72px; }
.choice {
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.choice:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(24,33,75,.16); }
.choice .photo { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.choice .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.choice:hover .photo img { transform: scale(1.03); }
.choice .body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.choice h2 { font-size: 1.5rem; text-transform: none; letter-spacing: 0; margin: 0; }
.choice .serif { color: var(--blue); font-size: 1.1rem; margin: 0 0 6px; }
.choice ul { margin: 6px 0 18px; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; color: var(--muted); font-size: .95rem; }
.choice li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: middle; }
.choice .btn { align-self: flex-start; margin-top: auto; }
.choice.care { border-top: 6px solid var(--navy); }
.choice.dme { border-top: 6px solid var(--green); }
.badge {
  position: absolute; top: 16px; right: 16px; background: var(--green); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .45em .9em; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
@media (max-width: 820px) { .choices { grid-template-columns: 1fr; } }

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.trust .item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.trust .item p { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .95rem; }
@media (max-width: 720px) { .trust { grid-template-columns: 1fr 1fr; } }

/* Round icon like brochure */
.icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--navy); color: #fff;
}
.icon.green { background: var(--green); }
.icon svg { width: 30px; height: 30px; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: 0; }
.page-hero .grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; min-height: 440px; }
.page-hero .copy { padding: 64px 40px 72px 0; display: flex; flex-direction: column; justify-content: center; }
.page-hero h1 { color: #fff; }
.page-hero .serif { font-size: clamp(1.2rem, 2.2vw, 1.5rem); color: #cfe7b5; margin-bottom: 14px; }
.page-hero p.lead { color: #dfe5ff; font-size: 1.08rem; max-width: 540px; }
.page-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.page-hero .photo { position: relative; }
.page-hero .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 25%; }
.page-hero .photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(31,42,94,0) 30%);
}
.page-hero .swoosh { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; height: 60px; width: 100%; }
.page-hero.compact .grid { min-height: 0; grid-template-columns: 1fr; }
.page-hero.compact .copy { padding: 64px 0 96px; text-align: center; align-items: center; }
.page-hero.compact p.lead { margin-left: auto; margin-right: auto; }
@media (max-width: 860px) {
  .page-hero .grid { grid-template-columns: 1fr; }
  .page-hero .photo { height: 260px; order: -1; }
  .page-hero .photo::before { background: linear-gradient(0deg, var(--navy) 0%, rgba(31,42,94,0) 40%); }
  .page-hero .copy { padding: 28px 0 88px; }
}

/* ---------- Services grid ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: 0 4px 14px rgba(24,33,75,.05); display: flex; flex-direction: column; gap: 12px;
}
.card h3 { margin: 4px 0 0; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card .note { font-size: .85rem; font-style: italic; }

/* ---------- Split content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img.rounded { border-radius: 20px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.feature-list { display: grid; gap: 22px; margin-top: 10px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .icon { width: 52px; height: 52px; }
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Purpose quote block */
.purpose {
  background: #fff; border-left: 6px solid var(--green); border-radius: var(--radius);
  padding: 30px 34px; box-shadow: var(--shadow);
}
.purpose p { margin-bottom: .8em; }
.purpose p:last-child { margin: 0; }

/* ---------- Counties ---------- */
.counties { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.counties li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5em 1.1em;
  font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .95rem;
}
.counties li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: middle; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800;
}
.step p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--font-head); font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
form.panel { background: #fff; border-radius: 18px; padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } form.panel { padding: 22px; } }
label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .75em .9em; border: 1.5px solid #cbd3e3; border-radius: 10px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(78,138,52,.18); }
textarea { min-height: 110px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: 8px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.checks label { font-family: var(--font-body); font-weight: 400; color: var(--ink); font-size: .95rem; display: flex; gap: 8px; align-items: center; margin: 0; }
.checks input { width: auto; }
.privacy-note {
  display: flex; gap: 10px; background: var(--bg-green); border-radius: 10px; padding: 12px 14px; font-size: .88rem; color: #33502a; margin: 18px 0;
}
.privacy-note svg { flex: none; width: 20px; height: 20px; color: var(--green); margin-top: 2px; }
.hidden { display: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.owner-card {
  background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.owner-card .top { padding: 28px 30px 10px; }
.owner-card .name { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--navy); margin: 0; }
.owner-card .role { color: var(--green); font-style: italic; font-family: var(--font-serif); font-size: 1.1rem; margin: 0 0 12px; }
.contact-list { list-style: none; padding: 0 30px 24px; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .icon { width: 44px; height: 44px; }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--green-dark); }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; }
.owner-card .band { background: var(--navy); color: #fff; padding: 18px 30px; font-family: var(--font-serif); font-style: italic; border-top: 4px solid var(--green-light); }
.map { border: 0; width: 100%; height: 100%; min-height: 380px; border-radius: 20px; box-shadow: var(--shadow); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green); color: #fff; padding: 48px 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.8rem); text-transform: none; letter-spacing: 0; }
.cta-band p { margin: 4px 0 0; color: #eaf5e1; }
.cta-band .btn-navy:hover { background: #fff; color: var(--navy); }

/* ---------- Coming soon ---------- */
.soon-pill {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  padding: .4em 1em; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; color: #fff;
}
.soon-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .products { grid-template-columns: 1fr; } }
.ribbon { text-align: center; font-family: var(--font-head); font-weight: 800; color: var(--green-dark); letter-spacing: .06em; text-transform: uppercase; margin-top: 32px; }
.equip-strip { width: 100%; max-width: 980px; margin: 0 auto; border-radius: 20px; box-shadow: var(--shadow); }

/* ---------- Careers ---------- */
.apply-box {
  background: var(--navy); color: #fff; border-radius: 22px; padding: 44px; text-align: center; position: relative; overflow: hidden;
}
.apply-box h2 { color: #fff; }
.apply-box p { color: #dfe5ff; max-width: 560px; margin-left: auto; margin-right: auto; }
.apply-box .btn { font-size: 1.05rem; padding: 1em 2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c9d1ee; padding: 0 0 24px; font-size: .95rem; }
.site-footer .wave-top { display: block; width: 100%; height: 50px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding: 40px 20px 30px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer img.flogo { width: 230px; margin-bottom: 12px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--green-light); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .serif { color: #cfe7b5; font-size: 1.1rem; }
.fb-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; background: rgba(255,255,255,.08); padding: .55em 1em; border-radius: 999px; font-weight: 600; }
.fb-link svg { width: 18px; height: 18px; }
.legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: #9aa5cc; }

/* ---------- Thank you / 404 ---------- */
.center-page { min-height: 55vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.center-page .icon { margin: 0 auto 18px; width: 80px; height: 80px; }
.center-page .icon svg { width: 38px; height: 38px; }

/* Mobile call bar */
.call-fab {
  display: none; position: fixed; bottom: 16px; right: 16px; z-index: 60; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
@media (max-width: 700px) { .call-fab { display: inline-flex; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* Let hero photos bleed to the right edge of the screen on desktop */
@media (min-width: 861px) {
  .page-hero .photo { margin-right: calc(-1 * (max(0px, (100vw - var(--max)) / 2) + 20px)); }
}
