/* Lakeview Senior Living of Cleveland — shared styles
   Palette: deep teal / soft sage / warm cream / charcoal
   WCAG 2.2 AA: 4.5:1 body, 18px+, 44px targets, visible focus */

:root {
  --teal: #0d5c63;
  --teal-dark: #084549;
  --teal-mid: #1a7a82;
  --sage: #a8c5b8;
  --sage-light: #d4e5dc;
  --cream: #f7f3eb;
  --cream-dark: #ebe4d6;
  --warm-white: #fffcf7;
  --charcoal: #2c2c2c;
  --text: #333333;
  --muted: #5a5a5a;
  --border: #d4cdc0;
  --focus: #0d5c63;
  --error: #8b2e2e;
  --shadow: 0 4px 24px rgba(13, 92, 99, 0.08);
  --radius: 12px;
  --max: 1120px;
  --font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem; /* 18px */
  line-height: 1.65;
  color: var(--text);
  background: var(--warm-white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--teal);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 247, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--teal-dark);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}
.logo svg { flex-shrink: 0; }
.logo span { max-width: 11rem; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.header-phone {
  color: var(--charcoal);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
}
.nav-toggle {
  display: none;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  align-items: center;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.65rem;
  text-decoration: none;
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--sage-light);
  color: var(--teal-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--teal);
}
.btn-secondary:hover { background: var(--sage-light); color: var(--teal-dark); }
.btn-light {
  background: var(--cream);
  color: var(--teal-dark);
}
.btn-light:hover { background: #fff; color: var(--teal-dark); }

/* Hero */
.hero {
  position: relative;
  background: var(--teal-dark);
  color: #fff;
  min-height: clamp(380px, 62vh, 620px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 3rem;
  max-width: 40rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  font-weight: 700;
  color: #fff;
}
.hero-lead {
  font-size: 1.2rem;
  margin: 0 0 1.5rem;
  color: #f0f7f5;
  max-width: 36rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.trust-line {
  font-size: 0.95rem;
  color: var(--sage);
  margin: 0;
}

/* Page header (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, #2a8f88 100%);
  color: #fff;
  padding: 3rem 0 2.5rem;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  margin: 0 0 0.75rem;
  line-height: 1.25;
  max-width: 28ch;
}
.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: #e8f4f2;
  font-size: 1.15rem;
}

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--cream); }
.section-teal {
  background: var(--teal);
  color: #fff;
}
.section-teal h2, .section-teal h3 { color: #fff; }
.section-teal a { color: #fff; }
.section-narrow { max-width: 42rem; }
.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--teal-dark);
  margin: 0 0 1rem;
  line-height: 1.3;
}
.section h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--teal-dark);
  margin: 0 0 0.5rem;
}
.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 1.5rem; max-width: 40rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: 0.5rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.card p { margin: 0.5rem 0 0; color: var(--muted); font-size: 1.05rem; }
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  font-size: 1.35rem;
}

/* Two-col */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split img {
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* Lists */
.check-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.check-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.85rem;
  border-bottom: 1px solid var(--border);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 1rem;
  height: 0.55rem;
  border-left: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(-45deg);
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.price-card {
  background: #fff;
  border: 2px solid var(--sage);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.price-card.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}
.price-card .label {
  font-weight: 700;
  color: var(--teal-dark);
  font-family: var(--font-serif);
  font-size: 1.15rem;
}
.price-card .amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0.5rem 0;
  font-family: var(--font-serif);
}
.price-card .period { color: var(--muted); font-size: 0.95rem; }
.disclaimer {
  background: var(--cream-dark);
  border-left: 4px solid var(--teal);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 1rem;
  color: var(--muted);
  border-radius: 0 8px 8px 0;
}

/* FAQ */
.faq-list { margin-top: 1.5rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  background: #fff;
}
.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: var(--teal-dark);
  min-height: 44px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--teal);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  margin: 0;
}

/* Forms */
.form-grid {
  display: grid;
  gap: 1.15rem;
  max-width: 36rem;
}
.form-row { display: grid; gap: 0.35rem; }
.form-row label {
  font-weight: 700;
  color: var(--charcoal);
  font-size: 1rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  padding: 0.7rem 0.9rem;
  min-height: 44px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--charcoal);
  width: 100%;
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-hint { font-size: 0.9rem; color: var(--muted); margin: 0; }
.form-note {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--border);
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.gallery-grid figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 3rem 0;
}
.cta-band h2 { margin-bottom: 0.75rem; }
.cta-band p { margin: 0 auto 1.5rem; max-width: 36rem; color: inherit; opacity: 0.95; }

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: #e8e4dc;
  padding: 3rem 0 1.5rem;
  font-size: 1rem;
}
.site-footer a { color: var(--sage); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h2 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #fff;
  margin: 0 0 0.85rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.45rem; }
.footer-grid li a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.footer-nap address {
  font-style: normal;
  line-height: 1.7;
}
.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.95rem;
  color: #b8b4ac;
}
.placeholder {
  background: #fff3cd;
  color: #5c4a00;
  padding: 0.1em 0.35em;
  border-radius: 3px;
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
  font-weight: 600;
}

/* Serving area chips */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.chip {
  background: var(--sage-light);
  color: var(--teal-dark);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    width: 100%;
    order: 10;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 1rem;
  }
  .site-nav a { width: 100%; }
  .header-inner { align-items: center; }
  .split { grid-template-columns: 1fr; }
  .split img { min-height: 220px; }
}

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