:root {
  --brand: #2b5694;
  --brand-600: #234a82;
  --brand-700: #1c3d6c;
  --brand-50: #eef3fa;
  --brand-100: #dde8f5;
  --accent: #2fae8f;
  --accent-600: #25917678;
  --ink: #1a2433;
  --body: #44515f;
  --muted: #6b7787;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-deep: #16243a;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 56, .06), 0 1px 3px rgba(16, 32, 56, .08);
  --shadow-md: 0 8px 24px rgba(16, 32, 56, .10);
  --shadow-lg: 0 20px 48px rgba(16, 32, 56, .16);
  --maxw: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces", "Georgia", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; font-weight: 600; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 48px 0; }
.center { text-align: center; }
.eyebrow-label { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--brand); margin-bottom: .8rem; font-family: var(--font); }
.lead { font-size: 1.18rem; color: var(--body); max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Skip link */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: 10px 16px; z-index: 2000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-family: var(--font); font-size: 1rem; padding: 13px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: all .18s ease; text-decoration: none; line-height: 1; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-700); color: #fff; box-shadow: var(--shadow-md); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #25927a; color: #fff; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand-100); }
.btn--ghost:hover { background: var(--brand-50); color: var(--brand-700); }
.btn--white { background: #fff; color: var(--brand); }
.btn--white:hover { background: var(--brand-50); color: var(--brand-700); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }

/* Icons */
.icon { display: inline-block; width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }

/* Top bar (eyebrow) */
.topbar { background: var(--bg-deep); color: #cdd8e8; font-size: .9rem; }
.topbar a { color: #eaf1fb; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 0; flex-wrap: wrap; }
.topbar__info { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar__item .icon { width: 16px; height: 16px; color: var(--accent); }
.open-now { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.open-now__dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa6b6; box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.open-now--open .open-now__dot { background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.22); }
.open-now--closed .open-now__dot { background: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,.22); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.brand__name { display: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link { color: var(--ink); font-weight: 600; font-size: .98rem; padding: 9px 13px; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.nav__link:hover, .nav__link[aria-current="page"] { background: var(--brand-50); color: var(--brand-700); text-decoration: none; }
.nav__item { position: relative; }
.nav__item--has-menu > .nav__link { display: inline-flex; align-items: center; gap: 5px; }
.nav__caret { width: 14px; height: 14px; transition: transform .2s; }
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease; list-style: none; margin: 0; }
.nav__item--has-menu:hover .dropdown, .nav__item--has-menu:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__item--has-menu:hover .nav__caret, .nav__item--has-menu:focus-within .nav__caret { transform: rotate(180deg); }
.dropdown a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .94rem; text-decoration: none; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--brand-50); color: var(--brand-700); }
.header__cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header__cta .btn { padding: 10px 18px; font-size: .95rem; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 9px; width: 46px; height: 44px; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.mobile-nav { display: none; }

@media (max-width: 980px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav { display: block; position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw); background: #fff; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .25s ease; z-index: 1500; overflow-y: auto; padding: 24px; }
  .mobile-nav.open { transform: translateX(0); }
  .mobile-nav__backdrop { position: fixed; inset: 0; background: rgba(16,24,40,.5); opacity: 0; visibility: hidden; transition: opacity .25s; z-index: 1400; }
  .mobile-nav__backdrop.open { opacity: 1; visibility: visible; }
  .mobile-nav a { display: block; padding: 12px 10px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); text-decoration: none; }
  .mobile-nav__sub a { padding-left: 24px; font-weight: 500; font-size: .95rem; color: var(--body); }
  .mobile-nav__cta { margin-top: 18px; display: grid; gap: 10px; }
  .mobile-nav__cta .btn { width: 100%; justify-content: center; }
  .mobile-nav__close { float: right; background: none; border: none; cursor: pointer; color: var(--ink); }
}

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, var(--brand-50), #fff); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 80px 0; }
.hero__content h1 { margin-bottom: .35em; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--brand-100); color: var(--brand-700); font-weight: 600; font-size: .9rem; padding: 7px 15px; border-radius: 999px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.hero__badge .icon { width: 16px; height: 16px; color: var(--accent); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 5/4; }
.hero__card { position: absolute; bottom: -22px; left: -22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px 20px; display: flex; align-items: center; gap: 14px; max-width: 260px; }
.hero__card .icon { width: 38px; height: 38px; color: var(--accent); flex-shrink: 0; }
.hero__card strong { display: block; color: var(--ink); font-size: 1rem; }
.hero__card span { font-size: .86rem; color: var(--muted); }
@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 52px 0; }
  .hero__media { order: -1; }
  .hero__card { left: 16px; bottom: -18px; }
}

/* Trust bar */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust__inner { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; padding: 22px 0; }
.trust__item { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; font-size: .96rem; }
.trust__item .icon { color: var(--accent); width: 20px; height: 20px; }

/* Page hero (interior) */
.page-hero { background: linear-gradient(180deg, var(--brand-50), #fff); padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--brand); }
.breadcrumb span { color: var(--muted); }
.page-hero h1 { margin-bottom: .2em; }
.page-hero p { max-width: 62ch; margin-bottom: 0; font-size: 1.12rem; }

/* Cards / grid */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--brand-50); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card__icon .icon { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4em; font-size: 1.2rem; }
.card p { color: var(--body); font-size: .98rem; margin-bottom: 1em; }
.card__link { margin-top: auto; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.card__link .icon { width: 16px; height: 16px; transition: transform .15s; }
.card:hover .card__link .icon { transform: translateX(3px); }

/* Feature row */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature--rev .feature__media { order: 2; }
.feature__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 880px) { .feature { grid-template-columns: 1fr; gap: 32px; } .feature--rev .feature__media { order: -1; } }

/* Service detail layout */
.detail { display: grid; grid-template-columns: 1.6fr .9fr; gap: 48px; align-items: start; }
.detail__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; margin-bottom: 24px; }
.detail__body h2 { margin-top: 1.2em; }
.detail__body h2:first-child { margin-top: 0; }
@media (max-width: 880px) { .detail { grid-template-columns: 1fr; gap: 32px; } .detail__aside { order: -1; } }

.aside-card { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--radius-lg); padding: 26px; position: sticky; top: 100px; }
.aside-card h3 { font-size: 1.15rem; }
.aside-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.aside-card__contact { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--brand-100); font-size: .95rem; }
.aside-card__contact div { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.aside-card__contact .icon { color: var(--brand); width: 18px; height: 18px; flex-shrink: 0; }

/* Info list (checks) */
.checklist { list-style: none; padding: 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.checklist .icon { color: var(--accent); flex-shrink: 0; margin-top: 3px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand), var(--brand-700)); color: #fff; border-radius: var(--radius-lg); padding: 52px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 56ch; margin: 0 auto 26px; }
.cta-band__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) { .cta-band { padding: 36px 24px; } }

