/* Evening Grace Senior Care Homes — site styles */
:root {
  --navy: #1f3a5f;
  --navy-dark: #152a46;
  --amber: #d98c2b;
  --amber-dark: #b8721c;
  --cream: #faf7f2;
  --sand: #f1ebe1;
  --ink: #2b2b2b;
  --muted: #5f6672;
  --line: #e3dccf;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(31, 58, 95, 0.08);
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600;
  text-decoration: none; background: var(--amber); color: #fff; border: 2px solid var(--amber);
  transition: background .2s, border-color .2s;
}
.btn:hover { background: var(--amber-dark); border-color: var(--amber-dark); }
.btn.outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.outline:hover { background: var(--navy); color: #fff; }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.light:hover { background: var(--sand); border-color: var(--sand); }

/* Top bar */
.topbar { background: var(--navy-dark); color: #dfe6f0; font-size: .92rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }

/* Header / nav */
header.site { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 16px; }
.logo img { height: 64px; width: auto; }
.nav-toggle { display: none; }
.nav-label { display: none; cursor: pointer; padding: 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); font-weight: 600; }
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
nav.main a { display: block; padding: 10px 12px; text-decoration: none; color: var(--navy); font-weight: 600; border-radius: 8px; }
nav.main a:hover, nav.main a[aria-current="page"] { background: var(--sand); }
nav.main a.cta { background: var(--amber); color: #fff; }
nav.main a.cta:hover { background: var(--amber-dark); }

@media (max-width: 1180px) and (min-width: 901px) {
  nav.main a.cta { display: none; }
  nav.main a { padding: 10px 9px; font-size: .95rem; }
}
@media (max-width: 900px) {
  .nav-label { display: inline-block; }
  nav.main { display: none; width: 100%; }
  header.site .wrap { flex-wrap: wrap; }
  .nav-toggle:checked ~ nav.main { display: block; }
  nav.main ul { flex-direction: column; padding-bottom: 12px; }
  nav.main a { padding: 12px 10px; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy-dark); overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero .wrap { position: relative; padding: 90px 20px; max-width: 820px; }
.hero h1 { color: #fff; font-size: 2.8rem; margin-bottom: .4em; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero p { font-size: 1.2rem; max-width: 620px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 600px) { .hero .wrap { padding: 56px 20px; } .hero h1 { font-size: 2.1rem; } }

/* Page banner (inner pages) */
.banner { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.banner .wrap { position: relative; padding: 56px 20px; }
.banner h1 { color: #fff; margin: 0; }
.banner p { margin: .4em 0 0; opacity: .95; max-width: 640px; }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--sand); }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card .body { padding: 20px 22px 24px; flex: 1; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: .6em; }
.card .more { font-weight: 600; text-decoration: none; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .95rem; }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { padding-left: 28px; position: relative; margin-bottom: .5em; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--amber); font-weight: 700; }

blockquote.quote { background: #fff; border-left: 4px solid var(--amber); border-radius: var(--radius); box-shadow: var(--shadow); margin: 0; padding: 22px 24px; }
blockquote.quote p { font-style: italic; margin-bottom: .6em; }
blockquote.quote cite { font-style: normal; font-weight: 600; color: var(--navy); }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stat { background: #fff; border-radius: var(--radius); padding: 22px 12px; box-shadow: var(--shadow); }
.stat b { display: block; font-family: Georgia, serif; font-size: 2rem; color: var(--amber-dark); }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }

.location { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.location h3 { margin-bottom: .2em; }
.location .addr { color: var(--muted); margin-bottom: .8em; }
.location a.map { font-weight: 600; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery a { display: block; border-radius: 8px; overflow: hidden; background: #ddd; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 56px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 600px; margin: 0 auto 22px; opacity: .95; }
.cta-band .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.contact-card dl { margin: 0; }
.contact-card dt { font-weight: 700; color: var(--navy); margin-top: 12px; }
.contact-card dd { margin: 0; }
.contact-card a { text-decoration: none; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }

.prose { max-width: 760px; }
.prose p { margin-bottom: 1.1em; }
.signature { font-family: Georgia, serif; font-style: italic; color: var(--navy); }

.resources { list-style: none; padding: 0; margin: 0; }
.resources li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.resources li span { display: block; color: var(--muted); font-size: .95rem; }

/* Footer */
footer.site { background: var(--navy-dark); color: #c9d3e0; padding: 48px 0 24px; font-size: .95rem; }
footer.site .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site h4 { color: #fff; font-family: inherit; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .8em; }
footer.site a { color: #fff; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 6px; }
footer.site .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: .85rem; color: #9fb0c6; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px; z-index: 100; }
