/* VNS Caregivers — site styles
   Palette comes from the original site: the soft blue-to-sage header,
   mint/teal accents, charcoal contact band and deep red highlights. */

:root {
  --sky: #b0bfcc;
  --sage: #b4ccbf;
  --sky-50: #eef3f7;
  --sage-50: #eef5f1;
  --mint: #06eba7;
  --aqua: #0aeedd;
  --teal: #0c7c74;        /* deep teal for buttons/links (readable on white) */
  --teal-dark: #08574f;
  --teal-ink: #064a43;    /* teal text on the sky/sage hero gradient (5.4:1+) */
  --slate: #2f3b3e;       /* body text on the hero gradient */
  --ink: #252525;
  --ink-soft: #4a4f55;
  --charcoal: #2a2a2a;
  --charcoal-2: #333;
  --rose: #a82e2e;
  --leaf: #81c94c;
  --cream: #fbfaf7;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(20, 50, 60, .35);
  --shadow-sm: 0 6px 18px -8px rgba(20, 50, 60, .25);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--mint), var(--aqua)); }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 44rem; }
.center .lead { margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 10px 16px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px;
  font: inherit; font-weight: 800; font-size: 1.05rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -10px rgba(12, 124, 116, .8); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline { background: #fff; color: var(--teal-dark); border-color: rgba(12, 124, 116, .25); }
.btn-outline:hover { border-color: var(--teal); }
.btn-mint { background: var(--mint); color: #08332e; }
.btn-mint:hover { background: var(--aqua); }
.btn-lg { font-size: 1.15rem; padding: 1em 1.8em; }

/* ---------- Top bar + header ---------- */
.topbar {
  background: var(--charcoal);
  color: #e9eef0;
  font-size: .95rem;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: var(--mint); font-weight: 800; text-decoration: none; }
.topbar .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); margin-right: 8px; box-shadow: 0 0 0 0 rgba(6, 235, 167, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(6,235,167,.6);} 70% { box-shadow: 0 0 0 10px rgba(6,235,167,0);} 100% { box-shadow: 0 0 0 0 rgba(6,235,167,0);} }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.site-header > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 68px; width: auto; }

/* Main navigation + mega menus (desktop) */
.nav { display: flex; align-items: center; gap: 10px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-weight: 700; font-size: 1.02rem; color: var(--charcoal);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  background: none; border: 0; padding: .6em .85em; border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--sage-50); color: var(--teal-dark); }
.nav-link[aria-current="page"] { color: var(--teal-dark); box-shadow: inset 0 -3px 0 var(--mint); border-radius: 999px 999px 6px 6px; }
.nav-link:focus-visible, .mega a:focus-visible, .menu-btn:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 2px; }
.chev { width: 16px; height: 16px; transition: transform .25s ease; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-call { padding: .65em 1.15em; color: #fff; }
.nav-call:hover { background: var(--teal-dark); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 30px 50px -30px rgba(20, 50, 60, .45);
  animation: megaIn .22s ease;
}
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mega-inner {
  width: min(var(--max), 100% - 32px); margin-inline: auto;
  display: grid; grid-template-columns: 290px 1fr 1fr 250px; gap: 0 36px;
  padding: 0 0 4px;
}
.mega-intro {
  position: relative; padding: 32px 30px 34px 0;
}
.mega-intro::before { /* tinted panel that bleeds to the left edge, like a sidebar */
  content: ""; position: absolute; inset: 0 0 0 -100vw; z-index: -1;
  background: linear-gradient(160deg, var(--sky-50), var(--sage-50));
}
.mega-intro { z-index: 0; }
.mega-intro .eyebrow { margin-bottom: .6rem; }
.mega-title { font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; font-weight: 600; line-height: 1.2; color: var(--charcoal); margin: 0 0 .5em; }
.mega-intro p:not(.mega-title) { color: var(--ink-soft); font-size: 1rem; margin-bottom: 1.2em; }
.mega-intro .btn { font-size: 1rem; padding: .7em 1.2em; }
.mega-col { padding: 30px 0 30px; }
.mega-head {
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 10px; padding-bottom: 10px; border-bottom: 2px solid var(--sage-50);
}
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-col a {
  display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; margin-inline: -12px;
  border-radius: 14px; text-decoration: none; color: var(--ink-soft); font-size: .95rem; line-height: 1.35;
  transition: background .18s;
}
.mega-col a:hover { background: var(--sage-50); }
.mega-col a svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--teal); }
.mega-col a b { display: block; color: var(--charcoal); font-size: 1.04rem; margin-bottom: 2px; }
.mega-col a:hover b { color: var(--teal-dark); }
.mega-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 800; color: var(--teal); text-decoration: none; font-size: .98rem; }
.mega-all svg { width: 16px; height: 16px; }
.mega-feature {
  align-self: center; margin: 26px 0; border-radius: 18px; overflow: hidden; text-decoration: none;
  background: var(--charcoal); color: #dfe7e9; box-shadow: var(--shadow-sm); transition: transform .2s;
}
.mega-feature:hover { transform: translateY(-3px); }
.mega-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mega-feature span { display: block; padding: 14px 16px 16px; font-size: .95rem; line-height: 1.35; }
.mega-feature b { display: block; color: var(--mint); font-size: 1.05rem; margin-bottom: 3px; }


