/* Zugdidi Botanical Garden — "rich" content layer (zbg4), loaded after site.css + garden.css */

.mini-title { font-family: var(--sans); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 8px 0 16px; }

/* ---------- plant of the season ---------- */
.season-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .season-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.season-photo { position: relative; margin: 0; border-radius: 26px 26px 26px 120px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--sage-soft); }
.season-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--organic, ease); }
.season-photo:hover img { transform: scale(1.04); }
.season-badge { position: absolute; top: 16px; left: 16px; z-index: 1; background: rgba(251, 248, 242, .94); color: var(--forest); padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; }
.season-latin { font-family: var(--latin, Georgia, serif); font-style: italic; font-size: 1.2rem; color: var(--forest-2); margin: -.2em 0 .6em; }
.season-family { color: var(--muted); font-size: .92rem; margin-bottom: 1em; }
.season-family span { font-family: var(--latin, Georgia, serif); font-style: italic; color: var(--ink-2); }
.season-summary { color: var(--ink-2); }
.season-note { font-size: .85rem; color: var(--accent); margin-bottom: 1.4em; display: flex; gap: 8px; align-items: center; }
.season-note::before { content: ""; width: 16px; height: 16px; flex: none; background: url("../../zbg3/img/leaf.svg") center / contain no-repeat; }

/* ---------- families & origins ---------- */
.region-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-bottom: 36px; }
@media (min-width: 900px) { .region-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.region-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 170px; padding: 18px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--forest-2); }
.region-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--organic, ease); }
.region-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 20, 12, .05) 20%, rgba(8, 20, 12, .82)); }
.region-tile:hover { color: #fff; } .region-tile:hover img { transform: scale(1.06); }
.region-name { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; line-height: 1.25; }
.region-count { font-size: .82rem; color: rgba(255, 255, 255, .8); }
@media (min-width: 900px) { .region-tile { min-height: 220px; } }
.family-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.family-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fffdf8; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .3s var(--organic, ease), box-shadow .3s; }
.family-chip:hover { border-color: var(--moss); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.family-dot { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--sage-soft); flex: none; }
.family-dot img { width: 100%; height: 100%; object-fit: cover; }
.family-name { font-family: var(--latin, Georgia, serif); font-style: italic; font-size: 1rem; }
.family-count { font-size: .78rem; font-weight: 600; color: #fff; background: var(--moss); border-radius: 999px; padding: 2px 8px; }
.illo-families { right: -2%; top: 6%; transform: rotate(-10deg); }

/* ---------- monuments ---------- */
.heritage-more { margin-top: 6px; font-size: .85rem; font-weight: 500; color: var(--gold); }

/* ---------- timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 15px; width: 2px; background: linear-gradient(180deg, transparent, rgba(63, 107, 74, .45) 6%, rgba(63, 107, 74, .45) 94%, transparent); }
.tl-item { position: relative; padding: 0 0 26px 48px; }
.tl-dot { position: absolute; left: 6px; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid var(--moss); box-shadow: 0 0 0 5px rgba(79, 122, 79, .12); }
.tl-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--moss); }
.tl-card { background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; box-shadow: 0 10px 26px -20px rgba(23, 36, 28, .5); }
.tl-year { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--forest); margin: 0 0 4px; line-height: 1.1; }
.tl-text { margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.6; }
@media (min-width: 900px) {
    .timeline::before { left: 50%; margin-left: -1px; }
    .tl-item { width: 50%; padding: 0 44px 34px 0; }
    .tl-item.tl-right { margin-left: 50%; padding: 0 0 34px 44px; }
    .tl-item.tl-left .tl-dot { left: auto; right: -10px; }
    .tl-item.tl-right .tl-dot { left: -10px; }
    .tl-item.tl-left .tl-card { text-align: right; }
    .tl-item:not(:first-child) { margin-top: -70px; }
}
.illo-timeline { left: -3%; bottom: 4%; transform: rotate(16deg); opacity: .1; }

/* ---------- mosaic ---------- */
.mosaic { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; }
.mosaic-item { position: relative; display: block; overflow: hidden; border-radius: 14px; background: var(--sage-soft); }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--organic, ease); }
.mosaic-item:hover img { transform: scale(1.06); }
.mosaic-0 { grid-column: span 2; grid-row: span 2; }
.mosaic-3 { grid-row: span 2; }
.mosaic-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: .8rem; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); opacity: 0; transition: opacity .3s; }
.mosaic-item:hover .mosaic-cap, .mosaic-item:focus-visible .mosaic-cap { opacity: 1; }
@media (min-width: 760px) {
    .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 14px; }
    .mosaic-0 { grid-column: span 2; grid-row: span 2; }
    .mosaic-3 { grid-row: span 2; }
    .mosaic-5 { grid-column: span 2; }
}
@media (min-width: 1100px) { .mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 160px; } }

