/* Zugdidi Botanical Garden — "zbg2" theme (2026). Plain CSS, mobile-first. */

@font-face { font-family: "FiraGO"; src: url("../../fonts/FiraGO/FiraGO-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("../../fonts/FiraGO/FiraGO-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("../../fonts/FiraGO/FiraGO-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("../../fonts/FiraGO/FiraGO-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
    --ink: #17241c;
    --ink-2: #3c4b41;
    --muted: #66746a;
    --forest: #1f3d2b;
    --forest-2: #2c5a3e;
    --moss: #4f7a4f;
    --sage: #a8bc9a;
    --sage-soft: #e3eadb;
    --paper: #fbf8f2;
    --cream: #f3ede1;
    --line: #e2dccf;
    --accent: #b9653a;       /* terracotta */
    --accent-2: #a2552d;
    --gold: #d1a95a;
    --white: #fff;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 1px 2px rgba(23, 36, 28, .05), 0 12px 32px -12px rgba(23, 36, 28, .18);
    --shadow-lg: 0 30px 60px -24px rgba(23, 36, 28, .35);
    --serif: "Noto Serif Georgian", "FiraGO", Georgia, serif;
    --sans: "FiraGO", "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-h: 76px;
    --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.7; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.25; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
main:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.35em; border-radius: 999px; border: 1px solid transparent; font-family: var(--sans); font-weight: 500; font-size: .95rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 54px; padding: .85em 1.7em; font-size: 1rem; }
.btn-sm { min-height: 38px; padding: .5em 1em; font-size: .85rem; }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-2); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(185, 101, 58, .8); }
.btn-accent:hover { background: var(--accent-2); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--forest); background: transparent; }
.btn-ghost:hover { border-color: var(--forest); color: var(--forest); background: var(--white); }
.btn-glass { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); color: #fff; border-color: #fff; }
.link-arrow { font-weight: 500; text-decoration: none; color: var(--forest-2); display: inline-flex; gap: .4em; align-items: center; }
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(251, 248, 242, .92); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(226, 220, 207, .8); transition: background-color .35s, border-color .35s, box-shadow .35s; }
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.has-hero .site-header.is-scrolled, .has-hero.menu-open .site-header { background: rgba(251, 248, 242, .95); border-color: rgba(226, 220, 207, .8); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 6px 24px -18px rgba(23, 36, 28, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-logo { width: 46px; height: 46px; border-radius: 50%; background: #fff; object-fit: contain; padding: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { font-size: .72rem; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.has-hero .site-header:not(.is-scrolled) .brand-name, .has-hero .site-header:not(.is-scrolled) .brand { color: #fff; }
.has-hero .site-header:not(.is-scrolled) .brand-sub { color: rgba(255, 255, 255, .78); }
.has-hero.menu-open .site-header .brand-name { color: var(--ink); }
.has-hero.menu-open .site-header .brand-sub { color: var(--muted); }

.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .7); color: var(--ink); flex: none; }
.has-hero .site-header:not(.is-scrolled) .menu-toggle { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); color: #fff; }
.has-hero.menu-open .menu-toggle { background: #fff; color: var(--ink); border-color: var(--line); }
.burger { position: relative; width: 20px; height: 14px; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 6px; } .burger i:nth-child(3) { top: 12px; }
.menu-open .burger i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { opacity: 0; }
.menu-open .burger i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* mobile drawer */
.main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); padding: 20px var(--gutter) 40px; overflow-y: auto; display: flex; flex-direction: column; gap: 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
.menu-open .main-nav { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.menu-open { overflow: hidden; }
.nav-list > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
.nav-list > li > a { flex: 1; display: block; padding: 16px 0; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); text-decoration: none; }
.nav-list > li.is-active > a { color: var(--accent); }
.sub-toggle { width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: transform .3s; }
.sub-toggle[aria-expanded="true"] { transform: rotate(180deg); }
.sub-menu { flex-basis: 100%; display: none; padding: 0 0 12px 12px; }
.has-sub.is-open .sub-menu { display: block; }
.sub-menu a { display: block; padding: 8px 0; color: var(--ink-2); text-decoration: none; }
.sub-menu a:hover { color: var(--accent); }
.nav-cta { align-self: flex-start; }
.lang-switch { display: flex; gap: 10px; font-size: .85rem; }
.lang-switch a { color: inherit; text-decoration: none; opacity: .65; }
.lang-switch a.is-active { opacity: 1; font-weight: 600; }

@media (min-width: 1100px) {
    .menu-toggle { display: none; }
    .main-nav { position: static; inset: auto; padding: 0; background: none; flex-direction: row; align-items: center; gap: 22px; opacity: 1; visibility: visible; transform: none; overflow: visible; }
    .nav-list { display: flex; align-items: center; gap: 4px; }
    .nav-list > li { border: 0; position: relative; flex-wrap: nowrap; }
    .nav-list > li > a { padding: 10px 12px; font-family: var(--sans); font-size: .95rem; font-weight: 500; color: var(--ink-2); border-radius: 999px; transition: color .2s, background-color .2s; }
    .nav-list > li > a:hover { color: var(--ink); background: rgba(31, 61, 43, .06); }
    .nav-list > li.is-active > a { color: var(--forest); background: rgba(31, 61, 43, .08); }
    .has-sub > a { padding-right: 4px !important; }
    .sub-toggle { width: 26px; height: 26px; margin-right: 4px; color: inherit; }
    .sub-menu { display: block; position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; padding: 10px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s; }
    .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
    .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
    .sub-menu a { padding: 9px 12px; border-radius: 8px; font-size: .92rem; }
    .sub-menu a:hover { background: var(--sage-soft); color: var(--forest); }
    .has-hero .site-header:not(.is-scrolled) .nav-list > li > a, .has-hero .site-header:not(.is-scrolled) .sub-toggle, .has-hero .site-header:not(.is-scrolled) .lang-switch { color: rgba(255, 255, 255, .92); }
    .has-hero .site-header:not(.is-scrolled) .nav-list > li > a:hover, .has-hero .site-header:not(.is-scrolled) .nav-list > li.is-active > a { color: #fff; background: rgba(255, 255, 255, .14); }
    .brand-name { font-size: 1.05rem; }
}

/* ---------- Notices ---------- */
.notice { margin: 20px 0; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--sage-soft); color: var(--forest); font-weight: 500; }
.notice-fail { background: #f6e3da; color: #7a3416; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; background: var(--forest); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 40%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 20, 14, .55) 0%, rgba(10, 20, 14, .05) 30%, rgba(10, 20, 14, .15) 55%, rgba(10, 22, 15, .82) 100%), radial-gradient(120% 70% at 0% 100%, rgba(15, 35, 22, .6), transparent 60%); }
.hero-content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(72px, 12vh, 130px); }
.hero-title { color: #fff; font-size: clamp(2.3rem, 7vw, 5.2rem); font-weight: 600; line-height: 1.08; max-width: 14ch; margin-bottom: .35em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero-lead { font-size: clamp(1.02rem, 1.6vw, 1.25rem); max-width: 46ch; color: rgba(255, 255, 255, .9); margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-in { opacity: 0; transform: translateY(18px); animation: heroIn 1s var(--ease) forwards; animation-delay: calc(.25s + var(--d, 0) * .14s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 20px; display: none; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: #fff; border-radius: 2px; animation: scrollDot 2s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 768px) { .hero-scroll { display: block; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow-light { color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-soft { background: var(--cream); }
.section-title { font-size: clamp(1.75rem, 3.6vw, 2.75rem); margin-bottom: .4em; }
.section-sub { color: var(--muted); max-width: 56ch; margin: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head > div { max-width: 680px; }
.section-head-light .section-title { color: #fff; }
.section-head-light .section-sub { color: rgba(255, 255, 255, .72); }
.sub-title { font-size: 1.4rem; margin: 2em 0 .8em; }
.lead { font-family: var(--serif); font-size: clamp(1.15rem, 1.9vw, 1.42rem); line-height: 1.6; color: var(--ink); }
.lead-sm { color: var(--ink-2); font-size: 1.05rem; }

/* intro */
.intro-grid { display: grid; gap: 24px 64px; }
.intro-body p:not(.lead) { color: var(--ink-2); }
@media (min-width: 960px) { .intro-grid { grid-template-columns: 5fr 7fr; } .intro-head { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; } }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: clamp(48px, 7vw, 88px); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--paper); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3.3rem); color: var(--forest); line-height: 1; font-weight: 500; }
.stat-label { color: var(--muted); font-size: .92rem; line-height: 1.45; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* cards */
.card-grid { display: grid; gap: clamp(16px, 2.2vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 560px) { .card-grid-4, .card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } .card-grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .card-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sage-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media.is-empty { display: grid; place-items: center; background: linear-gradient(135deg, var(--sage-soft), #d4dfca); color: var(--moss); }
.card-placeholder svg { width: 56px; height: 56px; opacity: .7; }
.card-tag { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .92); color: var(--forest); font-size: .75rem; font-style: italic; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.12rem; margin-bottom: .35em; }
.card-latin { font-style: italic; color: var(--muted); font-size: .92rem; margin-bottom: .8em; }
.card-text { color: var(--ink-2); font-size: .93rem; line-height: 1.6; margin-bottom: 1em; }
.card-date { font-size: .8rem; letter-spacing: .06em; color: var(--accent); margin-bottom: 6px; }
.card-more { margin-top: auto; font-size: .88rem; font-weight: 500; color: var(--forest-2); }
.card-more span { display: inline-block; transition: transform .3s var(--ease); }
.card:hover .card-more span { transform: translateX(4px); }
.card-news .card-media { aspect-ratio: 16 / 10; }

/* heritage */
.heritage { background: var(--forest); color: #fff; overflow: hidden; }
.heritage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 100% 0%, rgba(209, 169, 90, .14), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(79, 122, 79, .45), transparent 70%); pointer-events: none; }
.heritage .container { position: relative; }
.heritage-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.heritage-tile { position: relative; display: flex; align-items: flex-end; min-height: 240px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; background: var(--forest-2); isolation: isolate; }
.heritage-tile:hover { color: #fff; }
.heritage-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.heritage-tile:hover img { transform: scale(1.05); }
.heritage-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 25%, rgba(8, 20, 12, .85)); }
.heritage-tile.is-text { background: linear-gradient(160deg, #2f5d40, #1a3424); border: 1px solid rgba(255, 255, 255, .1); }
.heritage-tile.is-text::after { background: radial-gradient(90% 70% at 100% 0%, rgba(209, 169, 90, .16), transparent 60%); }
.heritage-num { position: absolute; top: 18px; left: 22px; font-family: var(--serif); font-size: .95rem; color: var(--gold); letter-spacing: .1em; }
.heritage-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.heritage-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.3; }
.heritage-text { color: rgba(255, 255, 255, .78); font-size: .92rem; line-height: 1.55; }
@media (min-width: 760px) {
    .heritage-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .heritage-grid { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, minmax(250px, auto)); }
    .heritage-tile.is-feature { grid-row: span 2; min-height: 520px; }
    .heritage-tile.is-feature .heritage-title { font-size: 1.8rem; }
    .heritage-tile:nth-child(4) { grid-column: span 2; }
}

/* gallery */
.gallery-grid { columns: 2 160px; column-gap: 12px; }
.gallery-item { position: relative; display: block; margin: 0 0 12px; border-radius: var(--radius-sm); overflow: hidden; break-inside: avoid; background: var(--sage-soft); }
.gallery-item img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: .82rem; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.gallery-item:hover .gallery-cap, .gallery-item:focus-visible .gallery-cap { opacity: 1; transform: none; }
@media (min-width: 760px) { .gallery-grid { columns: 3 220px; column-gap: 16px; } .gallery-item { margin-bottom: 16px; } }
@media (min-width: 1100px) { .gallery-grid { columns: 4 240px; } }
.gallery-grid-sm { columns: 2 140px; }
@media (min-width: 760px) { .gallery-grid-sm { columns: 3 180px; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(9, 15, 11, .94); display: flex; align-items: center; justify-content: center; padding: 56px 12px; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lb-figure img { max-height: calc(100vh - 150px); max-width: 100%; width: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } }
.lb-figure figcaption { color: rgba(255, 255, 255, .85); font-size: .92rem; text-align: center; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.8rem; line-height: 1; display: grid; place-items: center; transition: background-color .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } }

/* visit */
.visit { background: var(--cream); }
.visit-grid { display: grid; gap: 32px; align-items: stretch; }
@media (min-width: 980px) { .visit-grid { grid-template-columns: 5fr 6fr; gap: 56px; } }
.visit-list { margin: 26px 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.visit-list > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .visit-list > div { grid-template-columns: 170px 1fr; gap: 16px; } }
.visit-list dt { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.visit-list dd { margin: 0; font-weight: 500; }
.visit-list dd a { color: var(--ink); text-decoration: none; }
.visit-list dd a:hover { color: var(--accent); }
.visit-list dd.muted { font-weight: 400; color: var(--muted); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.smart-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.smart-card { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .25s var(--ease); }
a.smart-card:hover { border-color: var(--forest); transform: translateY(-2px); color: var(--ink); }
.smart-card svg { width: 30px; height: 30px; flex: none; color: var(--moss); }
.smart-card span { display: flex; flex-direction: column; line-height: 1.3; }
.smart-card strong { font-weight: 600; font-size: .98rem; }
.smart-card small { color: var(--muted); font-size: .8rem; }
.smart-card.is-soon { border-style: dashed; background: rgba(255, 255, 255, .55); }
@media (max-width: 420px) { .smart-slots { grid-template-columns: 1fr; } }
.visit-map { position: relative; min-height: 340px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sage-soft); }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }

/* partners */
.partners { padding: clamp(48px, 7vw, 80px) 0; }
.partners-title { text-align: center; font-family: var(--sans); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 28px; }
.partner-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 44px; }
.partner-list img { height: 64px; width: auto; filter: grayscale(1); opacity: .7; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.partner-list a:hover img, .partner-list a:focus-visible img { filter: none; opacity: 1; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(36px, 5vw, 56px); background: var(--forest); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 100% 0%, rgba(209, 169, 90, .16), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(79, 122, 79, .5), transparent 70%); }
.page-hero-cover { padding-top: clamp(90px, 14vw, 180px); }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .45; }
.page-hero-cover::before { background: linear-gradient(180deg, rgba(15, 30, 20, .35), rgba(15, 30, 20, .88)); }
.page-title { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); max-width: 22ch; margin-bottom: .3em; }
.page-intro { color: rgba(255, 255, 255, .8); max-width: 60ch; font-size: 1.05rem; margin: 0; }
.page-latin { font-style: italic; font-size: 1.15rem; color: rgba(255, 255, 255, .85); margin: 0; }
.page-meta { color: rgba(255, 255, 255, .75); margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; margin-bottom: 22px; color: rgba(255, 255, 255, .65); }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.notfound .page-title, .notfound .page-intro { color: var(--ink); margin-left: auto; margin-right: auto; }
.notfound .page-intro { color: var(--muted); margin-bottom: 1.6em; }
.notfound .hero-actions { justify-content: center; }