.menu-btn {
  display: none; background: var(--sage-50); border: 0; border-radius: 14px;
  padding: 10px 14px; font: inherit; font-weight: 800; color: var(--charcoal); cursor: pointer;
  align-items: center; gap: 8px;
}
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 1240px) {
  .mega-inner { grid-template-columns: 260px 1fr 1fr; }
  .mega-feature { display: none; }
}

/* Phones & tablets: one drawer, each menu opens like an accordion */
@media (max-width: 1100px) {
  .brand img { height: 50px; }
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 10px;
    background: #fff; padding: 10px 16px 20px; box-shadow: var(--shadow);
    max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; font-size: 1.2rem; padding: .8em 1em; border-radius: 14px; }
  .nav-link[aria-current="page"] { box-shadow: inset 4px 0 0 var(--mint); border-radius: 14px; }
  .mega { position: static; box-shadow: none; border: 0; animation: none; background: transparent; }
  .mega-inner { width: auto; display: block; padding: 0 0 8px 12px; }
  .mega-intro { padding: 0 0 6px; }
  .mega-intro::before, .mega-intro .eyebrow, .mega-title, .mega-intro p:not(.mega-title), .mega-feature { display: none; }
  .mega-intro .btn { width: 100%; justify-content: center; margin: 4px 0; }
  .mega-col { padding: 12px 0 0; }
  .mega-col a { margin-inline: 0; }
  .nav-call { justify-content: center; font-size: 1.15rem; padding: 1em; }
}
@media (max-width: 420px) { .brand img { height: 40px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--sky) 0%, #b2c6c6 45%, var(--sage) 100%);
  padding: clamp(48px, 7vw, 96px) 0 clamp(90px, 10vw, 140px);
}
.hero .blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; pointer-events: none; }
.hero .blob.b1 { width: 520px; height: 520px; right: -140px; top: -160px; background: radial-gradient(circle at 30% 30%, #fff, rgba(255,255,255,0) 70%); }
.hero .blob.b2 { width: 380px; height: 380px; left: -120px; bottom: -120px; background: radial-gradient(circle at 50% 50%, rgba(6,235,167,.45), rgba(6,235,167,0) 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { color: #1f2a2c; }
.hero h1 em { font-style: italic; color: var(--teal-dark); }
.hero .lead { color: var(--slate); font-size: 1.25rem; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--teal-ink); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-weight: 700; color: var(--slate); }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 22px; height: 22px; color: var(--teal); }

.hero-art { position: relative; }
.hero-photo {
  position: relative; border-radius: 240px 240px var(--radius) var(--radius);
  overflow: hidden; box-shadow: var(--shadow); border: 8px solid rgba(255,255,255,.75);
  aspect-ratio: 4 / 4.4;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.float-card {
  position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-weight: 800; line-height: 1.2;
  animation: bob 6s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 600; color: var(--ink-soft); font-size: .85rem; }
.float-card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 26px; height: 26px; }
.float-card.f1 { left: -28px; bottom: 56px; }
.float-card.f1 .ic { background: #e6fbf4; color: var(--teal); }
.float-card.f2 { right: -18px; top: 46px; animation-delay: -3s; }
.float-card.f2 .ic { background: #fbeaea; color: var(--rose); }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin: 10px auto 0; }
  .float-card.f1 { left: -6px; }
  .float-card.f2 { right: -6px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--sky), var(--sage));
  padding: clamp(48px, 6vw, 80px) 0 clamp(80px, 9vw, 120px);
}
.page-hero .lead { color: var(--slate); }
.page-hero h1 { margin-bottom: .3em; }
.crumbs { font-weight: 700; font-size: .95rem; margin-bottom: 12px; color: var(--slate); }
.crumbs a { color: var(--teal-ink); text-decoration: none; }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 8vw, 104px) 0; }
.bg-white { background: #fff; }
.bg-sage { background: var(--sage-50); }
.bg-sky { background: var(--sky-50); }
.section-head { margin-bottom: 44px; }

/* The VNS Edge */
.edge {
  margin-top: -70px; position: relative; z-index: 2; padding: 0;
}
.edge-card {
  background: #fff; border-radius: 28px; box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 44px);
  display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center;
}
.edge-card h2 { font-size: 2rem; margin: 0 0 .25em; }
.edge-card h2 span { color: var(--rose); }
.edge-card p { margin: 0; color: var(--ink-soft); }
.edge-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.edge-list li {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px;
  background: var(--sage-50); font-weight: 700; line-height: 1.25;
}
.edge-list svg { width: 30px; height: 30px; flex: none; color: var(--teal); }
@media (max-width: 860px) { .edge-card { grid-template-columns: 1fr; } }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none; color: inherit;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { position: relative; }
.card-icon {
  position: absolute; left: 20px; top: -30px; width: 60px; height: 60px; border-radius: 18px;
  background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); color: var(--teal);
}
.card-icon svg { width: 32px; height: 32px; }
.card-body { padding: 40px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .35em; }
.card-body p { color: var(--ink-soft); font-size: 1.02rem; flex: 1; }
.more { font-weight: 800; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; }
.more svg { width: 18px; height: 18px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

/* Split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.photo-stack { position: relative; padding: 0 30px 40px 0; }
.photo-stack .main { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-stack .small {
  position: absolute; right: 0; bottom: 0; width: 46%; border-radius: 18px; border: 6px solid #fff; box-shadow: var(--shadow);
  aspect-ratio: 4/3; object-fit: cover;
}
.photo-stack .deco { position: absolute; left: -22px; top: -22px; width: 120px; height: 120px; z-index: -1; color: var(--sage); }
.quote {
  border-left: 5px solid var(--mint); background: var(--sage-50); border-radius: 0 18px 18px 0;
  padding: 18px 22px; font-family: "Fraunces", Georgia, serif; font-size: 1.25rem; font-style: italic; color: #24413e; margin: 22px 0;
}
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 38px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.checks.two { grid-template-columns: 1fr 1fr; gap: 10px 26px; }
@media (max-width: 640px) { .checks.two { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; position: relative; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border-radius: var(--radius); padding: 34px 28px 28px; box-shadow: var(--shadow-sm); position: relative; }
.step .num {
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--mint), var(--aqua)); color: #08332e;
  font-family: "Fraunces", Georgia, serif; font-size: 1.8rem; font-weight: 700;
}
.step p { color: var(--ink-soft); margin: 0; }

/* Towns */
.towns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 960px; margin: 0 auto; }
.towns span {
  display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px;
  padding: 8px 16px 8px 12px; font-weight: 700; box-shadow: var(--shadow-sm); font-size: 1.02rem;
}
.towns svg { width: 18px; height: 18px; color: var(--rose); }

/* Call band */
.callband {
  position: relative; overflow: hidden; background: var(--charcoal); color: #e8eef0;
  padding: clamp(64px, 8vw, 100px) 0;
}
.callband::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 85% 20%, rgba(10, 238, 221, .16), transparent 70%),
              radial-gradient(500px 300px at 10% 100%, rgba(6, 235, 167, .12), transparent 70%);
}
.callband .wrap { position: relative; }
.callband h2 { color: var(--mint); }
.callband .lead { color: #c9d3d6; }
.callband-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .callband-grid { grid-template-columns: 1fr; } }
.bigphone {
  display: inline-flex; align-items: center; gap: 16px; text-decoration: none; color: #fff;
  font-family: "Fraunces", Georgia, serif; font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 700; margin: 10px 0 18px;
}
.bigphone .ring { width: 72px; height: 72px; border-radius: 50%; background: var(--mint); color: #08332e; display: grid; place-items: center; flex: none; animation: pulse 2.2s infinite; }
.bigphone .ring svg { width: 34px; height: 34px; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 16px 18px; }
.info-list svg { width: 28px; height: 28px; color: var(--mint); flex: none; margin-top: 2px; }
.info-list b { display: block; color: #fff; }
.info-list a { color: var(--mint); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm); padding: 0 24px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 800; font-size: 1.15rem; color: var(--charcoal);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: var(--sage-50); color: var(--teal);
  display: grid; place-items: center; font-size: 1.4rem; line-height: 1; transition: transform .2s;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 20px; color: var(--ink-soft); }

/* Service detail blocks */
.svc { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: center; padding: 56px 0; border-bottom: 1px solid rgba(0,0,0,.07); scroll-margin-top: 110px; }
.svc:last-child { border-bottom: 0; }
.svc:nth-child(even) > :first-child { order: 2; }
.svc img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.svc .tag { display: inline-flex; align-items: center; gap: 10px; color: var(--teal); font-weight: 800; }
.svc .tag svg { width: 34px; height: 34px; padding: 6px; border-radius: 12px; background: var(--sage-50); }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } .svc:nth-child(even) > :first-child { order: 0; } }
.note { background: #fff7e8; border: 1px solid #f1dfb8; border-radius: 14px; padding: 12px 16px; font-size: 1rem; }

/* Value tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } }
.tile { background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.tile .ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 16px; background: var(--sage-50); color: var(--teal); }
.tile .ic svg { width: 30px; height: 30px; }
.tile p { color: var(--ink-soft); margin: 0; }

/* Link lists */
.linkgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 700px) { .linkgrid { grid-template-columns: 1fr; } }
.linkgrid a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff;
  border-radius: 16px; padding: 16px 20px; text-decoration: none; color: var(--charcoal); font-weight: 700;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.linkgrid a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.linkgrid svg { width: 20px; height: 20px; color: var(--teal); flex: none; }

