:root {
  --paper: #f6f3ee; --card: #fffdf9; --ink: #1c1a17; --soft: #5d574e; --line: #ddd6ca;
  --accent: #c93a22; --accent-ink: #fff; --ok: #1f6b4a; --ok-bg: #e3f1ea; --warn-bg: #fbeed9; --ad-bg: #efe9ff; --ad: #4a3a8c;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: 1.4rem; margin-top: 1.6em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.section { padding-top: 40px; padding-bottom: 24px; }
.muted { color: var(--soft); } .small { font-size: .85rem; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.hp { position: absolute; left: -9999px; }

.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.brand-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(201, 58, 34, .18); }
.top nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: .95rem; }
.top nav a { text-decoration: none; }
.top nav form { margin: 0; }
.link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; }

.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 12px 22px; font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: #a92d18; color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-small { padding: 7px 14px; font-size: .9rem; }
.btn-danger { background: #8b1e1e; }

.hero { background: var(--ink); color: #f6f3ee; padding: 56px 0 48px; }
.hero h1 { max-width: 18ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: #e9b9ae; margin-bottom: 14px; }
.lede { font-size: 1.13rem; color: var(--soft); max-width: 62ch; }
.hero .lede { color: #cfc8bc; }
.search { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.search input[type=search] { flex: 1 1 240px; max-width: 420px; }
.hero .check { color: #f6f3ee; }

input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid #b9b1a3; border-radius: 8px; padding: 10px 12px; width: 100%; }
textarea { resize: vertical; }
input[type=checkbox] { width: 18px; height: 18px; flex: none; accent-color: var(--accent); margin: 2px 0 0; }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
label input, label select, label textarea { margin-top: 5px; font-weight: 400; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.opt, .hint { font-weight: 400; color: var(--soft); font-size: .85rem; }
.hint { display: block; margin-top: 4px; } .hint.ok { color: var(--ok); }
.err { display: block; color: #a11616; font-weight: 600; font-size: .85rem; margin-top: 4px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.row-3 { grid-template-columns: repeat(3, 1fr); }
.row-wide { grid-template-columns: 2.4fr 1fr; }
.checks { display: flex; gap: 6px 22px; flex-wrap: wrap; margin-bottom: 8px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 8px; margin: 0 0 22px; background: var(--card); min-width: 0; }
legend { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; padding: 0 8px; }
.form > .btn { margin-top: 10px; }

.cities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.cities a { display: block; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.cities a:hover { border-color: var(--accent); color: inherit; }
.cities strong { display: block; font-family: var(--serif); font-size: 1.2rem; }
.cities span { color: var(--soft); font-size: .88rem; }
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 36px; }
.three h2 { font-size: 1.2rem; margin-top: 0; }
.cta { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 16px; }
.cta h2 { margin-top: 0; } .cta p { max-width: 60ch; margin: 0; color: var(--soft); }
.more { margin-top: 18px; }

.crumbs { font-size: .85rem; color: var(--soft); padding: 18px 0 14px; }
.citynav { list-style: none; padding: 0; margin: 18px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.citynav a { display: block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .9rem; background: var(--card); }
.citynav a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0 16px; padding: 18px 18px 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 22px; }
.filters .checks { grid-column: 1 / -1; }
.count { color: var(--soft); font-size: .9rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-featured { border-color: var(--ad); }
.card-cover { height: 92px; background: linear-gradient(135deg, #2b2722, #4a3f35); color: #e9b9ae; font: 600 2.6rem var(--serif); display: grid; place-items: center; }
.card-photo { position: relative; height: 170px; padding: 0; display: block; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.credit { position: absolute; right: 0; bottom: 0; max-width: 100%; padding: 2px 8px; background: rgba(28, 26, 23, .62); color: #fff; font: 400 .66rem var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-top-left-radius: 6px; }
.stars { font-weight: 600; font-size: .9rem; color: #8a5a00; white-space: nowrap; } .stars span { font-weight: 400; color: var(--soft); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 150px; gap: 8px; margin: 18px 0; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 8px; background: #ddd6ca; }
.gallery figure:first-child { grid-row: span 2; }
.gallery-1 { grid-template-columns: 1fr; } .gallery-2, .gallery-3, .gallery-4 { grid-template-columns: 2fr 1fr; }
.gallery-4 { grid-auto-rows: 100px; } .gallery-4 figure:first-child { grid-row: span 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery figcaption { position: absolute; left: 0; bottom: 0; max-width: 100%; padding: 2px 8px; background: rgba(28, 26, 23, .62); color: #fff; font-size: .66rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-top-right-radius: 6px; }
.badges { align-items: center; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card h3 a { text-decoration: none; }
.card-meta { font-size: .82rem; color: var(--soft); margin-bottom: 6px; }
.chips { list-style: none; padding: 0; margin: 4px 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .8rem; background: #ece6db; border-radius: 999px; padding: 3px 10px; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.price { margin: 0; } .price strong { font-size: 1.25rem; font-family: var(--serif); }
.tag { display: inline-block; font-size: .76rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #ece6db; color: var(--soft); }
.tag-ok { background: var(--ok-bg); color: var(--ok); }
.tag-ad { background: var(--ad-bg); color: var(--ad); }
.empty { background: var(--card); border: 1px dashed #b9b1a3; border-radius: var(--radius); padding: 32px 24px; text-align: center; }
.empty h2 { margin-top: 0; }

.ficha { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 40px; align-items: start; padding-bottom: 32px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.facts { list-style: none; padding: 0; margin: 18px 0; display: flex; gap: 10px; flex-wrap: wrap; }
.facts li { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font-size: .92rem; }
.facts strong { font-family: var(--serif); font-size: 1.15rem; }
.prose { white-space: pre-line; max-width: 68ch; }
.services { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; max-width: 480px; }
.services li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.services li.no { color: #8a8378; text-decoration: line-through; } .services li.no::before { content: "– "; color: #8a8378; }
.prices, .table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prices th, .prices td, .table th, .table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices thead th, .table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--soft); }
.prices th span { display: block; font-weight: 400; color: var(--soft); font-size: .88rem; }
.amount { font-family: var(--serif); font-weight: 600; white-space: nowrap; }
address { font-style: normal; margin-bottom: 10px; }
.links { display: flex; gap: 18px; flex-wrap: wrap; }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 16px; }
.quote h2 { margin-top: 0; font-size: 1.2rem; }
.quote .row { grid-template-columns: 1fr; }
.price-big { font-size: 1rem; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.price-big strong { font: 600 2.1rem var(--serif); } .price-big span { color: var(--soft); }
.notice { border-radius: 8px; padding: 12px 16px; background: #ece6db; }
.notice h3 { margin-bottom: 4px; } .notice p { margin: 0; }
.notice-ok { background: var(--ok-bg); color: #134a32; } .notice-warn { background: var(--warn-bg); }
.address { position: relative; }
.suggestions { list-style: none; margin: -8px 0 14px; padding: 4px; background: #fff; border: 1px solid #b9b1a3; border-radius: 8px; box-shadow: 0 8px 24px rgba(28, 26, 23, .12); }
.suggestions button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 9px 10px; font: inherit; border-radius: 6px; cursor: pointer; }
.suggestions button:hover, .suggestions button:focus-visible { background: #f1ece3; }
.suggestions span { color: var(--soft); font-size: .88rem; }
.attribution { font-size: .72rem; color: var(--soft); text-align: right; padding: 4px 10px 2px; }
.message { text-align: center; padding-top: 72px; padding-bottom: 72px; } .message .lede { margin: 0 auto 24px; }
.prose-page ul { padding-left: 20px; } .prose-page li { margin-bottom: 6px; }

.foot { border-top: 1px solid var(--line); margin-top: 56px; padding: 32px 0 24px; font-size: .92rem; }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-in > div { max-width: 46ch; }
.foot nav { display: grid; gap: 6px; align-content: start; }

.head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.head h1 { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 20px 0 8px; }
.stats div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.stats dt { font-size: .82rem; color: var(--soft); } .stats dd { margin: 0; font: 600 1.8rem var(--serif); }
.stats small { font: 400 .85rem var(--sans); color: var(--soft); }
.inline { display: flex; gap: 6px; align-items: center; } .inline select { width: auto; padding: 6px 8px; }
.danger { margin-top: 28px; } .danger summary { cursor: pointer; color: #8b1e1e; }
body.admin .table { display: block; overflow-x: auto; }

@media (max-width: 820px) {
  .ficha { grid-template-columns: 1fr; gap: 16px; } .quote { position: static; }
  .filters { grid-template-columns: 1fr 1fr; } .filters > label:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .gallery, .gallery-2, .gallery-3, .gallery-4 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 90px; }
  .gallery figure:first-child, .gallery-4 figure:first-child { grid-column: 1 / -1; grid-row: span 2; }
  .row, .row-3, .row-wide { grid-template-columns: 1fr; }
  .top nav { gap: 12px; font-size: .9rem; }
  .hero { padding: 36px 0 32px; }
}
