/* Prairie View Senior Living of Nebraska — unique warm prairie design
   Palette: soft gold / terracotta / cream / deep slate
   Distinct from Lakeview Cleveland (teal/sage). WCAG 2.2 AA floor. */

:root {
  --gold: #c4a35a;
  --gold-soft: #e8d5a3;
  --gold-deep: #8a6d2f;
  --terracotta: #b85c38;
  --terracotta-dark: #8f4528;
  --terracotta-soft: #f0d5c8;
  --cream: #faf6ef;
  --cream-deep: #f0e6d6;
  --parchment: #fffdf8;
  --slate: #2f3a44;
  --slate-mid: #3d4a56;
  --text: #2a3238;
  --muted: #5c6670;
  --border: #ddd2c0;
  --focus: #8a6d2f;
  --error: #9b2c2c;
  --shadow: 0 8px 28px rgba(47, 58, 68, 0.1);
  --radius: 4px;
  --radius-lg: 20px;
  --max: 1140px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--parchment);
}

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
a { color: var(--terracotta-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--slate); }
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(--slate);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

/* Top utility bar — unique vs Cleveland sticky-only header */
.utility-bar {
  background: var(--slate);
  color: #f5efe4;
  font-size: 0.95rem;
  padding: 0.45rem 0;
}
.utility-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.utility-bar a { color: #f5efe4; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.utility-bar a:hover { color: var(--gold-soft); }

/* Header */
.site-header {
  background: var(--parchment);
  border-bottom: 3px solid var(--gold);
  position: relative;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--slate);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.2;
  min-height: 44px;
}
.logo span { max-width: 12ch; }
.logo svg { flex-shrink: 0; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.header-phone {
  font-weight: 700;
  color: var(--slate);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.header-phone:hover { color: var(--terracotta); }

.nav-toggle {
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 1rem;
  border: 2px solid var(--slate);
  background: transparent;
  color: var(--slate);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--radius);
}
@media (min-width: 960px) {
  .nav-toggle { display: none; }
}

.site-nav { width: 100%; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 0.75rem;
  display: none;
  flex-wrap: wrap;
  gap: 0.15rem 0.25rem;
}
.site-nav.is-open ul { display: flex; padding-top: 0.25rem; }
@media (min-width: 960px) {
  .site-nav { width: auto; flex-basis: 100%; order: 3; }
  .site-nav ul {
    display: flex;
    padding-top: 0.25rem;
    justify-content: flex-start;
    gap: 0.15rem 0.5rem;
  }
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.65rem;
  text-decoration: none;
  color: var(--slate-mid);
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--radius);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--terracotta-dark);
  background: var(--cream-deep);
}

/* Buttons — terracotta primary (not teal) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}
.btn-primary:hover { background: var(--terracotta-dark); color: #fff; border-color: var(--terracotta-dark); }
.btn-secondary {
  background: transparent;
  color: var(--slate);
  border-color: var(--slate);
}
.btn-secondary:hover { background: var(--slate); color: #fff; }
.btn-cream {
  background: var(--cream);
  color: var(--slate);
  border-color: var(--cream);
}
.btn-cream:hover { background: #fff; color: var(--slate); }

/* Hero — asymmetric panel over full-bleed image (not Cleveland overlay card stack) */
.hero {
  position: relative;
  min-height: 28rem;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--slate);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  opacity: 0.88;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(47,58,68,0.88) 0%, rgba(47,58,68,0.55) 48%, rgba(184,92,56,0.35) 100%);
}
.hero-panel {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 3rem;
  max-width: 38rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fffdf8;
  margin: 0 0 1rem;
}
.hero-lead {
  color: #f0e6d6;
  font-size: 1.2rem;
  margin: 0 0 1.5rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.trust-line {
  color: var(--gold-soft);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.02em;
}

/* Page hero band */
.page-hero {
  background: linear-gradient(135deg, var(--cream-deep) 0%, var(--cream) 55%, var(--terracotta-soft) 100%);
  border-bottom: 1px solid var(--border);
  padding: 2.75rem 0 2.25rem;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--gold);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  color: var(--slate);
  margin: 0 0 0.65rem;
  font-weight: 600;
}
.page-hero p { margin: 0; color: var(--muted); max-width: 40rem; }

