/* Massanutten Mountain Retreat — shared styles */
:root {
  --bg: #f7f3ea;
  --bg-alt: #efe8da;
  --surface: #fffdf8;
  --text: #1f2a24;
  --muted: #5e6a62;
  --line: #e1d8c6;
  --brand: #2f5641;
  --brand-ink: #ffffff;
  --brand-soft: #dfe9df;
  --accent: #c7643c;
  --accent-soft: #f6e0d3;
  --gold: #d9a441;
  --blocked: #e7e1d5;
  --shadow: 0 1px 2px rgba(31, 42, 36, .06), 0 8px 24px rgba(31, 42, 36, .08);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1180px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141a17; --bg-alt: #1a221e; --surface: #1f2824; --text: #ece7dc; --muted: #a9b2ab; --line: #2f3b35;
    --brand: #8cc0a0; --brand-ink: #10231a; --brand-soft: #243a2f; --accent: #e8875d; --accent-soft: #3a2a22;
    --blocked: #2a322e; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141a17; --bg-alt: #1a221e; --surface: #1f2824; --text: #ece7dc; --muted: #a9b2ab; --line: #2f3b35;
  --brand: #8cc0a0; --brand-ink: #10231a; --brand-soft: #243a2f; --accent: #e8875d; --accent-soft: #3a2a22;
  --blocked: #2a322e; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: var(--bg-alt); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section-head { margin-bottom: 2rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--text); }
.btn-light { background: rgba(255,255,255,.92); color: #1f2a24; }
.btn-sm { padding: .5em 1em; font-size: .9rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; line-height: 1.1; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; flex: none; }
.brand-mark .icon { width: 22px; height: 22px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--text); padding: .5em .9em; border-radius: 999px; font-weight: 500; font-size: .95rem; }
.nav a:hover { background: var(--bg-alt); }
.nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
.nav .btn { margin-left: 8px; color: var(--brand-ink); }
.nav .btn:hover { background: var(--brand); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--text); }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 12px 16px 20px; box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); display: grid; align-items: end; color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,16,13,.15) 0%, rgba(10,16,13,.25) 40%, rgba(10,16,13,.78) 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: end; padding: 120px 0 56px; }
.hero h1 { max-width: 16ch; text-wrap: balance; }
.hero-content > p { font-size: 1.2rem; max-width: 52ch; opacity: .92; }
.hero-eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #f6c98e; margin-bottom: .8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.pill { display: inline-flex; align-items: center; gap: .35em; padding: .2em .75em; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: none; text-decoration: none; }
.hero .pill { background: rgba(255,255,255,.92); color: #9a4a28; }
.hero-link a { color: #fff; font-weight: 600; }
.hero-card { background: var(--surface); color: var(--text); border-radius: var(--radius); padding: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.hc-price b { font-family: var(--font-head); font-size: 2rem; font-weight: 600; }
.hc-price span { color: var(--muted); }
.hc-price small { display: block; color: var(--muted); font-size: .9rem; }
.hc-fees { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 4px; font-size: .92rem; }
.hc-fees li { display: flex; gap: .5em; align-items: center; }
.hc-fees .icon { color: var(--brand); width: 1em; }
.hc-next { border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 14px; display: grid; gap: 4px; }
.hc-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hc-dates { justify-self: start; border: 1.5px dashed var(--brand); background: var(--brand-soft); color: var(--brand); border-radius: 10px; padding: .4em .8em; font-weight: 700; cursor: pointer; }
.hc-cta { width: 100%; }
.hc-note { font-size: .8rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; padding: 96px 0 32px; }
  .hero-card { max-width: 420px; }
}
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.4rem; padding: 0; list-style: none; }
.facts li { display: inline-flex; align-items: center; gap: .45em; padding: .4em .9em; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); font-size: .92rem; }

.page-hero { padding: 64px 0 32px; }
.page-hero.banner { position: relative; color: #fff; padding: 110px 0 48px; isolation: isolate; }
.page-hero.banner .hero-media::after { background: linear-gradient(180deg, rgba(10,16,13,.2), rgba(10,16,13,.75)); }

/* Highlights */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
.feature .ico .icon { width: 26px; height: 26px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .3em; }
.feature p { color: var(--muted); margin: 0; }

/* Gallery */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; }
.gallery button { padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; position: relative; background: var(--bg-alt); }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .cap { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.55); color: #fff; font-size: .8rem; padding: .25em .7em; border-radius: 999px; opacity: 0; transition: opacity .2s; }
.gallery button:hover .cap, .gallery button:focus-visible .cap { opacity: 1; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; } }