/* Long-Term Care highlight band (home) */
.ltc-highlight { display: grid; grid-template-columns: 0.85fr 1fr; gap: 0; background: linear-gradient(120deg, var(--brand), var(--brand-700)); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); align-items: stretch; }
.ltc-highlight__media { position: relative; min-height: 340px; }
.ltc-highlight__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ltc-highlight__content { padding: 48px 52px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.ltc-highlight__content h2 { color: #fff; margin-bottom: .5em; }
.ltc-highlight__content p { color: rgba(255,255,255,.88); margin-bottom: 26px; }
.eyebrow-label--light { color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow-label--light .icon { width: 18px; height: 18px; }
@media (max-width: 880px) { .ltc-highlight { grid-template-columns: 1fr; } .ltc-highlight__media { min-height: 240px; } .ltc-highlight__content { padding: 36px 28px; } }

/* Page hero with background image (LTC page) */
.page-hero--media { position: relative; background: var(--brand-700); border-bottom: 0; }
.page-hero--media::before { content: ""; position: absolute; inset: 0; background-image: var(--page-hero-img); background-size: cover; background-position: center; opacity: .22; }
.page-hero--media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(28,61,108,.92), rgba(43,86,148,.82)); }
.page-hero--media .container { position: relative; z-index: 1; }
.page-hero--media h1, .page-hero--media p { color: #fff; }
.page-hero--media .breadcrumb, .page-hero--media .breadcrumb a { color: rgba(255,255,255,.85); }
.page-hero--media .breadcrumb a:hover { color: #fff; }

/* Reviews */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; }
.review__stars { color: #f5a623; display: flex; gap: 2px; margin-bottom: 14px; }
.review__stars .icon { fill: #f5a623; stroke: #f5a623; width: 18px; height: 18px; }
.review blockquote { margin: 0 0 16px; font-size: 1rem; color: var(--body); }
.review__author { font-weight: 700; color: var(--ink); margin-top: auto; }

/* Portal feature list */
.portal-feat { display: flex; gap: 16px; align-items: flex-start; }
.portal-feat .card__icon { flex-shrink: 0; margin-bottom: 0; }
.portal-feat h3 { font-size: 1.1rem; margin-bottom: .2em; }
.portal-feat p { margin-bottom: 0; font-size: .96rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.info-card h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.info-card h3 .icon { color: var(--brand); }
.info-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.info-row .icon { color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.info-row strong { color: var(--ink); display: block; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table .is-today td { color: var(--brand-700); }
.hours-table .closed { color: var(--muted); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Footer */
.footer { background: var(--bg-deep); color: #aab6c8; padding: 56px 0 28px; }
.footer a { color: #cdd8e8; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { height: 36px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer__brand p { font-size: .95rem; color: #97a4b8; max-width: 32ch; }
.footer__social { display: flex; gap: 10px; margin-bottom: 20px; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; color: #cdd8e8; }
.footer__social a:hover { background: var(--brand); color: #fff; }
.footer h4 { color: #fff; font-family: var(--font); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; font-size: .95rem; }
.footer__contact div { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .95rem; }
.footer__contact .icon { color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.footer__divider { border: none; border-top: 1px dotted #44546b; margin: 36px 0 20px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: #8593a8; }
@media (max-width: 880px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* Misc */
.prose h2 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.notice { background: var(--brand-50); border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0; padding: 16px 20px; font-size: .96rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