.map { border: 0; width: 100%; height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); background: linear-gradient(135deg, var(--sky-50), var(--sage-50)) url("/img/map-pin.svg") center / 90px no-repeat; }
.maplink { margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: #1f2224; color: #b9c2c5; padding: 64px 0 28px; font-size: 1rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: "Nunito", sans-serif; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #d6dee0; text-decoration: none; }
.site-footer a:hover { color: var(--mint); }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand small { color: #9fb0b3; display: block; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .92rem; color: #8e9a9d; }

/* Mobile sticky call button */
.callfab {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  justify-content: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
}
@media (max-width: 700px) { .callfab { display: inline-flex; } body { padding-bottom: 84px; } .menu-open .callfab { display: none; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) { .tile { grid-column: auto !important; } }
.tile .more { margin: 0; }
.checks li > span { display: block; }

/* Footer logo sits on a white card so it reads on the dark footer */
.foot-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 14px; margin-bottom: 16px; }
.foot-logo img { height: 50px; width: auto; }

[id] { scroll-margin-top: 120px; }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 3px; }

/* Caregiver Portal: jump links under the page title */
.portal-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.portal-jump a { background: rgba(255, 255, 255, .85); color: var(--teal-ink); font-weight: 800; text-decoration: none; padding: .5em 1em; border-radius: 999px; box-shadow: var(--shadow-sm); }
.portal-jump a:hover { background: #fff; }

/* Staff ePortal sign-in */
.signin { max-width: 480px; margin: 0 auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 28px; display: grid; gap: 12px; }
.signin h2 { font-size: 1.8rem; margin: 0; }
.signin label { font-weight: 800; }
.signin input[type="password"] { font: inherit; font-size: 1.15rem; padding: .75em 1em; border: 2px solid var(--sage); border-radius: var(--radius-sm, 14px); }
.signin input[type="password"]:focus { outline: 3px solid var(--teal-dark); outline-offset: 2px; border-color: var(--teal); }
.signin .btn { justify-content: center; margin-top: 6px; }
.signin-help { color: var(--ink-soft); font-size: 1rem; margin: 4px 0 0; }
.signin-msg { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fbeaea; color: var(--rose); font-weight: 700; }
.signin-msg.ok { background: var(--sage-50); color: var(--teal-dark); }

/* ---------- Forms (contact + job application) ---------- */
.vform { max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; }
.vform-wide { max-width: 960px; }
.vform label { display: grid; gap: 6px; font-weight: 800; color: var(--charcoal); }
.vform input:not([type="checkbox"]):not([type="radio"]), .vform select, .vform textarea {
  font: inherit; font-weight: 400; font-size: 1.05rem; color: var(--ink); background: #fff;
  padding: .7em .9em; border: 2px solid #c9d6d0; border-radius: 12px; width: 100%; min-width: 0;
}
.vform textarea { resize: vertical; }
.vform input:focus, .vform select:focus, .vform textarea:focus { outline: 3px solid var(--teal-dark); outline-offset: 1px; border-color: var(--teal); }
.vform .row2, .vform .row3 { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vform .row3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .vform .row2, .vform .row3 { grid-template-columns: 1fr; } }
.vform fieldset { border: 0; border-top: 2px solid var(--sage-50); margin: 0; padding: 18px 0 0; display: grid; gap: 16px; min-width: 0; }
.vform legend { font-family: "Fraunces", Georgia, serif; font-size: 1.45rem; font-weight: 600; color: var(--charcoal); padding: 0 0 4px; }
.vform .choice { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.vform .choice-label { flex-basis: 100%; font-weight: 800; color: var(--charcoal); }
.vform label.inline { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.vform input[type="checkbox"], .vform input[type="radio"] { width: 22px; height: 22px; accent-color: var(--teal); margin: 0; }
.vform .qgrid { display: grid; gap: 16px 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .vform .qgrid { grid-template-columns: 1fr; } }
.vform .hint { margin: 0; color: var(--ink-soft); }
.vform .job { background: var(--sage-50); border-radius: 16px; padding: 16px; display: grid; gap: 14px; }
.vform .job-title { margin: 0; font-weight: 800; color: var(--teal-dark); }
.vform .rate-grid { display: grid; gap: 12px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vform .rate-grid label { grid-template-columns: 1fr 84px; align-items: center; font-weight: 600; }
@media (max-width: 700px) { .vform .rate-grid { grid-template-columns: 1fr; } }
.avail-wrap { overflow-x: auto; }
.avail { border-collapse: collapse; width: 100%; min-width: 460px; }
.avail th, .avail td { padding: 8px; text-align: center; border-bottom: 1px solid var(--sage-50); }
.avail th[scope="row"] { text-align: left; }
.avail thead th { font-size: .9rem; color: var(--ink-soft); }
.agree-list { margin: 0; padding-left: 1.2em; color: var(--ink-soft); display: grid; gap: 6px; }
.vform .agree { font-weight: 800; }
.vform .btn { justify-self: start; }
.form-note { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.form-note-top { background: #fff7e8; border: 1px solid #f1dfb8; border-radius: 12px; padding: 10px 14px; color: var(--ink); }
.form-msg { margin: 0; padding: 12px 16px; border-radius: 12px; background: #fbeaea; color: var(--rose); font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Long-form text pages (Privacy Policy) */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose .updated { color: var(--ink-soft); font-weight: 700; }
.prose .checks { margin-bottom: 1em; }