.gallery-wrap { position: relative; }
.show-all { position: absolute; right: 14px; bottom: 14px; box-shadow: var(--shadow); }
.video-block { margin-top: 48px; display: grid; gap: 12px; }

/* Photo tour */
.tour { position: fixed; inset: 0; z-index: 100; background: var(--bg); overflow-y: auto; }
.tour-top { position: sticky; top: 0; z-index: 2; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding-top: 12px; }
.tour-bar { display: flex; align-items: center; justify-content: space-between; }
.tour-bar h2 { margin: 0; font-size: 1.5rem; }
.tour .tour-close { position: static; translate: none; background: var(--bg-alt); color: var(--text); flex: none; }
.tour .tour-close:hover { background: var(--line); }
.chips.tour-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 10px 0 12px; margin: 0; }
.chips.tour-chips .chip { flex: none; white-space: nowrap; }
.tour-chips .chip span { color: var(--muted); font-weight: 500; }
.tour-body { padding: 24px 0 64px; }
.tour-room { margin-bottom: 36px; }
.tour-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tour-grid button { padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; color: var(--text); }
.tour-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); }
.tour-grid span { display: block; font-size: .88rem; color: var(--muted); padding: 6px 2px 0; }
@media (max-width: 640px) { .tour-grid { grid-template-columns: 1fr; } }

/* Location */
.location { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.distances { list-style: none; padding: 0; margin: 0 0 20px; }
.distances li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: .6em 0; border-bottom: 1px dashed var(--line); }
.distances .icon { color: var(--brand); }
.distances b { white-space: nowrap; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); min-height: 380px; height: 100%; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
@media (max-width: 860px) { .location { grid-template-columns: 1fr; } .map, .map iframe { min-height: 280px; } }

/* Reviews, host badges, contact, policies */
.review blockquote { margin: 8px 0 12px; font-size: 1rem; }
.review figcaption { font-size: .88rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.contact { margin-top: 48px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; box-shadow: none; }
.contact h3 { font-size: 1.4rem; }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 760px) { .contact, .field-row { grid-template-columns: 1fr; } }
.fee-list { list-style: none; padding: 0; margin: 8px 0 0; font-size: .88rem; color: var(--muted); display: grid; gap: 2px; }
.policy-list { margin: 0; padding-left: 1.1em; color: var(--muted); }
.policy-list li { margin: .35em 0; }
.policy-list strong { color: var(--text); }

/* Sticky booking bar (phones) */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .25s; }
  .mobile-bar.show { transform: none; }
  .mobile-bar strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
  .mobile-bar small { display: block; color: var(--muted); font-size: .78rem; }
  body.bar-on { padding-bottom: 72px; }
  body.bar-on .chat-fab { bottom: 84px; }
  .show-all { right: 10px; bottom: 10px; }
}

.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(8,12,10,.92); display: none; align-items: center; justify-content: center; padding: 16px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); color: #fff; text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { margin-top: 12px; opacity: .85; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }

/* Video */
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video iframe, .video video, .video img { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video .overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: #fff; background: rgba(10,16,13,.45); text-align: center; }
.play { width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--brand); display: grid; place-items: center; }
.play .icon { width: 32px; height: 32px; fill: currentColor; }

/* Amenities */
.amenities { columns: 3 240px; column-gap: 28px; }
.amenity-group { break-inside: avoid; margin-bottom: 24px; }
.amenity-group h3 { font-family: var(--font-body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.amenity-group ul { list-style: none; padding: 0; margin: 0; }
.amenity-group li { padding: .45em 0; border-bottom: 1px dashed var(--line); display: flex; gap: .6em; align-items: center; }
.amenity-group li .icon { color: var(--brand); width: 1em; }

/* Host */
.host { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; }
.host img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--surface); box-shadow: var(--shadow); }
.host .meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .95rem; }
.host .meta span { display: inline-flex; gap: .4em; align-items: center; }
@media (max-width: 760px) { .host { grid-template-columns: 1fr; text-align: center; } .host img { width: 200px; margin: 0 auto; } .host .meta { justify-content: center; } }

