/* 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;
  --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, .92);
  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: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--charcoal); }
.brand svg { width: 52px; height: 52px; flex: none; }
.brand b { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.45rem; line-height: 1; font-weight: 700; }
.brand small { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; white-space: nowrap; color: var(--charcoal); font-weight: 700; font-size: 1.02rem;
  padding: .55em .85em; border-radius: 999px; transition: background .2s;
}
.nav a:hover { background: var(--sage-50); }
.nav a[aria-current="page"] { background: var(--sage-50); color: var(--teal-dark); }
.nav .btn { margin-left: 8px; padding: .65em 1.15em; }
.nav .btn-primary { color: #fff; }
.nav .btn-primary:hover { background: var(--teal-dark); }

.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: 1100px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 12px 16px 20px; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1.2rem; padding: .8em 1em; }
  .nav .btn { margin: 8px 0 0; }
  .brand small { display: none; }
}

/* ---------- 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: #2f3b3e; font-size: 1.25rem; }
.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: #2b3a3c; }
.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: #2f3b3e; }
.page-hero h1 { margin-bottom: .3em; }
.crumbs { font-weight: 700; font-size: .95rem; margin-bottom: 12px; color: #2f3b3e; }
.crumbs a { color: var(--teal-dark); 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; } }

/* ---------- 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; }

/* Official VNS logo (from the company's letterhead) */
.brand img { height: 68px; width: auto; }
.site-header .wrap { padding: 10px 0; }
.foot-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 14px; margin-bottom: 16px; }
.foot-logo img { height: 50px; width: auto; }
@media (max-width: 1100px) { .brand img { height: 50px; } }
@media (max-width: 420px) { .brand img { height: 40px; } }
