:root {
  --bg: #e4e6e8;
  --paper: #fbfbfc;
  --ink: #141414;
  --muted: #4a4f55;
  --accent: #b00020;
  --accent-hover: #8a0019;
  --steel: #2c3840;
  --focus: #b00020;
  --max: 1080px;
  --sans: "Archivo", "Segoe UI", "Helvetica Neue", sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
h1, h2, h3, .brand-name, .sans {
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 0 0 0.6rem; }
h2 { font-size: 1.2rem; margin: 1.6rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 0; }
.skip {
  position: absolute;
  left: 0.6rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 0.6rem; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

/* Header: never sticky or fixed. Contrast only, no ornamental line. */
.site-header { background: var(--paper); }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.2rem;
  padding: 0.85rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  background: var(--accent);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 1.02rem; }
.brand-sub { font-family: var(--serif); font-size: 0.8rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }
nav ul { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; list-style: none; margin: 0; padding: 0; }
nav a { color: var(--ink); text-decoration: none; font-family: var(--sans); font-size: 0.92rem; font-weight: 500; }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }
.lang {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.2rem;
}
.lang:hover { color: var(--accent); }

main { padding: 1.4rem 0 3rem; }
main.wrap { display: block; }

/* Compact hero: small photo, not full bleed */
.hero {
  display: grid;
  grid-template-columns: 1fr min(14rem, 32vw);
  gap: 0.55rem 1.8rem;
  align-items: start;
  background: var(--paper);
  padding: 1.4rem 1.3rem 1.5rem;
  margin: 0 0 1.4rem;
}
.hero .kicker { grid-column: 1; }
.hero h1 { grid-column: 1; margin-bottom: 0.35rem; }
.hero .lede { grid-column: 1; }
.hero .searchbar { grid-column: 1; }
.hero .stat { grid-column: 1; margin-bottom: 0; }
.hero-photo { grid-column: 2; grid-row: 1 / span 6; }
.kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.45rem;
}
.lede { margin: 0 0 1rem; color: var(--ink); max-width: 38rem; }
.hero-photo {
  margin: 0;
  width: 100%;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #c9ccd1;
}
@media (max-width: 879px) {
  .hero { grid-template-columns: 1fr; padding: 1.1rem 1rem 1.2rem; }
  .hero .kicker, .hero h1, .hero .lede, .hero .searchbar, .hero .stat, .hero-photo {
    grid-column: 1;
    grid-row: auto;
  }
  .hero-photo { max-width: 11rem; margin-top: 0.2rem; }
  .hero-photo img { aspect-ratio: 16 / 10; }
}

.searchbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: end;
  background: var(--bg);
  padding: 0.7rem;
}
.searchbar label { display: flex; flex-direction: column; gap: 0.25rem; font-family: var(--sans); font-size: 0.8rem; font-weight: 600; flex: 1 1 10rem; }
.searchbar input, .searchbar select {
  font: inherit;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  border: 1px solid #b7bcc1;
  background: #fff;
  color: var(--ink);
  min-height: 44px;
  padding: 0.35rem 0.55rem;
}
.btn {
  font-family: var(--sans);
  font-weight: 650;
  font-size: 0.95rem;
  background: var(--accent);
  color: #fff;
  border: 0;
  min-height: 44px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #8b9198;
}
.btn.ghost:hover { background: #fff; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }

.stat { font-family: var(--sans); color: var(--muted); font-size: 0.95rem; margin: 0 0 1rem; }

.service-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.45rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}
.service-index a {
  display: block;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  padding: 0.7rem 0.8rem;
  min-height: 44px;
}
.service-index a:hover { color: var(--accent); }
.service-index strong { font-family: var(--sans); display: block; }
.service-index span { font-size: 0.88rem; color: var(--muted); }

/* Directory rows, not soft cards */
.rows { display: flex; flex-direction: column; gap: 0.35rem; }
.row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1rem;
  background: var(--paper);
  padding: 0.75rem 0.9rem;
  align-items: start;
}
.row a.row-main { color: inherit; text-decoration: none; }
.row a.row-main:hover h3 { color: var(--accent); }
.row .meta, .row .tags { margin: 0.15rem 0 0; font-size: 0.92rem; color: var(--muted); }
.row .tel {
  font-family: var(--sans);
  font-size: 0.92rem;
  margin: 0;
  white-space: nowrap;
}
.row .tel a { color: var(--ink); text-decoration: none; }
.row .tel a:hover { color: var(--accent); }

.city-list, .plain-list { list-style: none; margin: 0; padding: 0; columns: 2; gap: 1.5rem; }
@media (max-width: 640px) { .city-list, .plain-list { columns: 1; } }
.city-list li, .plain-list li { break-inside: avoid; padding: 0.2rem 0; }
.city-list a, .plain-list a { font-family: var(--sans); color: var(--ink); text-decoration: none; }
.city-list a:hover, .plain-list a:hover { color: var(--accent); }
.city-list small { color: var(--muted); font-family: var(--serif); }

.page { background: var(--paper); padding: 1.2rem 1.2rem 2rem; }
.page .prose, .guide { max-width: 42rem; }
.crumbs { font-family: var(--sans); font-size: 0.85rem; margin: 0 0 0.9rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; margin: 0; padding: 0; }
.crumbs a { color: var(--muted); }
.dl { margin: 1rem 0; }
.dl div { margin: 0 0 0.7rem; }
.dl dt { font-family: var(--sans); font-weight: 650; font-size: 0.88rem; }
.dl dd { margin: 0.15rem 0 0; }
.hours { font-family: var(--sans); font-size: 0.92rem; background: var(--bg); padding: 0.6rem 0.7rem; overflow-wrap: anywhere; }
.note { color: var(--muted); font-size: 0.95rem; }
.sources { font-size: 0.92rem; }
.related { margin-top: 1.6rem; }

.map-frame { height: min(70vh, 36rem); background: #d5d8dc; margin: 1rem 0; }
.filters { background: var(--paper); padding: 0.8rem; margin: 0 0 0.8rem; }

.form { display: grid; gap: 0.7rem; max-width: 32rem; }
.form label { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; display: grid; gap: 0.25rem; }
.form input, .form textarea, .form select {
  font: inherit;
  border: 1px solid #b7bcc1;
  min-height: 44px;
  padding: 0.4rem 0.55rem;
  background: #fff;
}
.form textarea { min-height: 8rem; }

.footer { background: var(--steel); color: #e8eaed; padding: 2rem 0 1.4rem; font-size: 0.95rem; }
.footer a { color: #fff; }
.footer a:hover { color: #ffd5dc; }
.footer h2 { color: #fff; margin: 0 0 0.5rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.4rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0.25rem 0; }
.footer-copy { margin-top: 1.4rem; color: #c5c9ce; font-size: 0.88rem; }

.consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0.9rem 1rem;
  z-index: 30;
  box-shadow: 0 -8px 24px rgba(20, 20, 20, 0.12);
}
.consent p { margin: 0 0 0.6rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.ad-slot { margin: 1rem 0; }
.empty { color: var(--muted); }

@media (max-width: 640px) {
  .row { grid-template-columns: 1fr; }
  nav ul { width: 100%; }
  .lang { margin-left: 0; }
}