/* Booking */
.booking { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head .btn { width: 40px; height: 40px; padding: 0; }
.cal-months { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 640px) { .cal-months { grid-template-columns: 1fr; } .cal-months .month:nth-child(2) { display: none; } }
.month h4 { font-family: var(--font-body); font-size: 1rem; text-align: center; margin-bottom: 10px; }
.dow, .days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.dow span { font-size: .75rem; color: var(--muted); font-weight: 600; padding-bottom: 6px; }
.day { aspect-ratio: 1; border: 0; background: none; border-radius: 10px; cursor: pointer; font-size: .92rem; position: relative; font-variant-numeric: tabular-nums; }
.day:hover:not(:disabled) { background: var(--brand-soft); }
.day:disabled { cursor: not-allowed; color: var(--muted); opacity: .45; }
.day.blocked { background: var(--blocked); text-decoration: line-through; opacity: .7; color: var(--muted); }
.day.checkout-only { background: linear-gradient(135deg, transparent 50%, var(--blocked) 50%); cursor: pointer; opacity: 1; text-decoration: none; }
.day.in-range { background: var(--brand-soft); border-radius: 0; }
.day.start, .day.end { background: var(--brand); color: var(--brand-ink); opacity: 1; }
.day.start { border-radius: 10px 0 0 10px; }
.day.end { border-radius: 0 10px 10px 0; }
.day.start.end { border-radius: 10px; }
.day.today::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); translate: -50% 0; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: .85rem; color: var(--muted); margin-top: 14px; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
.notice { font-size: .85rem; color: var(--muted); background: var(--bg-alt); border-radius: var(--radius-sm); padding: .6em .9em; margin-top: 12px; }
.summary .price { font-family: var(--font-head); font-size: 1.8rem; }
.summary .price small { font-family: var(--font-body); font-size: .95rem; color: var(--muted); }
.dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 16px 0 10px; overflow: hidden; }
.dates div { padding: 10px 12px; }
.dates div + div { border-left: 1px solid var(--line); }
.dates label, .field label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.breakdown { list-style: none; padding: 0; margin: 14px 0; }
.breakdown li { display: flex; justify-content: space-between; padding: .35em 0; }
.breakdown li.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: .7em; font-weight: 700; }
.field { margin-bottom: 12px; }
.field input, .field select, .field textarea { width: 100%; padding: .65em .8em; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg); margin-top: 4px; }
.field textarea { min-height: 80px; resize: vertical; }
.form-msg { font-size: .92rem; margin-top: 10px; }
.form-msg.ok { color: var(--brand); }
.form-msg.err { color: var(--accent); }
.or { text-align: center; color: var(--muted); font-size: .85rem; margin: 16px 0 10px; }
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hp { position: absolute; left: -9999px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--accent); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* Explore */
.tabs { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; margin-bottom: 20px; }
.tab { display: inline-flex; align-items: center; gap: .5em; padding: .65em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 600; white-space: nowrap; }
.tab[aria-selected="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.cat-banner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); margin-bottom: 24px; }
.cat-banner img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.cat-banner div { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 760px) { .cat-banner { grid-template-columns: 1fr; } .cat-banner img { max-height: 180px; } }
.places { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.place { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.place h3 { font-size: 1.15rem; margin: 0; }
.place .where { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .88rem; color: var(--muted); }
.place .where span { display: inline-flex; align-items: center; gap: .35em; }
.place p { margin: 0; color: var(--muted); flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .78rem; padding: .2em .7em; border-radius: 999px; background: var(--bg-alt); color: var(--muted); font-weight: 600; }
.tag.cat { background: var(--accent-soft); color: var(--accent); }
.place a.map { font-weight: 600; font-size: .92rem; display: inline-flex; gap: .35em; align-items: center; text-decoration: none; }

/* Events */
.events-layout { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 24px; align-items: start; }
@media (max-width: 960px) { .events-layout { grid-template-columns: 1fr; } }
.ev-cal .days .day { cursor: pointer; }
.ev-cal .day.has { font-weight: 700; }
.ev-cal .day.has::before { content: ""; position: absolute; bottom: 6px; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); translate: -50% 0; }
.ev-cal .day.sel { outline: 2px solid var(--brand); }
.ev-cal .day.past { opacity: .35; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip { border: 1px solid var(--line); background: var(--surface); padding: .35em .85em; border-radius: 999px; cursor: pointer; font-size: .88rem; font-weight: 600; }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.ev-list { display: flex; flex-direction: column; gap: 12px; max-height: 640px; overflow-y: auto; padding-right: 4px; }
.ev { display: grid; grid-template-columns: 64px 1fr; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; }
.ev .date { text-align: center; background: var(--brand-soft); color: var(--brand); border-radius: 10px; padding: 6px 0; line-height: 1.1; align-self: start; }
.ev .date b { display: block; font-family: var(--font-head); font-size: 1.6rem; }
.ev .date small { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ev h4 { font-family: var(--font-body); font-size: 1rem; margin: 0 0 4px; }
.ev p { font-size: .9rem; color: var(--muted); margin: 0; }
.ev .meta { font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 4px; }
.badge { font-size: .7rem; font-weight: 700; padding: .15em .55em; border-radius: 6px; background: var(--accent-soft); color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }

/* Guide */
.lock { max-width: 460px; margin: 0 auto; text-align: center; }
.lock .ico { width: 64px; height: 64px; border-radius: 20px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin: 0 auto 16px; }
.lock .ico .icon { width: 32px; height: 32px; }
.lock form { display: flex; gap: 8px; margin-top: 18px; }
.lock input { flex: 1; min-width: 0; padding: .75em 1em; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); }
.guide { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.guide-nav { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 2px; }
.guide-nav a { display: flex; align-items: center; gap: .6em; padding: .55em .8em; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 500; font-size: .95rem; }
.guide-nav a:hover { background: var(--bg-alt); }
.guide-nav a.active { background: var(--brand-soft); color: var(--brand); }
.guide-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 18px; scroll-margin-top: 88px; }
.guide-section h2 { font-size: 1.6rem; display: flex; align-items: center; gap: .5em; }
.guide-section h2 .icon { color: var(--accent); }
.guide-section p { margin: 0 0 .8em; }
.guide-section p.step { padding-left: 2.2em; position: relative; }
.guide-section p.step b.n { position: absolute; left: 0; top: 0; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: .85rem; }
.guide-tools { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 20px; }
@media (max-width: 860px) {
  .guide { grid-template-columns: 1fr; }
  .guide-nav { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .guide-nav a { white-space: nowrap; }
  .guide-section { padding: 20px; }
}
@media print { .site-header, .site-footer, .chat-fab, .chat-panel, .guide-nav, .guide-tools { display: none !important; } .guide { display: block; } .guide-section { break-inside: avoid; box-shadow: none; } }

/* Footer */
.site-footer { background: #1c2a23; color: #d9e0da; padding: 48px 0 32px; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.site-footer h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #a9c2b1; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .35em 0; }
.site-footer small { display: block; margin-top: 28px; color: #93a59a; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Chat */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 80; transition: bottom .25s; display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.2em; border: 0; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px rgba(199,100,60,.35); }
.chat-fab .icon { width: 22px; height: 22px; }
.chat-panel { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: min(400px, calc(100vw - 24px)); height: min(600px, calc(100vh - 40px)); background: var(--surface);
  border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.25); display: none; flex-direction: column; overflow: hidden; }
.chat-panel.open { display: flex; }
@media (max-width: 520px) { .chat-panel { right: 12px; bottom: 12px; height: calc(100vh - 24px); } .chat-fab span { display: none; } .chat-fab { padding: .95em; } }
.chat-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--brand); color: var(--brand-ink); }
.chat-top b { display: block; }
.chat-top small { opacity: .85; }
.chat-top button { margin-left: auto; background: none; border: 0; color: inherit; cursor: pointer; padding: 6px; border-radius: 8px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 88%; padding: .65em .95em; border-radius: 16px; font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; }
.msg p { margin: 0 0 .5em; } .msg p:last-child { margin: 0; }
.msg ul, .msg ol { margin: .3em 0 .5em; padding-left: 1.2em; }
.msg.bot { background: var(--bg-alt); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--brand); color: var(--brand-ink); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.user a { color: inherit; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; } }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.suggest button { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: .35em .8em; font-size: .84rem; cursor: pointer; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; padding: .7em 1em; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; cursor: pointer; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