.list-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); color: #fff; text-decoration: none; font-size: .9rem; transition: background-color .2s, color .2s; }
.chip:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.chip.is-active { background: #fff; color: var(--forest); border-color: #fff; }
.search { display: flex; align-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 4px 4px 4px 16px; width: 100%; max-width: 340px; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font: inherit; font-size: .95rem; padding: 6px 0; }
.search input::placeholder { color: rgba(255, 255, 255, .65); }
.search input:focus { outline: none; }
.search:focus-within { border-color: #fff; }
.search button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: var(--forest); display: grid; place-items: center; }
.empty-state { text-align: center; padding: 40px 0; color: var(--muted); }

.pager { margin-top: 48px; display: flex; justify-content: center; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.page-item .page-link, .page-item > span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.page-item .page-link:hover { border-color: var(--forest); color: var(--forest); }
.page-item.active .page-link, .page-item.active > span { background: var(--forest); border-color: var(--forest); color: #fff; }
.page-item.disabled .page-link, .page-item.disabled > span { opacity: .45; }

/* article */
.article-layout { max-width: 860px; }
.article-cover { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article-cover img { width: 100%; max-height: 640px; object-fit: cover; cursor: zoom-in; }
.prose { font-size: 1.06rem; color: var(--ink-2); max-width: 72ch; }
.prose p { margin: 0 0 1.1em; text-align: left !important; }
.prose h2, .prose h3 { color: var(--ink); margin: 1.8em 0 .6em; }
.prose h2 { font-size: 1.6rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose img { border-radius: var(--radius-sm); margin: 1.2em 0; }
.prose a { color: var(--forest-2); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; list-style: revert; }
.prose blockquote { margin: 1.5em 0; padding: .4em 0 .4em 1.2em; border-left: 3px solid var(--gold); font-family: var(--serif); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.page-plant .prose > p:first-child strong { font-family: var(--serif); }
.article-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* contact */
.contact-cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { display: block; padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.contact-card svg { width: 34px; height: 34px; color: var(--accent); margin-bottom: 14px; }
.contact-card h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.contact-card p { font-size: 1.12rem; font-weight: 500; margin: 0; }
.contact-form { margin-top: 48px; display: grid; gap: 16px; background: #fff; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.contact-form input, .contact-form textarea { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); }
.form-row { display: grid; gap: 16px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-error { color: #9b2c0f; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #12241a; color: rgba(255, 255, 255, .75); padding-top: clamp(56px, 8vw, 96px); overflow: hidden; }
.footer-leaf { position: absolute; right: -80px; top: -60px; width: 360px; height: 360px; opacity: .06; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 62V22M32 40C20 40 12 30 12 16c12 0 20 10 20 24zm0-8c0-14 8-24 20-24 0 14-8 24-20 24z' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E"); pointer-events: none; }
.footer-grid { display: grid; gap: 40px; position: relative; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 56px; } }
.brand-light .brand-name { color: #fff; font-size: 1.15rem; white-space: normal; }
.footer-about { margin: 18px 0 0; max-width: 36ch; font-size: .95rem; }
.footer-title { font-family: var(--sans); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 18px; }
.footer-nav ul { display: grid; gap: 10px; }
.footer-nav a, .contact-lines a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer-nav a:hover, .contact-lines a:hover { color: #fff; text-decoration: underline; }
.contact-lines { display: grid; gap: 14px; }
.contact-lines li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.contact-lines svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--sage); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.social a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(40px, 6vw, 72px); padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: rgba(255, 255, 255, .55); }
.to-top { color: rgba(255, 255, 255, .7); text-decoration: none; }
.to-top:hover { color: #fff; }

/* ---------- Reveal animations (only when JS is on and motion is OK) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .hero-media img { transform: none; animation: none; }
    .hero-in { opacity: 1; transform: none; animation: none; }
    .js .reveal { opacity: 1; transform: none; }
}

@media print {
    .site-header, .site-footer, .hero-scroll, .visit-map, .lightbox { display: none !important; }
    .hero { min-height: auto; color: #000; }
}

/* backdrop-filter would trap the fixed mobile drawer inside the header */
body.menu-open .site-header, .has-hero.menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }

/* hero legibility over bright foliage */
.hero-shade { background: linear-gradient(90deg, rgba(9, 20, 13, .62) 0%, rgba(9, 20, 13, .25) 45%, transparent 70%), linear-gradient(180deg, rgba(10, 20, 14, .5) 0%, rgba(10, 20, 14, .05) 30%, rgba(10, 20, 14, .15) 55%, rgba(10, 22, 15, .85) 100%); }
.hero .eyebrow-light { color: #f1d9a6; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.hero-lead { text-shadow: 0 1px 16px rgba(0, 0, 0, .35); }
.has-hero.menu-open .site-header .menu-toggle { background: #fff; color: var(--ink); border-color: var(--line); }
.has-hero.menu-open .site-header .brand { color: var(--ink); }

/* ---------- Auth / service pages ---------- */
.auth-wrap { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 32px 16px; isolation: isolate; background: var(--forest); }
.auth-bg, .auth-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.auth-bg img { object-fit: cover; }
.auth-wrap::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(15, 32, 21, .55), rgba(15, 32, 21, .85)); }
.auth-card { width: 100%; max-width: 420px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(24px, 5vw, 40px); }
.auth-brand { margin-bottom: 22px; }
.auth-title { font-size: 1.6rem; margin-bottom: 18px; }
.auth-form { display: grid; gap: 14px; }
.auth-form label { display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.auth-form input[type=email], .auth-form input[type=password], .auth-form input[type=text] { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.auth-form input:focus { outline: 2px solid var(--moss); outline-offset: 1px; }
.auth-form input.is-invalid { border-color: #b4441d; }
.auth-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; font-size: .9rem; }
.auth-form label.check { display: flex; align-items: center; gap: 8px; }
.auth-back { margin: 22px 0 0; font-size: .9rem; text-align: center; }

/* plant taxonomy card */
.taxonomy { margin: 0 0 28px; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--sage-soft); border-left: 4px solid var(--moss); display: grid; gap: 0; }
.taxonomy > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 8px 0; border-bottom: 1px solid rgba(79, 122, 79, .18); }
.taxonomy > div:last-child { border-bottom: 0; }
.taxonomy dt { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); font-weight: 600; }
.taxonomy dd { margin: 0; color: var(--ink); font-weight: 500; }
@media (min-width: 560px) { .taxonomy > div { grid-template-columns: 140px 1fr; gap: 14px; align-items: baseline; } }

/* ---------- Language switcher (always visible, phone + desktop) ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .7); flex: none; margin-left: auto; }
.lang-switch a { display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 6px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); text-decoration: none; opacity: 1; transition: background-color .2s, color .2s; }
.lang-switch a:hover { color: var(--forest); background: rgba(31, 61, 43, .08); }
.lang-switch a.is-active { background: var(--forest); color: #fff; }
.has-hero .site-header:not(.is-scrolled) .lang-switch { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); }
.has-hero .site-header:not(.is-scrolled) .lang-switch a { color: #fff; }
.has-hero .site-header:not(.is-scrolled) .lang-switch a.is-active { background: #fff; color: var(--forest); }
.has-hero.menu-open .site-header .lang-switch { background: #fff; border-color: var(--line); }
.has-hero.menu-open .site-header .lang-switch a { color: var(--ink-2); }
.has-hero.menu-open .site-header .lang-switch a.is-active { background: var(--forest); color: #fff; }
.header-inner { gap: 12px; }
@media (max-width: 420px) { .brand-sub { display: none; } .lang-switch a { min-width: 30px; padding: 0 4px; } .brand-logo { width: 40px; height: 40px; } }
@media (min-width: 1100px) { .lang-switch { margin-left: 0; order: 3; } .main-nav { order: 2; margin-left: auto; } }
.prose pre { white-space: pre-wrap; font: inherit; margin: 0 0 1.1em; }
@media (max-width: 560px) { .brand-name { white-space: normal; font-size: .86rem; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }

/* footer: made in Georgia (flag) and made by Activi (logo -> activi.ge) */
.footer-bottom { align-items: center; }
.footer-bottom .made-in { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom .made-in img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.footer-bottom .made-by { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s; }
.footer-bottom .made-by img { height: 22px; width: 22px; border-radius: 6px; opacity: .95; transition: opacity .2s; }
.footer-bottom .made-by:hover { color: #fff; }
.footer-bottom .made-by:hover img { opacity: 1; }
@media (max-width: 640px) { .footer-bottom { flex-direction: column; align-items: flex-start; } }