/* ---------- visit placeholders ---------- */
.tba-badge { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8a5a17; background: #f6e7c8; border: 1px dashed #d4a85a; border-radius: 999px; padding: 2px 9px; margin-right: 6px; vertical-align: 1px; }
.visit-list .is-placeholder dd { font-weight: 400; }
.placeholder-note { font-size: .82rem; color: var(--muted); margin: -10px 0 18px; font-style: italic; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .2s, box-shadow .3s; }
.faq-item[open] { border-color: rgba(79, 122, 79, .5); box-shadow: 0 12px 30px -22px rgba(23, 36, 28, .5); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-family: var(--serif); font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--sage-soft); position: relative; transition: transform .4s var(--organic, ease), background-color .2s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--forest); border-radius: 2px; }
.faq-icon::after { transform: rotate(90deg); transition: transform .3s; }
.faq-item[open] .faq-icon { background: var(--moss); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-a { padding: 0 20px 18px; color: var(--ink-2); }
.faq-a p { margin: 0; }

/* ---------- plant index: filters + A–Z ---------- */
.plant-filters { background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 22px; }
.pf-row { display: grid; gap: 16px; }
@media (min-width: 900px) { .pf-row { grid-template-columns: 1.1fr 1fr 2fr; align-items: end; } }
.pf-field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.pf-field > span, .pf-field legend { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0; margin-bottom: 6px; }
.pf-field input[type=search], .pf-field select { font: inherit; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; width: 100%; min-width: 0; }
.pf-regions { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-regions legend { width: 100%; float: left; }
.pf-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .88rem; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.pf-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pf-chip small { color: var(--muted); }
.pf-chip:has(input:checked) { background: var(--forest); color: #fff; border-color: var(--forest); }
.pf-chip:has(input:checked) small { color: rgba(255, 255, 255, .75); }
.pf-chip:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.pf-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.pf-count { margin: 0; color: var(--ink-2); font-size: .92rem; }
.pf-count span { font-weight: 700; color: var(--forest); }
.pf-note { margin: 10px 0 0; font-size: .8rem; color: var(--muted); }
.az { position: sticky; top: calc(var(--header-h) + 8px); z-index: 20; display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; margin-bottom: 26px; border-radius: 999px; background: rgba(251, 248, 242, .94); border: 1px solid var(--line); box-shadow: 0 8px 22px -18px rgba(23, 36, 28, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.az a { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 999px; text-decoration: none; color: var(--forest); font-weight: 600; font-size: .92rem; }
.az a:hover { background: var(--sage-soft); }
.az a.is-empty { opacity: .3; pointer-events: none; }
@media (max-width: 700px) { .az { border-radius: 16px; top: calc(var(--header-h) + 4px); } .az a { min-width: 30px; height: 30px; font-size: .85rem; } }
.az-group { scroll-margin-top: calc(var(--header-h) + 80px); margin-bottom: 30px; }
.az-letter { display: flex; align-items: center; gap: 14px; font-size: 2rem; color: var(--forest); margin-bottom: 14px; }
.az-letter::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(63, 107, 74, .35), transparent); }
.plant-cell[hidden], .az-group[hidden] { display: none !important; }

/* ---------- share ---------- */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-label { font-size: .85rem; color: var(--muted); margin-right: 2px; }
.share-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--forest); transition: background-color .2s, color .2s, transform .3s; padding: 0; }
.share-btn svg { width: 18px; height: 18px; }
.share-btn:hover { background: var(--forest); color: #fff; transform: translateY(-2px); }
.share-status { font-size: .82rem; color: var(--moss); min-height: 1em; }

@media (prefers-reduced-motion: reduce) {
    .season-photo img, .region-tile img, .mosaic-item img { transition: none !important; }
}