.section { padding: 3.25rem 0; }
.section-alt { background: var(--cream); }
.section-slate {
  background: var(--slate);
  color: #f5efe4;
}
.section-slate h2, .section-slate .lead { color: #fffdf8; }
.section-slate a:not(.btn) { color: var(--gold-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 0.5rem;
  border-left: 3px solid var(--gold);
  padding-left: 0.65rem;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  color: var(--slate);
  margin: 0 0 0.85rem;
  font-weight: 600;
  line-height: 1.25;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--slate);
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 42rem; }

/* Cards — left gold rail, soft cream fill (not Cleveland rounded icon cards) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.35rem;
  margin-top: 1.75rem;
}
.card {
  background: var(--parchment);
  border: 1px solid var(--border);
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}
.section-alt .card { background: #fff; }
.card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  margin: -0.25rem 0 1rem;
  border-radius: var(--radius);
}
.card p { margin: 0 0 0.5rem; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.mark {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  background: var(--terracotta-soft);
  color: var(--terracotta-dark);
  font-weight: 800;
  border-radius: 50% 40% 50% 40%;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .split { grid-template-columns: 1fr 1fr; gap: 2.75rem; }
}
.split img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.check-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.check-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.85rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 2px;
  background: var(--gold);
  box-shadow: inset 0 0 0 2px var(--gold-deep);
}

.chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.chip {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: var(--cream-deep);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--slate-mid);
  font-weight: 600;
}

/* Pricing — terracotta featured, not teal */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.price-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.price-card.featured {
  background: var(--slate);
  color: #f5efe4;
  border-color: var(--slate);
}
.price-card .label { font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; color: var(--terracotta); }
.price-card.featured .label { color: var(--gold-soft); }
.price-card .amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  margin: 0.35rem 0;
  color: var(--slate);
}
.price-card.featured .amount { color: #fff; }
.price-card .period { font-size: 0.9rem; color: var(--muted); }
.price-card.featured .period { color: #d8cfc0; }
.disclaimer {
  background: var(--cream-deep);
  border-left: 4px solid var(--gold-deep);
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: var(--muted);
  margin: 1.25rem 0;
}

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

/* FAQ */
.faq-list { max-width: 48rem; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.faq-item h2 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.faq-item p { margin: 0; color: var(--muted); }

/* Forms */
.form-grid {
  display: grid;
  gap: 1.1rem;
  max-width: 36rem;
}
.form-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--slate);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  font: inherit;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
}
.form-field textarea { min-height: 8rem; resize: vertical; }
.form-note { font-size: 0.95rem; color: var(--muted); }
#form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--cream-deep);
  border-left: 4px solid var(--gold);
}

.nap-block address { font-style: normal; line-height: 1.8; }
.nap-block a { font-weight: 600; }

/* CTA band */
.cta-band {
  text-align: center;
  padding: 3.5rem 0;
  background:
    linear-gradient(120deg, rgba(47,58,68,0.94), rgba(143,69,40,0.88)),
    var(--slate);
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #f0e6d6; max-width: 36rem; margin: 0 auto 1.5rem; }

/* Footer */
.site-footer {
  background: var(--slate);
  color: #d8cfc0;
  padding: 3rem 0 1.5rem;
  font-size: 1rem;
}
.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  margin: 0 0 0.85rem;
  font-weight: 800;
}
.site-footer a { color: #f5efe4; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-nap h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: none;
  letter-spacing: 0;
  color: #fffdf8;
  font-weight: 600;
}
.footer-nap address { font-style: normal; line-height: 1.75; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.site-footer li a { display: inline-flex; min-height: 44px; align-items: center; }
.footer-bottom {
  border-top: 1px solid rgba(232, 213, 163, 0.25);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.95rem;
}

.prose { max-width: 46rem; }
.prose p { margin: 0 0 1rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.25rem; }
